Skip to content

Commit

Permalink
Merge pull request #288 from harshkhandeparkar/ldo-fixes
Browse files Browse the repository at this point in the history
Fixed LDO Flow
  • Loading branch information
msaligane authored Aug 22, 2024
2 parents d0563a7 + b92503e commit 8835b6a
Show file tree
Hide file tree
Showing 14 changed files with 1,801 additions and 5,210 deletions.
15 changes: 0 additions & 15 deletions .github/scripts/expected_drc_reports/expected_ldo_drc.rpt
Original file line number Diff line number Diff line change
@@ -1,18 +1,3 @@
ldoInst count:
----------------------------------------
Deep N-well spacing to N-well < 4.5um (nwell.7)
----------------------------------------
211.510um 138.670um 213.545um 143.170um
211.510um 138.670um 213.545um 143.385um
211.510um 138.670um 213.545um 143.385um
----------------------------------------

ldoInst count:
----------------------------------------
Deep N-well spacing to N-well < 4.5um (nwell.7)
----------------------------------------
211.510um 138.670um 213.545um 143.170um
211.510um 138.670um 213.545um 143.385um
211.510um 138.670um 213.545um 143.385um
----------------------------------------

24 changes: 12 additions & 12 deletions openfasoc/common/platforms/sky130hvl/cdl/sky130_fd_sc_hvl.spice
Original file line number Diff line number Diff line change
Expand Up @@ -2771,8 +2771,8 @@ X16 vpwr a_3401_885# OUT vpb sky130_fd_pr__pfet_g5v0d10v5 w=1.5e+06u l=500000u

*******EOF

.subckt vref_gen_nmos_with_trim trim9 trim10 trim8 trim7 trim6 trim5 trim4 trim3 trim2
+ trim1 vpwr vref vgnd
.subckt vref_gen_nmos_with_trim trim4 trim7 trim2 trim10 trim1 trim6 trim5 trim3 trim8
+ trim9 vpwr vref vgnd
X0 a_12329_2559# w_15508_8650# vref vgnd sky130_fd_pr__nfet_05v0_nvt w=120e+06u l=900000u nf=120
X1 vref w_15508_8650# a_2399_9722# vgnd sky130_fd_pr__nfet_05v0_nvt w=60e+06u l=900000u nf=60
X2 a_7730_2559# w_15508_8650# vref vgnd sky130_fd_pr__nfet_05v0_nvt w=120e+06u l=900000u nf=120
Expand All @@ -2783,15 +2783,15 @@ X6 a_13831_2559# w_15508_8650# vref vgnd sky130_fd_pr__nfet_05v0_nvt w=120e+06u
X7 vref w_15508_8650# a_4672_2559# vgnd sky130_fd_pr__nfet_05v0_nvt w=120e+06u l=900000u nf=120
X8 a_9292_2559# w_15508_8650# vref vgnd sky130_fd_pr__nfet_05v0_nvt w=120e+06u l=900000u nf=120
X9 vref w_15508_8650# a_1502_9722# vgnd sky130_fd_pr__nfet_05v0_nvt w=30e+06u l=900000u nf=30
X10 vpwr trim2 a_2399_9722# vpwr sky130_fd_pr__pfet_01v8 w=3e+06u l=500000u
X10 vpwr trim2 a_2399_9722# vpwr sky130_fd_pr__pfet_g5v0d10v5 w=3e+06u l=500000u
X11 w_16618_2584# w_16618_2584# w_17752_3595# w_17752_3595# sky130_fd_pr__nfet_g5v0d10v5 w=2e+06u l=500000u nf=2
X12 w_17752_3595# w_17752_3595# vgnd vgnd sky130_fd_pr__nfet_g5v0d10v5 w=2e+06u l=500000u nf=2
X13 vpwr trim7 a_9292_2559# vpwr sky130_fd_pr__pfet_01v8 w=3e+06u l=500000u
X14 vpwr trim1 a_1502_9722# vpwr sky130_fd_pr__pfet_01v8 w=3e+06u l=500000u
X13 vpwr trim7 a_9292_2559# vpwr sky130_fd_pr__pfet_g5v0d10v5 w=3e+06u l=500000u
X14 vpwr trim1 a_1502_9722# vpwr sky130_fd_pr__pfet_g5v0d10v5 w=3e+06u l=500000u
X15 w_15508_6628# w_15508_6628# w_15508_5617# w_15508_5617# sky130_fd_pr__nfet_g5v0d10v5 w=2e+06u l=500000u nf=2
X16 w_15508_5617# w_15508_5617# w_15508_4606# w_15508_4606# sky130_fd_pr__nfet_g5v0d10v5 w=2e+06u l=500000u nf=2
X17 w_15508_4606# w_15508_4606# w_15508_3595# w_15508_3595# sky130_fd_pr__nfet_g5v0d10v5 w=2e+06u l=500000u nf=2
X18 vpwr trim9 a_12329_2559# vpwr sky130_fd_pr__pfet_01v8 w=3e+06u l=500000u
X18 vpwr trim9 a_12329_2559# vpwr sky130_fd_pr__pfet_g5v0d10v5 w=3e+06u l=500000u
X19 w_15508_3595# w_15508_3595# w_15508_2584# w_15508_2584# sky130_fd_pr__nfet_g5v0d10v5 w=2e+06u l=500000u nf=2
X20 vref vref w_15508_8650# w_15508_8650# sky130_fd_pr__nfet_g5v0d10v5 w=2e+06u l=500000u nf=2
X21 w_15508_8650# w_15508_8650# w_15508_7639# w_15508_7639# sky130_fd_pr__nfet_g5v0d10v5 w=2e+06u l=500000u nf=2
Expand All @@ -2803,12 +2803,12 @@ X26 w_16618_3595# w_16618_3595# w_16618_2584# w_16618_2584# sky130_fd_pr__nfet_g
X27 w_15508_2584# w_15508_2584# w_16618_8650# w_16618_8650# sky130_fd_pr__nfet_g5v0d10v5 w=2e+06u l=500000u nf=2
X28 w_16618_8650# w_16618_8650# w_16618_7639# w_16618_7639# sky130_fd_pr__nfet_g5v0d10v5 w=2e+06u l=500000u nf=2
X29 w_16618_7639# w_16618_7639# w_16618_6628# w_16618_6628# sky130_fd_pr__nfet_g5v0d10v5 w=2e+06u l=500000u nf=2
X30 vpwr trim4 a_4672_2559# vpwr sky130_fd_pr__pfet_01v8 w=3e+06u l=500000u
X31 vpwr trim8 a_10794_2559# vpwr sky130_fd_pr__pfet_01v8 w=3e+06u l=500000u
X32 vpwr trim5 a_6219_2559# vpwr sky130_fd_pr__pfet_01v8 w=3e+06u l=500000u
X33 vpwr trim6 a_7730_2559# vpwr sky130_fd_pr__pfet_01v8 w=3e+06u l=500000u
X34 vpwr trim10 a_13831_2559# vpwr sky130_fd_pr__pfet_01v8 w=3e+06u l=500000u
X35 vpwr trim3 a_3491_9722# vpwr sky130_fd_pr__pfet_01v8 w=3e+06u l=500000u
X30 vpwr trim4 a_4672_2559# vpwr sky130_fd_pr__pfet_g5v0d10v5 w=3e+06u l=500000u
X31 vpwr trim8 a_10794_2559# vpwr sky130_fd_pr__pfet_g5v0d10v5 w=3e+06u l=500000u
X32 vpwr trim5 a_6219_2559# vpwr sky130_fd_pr__pfet_g5v0d10v5 w=3e+06u l=500000u
X33 vpwr trim6 a_7730_2559# vpwr sky130_fd_pr__pfet_g5v0d10v5 w=3e+06u l=500000u
X34 vpwr trim10 a_13831_2559# vpwr sky130_fd_pr__pfet_g5v0d10v5 w=3e+06u l=500000u
X35 vpwr trim3 a_3491_9722# vpwr sky130_fd_pr__pfet_g5v0d10v5 w=3e+06u l=500000u
.ends

*******EOF
2 changes: 1 addition & 1 deletion openfasoc/generators/ldo-gen/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ clean:
-rm -rf tools/*.pyc tools/__pycache__/
-rm -rf flow/design/src/ldo
-cd flow && make nuke
-rm -f blocks/sky130hvl/ldo_custom_net.txt blocks/sky130hvl/ldo_domain_insts.txt
-rm -f blocks/sky130hvl/ldo_custom_net.txt blocks/sky130hvl/ldo_domain_insts.txt blocks/sky130hvl/ldo_place.txt
-rm -rf ../../common/drc-lvs-check/sky130A
-rm -rf simulations/run

Expand Down
Binary file not shown.
263 changes: 0 additions & 263 deletions openfasoc/generators/ldo-gen/blocks/sky130hvl/ldo_place.txt

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ MACRO LDO_COMPARATOR_LATCH
FOREIGN LDO_COMPARATOR_LATCH 0 0 ;
SIZE 18.240 BY 8.140 ;
SYMMETRY X Y ;
SITE unithv ;
SITE unithvdbl ;
PIN vnb
DIRECTION INOUT ;
USE GROUND ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ MACRO PT_UNIT_CELL
FOREIGN PT_UNIT_CELL 0 0 ;
SIZE 1.440 BY 4.070 ;
SYMMETRY X Y ;
SITE unithd ;
SITE unithv ;
PIN CTRL
# ANTENNAGATEAREA 0.375000 ;
DIRECTION INPUT ;
Expand Down
Loading

0 comments on commit 8835b6a

Please sign in to comment.