I don't need full netlist.
Read my requests surely.
You should not use Resistor of 0ohm for observing current.
Instead use vsource of dc=0Volt or iprobe.
Your netlist is too dirty and wrong, so it is laborious to correct.
vivarf wrote on Mar 17th, 2009, 7:22am:PORT0 (net0112 0) port r=50 num=1 type=sine freq=Rf_freq dbm=Rf_pwr \
freq2=Rf_freq2 dbm2=Rf_pwr mag=100m fundname="Rf1" fundname2="Rf2"
K0 (net0112 0 net215 net025) transformer
C2 (net025 in\-) capacitor c=10p
C1 (net215 in\+) capacitor c=10p
R3 (in\+ net042) resistor r=10K
V26 (net042 0) vsource dc=Vbs2+vin type=dc
R14 (in\- net070) resistor r=10K
V37 (net070 0) vsource dc=Vbs2-vin type=dc
tran tran stop=50n step=10p maxstep=40p write="spectre.ic" \
writefinal="spectre.fc" annotate=status maxiters=5
finalTimeOP info what=oppoint where=rawfile
Delete these lines completely. And replace to the followings.
V26 (in\+ 0) vsource type=dc dc=Vbs2+vin/2 mag=0.5 phase=0
V37 (in\- 0) vsource type=dc dc=Vbs2-vin/2 mag=0.5 phase=180
vivarf wrote on Mar 17th, 2009, 7:22am:ac ac freq=400M param=vin start=-100m stop=100m lin=200 annotate=status
Modify this line to the following.
ac ac freq=400M param=vin start=-100m stop=100m lin=200 annotate=status
restart=yesvivarf wrote on Mar 17th, 2009, 7:22am:Y21=deriv(i("/R18/MINUS" ?result "ac"))
You are misunderstanding completely.
Y21=i("/M2/D" ?result "ac")-i("/M6/D" ?result "ac")
g1=real(Y21), g3=deriv( deriv(g1) )
If you prefer single-ended output, Y21=i("/M2/D" ?result "ac").
I can't find out output terminals for g1
+ and g1
- correctly.
If you specify output terminals correctly for them, you can calculate g1
+ and g1
- by same definition as g1.
I've been very tired due to your unbelievable misunderstanding netlist.