• 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. PSpice
  3. Problem Associating Symbol to Spice model

Stats

  • State Not Answered
  • Replies 2
  • Subscribers 27
  • Views 809
  • Members are here 0
More Content

Problem Associating Symbol to Spice model

SP202505228140
SP202505228140 3 months ago

I am having an issue associating a spice model with a symbol following the standard process. I can get it to work but only if I don't associate a symbol and just let it make an automated rectangle symbol. I see the problem but nothing I do seems to fix it during the import process. 

The spice model is of a simple 2.4V zener diode downloaded directly from Onsemi. It is a SUBCKT model and not a regular diode model I should note. I tried to attach the model file for reference, but it won't let me. Here is a snapshot:

The steps I have taken:

1. Open Model Editor

2. Create a new library (I am doing this because I am creating custom libraries for various part families, diodes, mosfets, bjts, etc., so that everyone in the company can access them).

3. Choose Model -> import from the menu

4. Select the .lib file of interest

5. Choose File -> Export to Part Library 

6. Navigate to the built-in diodes.olb part library and choose a zener diode symbol (I've tried this with both a diode part and a SUBCKT part with the same results)

7. Map pins and finish (see below but I have repeated the process and mapped model pin 1 to symbol pin 2 and model pin 2 to symbol pin 1 but it still doesn't fix the problem)

8. Add new .olb library to a test project, create a simple circuit

9. Add .lib file to the configuration files and add to project

10. Run simulation

Long story short, the part is "backwards". That is the newly created symbol only works if I swap its orientation indicating it is just a pin mapping issue, but I really don't understand why I can't fix it, either after I've created the new part or during the original process by swapping the pin map. 

You can see in the model definition that model pin 2 (listed first) is the Anode and model pin 1 is the Cathode. Below is a picture of the part generation and a simple test circuit without associating a symbol and when I orient the part with respect to the pins inside the part symbol it works as expected. 

As mentioned, when I do this and associate a symbol, the circuit works correctly when the part is "backwards" so it's got to be a pin mapping issue right? I've tried to open the part library and relabel the pins, I've tried to open the part properties and reorder the PSpice Template property, but it just doesn't work. I don't get it...any help would be appreciated. 

  • Sign in to reply
  • Cancel
Parents
  • GG202506123235
    0 GG202506123235 3 months ago

    That's a tricky issue, especially with automated symbol generation. Have you considered manually creating the symbol in your preferred editor, or modifying the import settings to specifically ignore rectangle creation for that diode?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • GG202506123235
    0 GG202506123235 3 months ago

    That's a tricky issue, especially with automated symbol generation. Have you considered manually creating the symbol in your preferred editor, or modifying the import settings to specifically ignore rectangle creation for that diode?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
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