identical
Member level 1
Why do we need a negative latch in gating the clock. I understand why it is needed (to hold the enable until clock goes low) but why can't positive latch do the trick too?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
The enable signal changes on the rising clock edge and is latched during the clock low time so it is set up and stable for the next clock pulse.
If you used a positive latch then the same clock that changed the enable would be gated out immediately and would be one pulse early.
The difference is that a negative latch places the output clock one and gate delay after the input clock so that clock tree synthesis can
manage its insertion delay.
A positive latch places the output clock one clock to Q time plus one and gate delay later and is a lot messier.
John Eaton
If the CGC enable, which may come from combinational logic, goes high in between when the clock signal is high, it may potentially clip the clock pulse output of CGC if we use positive latch in the CGC instead of negative latch. This may produce variable clock pulse width.
But wouldn't the latch hold the enable until the next clock edge comes?