• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Logic Design
  3. check clock_gating gives 0 gated flip-flops after synth...

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 62
  • Views 15080
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

check clock_gating gives 0 gated flip-flops after synthesize

zczc99
zczc99 over 9 years ago

Hi,

I am using RTL compiler to synthesize my design, and I want to implement clock gating in my design.   Here is part of the constraint

set_attribute lp_insert_clock_gating true /
read_hdl -v2001  $myfiles ;
elaborate $basename ;
# clock gating constrain
set_attribute lp_clock_gating_prefix {CG_CHAO_}
set_attribute lp_clock_gating_exceptions_aware true /
set_attribute lp_clock_gating_module ICG_posedge [dc::current_design]
synthesize -to_clock_gated
synthesize -to_mapped -effort high
And it works, when I use report clock_gating, I can see about 70% flipflops are gated.
But I want to connect all the 'test' pins of ICG cells to CG_always_on port, so I added several lines before synthesize.
define_dft  test_mode -active high [find / -port CG_always_on] -name CG_always_on
set_attr lp_clock_gating_test_signal CG_always_on [dc::current_design]
Then after synthesize -to_clock_gated, check  clock_gating gives 579 gated flipflop.
But after synthesize -to_mapped -effort high, check  clock_gating gives 0 gated flipflop. In netlist, actually there do have gated flipflops.
What is wrong with this?
 after synthesize -to_clock_gated, check  clock_gating 
after synthesize -to_mapped -effort high, check  clock_gating

  • Cancel
  • grasshopper
    grasshopper over 9 years ago

    Please try 15.x and report back if you still see the same issue

    gh-

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • zczc99
    zczc99 over 9 years ago

    Hello grasshopper,

    I tried v14.20-s016_1, still the same. But I don't have v15 version.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • grasshopper
    grasshopper over 9 years ago

    Not sure what you expect to see here. The report looks correct. Inserting clock gating will not change this report. You can model the latency using set_clock_latency constraint but clocks in RC/Genus are ideal hence nothing to show in the report. Please show the output you would like to see if you disagree

    gh-

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information