How to make 8 x 8 bit Counters using FreeSoC ?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

How to make 8 x 8 bit Counters using FreeSoC ?

   

 

   

I have FreeSoC development board. I want to make a 8 x 8 bit counters with 8 inputs for the clocks. The counters shouls be independent of each other. Each should be able to generate interrupt when counter value overflows that is when counter overflows from 255 to 0. My max freq is 370 Hz per channel.

0 Likes
3 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

You will need 8 UDB-based counters, place the first  in Creator 3.2 SP1 onto the top-design drop the needed pins and route them. Build and test. When all runs well, copy & paste the next 7 counters.

   

 

   

Bob

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

If you can use a down counter, and a little SW, there is a utility 7 bit counter

   

that uses substantially less resources than the UDB approach.

   

 

   

"Digital", "Utility" navigate of component catalog.

   

 

   

Regards, Dana.

0 Likes
Anonymous
Not applicable

Thank you. I will try what you people said. I want the system to work like this. I should have 8 x 8 bit counters and each should be able to generate an interrupt when counter overflows and I should be able to send this data to UART.

0 Likes