summaryrefslogtreecommitdiff
path: root/library/SubcircuitLibrary/SKY130_IP/avsdcmp_3v3_sky130
diff options
context:
space:
mode:
authorrahulp132022-09-17 19:01:45 +0530
committerrahulp132022-09-17 19:01:45 +0530
commit37b9194b0d63f9b18e97892e63719c35dbac8dd7 (patch)
treefe6f76468f65d3fbf3732b56c087c95d7bfdfd89 /library/SubcircuitLibrary/SKY130_IP/avsdcmp_3v3_sky130
parent2843e73ed81ac0bb5e685a5f1e045babb67083f0 (diff)
downloadeSim-37b9194b0d63f9b18e97892e63719c35dbac8dd7.tar.gz
eSim-37b9194b0d63f9b18e97892e63719c35dbac8dd7.tar.bz2
eSim-37b9194b0d63f9b18e97892e63719c35dbac8dd7.zip
added sky130-fd-pr PDK and analog IPs
Diffstat (limited to 'library/SubcircuitLibrary/SKY130_IP/avsdcmp_3v3_sky130')
-rw-r--r--library/SubcircuitLibrary/SKY130_IP/avsdcmp_3v3_sky130/.spiceinit6
-rw-r--r--library/SubcircuitLibrary/SKY130_IP/avsdcmp_3v3_sky130/avsdcmp_3v3_sky130.sub24
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
+