• 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. Questions about a constraint in the SDC

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 94
  • Views 9744
  • 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

Questions about a constraint in the SDC

Goddard
Goddard over 2 years ago

I encounter the following command while reading the SDC:

  • create_generate_clock [list [get_pins pciex4_2_clk] [get_pins pciex4_2_clk_clks]] -name pciex4_2 -source [get_port xx ] -dvide_by 1

Now I know this constraint can be enforced, but I wonder when such a constraint is necessary?

By the way, I'd like to consult the difference between [get_ports] and [get_pins] when create_generated_clock?

Thanks a lot if anyone could anwser my questions.

  • Cancel
Parents
  • DimoM
    DimoM over 2 years ago

    Hi,
    these questions are very basic and are covered in any good book on static timing analysis.
    I can recommend "Static Timing Analysis for Nanometer Designs" by Rakesh Chadha and J. Bhasker

    Also you can search through support.cadence.com for some short videos and tutorials on STA.

    Furthermore you can search for each command in the support page and you will find some explanation of what it is doing.

    -Dimo

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Goddard
    Goddard over 2 years ago in reply to DimoM

    Dear Dimo,

    Thanks for your replay, I  read the SDC section of "Static Timing Analysis for Nanometer Designs" but didnt find such command,mabye I didnt make it clear. I dont know why generate the same clock on two different pins and what is the purpose of doing so? 

    Maybe this question is also very basic. Since I am a newcomer, I hope you can understand if I ask any stupid questions. Thanks a lot.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • DimoM
    DimoM over 2 years ago in reply to Goddard

    Hi,
    you are of course very welcome to ask questions, that is what this forum is for. I just did not see any added value in copying and pasting information from the documentation about each command.

    Now to the question of why the generated clock is defined on two pins at once:
    There might be various reasons for that. One example that comes to mind are two clock gating cells in parallel, being controlled with the same enable signal. In this case the designer might want to have the fanout of both of them see the same generated clock, so the generated clock needs to be defined on the output of both clock gating cells. 

    Of course, this is just a synthetic example. In a real-world design there is more than one way to describe the timing intent, and it is up to the designer to decide on how to do the constraining in the most effective way.

    -Dimo

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • DimoM
    DimoM over 2 years ago in reply to Goddard

    Hi,
    you are of course very welcome to ask questions, that is what this forum is for. I just did not see any added value in copying and pasting information from the documentation about each command.

    Now to the question of why the generated clock is defined on two pins at once:
    There might be various reasons for that. One example that comes to mind are two clock gating cells in parallel, being controlled with the same enable signal. In this case the designer might want to have the fanout of both of them see the same generated clock, so the generated clock needs to be defined on the output of both clock gating cells. 

    Of course, this is just a synthetic example. In a real-world design there is more than one way to describe the timing intent, and it is up to the designer to decide on how to do the constraining in the most effective way.

    -Dimo

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • Goddard
    Goddard over 2 years ago in reply to DimoM

    Dear Dimo,

    Thanks for your prompt reply. The reason why I was confused before was that I thought the name of each clock was unique, which made me think that the clock name corresponded to the clock one by one. Now you have given me this actual case, which makes me understand more possibilities of clock constraint,and I will further study SDC.

    Thanks again.

    • 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