Skip to Content

Cool Circuits

Posted on  by  from the site Adventures in ASIC Digital Design
I lately came across the need to use a dual edge counter, by this I mean a counter which is counting both on the rising and on the falling edge of the clock. The limitation is that one has to use only normal single edge sensitive flops, the kind you find in each library. There are several ways to do this, some easier than others. I would like to show you a specific design which is based on the dual edge flop I described in a previous post. The figure below depicts the counter: The counter is made of 2 n-bit arrays of flops. The one operates on the rising edge, the other on the falling edge.
Nir Dahan
Posted in
Posted on  by  from the site Adventures in ASIC Digital Design
After writing the solution to one of the puzzles and after contemplating about our dear friend the dual edge flip flop, I noticed something very interesting. If you look carefully at the implementation of the flip flop which is made out of MUXes, you will see that it is very easy to make a posedge or negedge flip flop by just exchanging the MUX feedback connection. I wondered if it would be possible to construct a dual edge flip flop with MUXes. Turns out it is quite possible and requires only one more MUX!
Nir Dahan
Posted in
Syndicate content