-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
needed to have a more reproducible environment
- Loading branch information
1 parent
9f26098
commit f240a81
Showing
11 changed files
with
1,985 additions
and
0 deletions.
There are no files selected for viewing
1,382 changes: 1,382 additions & 0 deletions
1,382
...les/04a_analogue_circuit_layout_simulation/20_sky130nm_inverter_schematic_to_layout.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
59 changes: 59 additions & 0 deletions
59
docs/examples/04a_analogue_circuit_layout_simulation/sky130nm/inv.mag
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
magic | ||
tech sky130A | ||
magscale 1 2 | ||
timestamp 1640640991 | ||
<< nwell >> | ||
rect 86 1006 122 1120 | ||
rect 402 1006 438 1120 | ||
<< pwell >> | ||
rect 174 -918 208 -806 | ||
<< viali >> | ||
rect 32 1116 492 1152 | ||
rect 118 -954 422 -916 | ||
<< metal1 >> | ||
rect -126 1152 650 1230 | ||
rect -126 1116 32 1152 | ||
rect 492 1116 650 1152 | ||
rect -126 1090 650 1116 | ||
rect 80 992 128 1090 | ||
rect 196 204 206 1002 | ||
rect 322 204 332 1002 | ||
rect 396 992 444 1090 | ||
rect 212 134 304 162 | ||
rect 212 116 316 134 | ||
rect 224 -336 316 116 | ||
rect 300 -420 402 -404 | ||
rect 300 -802 310 -420 | ||
rect 392 -802 402 -420 | ||
rect 168 -898 214 -802 | ||
rect -126 -916 650 -898 | ||
rect -126 -954 118 -916 | ||
rect 422 -954 650 -916 | ||
rect -126 -1038 650 -954 | ||
<< via1 >> | ||
rect 206 204 322 1002 | ||
rect 310 -802 392 -420 | ||
<< metal2 >> | ||
rect 206 1002 322 1012 | ||
rect 322 204 392 348 | ||
rect 206 194 392 204 | ||
rect 310 -420 392 194 | ||
rect 310 -812 392 -802 | ||
use sky130_fd_pr__nfet_g5v0d10v5_H9JWFY sky130_fd_pr__nfet_g5v0d10v5_H9JWFY_0 | ||
timestamp 1639595562 | ||
transform 1 0 270 0 1 -573 | ||
box -278 -427 278 427 | ||
use sky130_fd_pr__pfet_g5v0d10v5_5AEDG4 sky130_fd_pr__pfet_g5v0d10v5_5AEDG4_0 | ||
timestamp 1639595562 | ||
transform -1 0 262 0 1 567 | ||
box -387 -662 387 662 | ||
<< labels >> | ||
rlabel metal1 -126 1152 650 1230 1 VDD | ||
port 3 n default input | ||
rlabel metal1 -126 -1038 650 -954 1 VSS | ||
port 4 n | ||
rlabel metal1 224 -336 316 134 1 in | ||
port 1 n | ||
rlabel metal2 310 -420 392 204 1 out | ||
port 2 n | ||
<< end >> |
21 changes: 21 additions & 0 deletions
21
docs/examples/04a_analogue_circuit_layout_simulation/sky130nm/inv.pex.sch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
v {xschem version=3.0.0 file_version=1.2 } | ||
G {} | ||
K {} | ||
V {} | ||
S {} | ||
E {} | ||
N 560 -1020 600 -1020 { lab=VDD} | ||
N 560 -890 600 -890 { lab=in} | ||
N 560 -760 600 -760 { lab=VSS} | ||
N 840 -890 880 -890 { lab=out} | ||
C {devices/ipin.sym} 560 -890 0 0 {name=p1 lab=in} | ||
C {devices/opin.sym} 880 -890 0 0 {name=p3 lab=out | ||
} | ||
C {devices/ipin.sym} 560 -1020 0 0 {name=p5 lab=VDD | ||
} | ||
C {devices/ipin.sym} 560 -760 0 0 {name=p6 lab=VSS} | ||
C {devices/noconn.sym} 840 -890 0 0 {name=l1} | ||
C {devices/noconn.sym} 600 -1020 0 1 {name=l2} | ||
C {devices/noconn.sym} 600 -890 0 1 {name=l3} | ||
C {devices/noconn.sym} 600 -760 0 1 {name=l4} | ||
C {devices/code.sym} 660 -930 0 0 {name=s1 only_toplevel=false value=".include inv.pex.spice"} |
26 changes: 26 additions & 0 deletions
26
docs/examples/04a_analogue_circuit_layout_simulation/sky130nm/inv.pex.sym
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
v {xschem version=3.0.0 file_version=1.2 } | ||
G {} | ||
K {type=subcircuit | ||
format="@name @pinlist @symname" | ||
template="name=x1"} | ||
V {} | ||
S {} | ||
E {} | ||
L 4 -130 -30 130 -30 {} | ||
L 4 -130 30 130 30 {} | ||
L 4 -130 -30 -130 30 {} | ||
L 4 130 -30 130 30 {} | ||
L 4 -150 -20 -130 -20 {} | ||
L 4 -150 0 -130 0 {} | ||
L 4 130 -20 150 -20 {} | ||
L 4 -150 20 -130 20 {} | ||
B 5 -152.5 -22.5 -147.5 -17.5 {name=VDD dir=in } | ||
B 5 -152.5 -2.5 -147.5 2.5 {name=in dir=in } | ||
B 5 147.5 -22.5 152.5 -17.5 {name=out dir=out } | ||
B 5 -152.5 17.5 -147.5 22.5 {name=VSS dir=in } | ||
T {@symname} -72 -6 0 0 0.3 0.3 {} | ||
T {@name} 135 -42 0 0 0.2 0.2 {} | ||
T {VDD} -125 -24 0 0 0.2 0.2 {} | ||
T {in} -125 -4 0 0 0.2 0.2 {} | ||
T {out} 125 -24 0 1 0.2 0.2 {} | ||
T {VSS} -125 16 0 0 0.2 0.2 {} |
46 changes: 46 additions & 0 deletions
46
docs/examples/04a_analogue_circuit_layout_simulation/sky130nm/inv.sch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
v {xschem version=3.0.0 file_version=1.2 } | ||
G {} | ||
K {} | ||
V {} | ||
S {} | ||
E {} | ||
N 720 -800 720 -760 { lab=VSS} | ||
N 720 -1020 720 -980 { lab=VDD} | ||
N 720 -950 790 -950 { lab=VDD} | ||
N 790 -1020 790 -950 { lab=VDD} | ||
N 720 -830 790 -830 { lab=VSS} | ||
N 790 -830 790 -760 { lab=VSS} | ||
N 720 -890 720 -860 { lab=out} | ||
N 660 -950 680 -950 { lab=in} | ||
N 660 -890 660 -830 { lab=in} | ||
N 660 -830 680 -830 { lab=in} | ||
N 720 -890 880 -890 { lab=out} | ||
N 720 -1020 790 -1020 { lab=VDD} | ||
N 720 -760 790 -760 { lab=VSS} | ||
N 660 -950 660 -890 { lab=in} | ||
N 720 -920 720 -890 { lab=out} | ||
N 560 -760 720 -760 { lab=VSS} | ||
N 560 -890 660 -890 { lab=in} | ||
N 560 -1020 720 -1020 { lab=VDD} | ||
C {devices/ipin.sym} 560 -890 0 0 {name=p1 lab=in} | ||
C {devices/opin.sym} 880 -890 0 0 {name=p2 lab=out | ||
} | ||
C {devices/ipin.sym} 560 -1020 0 0 {name=p3 lab=VDD | ||
} | ||
C {devices/ipin.sym} 560 -760 0 0 {name=p4 lab=VSS} | ||
C {sky130_fd_pr/pfet_g5v0d10v5.sym} 700 -950 0 0 {name=M10 | ||
|
||
L=0.5 | ||
W=8 | ||
nf=2 mult=1 | ||
model=pfet_g5v0d10v5 | ||
spiceprefix=X | ||
} | ||
C {sky130_fd_pr/nfet_g5v0d10v5.sym} 700 -830 0 0 {name=M9 | ||
|
||
L=0.5 | ||
W=2 | ||
nf=1 mult=1 | ||
model=nfet_g5v0d10v5 | ||
spiceprefix=X | ||
} |
23 changes: 23 additions & 0 deletions
23
docs/examples/04a_analogue_circuit_layout_simulation/sky130nm/inv.sym
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
v {xschem version=3.0.0 file_version=1.2} | ||
K {type=subcircuit | ||
format="@name @pinlist @symname" | ||
template="name=x1" | ||
} | ||
T {@symname} -72 -6 0 0 0.3 0.3 {} | ||
T {@name} 135 -42 0 0 0.2 0.2 {} | ||
L 4 -130 -30 130 -30 {} | ||
L 4 -130 30 130 30 {} | ||
L 4 -130 -30 -130 30 {} | ||
L 4 130 -30 130 30 {} | ||
B 5 -152.5 -22.5 -147.5 -17.5 {name=VDD dir=in } | ||
L 4 -150 -20 -130 -20 {} | ||
T {VDD} -125 -24 0 0 0.2 0.2 {} | ||
B 5 -152.5 -2.5 -147.5 2.5 {name=in dir=in } | ||
L 4 -150 0 -130 0 {} | ||
T {in} -125 -4 0 0 0.2 0.2 {} | ||
B 5 147.5 -22.5 152.5 -17.5 {name=out dir=out } | ||
L 4 130 -20 150 -20 {} | ||
T {out} 125 -24 0 1 0.2 0.2 {} | ||
B 5 -152.5 17.5 -147.5 22.5 {name=VSS dir=in } | ||
L 4 -150 20 -130 20 {} | ||
T {VSS} -125 16 0 0 0.2 0.2 {} |
70 changes: 70 additions & 0 deletions
70
...s/04a_analogue_circuit_layout_simulation/sky130nm/sky130_fd_pr__nfet_g5v0d10v5_H9JWFY.mag
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
magic | ||
tech sky130A | ||
magscale 1 2 | ||
timestamp 1639595562 | ||
<< pwell >> | ||
rect -278 -427 278 427 | ||
<< mvnmos >> | ||
rect -50 -231 50 169 | ||
<< mvndiff >> | ||
rect -108 157 -50 169 | ||
rect -108 -219 -96 157 | ||
rect -62 -219 -50 157 | ||
rect -108 -231 -50 -219 | ||
rect 50 157 108 169 | ||
rect 50 -219 62 157 | ||
rect 96 -219 108 157 | ||
rect 50 -231 108 -219 | ||
<< mvndiffc >> | ||
rect -96 -219 -62 157 | ||
rect 62 -219 96 157 | ||
<< mvpsubdiff >> | ||
rect -242 333 242 391 | ||
rect -242 -333 -184 333 | ||
rect 184 -333 242 333 | ||
rect -242 -345 242 -333 | ||
rect -242 -379 -134 -345 | ||
rect 134 -379 242 -345 | ||
rect -242 -391 242 -379 | ||
<< mvpsubdiffcont >> | ||
rect -134 -379 134 -345 | ||
<< poly >> | ||
rect -50 241 50 257 | ||
rect -50 207 -34 241 | ||
rect 34 207 50 241 | ||
rect -50 169 50 207 | ||
rect -50 -257 50 -231 | ||
<< polycont >> | ||
rect -34 207 34 241 | ||
<< locali >> | ||
rect -50 207 -34 241 | ||
rect 34 207 50 241 | ||
rect -96 157 -62 173 | ||
rect -96 -235 -62 -219 | ||
rect 62 157 96 173 | ||
rect 62 -235 96 -219 | ||
rect -150 -379 -134 -345 | ||
rect 134 -379 150 -345 | ||
<< viali >> | ||
rect -34 207 34 241 | ||
rect -96 -219 -62 157 | ||
rect 62 -219 96 157 | ||
<< metal1 >> | ||
rect -46 241 46 247 | ||
rect -46 207 -34 241 | ||
rect 34 207 46 241 | ||
rect -46 201 46 207 | ||
rect -102 157 -56 169 | ||
rect -102 -219 -96 157 | ||
rect -62 -219 -56 157 | ||
rect -102 -231 -56 -219 | ||
rect 56 157 102 169 | ||
rect 56 -219 62 157 | ||
rect 96 -219 102 157 | ||
rect 56 -231 102 -219 | ||
<< properties >> | ||
string gencell sky130_fd_pr__nfet_g5v0d10v5 | ||
string FIXED_BBOX -213 -362 213 362 | ||
string parameters w 2 l 0.50 m 1 nf 1 diffcov 100 polycov 100 guard 1 glc 0 grc 0 gtc 0 gbc 1 tbcov 100 rlcov 100 topc 1 botc 0 poverlap 0 doverlap 1 lmin 0.50 wmin 0.42 compatible {sky130_fd_pr__nfet_01v8 sky130_fd_pr__nfet_01v8_lvt sky130_fd_bs_flash__special_sonosfet_star sky130_fd_pr__nfet_g5v0d10v5 sky130_fd_pr__nfet_05v0_nvt sky130_fd_pr__nfet_03v3_nvt} full_metal 0 viasrc 100 viadrn 100 viagate 100 viagb 0 viagr 0 viagl 0 viagt 0 | ||
string library sky130 | ||
<< end >> |
96 changes: 96 additions & 0 deletions
96
...s/04a_analogue_circuit_layout_simulation/sky130nm/sky130_fd_pr__pfet_g5v0d10v5_5AEDG4.mag
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
magic | ||
tech sky130A | ||
magscale 1 2 | ||
timestamp 1639595562 | ||
<< nwell >> | ||
rect -387 -662 387 662 | ||
<< mvpmos >> | ||
rect -129 -364 -29 436 | ||
rect 29 -364 129 436 | ||
<< mvpdiff >> | ||
rect -187 424 -129 436 | ||
rect -187 -352 -175 424 | ||
rect -141 -352 -129 424 | ||
rect -187 -364 -129 -352 | ||
rect -29 424 29 436 | ||
rect -29 -352 -17 424 | ||
rect 17 -352 29 424 | ||
rect -29 -364 29 -352 | ||
rect 129 424 187 436 | ||
rect 129 -352 141 424 | ||
rect 175 -352 187 424 | ||
rect 129 -364 187 -352 | ||
<< mvpdiffc >> | ||
rect -175 -352 -141 424 | ||
rect -17 -352 17 424 | ||
rect 141 -352 175 424 | ||
<< mvnsubdiff >> | ||
rect -321 584 321 596 | ||
rect -321 550 -213 584 | ||
rect 213 550 321 584 | ||
rect -321 538 321 550 | ||
rect -321 -538 -263 538 | ||
rect 263 -538 321 538 | ||
rect -321 -596 321 -538 | ||
<< mvnsubdiffcont >> | ||
rect -213 550 213 584 | ||
<< poly >> | ||
rect -129 436 -29 462 | ||
rect 29 436 129 462 | ||
rect -129 -411 -29 -364 | ||
rect -129 -445 -113 -411 | ||
rect -45 -445 -29 -411 | ||
rect -129 -461 -29 -445 | ||
rect 29 -411 129 -364 | ||
rect 29 -445 45 -411 | ||
rect 113 -445 129 -411 | ||
rect 29 -461 129 -445 | ||
<< polycont >> | ||
rect -113 -445 -45 -411 | ||
rect 45 -445 113 -411 | ||
<< locali >> | ||
rect -229 550 -213 584 | ||
rect 213 550 229 584 | ||
rect -175 424 -141 440 | ||
rect -175 -368 -141 -352 | ||
rect -17 424 17 440 | ||
rect -17 -368 17 -352 | ||
rect 141 424 175 440 | ||
rect 141 -368 175 -352 | ||
rect -129 -445 -113 -411 | ||
rect -45 -445 -29 -411 | ||
rect 29 -445 45 -411 | ||
rect 113 -445 129 -411 | ||
<< viali >> | ||
rect -175 -352 -141 424 | ||
rect -17 -352 17 424 | ||
rect 141 -352 175 424 | ||
rect -113 -445 -45 -411 | ||
rect 45 -445 113 -411 | ||
<< metal1 >> | ||
rect -181 424 -135 436 | ||
rect -181 -352 -175 424 | ||
rect -141 -352 -135 424 | ||
rect -181 -364 -135 -352 | ||
rect -23 424 23 436 | ||
rect -23 -352 -17 424 | ||
rect 17 -352 23 424 | ||
rect -23 -364 23 -352 | ||
rect 135 424 181 436 | ||
rect 135 -352 141 424 | ||
rect 175 -352 181 424 | ||
rect 135 -364 181 -352 | ||
rect -125 -411 -33 -405 | ||
rect -125 -445 -113 -411 | ||
rect -45 -445 -33 -411 | ||
rect -125 -451 -33 -445 | ||
rect 33 -411 125 -405 | ||
rect 33 -445 45 -411 | ||
rect 113 -445 125 -411 | ||
rect 33 -451 125 -445 | ||
<< properties >> | ||
string gencell sky130_fd_pr__pfet_g5v0d10v5 | ||
string FIXED_BBOX -292 -567 292 567 | ||
string parameters w 4 l 0.50 m 1 nf 2 diffcov 100 polycov 100 guard 1 glc 0 grc 0 gtc 1 gbc 0 tbcov 100 rlcov 100 topc 0 botc 1 poverlap 0 doverlap 1 lmin 0.50 wmin 0.42 compatible {sky130_fd_pr__pfet_01v8 sky130_fd_pr__pfet_01v8_lvt sky130_fd_pr__pfet_01v8_hvt sky130_fd_pr__pfet_g5v0d10v5} full_metal 0 viasrc 100 viadrn 100 viagate 100 viagb 0 viagr 0 viagl 0 viagt 0 | ||
string library sky130 | ||
<< end >> |
Oops, something went wrong.