• 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. Custom IC SKILL
  3. pin term name reorder

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 143
  • Views 13453
  • 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

pin term name reorder

psill000
psill000 over 11 years ago

I have a script to reorder the pin bus number but I am getting an error/warning that prevents me from reordering the pins

I can change the pin with the property GUI.

From QA1<22> to QA1<21>
*WARNING* (DB-270501): dbSetTermName: terminal named 'QA1<21>' already exists.
From QA1<30> to QA1<29>
*WARNING* (DB-270501): dbSetTermName: terminal named 'QA1<29>' already exists.
From QA1<3> to QA1<6>
*WARNING* (DB-270501): dbSetTermName: terminal named 'QA1<6>' already exists.
From QA1<11> to QA1<14>
*WARNING* (DB-270501): dbSetTermName: terminal named 'QA1<14>' already exists.
From QA1<19> to QA1<22>
*WARNING* (DB-270501): dbSetTermName: terminal named 'QA1<22>' already exists.
From QA1<27> to QA1<30>
*WARNING* (DB-270501): dbSetTermName: terminal named 'QA1<30>' already exists.

 syntax in the script

printf("From %s to %s\n" orgNet pinStr)
    unless(equal(orgNet pinStr) vPin[i]~>pin~>term~>name = pinStr)

What is trhe correct way to change the pin term name?

Paul

  • Cancel
Parents
  • berndfi
    berndfi over 11 years ago

    Some things to mention:
    1. With your approach you only rename the term name, the net assigned to the pin will remain with the old name. I would recommend to rename the net name accordingly.
    2. For the term name renaming:
    a. One solution could be to delete all the terms and keep their names in variable and finally recreate them.
    b. Or move term names which have to be renamed to temporary names first until there is no double term name definition any more and then reassign the new names.
    3. There are son db* functions which can help here e.g. dbFindNetByName, dbCreateTerm and dbFindTermByName, etc.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • berndfi
    berndfi over 11 years ago

    Some things to mention:
    1. With your approach you only rename the term name, the net assigned to the pin will remain with the old name. I would recommend to rename the net name accordingly.
    2. For the term name renaming:
    a. One solution could be to delete all the terms and keep their names in variable and finally recreate them.
    b. Or move term names which have to be renamed to temporary names first until there is no double term name definition any more and then reassign the new names.
    3. There are son db* functions which can help here e.g. dbFindNetByName, dbCreateTerm and dbFindTermByName, etc.

    • 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