question:
4 bit binary counter(0 to 3) , counts increments from 0 to 15 in clock A domain.
now the count has to be communicated in the other clock domain clock B using edge detection circuits.
what will be the ciruit will it use to detect count 2-3 . &
what will be the ciruit will it use to detect count 15-0 .
options are:
(1) four bit counter (clockA)--> bit(2) OR GATE bit(3) ---> negative edge detection circuit --> 4 bit counter (clock B)
(2) four bit counter (clockA)--> bit(2) OR GATE bit(3) ---> positive edge detection circuit --> 4 bit counter (clock B)
I don't clearly see, what you want to achieve. In the general case, a consistent transfer of counter values across clock domain boundaries requires gray encoding, typically used e.g. in FIFO designs.
My question is :
if i have to communicate the count of the 4 bit counter to the other clock domain, the domain.
the follong circuit is correct for 15-0 detection
OR it should be posed detection at the AND GATE .