From e279dc2d5fa948fc3e9491d0d36dd42f88a8ecad Mon Sep 17 00:00:00 2001 From: saurabhb17 Date: Fri, 24 Apr 2020 11:46:43 +0530 Subject: Subcircuit for CMOS based NAND gate and its supporting example --- Examples/CMOS_NAND_Gate/CMOS_NAND_Gate.cir.out | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Examples/CMOS_NAND_Gate/CMOS_NAND_Gate.cir.out (limited to 'Examples/CMOS_NAND_Gate/CMOS_NAND_Gate.cir.out') diff --git a/Examples/CMOS_NAND_Gate/CMOS_NAND_Gate.cir.out b/Examples/CMOS_NAND_Gate/CMOS_NAND_Gate.cir.out new file mode 100644 index 00000000..28714b07 --- /dev/null +++ b/Examples/CMOS_NAND_Gate/CMOS_NAND_Gate.cir.out @@ -0,0 +1,21 @@ +* /home/saurabh/esim-workspace/cmos_nand_gate/cmos_nand_gate.cir + +.include CMOS_NAND.sub +v1 inputa gnd pulse(0 5 0 0 0 17m 33m) +v2 inputb gnd pulse(0 5 0 0 0 10m 20m) +* u2 inputb plot_v1 +* u1 inputa plot_v1 +* u3 out plot_v1 +x1 inputa inputb out CMOS_NAND +.tran 0.1e-03 100e-03 0e-00 + +* Control Statements +.control +run +print allv > plot_data_v.txt +print alli > plot_data_i.txt +plot v(inputb) +plot v(inputa) +plot v(out) +.endc +.end -- cgit