Inverter Transient Analysis (this is the title line) * enable post-processing by AvanWaves .options post * device model file .include ami05.md * transient analysis: step size = 50 psec, duration = 2 nsec .tran 50p 2n * specify nodes to print (hspice will print them all, anyway) .print tran v(in) v(out) * here's the inverter netlist declaration * mosfet: mxx drain gate source substrate model length width m1 OUT IN VDD VDD CMOSP l=.5u w=2u m2 OUT IN GND GND CMOSN l=.5u w=2u * here's the load capacitor on the inverter output * capacitor: cxx node1 node2 capacitance cload OUT GND 100f * constant voltage source: vxx node1 node2 voltage VDD VDD GND 5 * pulsed voltage source: * vxx node1 node2 PULSE params * params = vlow vhigh delay rise fall pulse_width period VIN IN GND PULSE 0 5 .5n .1n .1n .5n 2n .end