Clock gating and glitches

Status
Not open for further replies.

AdvaRes

Advanced Member level 4
Joined
Feb 14, 2008
Messages
1,163
Helped
113
Reputation
220
Reaction score
51
Trophy points
1,328
Location
At home
Activity points
7,442
Hi,

All we know that clock gating can result in some glitches. Actually, these glitches can occure only when the Enable signal (with which we control the gating circuit) toggles. I dont know why these glitches are unwanted. Is that for functionning purpuse of for power/current spike reasons ?
 

If glitches are shorter than some minimum then the circuit
operation becomes unpredictable / nondeterministic. Some
design styles and tools just fall apart when something
becomes unknown.

Resynchronizing the enable to the clock domain seems to
be one way to deal with it, but this just replaces intra-cycle
nondeterminism with whole-cycle. At least it's better than some
metastability, no matter how unlikely that might actually be.

You might still pick up hazards from your logic simulator
regardless, in the cases where the enable violates setup /
hold timing.
 

    AdvaRes

    Points: 2
    Helpful Answer Positive Rating
The Altera Q.uartus software handbook suggests a circuit that can be used without generating timing violations.

Clock glitches can actually cause fatal design faults, e.g. a FSM getting caught in an illegal state.
 

    AdvaRes

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…