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
In the schematic or netlist make the width as variable by giving some name say WM1 & WM2 and then vary these as per your requirement. You will be able to get the results in a single plot.
Vdd D gnd 1
M1 Y A gnd gnd CMOSN W='width' L=180n
M2 Y A D D CMOSP W='2*width' L=180n
.DC Vin A gnd 0 1 0.1 SWEEP width POI 3 360n 720n 1080n
.plot V(A) V(Y)
.end