Two different clocks rate in one circuit

Thread Starter

rumpler

Joined Mar 22, 2019
9
Hi every one,

I have a project do design a circuit for university.
In the circuit I have two binary counter. the first one run on 7.3 Hz and the seconded one on 1 Hz. also the first one make the second one work when he finish counting so they need to be synchronized. I like to know what is the bast way to build a clock which make them work as I said.

thank u so much for your help
 

WBahn

Joined Mar 31, 2012
32,848
The "best" ("best" is in quotes because it really depends on what is important) is to send a single clock signal to every sequential chip in the circuit and then use logic to make the various chips sensitive to some of the clock edges and not to others. Don't gate the clocks - there are demons in those waters. In particular, gated clocks are notorious for generating glitches that the sequential chips will respond to unless the design is very carefully done.

EDIT: Fixed typo.
 
Last edited:

WBahn

Joined Mar 31, 2012
32,848
He wants the clocks in the two domains to be synchronized. If they are unsynchronized and use the double-register technique, then there will be times that a signal is registered on the wrong clock. When dealing with truly unsynchronized domains, that's just a reality that you have to accept. But it sounds like here the behavior is predicated on the assumption that the two domains are synchronized.
 
Top