summaryrefslogtreecommitdiff
path: root/Examples/CMOS_NAND_Gate/CMOS_NAND_Gate.cir.out
diff options
context:
space:
mode:
authorsaurabhb172020-04-24 11:46:43 +0530
committersaurabhb172020-04-24 11:46:43 +0530
commite279dc2d5fa948fc3e9491d0d36dd42f88a8ecad (patch)
tree2329f74685827e8e88aae6c4dad1caee797fecbd /Examples/CMOS_NAND_Gate/CMOS_NAND_Gate.cir.out
parent239241418842098bbf0f2de67447a96aa96082b0 (diff)
downloadeSim-e279dc2d5fa948fc3e9491d0d36dd42f88a8ecad.tar.gz
eSim-e279dc2d5fa948fc3e9491d0d36dd42f88a8ecad.tar.bz2
eSim-e279dc2d5fa948fc3e9491d0d36dd42f88a8ecad.zip
Subcircuit for CMOS based NAND gate and its supporting example
Diffstat (limited to 'Examples/CMOS_NAND_Gate/CMOS_NAND_Gate.cir.out')
-rw-r--r--Examples/CMOS_NAND_Gate/CMOS_NAND_Gate.cir.out21
1 files changed, 21 insertions, 0 deletions
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