• 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. PCB Design
  3. Breaking down foot print libraries into categories

Stats

  • Locked Locked
  • Replies 8
  • Subscribers 165
  • Views 19699
  • Members are here 0
More Content
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

Breaking down foot print libraries into categories

TH Designs
TH Designs over 13 years ago

I find the one big footprint library very cumbersome. Has anyone broken theirs down into sub categories, ie; resistors, capacitors, ic's, etc..... If so are there any special constraints for the directory structure?

Do the padstacks need to be resident in the footprint library directory, or can I have a padstacks directory seperate from the footprints?

I would think I'd have to do something with the paths in order to make Editor locate the new sub directories, right? 

Thanks,

 Tom

  • Cancel
  • steve
    steve over 13 years ago

    Hi Tom

    Yes you can have sub directories but they all need to be listed in the psmpath setting, You can also have a padstacks folder that can be different - hence the padpath setting. The only thing you need to do is keep the dra and *.sm file together (a recommendation).

    When the tools look for a symbol they start at the top of the psmpath list and work down the list until it finds the relevant symbol name. This means that you have to make sure you don't have duplicates in the folder that you use because it will use the first one it finds...

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ScottCad
    ScottCad over 13 years ago

    Tom you can have different folders for your symbols and padstacks but you would have to edit the PSMPATH & PADPATH to tell the system where to look. In Allegro go to Setup User Preferences then go to Paths, Libary.

    When you create a package symbol for a footprint there will be 3 files created. .DRA, .PSM, .TXT. You will also have the padstacks used for that particular symbol. What I do is keep the pads,dra,psm, .txt files for each symbol in the same folder. This has helped me cut down on packaging problems when creating a board from the schematic.

    By way of an example here is directory structure.

    PSMPATH is configured to point to the following "Click expand in that dialog box first" and remove any paths you do not need before making your edits.

    c:\my-libs
    c:\my-libs\SMD
    c:\my-libs\connectors
    c:\my-libs\capacitors

    PADPATH is configured the same but I also include a folder for vias, again "Click expand in that dialog box first" and remove any paths you do not need before making your edits.

    c:\my-libs
    c:\my-libs\vias
    c:\my-libs\SMD
    c:\my-libs\connectors
    c:\my-libs\capacitors

    When you create your symbols dont use spaces in the name as it will lead to packaging problems. For example SOT_23.dra,SOT23.dra are all ok to use.

    Be aware also that it is possible for Allegro 16.5 to blow away your custom PSMPATH and custom PADPATH and replace them with system defaults. I kid you not. This one seems to be a bug. My work-around for this is to make the env file read-only after all edits have been made. Depending on your setup you may or may not come across this hidden treasure, hope you dont : )

    Thanks Scott 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • TH Designs
    TH Designs over 13 years ago

    Scott, Steve

    Exactly what I had in mind to do. Thanksfor the help. Looks like I'll be spending tomorrow converting old libs and setting up new directories / paths and the like.

    I just received a PO for a job I quoted a while back and it requires using 16.5 so I am diving into the deep end........ and hoping to surface............

    Tom

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • redwire
    redwire over 13 years ago

    I keep the .dra organized as you suggested in their own folders.  But at the top of the library path I keep *all* of the .psm files. 
    What is the advantage to this?  The pathing is simple and Allegro will package correctly since it only cares about .psm files.

    The only disadvantage is preview in OrCAD for footprints which I don't use.

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • TH Designs
    TH Designs over 13 years ago
    ScottCad said:

    Be aware also that it is possible for Allegro 16.5 to blow away your custom PSMPATH and custom PADPATH and replace them with system defaults. I kid you not. This one seems to be a bug. My work-around for this is to make the env file read-only after all edits have been made. Depending on your setup you may or may not come across this hidden treasure, hope you dont : )

    Thanks Scott 

    Guess what just happened................................... Paths are gone.

    Opened service ticket with EMA. We'll see what they say.

    Tom

    • Cancel
    • Vote Up 0 Vote Down
    • 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.

© 2026 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information