2 posts / 0 new
Last post
#1 Jun 20, 2018
Last seen: 1 year 11 months ago
Joined: 2018-04-10 17:09

How to create a library with several different versions of the same part

I need some help.  I have been trying to create a library file with different biased ideal opamps.  Looks like this:

    .subckt Ideal_OPAMP v_plus v_minus v_out


    *This is an ideal OPAMP model with the output voltage

    *limited to +/- 15V


    Rin v_plus v_minus 10MEG

    Eamp v_out 0 value={LIMIT(1MEG*v(v_plus v_minus), -15, 15)}

    R0 v_out 0 10MEG


I change the power supplies and rename the part.  This one would be Ideal_OPAMP_15. How do I go about this?  I would like a library that would have the basically the same SUBCKT but with the power supply values changed the name changed.  

I will tell you what I have done.

1).  I create a .lib file with the above SUBCKT.  

2). I open the file in the Model Editior.

3).  I click on Model->Copy From -> 

4)  Label the next one Ideal_OPAMP_20

5).  Choose Ideal_OPAMP in the copy from box.  Click on OK

6).  After several new OPAMPS are created I then choose File->Model Import Wizard-> and run through the options.

7).  Save it

8).  Open Orcad and create a new project. 

9).  Load the part library.

This is where my problems exisits.  Under the library where I have save the parts I only get one part.  Not the 5 or 6 I have created.  

Any ideas?



Fri, 2020-05-08 05:49
ak29111986@gmail.com's picture
Last seen: 3 weeks 4 days ago
Joined: 2020-05-08 05:46

I am new in pspice, How can i create new siode model in spice (SMS7630)

Download PSpice and try it for free! Download Free Trial