how to call a subckt in pspice

Thread Starter

dr_dharmesh

Joined Jul 24, 2018
0
Hi
I am creating a subcircuit for FTFN using AD844 , macro model (and also by CMOS) with the file name MFTFN.cir in a folder name oscillator. Now i created another circuit file and call the subcircuit (which is saved in the same folder), but on running the circuit file an error is created (unable to open file).
*FTFN SUBCKT
.SUBCKT FTFN 2 3 28 26
XA1 2 3 8 24 23 25 AD844/AD
XA2 25 26 8 24 27 28 AD844/AD
VDD 8 0 DC 5V
VSS 0 24 DC 5V
.ENDS FTFN

***
*FTFN OSCILLATOR
X1 30 31 32 33 MFTFN
.INCLUDE MFTFN.CIR
C1 31 32 0.5NF IC=0.001US
C2 30 0 0.5NF IC=0.001US
C3 31 0 0.5NF IC=0.001US
R1 31 32 3K
R2 32 34 1K
R3 30 34 1K
R4 34 0 1K
IIN 34 0 10UA
.OP
.TRAN 0.001us 50us 0us 0.001us
.PROBE
.END

Kindly help me to resolve the error
 

Attachments

Top