circuit simulation help

Thread Starter

chino22

Joined Oct 2, 2006
6
I'm trying to simulate an OR/NOR gate in Pspice. When i run the sim, it say that there is no error and completed, but it doesn't bring up the plot or allow me to add traces for the plot i want. The input to node 1 and 4 are pulses of 60ns and 120ns. And i'd like to plot the transient responses of voltages at node 12 and 13. Take a look at my code and see if its correct. this is driving me nut, trying to figure it out.

VIN 1 O PULSE(0 5 0 1N 1N 60NS)
VB 4 0 PULSE(0 5 0 1N 1N 120NS)
VEE 14 0 DC -5.2V
Q1 2 4 3 QN
Q2 7 8 3 QN
Q3 2 1 3 QN
Q4 0 9 8 QN
Q5 0 2 13 QN
Q6 0 7 12 QN
.MODEL QN NPN(BF=50 RB=70 RC=40 TF=0.1NS TR=10NS VJC=0.85 VAF=50)
D1 9 10 DN
D2 10 11 DN
.MODEL DN D(RS=40 TT=0.1NS)
R1 0 2 220
R2 0 7 245
R3 3 14 779
R4 4 14 15K
R5 1 14 15K
R6 8 14 6.1K
R7 0 9 907
R8 11 14 4.98K
R9 13 14 10K
R10 12 14 10K

.PROBE
.END
 
There are no analyses defined. You should add a .TRAN (includes .DC automatically) and a .OP line.

Then, if you want a graphical plot, you should run SPICE in batch mode and tell it to output a raw file. That raw file is to be used with nutmeg to give you a nice plot (e.g.: do plot v(12) v(13) in nutmeg)

Check the documentation, I'm not familiar with PSPICE, but with spice3f5.
 
Top