diff options
author | Saurabh Bansode | 2020-04-24 11:51:22 +0530 |
---|---|---|
committer | GitHub | 2020-04-24 11:51:22 +0530 |
commit | a35d497b81023950a6e675536f9cd4bf895983c2 (patch) | |
tree | 2329f74685827e8e88aae6c4dad1caee797fecbd /library/SubcircuitLibrary/CMOS_NAND/CMOS_NAND.sub | |
parent | b8097333ca26b380180de0de18a987e0db292927 (diff) | |
parent | e279dc2d5fa948fc3e9491d0d36dd42f88a8ecad (diff) | |
download | eSim-a35d497b81023950a6e675536f9cd4bf895983c2.tar.gz eSim-a35d497b81023950a6e675536f9cd4bf895983c2.tar.bz2 eSim-a35d497b81023950a6e675536f9cd4bf895983c2.zip |
Merge pull request #152 from saurabhb17/master
Subcircuit for CMOS based NAND gate and its supporting example
Diffstat (limited to 'library/SubcircuitLibrary/CMOS_NAND/CMOS_NAND.sub')
-rw-r--r-- | library/SubcircuitLibrary/CMOS_NAND/CMOS_NAND.sub | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/library/SubcircuitLibrary/CMOS_NAND/CMOS_NAND.sub b/library/SubcircuitLibrary/CMOS_NAND/CMOS_NAND.sub new file mode 100644 index 00000000..6d2efb0b --- /dev/null +++ b/library/SubcircuitLibrary/CMOS_NAND/CMOS_NAND.sub @@ -0,0 +1,13 @@ +* Subcircuit CMOS_NAND
+.subckt CMOS_NAND net-_m1-pad2_ net-_m3-pad2_ net-_m1-pad3_
+* c:\fossee\esim\library\subcircuitlibrary\cmos_nand\cmos_nand.cir
+.include NMOS-180nm.lib
+.include PMOS-180nm.lib
+m1 net-_m1-pad1_ net-_m1-pad2_ net-_m1-pad3_ net-_m1-pad1_ CMOSP W=2.5u L=0.5u M=1
+m4 net-_m1-pad1_ net-_m3-pad2_ net-_m1-pad3_ net-_m1-pad1_ CMOSP W=2.5u L=0.5u M=1
+m2 net-_m1-pad3_ net-_m1-pad2_ net-_m2-pad3_ gnd CMOSN W=1u L=0.5u M=1
+m3 net-_m2-pad3_ net-_m3-pad2_ gnd gnd CMOSN W=1u L=0.5u M=1
+v1 net-_m1-pad1_ gnd dc 5
+* Control Statements
+
+.ends CMOS_NAND
\ No newline at end of file |