Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] clock gating - help needed

Status
Not open for further replies.

vivek_p

Advanced Member level 4
Joined
Feb 16, 2010
Messages
115
Helped
10
Reputation
24
Reaction score
9
Trophy points
1,298
Activity points
2,009
clock gating

There is a register in a pipelined data path implementation. If the register's clock is gated can it retain its value? or else I have to move that value to some other register whose clock is not gated..........
 

Can you just explain how does it retain value (transistor level description).............
 

a flop is designed to retain the value on the Q output until the next clock edge. If D is different than Q, then Q will change. If you don't give the flop another clock edge, then Q will stay the same ...
 

Dear Vivek,

The clock gating of synthesis tool operates in the following manner........ If say the tool finds the following structure in the design
flop.png

then if S=0 same data will be saved in flop and if S=1 new data can be loaded in the flop, thus when S=0 the clock reaching the FF can be gated so the synthesis tool will put a clock gate in the clock path and put its enable as S'. In fact tool will group the flops which will have same scenario (ie: same enable) and will use a common clock gate for all these flops.

hope this helps
 

Further in this question, can any body tell in case of gated cell for clock, which constraint has to give for gated enable pin, for synthesis and Timing Analysis???
 

For example, for latch_negedge_precontrol (see synopsys manual):

clock_gate_clock_pin : min_pulse_width.
clock_gate_enable_pin : setup_to_clock_gate_pin, hold_to_clock_gate_pin.
clock_gate_test_pin : setup_to_clock_gate_pin, hold_to_clock_gate_pin.
 

@oratie,

can you please elaborate these constraint in detail, and effect on timing??

Thanks,
Shitansh Vaghela
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top