How to Create a PSpice Model from a Text File

Team EMA

Realistic simulations are required to ensure the functionality of your schematic designs. With this in mind, many manufacturers will create accurate spice models of their components for use in your simulation; however, they might not always be in the required format. With the Model Editor in PSpice you can create a custom PSpice model from text files or other models found on the internet.


Step 1: Download the desired SPICE Model. Save the .txt file as a .lib file.

Note: To follow along with this blog, download the provide spice model: 2N6661_SPICE.lib.

Step 2: Open PSpice Model Editor 17.4 (Start > Cadence PCB Utilities 17.4-2019 > PSpice Model Editor 17.4).

Step 3: Select Capture as your Design Entry Tool and click Done.


Step 4: Select File > Model Import Wizard [Capture] from the menu.


Step 5: Browse to Enter Input Model Library and select the newly created library file. Click Open and select Next.

Note: The Model Import Wizard has automatically identified a capture symbol to match the PSpice model based on the text.


This can be changed by selecting Replace Symbol and browsing for the desired Capture symbol. If there is no symbol automatically identified select Associate Symbol. When replacing the symbol or associating a symbol follow the steps below:

  • Browse the PSpice Libraries for the desired symbol. You can select from the default PSpice libraries using the following path: C:\Cadence\SPB_17.4\tools\capture\library\pspice.

The Model Import Wizard will only show symbols that fit the model criteria based on the text.


  • Select the desired symbol and click Next.



  • Map the Model Terminal to the Symbol Pin.

If you need to view the pin assignment or a description of the model, select View Model.

  • Select Save Symbol.

Step 6: Select Finish.

Note: An .olb file was generated and can be added to your PSpice libraries for easy part placement in the schematic.

Incorporating manufacturer’s models in your PSpice simulation will provide a realistic view of the circuit functionality. The PSpice Model Import Wizard makes it easy to import, map, and associate these models to capture symbols for quick utilization in your schematic designs. To get the most out of PSpice, check out our walk-through tutorials.


Previous Article
Jernberg PI Article 7: The Case of the Missing PDN Owner
Jernberg PI Article 7: The Case of the Missing PDN Owner

As technology trends towards smaller, faster, cheaper, the challenges around good PDN design are getting mo...

Next Article
Why Buy When You Can Spend More Time and Money Making Your Own?
Why Buy When You Can Spend More Time and Money Making Your Own?

We've all been there: you've got a problem to solve and are faced with the make versus buy decision.

OrCAD Free Trial

Try OrCAD Today