Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)

16 bit ripple counter

wilfleth
Beginner
1,961 Views

Is this a valid way to implement a 16 bit ripple counter with 4 bit ripple counters?

scary.png

0 Kudos
1 Solution
_AK6DN_
Valued Contributor II
1,920 Views

Best answer is NO, but hard to be definitive without knowing how the clock/reset works on your 4b blocks.

Assuming positive edge clk and active high reset, then when you set rst low to enable the counter on the left, all

the other counters are held in reset because of the inverter in the reset line.

But if reset is high to enable all the counters on the right, then the one on the left is disabled.

So nothing will happen. Ever.

 

That being said, most ripple counters would just be a chain of, say, 4b counters, where q[3] of the prior block goes

to the clock input of the next higher block, and you would need falling edge triggered counters (or an inverter

in the path, assuming positive edge counters).

 

So, just google 'ripple counter' and you will see literally hundreds of examples.

View solution in original post

0 Kudos
3 Replies
BoonBengT_Intel
Moderator
1,938 Views

Hi @wilfleth,


Thank you for posting in Intel community forum and hope all is well.

Would you be able to lets us know more details on what tools that you are using for the implementation?

As well as what kind of application you are looking for to implement the ripple counter? Is rtL involved? Or are you question on designing the block diagram?

Hope to hear from you soon.


Best Wishes

BB


0 Kudos
_AK6DN_
Valued Contributor II
1,921 Views

Best answer is NO, but hard to be definitive without knowing how the clock/reset works on your 4b blocks.

Assuming positive edge clk and active high reset, then when you set rst low to enable the counter on the left, all

the other counters are held in reset because of the inverter in the reset line.

But if reset is high to enable all the counters on the right, then the one on the left is disabled.

So nothing will happen. Ever.

 

That being said, most ripple counters would just be a chain of, say, 4b counters, where q[3] of the prior block goes

to the clock input of the next higher block, and you would need falling edge triggered counters (or an inverter

in the path, assuming positive edge counters).

 

So, just google 'ripple counter' and you will see literally hundreds of examples.

0 Kudos
BoonBengT_Intel
Moderator
1,865 Views

Hi @wilfleth,


Good to know that you have found the answers to your quesiton, with no further clarification on this thread, it will be transitioned to community support for further help on doubts in this thread. Please login to ‘https://supporttickets.intel.com’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support.

Thank you for the questions and as always pleasure having you here.


Best Wishes

BB


0 Kudos
Reply