diff options
author | Rahul P | 2022-09-17 23:31:49 +0530 |
---|---|---|
committer | GitHub | 2022-09-17 23:31:49 +0530 |
commit | 6e38b8cd9b8662a09a01765eb4c3b1ffaddd6ea3 (patch) | |
tree | 298942db122882e247da05e7e7fa10cb3dd03d85 /library/SubcircuitLibrary/SKY130_IP/avsdcmp_3v3_sky130 | |
parent | 2843e73ed81ac0bb5e685a5f1e045babb67083f0 (diff) | |
parent | 39632efe85fcfc781139442103269e90e0a29d3a (diff) | |
download | eSim-6e38b8cd9b8662a09a01765eb4c3b1ffaddd6ea3.tar.gz eSim-6e38b8cd9b8662a09a01765eb4c3b1ffaddd6ea3.tar.bz2 eSim-6e38b8cd9b8662a09a01765eb4c3b1ffaddd6ea3.zip |
Merge pull request #221 from rahulp13/sky130-dev
Added IPs and subcircuits, fixed path issues
Diffstat (limited to 'library/SubcircuitLibrary/SKY130_IP/avsdcmp_3v3_sky130')
-rw-r--r-- | library/SubcircuitLibrary/SKY130_IP/avsdcmp_3v3_sky130/.spiceinit | 6 | ||||
-rw-r--r-- | library/SubcircuitLibrary/SKY130_IP/avsdcmp_3v3_sky130/avsdcmp_3v3_sky130.sub | 24 |
2 files changed, 30 insertions, 0 deletions
diff --git a/library/SubcircuitLibrary/SKY130_IP/avsdcmp_3v3_sky130/.spiceinit b/library/SubcircuitLibrary/SKY130_IP/avsdcmp_3v3_sky130/.spiceinit new file mode 100644 index 00000000..c0929e3c --- /dev/null +++ b/library/SubcircuitLibrary/SKY130_IP/avsdcmp_3v3_sky130/.spiceinit @@ -0,0 +1,6 @@ + +set ngbehavior=hsa ; set compatibility for reading PDK libs +set ng_nomodcheck ; don't check the model parameters +set num_threads=8 ; CPU hardware threads available +option noinit ; don't print operating point data +optran 0 0 0 100p 2n 0 ; don't use dc operating point, but transient op) diff --git a/library/SubcircuitLibrary/SKY130_IP/avsdcmp_3v3_sky130/avsdcmp_3v3_sky130.sub b/library/SubcircuitLibrary/SKY130_IP/avsdcmp_3v3_sky130/avsdcmp_3v3_sky130.sub new file mode 100644 index 00000000..14be3560 --- /dev/null +++ b/library/SubcircuitLibrary/SKY130_IP/avsdcmp_3v3_sky130/avsdcmp_3v3_sky130.sub @@ -0,0 +1,24 @@ +.subckt avsdcmp_3v3_sky130 VCC EN INP INN VOUT GND +Ihyst VCC net4 pwl 0 0 20u 0 21u 0.2u 40u 0.2u 41u 0.8u 60u 0.8u 61u 10u 100u 10u + +XM2 VDIFF net1 VCC VCC sky130_fd_pr__pfet_g5v0d10v5 L=1 W=1 +XM1 net1 net1 VCC VCC sky130_fd_pr__pfet_g5v0d10v5 L=1 W=1 +XM12 VOUT2 VOUT1 VCC VCC sky130_fd_pr__pfet_g5v0d10v5 L=0.5 W=4 +XM10 VOUT1 VDIFF VCC VCC sky130_fd_pr__pfet_g5v0d10v5 L=0.5 W=6 +LOAD VOUT GND 10M m=1 +XM16 VOUT VOUT2 VCC VCC sky130_fd_pr__pfet_g5v0d10v5 L=0.5 W=4 +XM22 VOUT2 EN VCC VCC sky130_fd_pr__pfet_g5v0d10v5 L=0.5 W=4 +XM20 VOUT VOUT2 GND GND sky130_fd_pr__nfet_g5v0d10v5 L=0.5 W=2 +XM17 net5 EN GND GND sky130_fd_pr__nfet_g5v0d10v5 L=0.5 W=2 +XM13 VOUT2 VOUT1 net5 GND sky130_fd_pr__nfet_g5v0d10v5 L=0.5 W=2 +XM11 VOUT1 VCC GND GND sky130_fd_pr__nfet_g5v0d10v5 L=0.5 W=0.5 +XM7 net3 net4 GND GND sky130_fd_pr__nfet_g5v0d10v5 L=0.5 W=0.5 +XM18 net4 net4 GND GND sky130_fd_pr__nfet_g5v0d10v5 L=0.5 W=0.5 +XM6 net1 VOUT2 net3 GND sky130_fd_pr__nfet_g5v0d10v5 L=0.5 W=2 +XM8 VDIFF VOUT1 net3 GND sky130_fd_pr__nfet_g5v0d10v5 L=0.5 W=2 +XM5 net2 VCC GND GND sky130_fd_pr__nfet_g5v0d10v5 L=1 W=0.5 +XM3 net1 INN net2 GND sky130_fd_pr__nfet_g5v0d10v5 L=0.5 W=1 +XM4 VDIFF INP net2 GND sky130_fd_pr__nfet_g5v0d10v5 L=0.5 W=1 + +.ends avsdcmp_3v3_sky130 + |