• 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 Capture CIS
  3. BOM, NETLIST GENERATION USING COMMAND PROMPT

Stats

  • Replies 12
  • Subscribers 44
  • Views 11905
  • Members are here 0
More Content

BOM, NETLIST GENERATION USING COMMAND PROMPT

Shanmugi
Shanmugi over 3 years ago

Hi,

I am working on project where I need to generate Netlist and BOM from command prompt without opening ORCAD.

As I am new to ORCAD, it would be heplful if somebody help me on the same.

I have read previous blogs and post regarding this, but it is unhelpful for me. 

Kindly tell me some better and efficient way to do this.

Thanks for helping me in advance!

  • Sign in to reply
  • Cancel
Parents
  • jc teyssier
    jc teyssier over 3 years ago

    Hello,

    open schematic in orcad capture and run the netlister: you will see tyhe command running in console.

    This is what i have done.

    Now i can run this command from command window (dos cmd): (replace <xxxx> by your values)

    pstswp.exe -pst -d <your_design.DSN> -n <oath of output netlist directory> -c < your allegro.cfg file> -v <number of version file to retain> -l <maximum length of device/net/pin name>

    I guess you need to have a orcad capture licence available in order to run this communard.

    The bom extraction seem to not show the command running behind in console.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Shanmugi
    Shanmugi over 3 years ago in reply to jc teyssier

    Thanks for your response. is the above command only for netlist and not for BOM?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • jc teyssier
    jc teyssier over 3 years ago in reply to Shanmugi

    Only for netlist:. I do not know how to extract bom without openeng capture

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Shanmugi
    Shanmugi over 3 years ago in reply to jc teyssier

    When I run the netlister, i successfully got like the format u mentioned in your reply like, pstswp.exe -pst -d <your_design.DSN> -n <oath of output netlist directory> -c < your allegro.cfg file> -v <number of version file to retain> -l <maximum length of device/net/pin name> which i mentioned in the above image.

    But i dont understand what is mean by  (dos cmd): (replace <xxxx> by your values).

    Can you explain briefly?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Shanmugi
    Shanmugi over 3 years ago in reply to Shanmugi

    Or can you tell how i should run this command in my windows command prompt?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • jc teyssier
    jc teyssier over 3 years ago in reply to Shanmugi

    I always run this command in the dsn file location.

    Let say tour dsn ffle is my_scheamtic.dsn

    Let say you have an -my_netlist directory and want the netlist written at this location.

    Let say you have a config file  D:\myconfig\allegro.cfg

    Let say you wish to retain the 3 last version of netlist

    Let say you use long names in schematic. The amximum caracter length is 255

    Open a cmd window (a dos terminal) and go into schematic location.

    the command to type in dos command window to extract netlist will be

    pstswp.exe -pst -d my_scheamtic.dsn -n my_netlist -c D:\myconfig\allegro.cfg -v 3 -l 255

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Shanmugi
    Shanmugi over 3 years ago in reply to jc teyssier

    Thanks for your reply and it is very helpful.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • Shanmugi
    Shanmugi over 3 years ago in reply to jc teyssier

    Thanks for your reply and it is very helpful.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • Shanmugi
    Shanmugi over 3 years ago in reply to Shanmugi

     One more query is it possible to generate netlist file of format orWirelist64.dll in command prompt?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • jc teyssier
    jc teyssier over 3 years ago in reply to Shanmugi

    I have a try in capture: seems it does not run an external command, so no, you have to open capture to extract such netlist.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Shanmugi
    Shanmugi over 3 years ago in reply to jc teyssier

    Do you know how to generate orWirelist64.dll using TCL scripts by any chance?

    I found this link for generating BOM using TCL scripts.

    https://community.cadence.com/cadence_technology_forums/pcb-design/f/pcb-design/25029/how-to-generate-a-bom-from-orcad-using-a-tcl-script

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • jc teyssier
    jc teyssier over 3 years ago in reply to Shanmugi

    No, sorry: never use TCL scripts.

    To extract netlist, you have yo open dsn file into capture.

    Tools->create netlist

    Other tab

    the dll in located here in Formaters

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Shanmugi
    Shanmugi over 3 years ago in reply to jc teyssier

    I usually do this steps to extract netlist in orWirelist64.dll format, but thinking of automating the process. That is why i imposed this question

    • 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