• 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. Design Entry HDL
  3. How to modify SIG_NAME and LOCATION in backend text fil...

Stats

  • Replies 2
  • Subscribers 23
  • Views 2510
  • Members are here 0
More Content

How to modify SIG_NAME and LOCATION in backend text file

ronniezh
ronniezh 9 months ago

Hi Experts,

I want to modify the SIG_NAME and LOCATION properties in backend project text file, rather than in Design Entry HDL, which enable feasibility of automatic schematic modification by scripting.

For example, in below screen capture I want to modify item in specific page 25:

  • SIG_NAME properties: "APU12_60F", "APU12_60S" in orange color;
  • LOCATION properties: "C1_S1", "K1_S1"

I find there are several text files in project directory: .../project_name/worklib/project_name/sch_1/

The SIG_NAME properties: "APU12_60F", "APU12_60S" and the LOCATION properties: "C1_S1", "K1_S1" can be found in page25.csv and page25.csa. But the schematic didn't update after I modify the SIG_NAME and LOCATION in page25.csv and page25.csa file. I try to restart Design Entry HDL and Allegro EDM Flow Manager, but the schematic still didn't update as I expected.

Any inputs are appreciated! 

Thanks in advance!

Best regards,

Ronnie

  • Cancel
  • Sign in to reply
Parents
  • rg13
    rg13 9 months ago

    Ronnie,

    Manually modifying these files under project folder is not recommended.

    If you want to change refdes on schematic. Lets say for all diodes for which refdes prefix is D.

    You can apply following commands in DEHDL command window as follows:

    set next a

    find $location=D*

    change a

    Now, it highlights one refdes on schematic, go there and click RMB > and select Editor.

    It opens all refdes starting from D in text editor. Where you can change these as per your requirement and save the file and close it.

    Now, save the design. you will see all refdes have been changed on schematic.

    To rename sig_name: You can similar startegy for renaming/Modifying SIG_NAME also.

    set next a

    find SIG_NAME=*

    change a

    Now, it highlights signal names on schematic, go there and click RMB > and select Editor and change/modify the signal names as per your requirement and then save the file.

    Hope it helps. Let me know how it goes for you.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • rg13
    rg13 9 months ago

    Ronnie,

    Manually modifying these files under project folder is not recommended.

    If you want to change refdes on schematic. Lets say for all diodes for which refdes prefix is D.

    You can apply following commands in DEHDL command window as follows:

    set next a

    find $location=D*

    change a

    Now, it highlights one refdes on schematic, go there and click RMB > and select Editor.

    It opens all refdes starting from D in text editor. Where you can change these as per your requirement and save the file and close it.

    Now, save the design. you will see all refdes have been changed on schematic.

    To rename sig_name: You can similar startegy for renaming/Modifying SIG_NAME also.

    set next a

    find SIG_NAME=*

    change a

    Now, it highlights signal names on schematic, go there and click RMB > and select Editor and change/modify the signal names as per your requirement and then save the file.

    Hope it helps. Let me know how it goes for you.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • ronniezh
    ronniezh 9 months ago in reply to rg13

    Thanks for your sharing!

    I have tried to execute the command you shared in the command window of DEHDL. Even though for sure there are components with prefix "Kxx" and SIG_NAME with prefix "IOxx", the group A is still empty as shown below. I think it means that there isn't any group member found with the predefined prefixes. 

    I know there a way to change the $location and $SIG_NAME in text file instead of schematic: In the page to be modified, Copy all->Menu (Group->Include)->Menu Text Change->Right click on the schematic->Text editor. Then a text file will be opened, where all $location and $SIG_NAME can be found->replaced and saved. This way works, and is similar to the approach you shared I think, but I have to do the same procedure manually many time if I have many similar pages to modify, which is error-prone and tedious. 

    So I want to write a python script(not limited for python), which can change the $location and $SIG_NAME by predefined table. All I need to do is creating the first page, running the script, and every property will be modified and updated. If the predefined table needs to be updated, I don't need to manually go through the previous process. It's more flexible in this manner.

    I think there must have some methods to achieve this goal. If you know and share any, that would be very helpful for me!

    Thanks again!

    Best regards.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Cadence Guidelines

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