• 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. Digital Implementation
  3. Clock Gating as a generated clock in SDC file

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 92
  • Views 22245
  • 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

Clock Gating as a generated clock in SDC file

alexsieh
alexsieh over 13 years ago

 Hello,

When there is clock gating logic, do I have to define the gated clock as a generated clock in my constraint file for a proper STA?

I don't know if anybody is familiar with this great book, but my question came up because I saw an example in the book "Static Timing Analysis for Nanometer Design: A practical Approach". Figure 7-12 shows an example where a clock is gated by the output of a flip-flop and then they wrote a SDC constraint to define the gated clock. See below:

create_clock 0.1 [get_ports SYS_CLK]
# Create a master clock of period 100ps with 50% duty cycle.
create_generated_clock -name CORE_CLK -divide_by 1 -source SYS_CLK [get_pins UAND1/Z]
# Create a generated clock called CORE_CLK at the output of the and cell and the clock


The book says: "Figure 7-12 shows an example where the clock SYS_CLK is gated by the output of a flip-flop. Since the output of the flip-flop may not be a constant, one way to handle this situation is to define a generated clock at the output of the and cell which is identical to the input clock."

 Must I define all gated clocks as new generated clocks in my SDC file?

The book mentiones that is one way to handle the situation, what are other ways to handle this situation?

Your input is much appreciated.

Sincerely,

AS

  • Cancel
Parents
  • diablo
    diablo over 13 years ago

    The other way to constraint clock gating and check that output of the gating cell is not clipped clock, you can use 

    set_clock_gating_check -setup xx -hold xx [get_clock CLK] 

    in your SDC.

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • diablo
    diablo over 13 years ago

    The other way to constraint clock gating and check that output of the gating cell is not clipped clock, you can use 

    set_clock_gating_check -setup xx -hold xx [get_clock CLK] 

    in your SDC.

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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