• 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. skill code to generate pin list

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 144
  • Views 18086
  • 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

skill code to generate pin list

SteveRFIC
SteveRFIC over 9 years ago

Hi,

I have a cadence layout with lots of pins at different locations. I want to generate a list of the pins, ideally with the following information

pinname, location (X,Y coordinates), pin layer.

The pins are all in rectangular shapes, so ideally I want the locations of the center of those rectangulars.

Is this doable by using existing Layout or Layout XL commands, or by using skill?

I found some information to print a list of the labels from the following post, but could not get the file generated. nothing happens when I load the skill code :(

https://community.cadence.com/cadence_technology_forums/f/48/t/27295

Sorry that I am a circuit designer and not very familiar with SKILL, any help is highly appreciated.

Thank you!

  • Cancel
Parents
  • Sheppy
    Sheppy over 9 years ago

    Hi Gang Liu,

    You should not forget to tell in what mode you want the file to be opened/created.

    Please have a look at this very simple piece of code:

    procedure( printToFileTest( fileName printString "SS" )
        let( ( ( myPort nil ) )
            myPort = outfile( fileName "w" )
            fprintf( myPort "File name: %s\n" fileName )
            fprintf( myPort "Print string: %s\n" printString )
            close( myPort)
        ) ;;; end of let
    ) ;;; end of procedure printToFileTest

    Load this code and do for instance:

    printToFileTest("./test.tst" "hello world")

    This should result in a file with two lines in it.

    Please make sure you close the port at the end. This is a must.

    With kind regards,

    Sjoerd

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Sheppy
    Sheppy over 9 years ago

    Hi Gang Liu,

    You should not forget to tell in what mode you want the file to be opened/created.

    Please have a look at this very simple piece of code:

    procedure( printToFileTest( fileName printString "SS" )
        let( ( ( myPort nil ) )
            myPort = outfile( fileName "w" )
            fprintf( myPort "File name: %s\n" fileName )
            fprintf( myPort "Print string: %s\n" printString )
            close( myPort)
        ) ;;; end of let
    ) ;;; end of procedure printToFileTest

    Load this code and do for instance:

    printToFileTest("./test.tst" "hello world")

    This should result in a file with two lines in it.

    Please make sure you close the port at the end. This is a must.

    With kind regards,

    Sjoerd

    • 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