summaryrefslogtreecommitdiff
path: root/library/SubcircuitLibrary/SKY130_IP/avsdbgp_3v3_sky130_v2
diff options
context:
space:
mode:
authorRahul P2022-09-17 23:31:49 +0530
committerGitHub2022-09-17 23:31:49 +0530
commit6e38b8cd9b8662a09a01765eb4c3b1ffaddd6ea3 (patch)
tree298942db122882e247da05e7e7fa10cb3dd03d85 /library/SubcircuitLibrary/SKY130_IP/avsdbgp_3v3_sky130_v2
parent2843e73ed81ac0bb5e685a5f1e045babb67083f0 (diff)
parent39632efe85fcfc781139442103269e90e0a29d3a (diff)
downloadeSim-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/avsdbgp_3v3_sky130_v2')
-rw-r--r--library/SubcircuitLibrary/SKY130_IP/avsdbgp_3v3_sky130_v2/.spiceinit6
-rw-r--r--library/SubcircuitLibrary/SKY130_IP/avsdbgp_3v3_sky130_v2/avsdbgp_3v3_sky130_v2.sub37
2 files changed, 43 insertions, 0 deletions
diff --git a/library/SubcircuitLibrary/SKY130_IP/avsdbgp_3v3_sky130_v2/.spiceinit b/library/SubcircuitLibrary/SKY130_IP/avsdbgp_3v3_sky130_v2/.spiceinit
new file mode 100644
index 00000000..c0929e3c
--- /dev/null
+++ b/library/SubcircuitLibrary/SKY130_IP/avsdbgp_3v3_sky130_v2/.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/avsdbgp_3v3_sky130_v2/avsdbgp_3v3_sky130_v2.sub b/library/SubcircuitLibrary/SKY130_IP/avsdbgp_3v3_sky130_v2/avsdbgp_3v3_sky130_v2.sub
new file mode 100644
index 00000000..3e116a15
--- /dev/null
+++ b/library/SubcircuitLibrary/SKY130_IP/avsdbgp_3v3_sky130_v2/avsdbgp_3v3_sky130_v2.sub
@@ -0,0 +1,37 @@
+.subckt avsdbgp_3v3_sky130_v2 VPWR En GND VBGP
+*BGR circuit
+
+XM1 A C VPWR VPWR sky130_fd_pr__pfet_g5v0d10v5 l=5 w=20
+XM2 C C VPWR VPWR sky130_fd_pr__pfet_g5v0d10v5 l=5 w=20
+XM3 H C VPWR VPWR sky130_fd_pr__pfet_g5v0d10v5 l=5 w=20
+XM4 A A B GND sky130_fd_pr__nfet_g5v0d10v5 l=5 w=20
+XM5 C A D GND sky130_fd_pr__nfet_g5v0d10v5 l=5 w=20
+
+X6 GND GND I GND sky130_fd_pr__pnp_05v5_W3p40L3p40 M=1
+X7 GND GND E GND sky130_fd_pr__pnp_05v5_W3p40L3p40 M=8
+X8 GND GND F GND sky130_fd_pr__pnp_05v5_W3p40L3p40 M=1
+
+*Start-up circuit
+
+XM9 C G GND GND sky130_fd_pr__nfet_g5v0d10v5 l=5 w=20
+XM10 G A GND GND sky130_fd_pr__nfet_g5v0d10v5 l=1 w=20
+
+*Enable circuit
+
+XM11 B En Vx GND sky130_fd_pr__nfet_g5v0d10v5 l=5 w=20
+XM12 D En Vy GND sky130_fd_pr__nfet_g5v0d10v5 l=5 w=20
+XM13 H En Vz GND sky130_fd_pr__nfet_g5v0d10v5 l=5 w=20
+XM14 K En G GND sky130_fd_pr__nfet_g5v0d10v5 l=5 w=20
+
+R1 J E 30K
+R2 F VBGP 273K
+R3 GND VBGP 100MEG
+R4 VPWR Vw 200K
+
+Vsrc Vx I DC 0V
+Vsrc1 Vy J DC 0V
+Vsrc2 Vz VBGP DC 0V
+Vsrc3 Vw K DC 0V
+
+.ends avsdbgp_3v3_sky130_v2
+