• 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. RTL Compiler: how to get all input ports except clock ports...

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 63
  • Views 18274
  • 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

RTL Compiler: how to get all input ports except clock ports?

airland
airland over 14 years ago

Dear all, I want to add input delay for all input ports (except clock ports), how I can get the list of "all input ports except clock ports"? I know how to get all input ports ([all_inputs]) and how to get all clock ports. But I don't know how to exclude clock ports from all input ports. I think it is wrong to add input delay to clock ports, is that right? As the number of input ports is so many (thousands), I don't like to write them one by one.

I used DC before and I used the following sentence to do this. This is not recognized by RC.

set_input_delay -max  2.0  -clock CLK_E   -add_delay [get_ports -filter "dir == in && is_clock == false" *]

Thanks very much!

  • Cancel
  • grasshopper
    grasshopper over 14 years ago

     I think you are looking for

     

    rc:/> dc::all_inputs -help
      all_inputs: returns all the input ports.

    Usage: all_inputs [-clock <clock>+] [-edge_triggered] [-level_sensitive] [-no_clocks]

        [-clock <clock>+]:
            returns all input ports with input delay relative to this clock(s)
        [-edge_triggered]:
            returns all input ports with non level sensitive input delay
        [-level_sensitive]:
            returns all input ports with level sensitive input delay
        [-no_clocks]:
            returns all input ports which do not have a clock definition on them

    If you put this in your SDC file, you will not need the dc::

     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