• 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. Can someone know command-like rename $oldname $newname in...

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 91
  • Views 13995
  • 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

Can someone know command-like rename $oldname $newname in Encounter

magicflute
magicflute over 16 years ago

i can not find the command that rename  hier inst name  in db command. can someone tell me ?

  • Cancel
  • magicflute
    magicflute over 16 years ago

    i searched all of db command ,but i can find nothing to achieve the function.  can someone also give me a script ?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • wally1
    wally1 over 16 years ago

    The only time module names are modified in Encounter is during uniquification with uniquifyNetlist. Outside of this you'll have to manually change the name in the Verilog.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Rajesh Vembu
    Rajesh Vembu over 16 years ago

     Have you tried changeInstName command?

    This changes only the leaf level instance name, that is, if you have an instance A/B/C (where C is an instance defined in module B, which is instantiated in module A ) and you want to change the name of C, you have to execute

     

    changeInstName -instName A/B/C -newBaseName A/B/CNew

     

    Note : The changeInstName command does not change the path of hierarchy

     

    The only way to change the hierarchy instance name is 

    1. unFlatten <HierModule>

    2. changeInstName -instName <HierModuleName> -newBaseName <newHierModuleName>

    3. flatten the design

     

    Please try it and let me know if it works for you.

     

    • 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