.lib 'all_mos.l' tt
.GLOBAL VDD GND
VDD VDD GND 5
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
.cload out gnd 50fF
.TRAN 50PS 10NS
.measure tran avgpwr avg p(mna) from=1n to=3n
.measure TRAN iavg AVG i(mnA) FROM=1ns TO=3ns
VA INVA GND PULSE 0 5 1ns 50ps 50ps 4.1ns 8ns
VB INVB GND PULSE 0 5 1ns 200ps 200ps 2ns 8ns
.END
what is wrong with this?
this is my xor2 code in hspice it hasent error but it has warning(*warning** dc voltage reset to initial transient source value in source 0:va new dc= 0.1800D+01PARAM SUPPLY=5
and i dont khow why in avanwave my output isnt correct