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.

Clock Gating -> when it's worth to insert it manually?

Status
Not open for further replies.

ivlsi

Advanced Member level 3
Joined
Feb 17, 2012
Messages
883
Helped
17
Reputation
32
Reaction score
16
Trophy points
1,298
Activity points
6,868
Hi All,

When it's worth to insert Gated Clock manually in the Code or during BackEnd?

What cases are not covered by the Automatic Clock Insertion?

Thank you!
 

in my experience, writing code for clock gating is tremendously dumb. it kills ICs instead of saving power. let the tools handle it automatically.
 

It is beneficial to code clock gates into designs with a lot of clock branches. If majority of the clock tree for the branch gets built beyond such gate it'll save power when the clock is gated.
 

It is beneficial to code clock gates into designs with a lot of clock branches. If majority of the clock tree for the branch gets built beyond such gate it'll save power when the clock is gated.

not sure I follow. modern CTS tools can pick up common enables and propagate them up in the tree with ICG cells.
 

It is true that if you provide the enable to clocked processes the tools can take care of the clk gating.

However, if you have a block (e.g. an interface, SPI) that has an enable, then different processes inside this block will have additional enable/qualifiers to the main enable of the block. So the synthesis tool will build different gaters, for each enable.
This in not necessarily bad, but in some cases it may be beneficial (for power) to cut-off a block's clock centrally, so that it does not propagated to all these other gaters inside the block. So practically introduce manually, multi-stage clk gating.

Hope it helps
BR

Hi All,

When it's worth to insert Gated Clock manually in the Code or during BackEnd?

What cases are not covered by the Automatic Clock Insertion?

Thank you!
 

not sure I follow. modern CTS tools can pick up common enables and propagate them up in the tree with ICG cells.

That is true. Arch clock gates gives an option to switch off whole branches like what @George_P mentioned.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top