• 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. Allegro X PCB Editor
  3. Extract all symbols/nets from a design

Stats

  • Replies 16
  • Subscribers 160
  • Views 9556
  • Members are here 0
More Content

Extract all symbols/nets from a design

serpens
serpens over 12 years ago

Hi, I'm new with SKILL, I try to do some code and it works, but as I trying to go deeper I found some issues. I start to work with the database and as a exercise I want to extract all reference designators (or net names) from a board.

However, I was looking trough Allegro® User Guide: SKILL Reference but can not find nothing. I don't want from you to give me the code, I just need some advice in some methodology how to extract such things from database.

I found only this axlExtractMap (there is an example how to extract all net names) but if I understand it correctly it use already existing report files and I looking fore something without external files.\

Regards,

Miro

  • Sign in to reply
  • Cancel
  • serpens
    serpens over 12 years ago

    Mod can delete...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • serpens
    serpens over 12 years ago

    Mod can delete...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • serpens
    serpens over 12 years ago

    Is there some way how to input formated text in this forum or attach some file, or i need to use external space?

    However, I want to thank you both, with your help I was able to create this:

    foreach( moAllNets axlDBGetDesign()->nets
    moTP = 0
    printf( "\n %s - " moAllNets->name)
    foreach( moNetBranch moAllNets->branches
    foreach( moBranchType moNetBranch->children
    if( moBranchType->objType == "pin"
    then
    moIsTP = substring( moBranchType->component->name 1 2)
    if( moIsTP == "TP"
    then
    printf( "%s " moBranchType->component->name)
    moTP = 1
    );end if
    );end if
    );foreach
    );end foreach
    if( moTP == 0
    print("Missing Test Point")
    )
    );end for each

    Now I can continue and finetune it, but this is the core which I need. If you have any ideas how to make it shorter I glad to hear you.

    Regards,
    Miro

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • D912349
    D912349 over 12 years ago

    there is a way to read a text from a file..

    try using gets function. also take a look at infile function to open ports to read a file..

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • eDaNoy
    eDaNoy over 12 years ago


    - list_2 of redfdes of symbols for each net which are connected to this net (strugling)

     

    you can use axlDBGetConnect to find all the elements you want.. please refer to the Cadence documentation

    • 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