diod
New Member
hi
this is my new code
* **********************************************
.PARAM SUPPLY=1.8
.lib 'all_mos.l' tt
.GLOBAL VDD GND
VDD VDD GND 1.8
MNA OUT INVA Y GND nch W=10u L=1u
MNB Y INVB GND GND nch W=10u L=1u
MNA1 OUTA INVA GND GND nch W=10u L=1u
MPA1 OUTA INVA VDD VDD pch W=10u L=1u
MNB1 OUTB INVB GND GND nch W=10u L=1u
MPB1 OUTB INVB VDD VDD pch W=10u L=1u
MNA2 OUT OUTA Z GND nch W=10u L=1u
MNB2 Z OUTB GND GND nch W=10u L=1u
MPA OUT INVA X VDD pch W=10u L=1u
MPB OUT INVB X VDD pch W=10u L=1u
MPA2 X OUTA VDD VDD pch W=10u L=1u
MPB2 X OUTB VDD VDD pch W=10u L=1u
.TRAN 100P 9NS
.PLOT TRAN V(OUT)
.measure tran avgpwr avg p(mna) from=1n to=5n
.measure TRAN iavg AVG i(mnb) FROM=1ns TO=3ns
VA INVA GND PULSE 1.8 0 1NS 100PS 100PS 4.1NS 8NS
VB INVB GND PULSE 1.8 0 1NS 100PS 100PS 2NS 4NS
.END
* **********************************************it hasnt error but it has warning that(
**warning** dc voltage reset to initial transient source value
in source 0:va new dc= 0.1800D+01
**warning** dc voltage reset to initial transient source value
in source 0:vb new dc= 0.1800D+01)
* **********************************************
in avanwaves result the out result isnt correct
what is wrong with my code?
this is my new code
* **********************************************
.PARAM SUPPLY=1.8
.lib 'all_mos.l' tt
.GLOBAL VDD GND
VDD VDD GND 1.8
MNA OUT INVA Y GND nch W=10u L=1u
MNB Y INVB GND GND nch W=10u L=1u
MNA1 OUTA INVA GND GND nch W=10u L=1u
MPA1 OUTA INVA VDD VDD pch W=10u L=1u
MNB1 OUTB INVB GND GND nch W=10u L=1u
MPB1 OUTB INVB VDD VDD pch W=10u L=1u
MNA2 OUT OUTA Z GND nch W=10u L=1u
MNB2 Z OUTB GND GND nch W=10u L=1u
MPA OUT INVA X VDD pch W=10u L=1u
MPB OUT INVB X VDD pch W=10u L=1u
MPA2 X OUTA VDD VDD pch W=10u L=1u
MPB2 X OUTB VDD VDD pch W=10u L=1u
.TRAN 100P 9NS
.PLOT TRAN V(OUT)
.measure tran avgpwr avg p(mna) from=1n to=5n
.measure TRAN iavg AVG i(mnb) FROM=1ns TO=3ns
VA INVA GND PULSE 1.8 0 1NS 100PS 100PS 4.1NS 8NS
VB INVB GND PULSE 1.8 0 1NS 100PS 100PS 2NS 4NS
.END
* **********************************************it hasnt error but it has warning that(
**warning** dc voltage reset to initial transient source value
in source 0:va new dc= 0.1800D+01
**warning** dc voltage reset to initial transient source value
in source 0:vb new dc= 0.1800D+01)
* **********************************************
in avanwaves result the out result isnt correct
what is wrong with my code?