loc & los , clock gating
loc & los , clock gating
This is the most simple method to adopt for scan. With this the size of generated
pattern will be low. But The shift enable goes from high to low in between
lunching and capturing pulses. See the below figure. So, if we want to run at-
speed test of a high speed circuit it will critical case for lowering shift enable for
all flops. So, in industry people mostly use LOS patterns to test stuck-at faults.
Unlike LOS, here we do both lunching and capturing with shift enable =0. So, we
can test the circuit at high frequency with out touching shift enable. But these
type of test vector comes with higher memory size, and need better and
expensive ATE setup.
.
Clock Gating is defined as: “Clock gating is a technique/methodology to
turn off the clock to certain parts of the digital design when not needed”.
1. Intent based Clock gating – This type of clock gating is introduced into the design as
part of functionality through RTL.
2. Tool generated clock gating – This type of clock gating is introduced by tools during
synthesis by identifying all the Flip Flops sharing same control logic and enabling all
those FFs when needed.
We will only focus on first type of Clock gating here. Normally, complete clock
gating strategy is defined in the architecture of the system and then designers
implement that strategy. There are different techniques to implement the clock
gating.
However, this simplest form of clock gating technique has some problem of
generating glitches in the clock provide to the FF, which are not desirable.
This will make sure that any glitch in the clock enable signal will not be visible
to the gated clock output. The Latch output will only be updated during the
negative clock cycle and thus input to AND gate will be stable high.