Geoar
Newbie level 1
Hello,
I'm new to HSPICE and to the forum as well...
I need to simulate a CMOS inverter varying just the width W of both transistors for 3 cases... Then I need to plot the transfer characteristics (Vin VS Vout) of the inverter.
Is there a way to vary just the two parameters for the three cases in the same program? I think I need to use .param. Can someone explain how I vary the two parameters for each case?
Is there a way to plot Vin VS Vout for the three cases in just one plot? Thanks a lot
.temp 70
.option post
.include 'models.sp'
*------------------------------------------------
* Simulation netlist
*------------------------------------------------
Vin A gnd DC 0 1 .01
Vdd D gnd 1
M1 Y A gnd gnd CMOSN W=360n L=180n
M2 Y A D D CMOSP W=720n L=180n
.plot V(A) V(Y)
.end
I'm new to HSPICE and to the forum as well...
I need to simulate a CMOS inverter varying just the width W of both transistors for 3 cases... Then I need to plot the transfer characteristics (Vin VS Vout) of the inverter.
Is there a way to vary just the two parameters for the three cases in the same program? I think I need to use .param. Can someone explain how I vary the two parameters for each case?
Is there a way to plot Vin VS Vout for the three cases in just one plot? Thanks a lot
.temp 70
.option post
.include 'models.sp'
*------------------------------------------------
* Simulation netlist
*------------------------------------------------
Vin A gnd DC 0 1 .01
Vdd D gnd 1
M1 Y A gnd gnd CMOSN W=360n L=180n
M2 Y A D D CMOSP W=720n L=180n
.plot V(A) V(Y)
.end