This commit is contained in:
Cooper Shaw
2026-10-06 19:42:55 -04:00
commit 5d743146e3
10703 changed files with 3804768 additions and 0 deletions
@@ -0,0 +1,15 @@
# #########################################################################
# Cadence libraries
DEFINE basic $CDSHOME/tools/dfII/etc/cdslib/basic
DEFINE analogLib $CDSHOME/tools/dfII/etc/cdslib/artist/analogLib
DEFINE functional $CDSHOME/tools/dfII/etc/cdslib/artist/functional
DEFINE sbaLib $CDSHOME/tools/dfII/etc/cdslib/artist/sbaLib
DEFINE US_8ths $CDSHOME/tools/dfII/etc/cdslib/sheets/US_8ths
# #########################################################################
# sky130 PDK library
DEFINE sky130_fd_pr_main $PDK_HOME/libs/sky130_fd_pr_main
# #########################################################################
# User libraries go here
@@ -0,0 +1,13 @@
text_depth -primary;
virtual_connect -colon no;
virtual_connect -semicolon_as_colon yes;
virtual_connect -noname;
virtual_connect -report no;
virtual_connect -depth -primary;
report_summary -drc "CELLNAME.sum" -replace;
max_results -drc 1000;
results_db -drc "CELLNAME.drc.ascii" -ascii;
keep_layers -yes;
abort_on_layout_error yes;
layout_format gdsii;
layout_path "./CELLNAME.wFill.gds.gz";
@@ -0,0 +1,37 @@
text_depth -primary;
virtual_connect -colon no;
virtual_connect -semicolon_as_colon yes;
virtual_connect -noname;
virtual_connect -report no;
virtual_connect -depth -primary;
report_summary -drc "fill.sum" -replace;
max_results -drc -all;
keep_layers -none;
abort_on_layout_error yes;
layout_format gdsii;
layout_path "./CELLNAME.gds.gz";
//////////////////////////////////////////////////////////////////
// Output
// _FILL will add "_FILL" to all cells created (including the poly-fill cell)
results_db -drc "CELLNAME.fill.gds.gz" -gdsii _FILL ;
output -drc "diff_fillgen" -gdsii 65 99 CELLNAME.fill.gds.gz ;
output -drc "poly_fillgen" -gdsii 66 99 CELLNAME.fill.gds.gz ;
output -drc "LI_fillgen" -gdsii 67 99 CELLNAME.fill.gds.gz ;
output -drc "m1_fillgen" -gdsii 68 99 CELLNAME.fill.gds.gz ;
output -drc "m2_fillgen" -gdsii 69 99 CELLNAME.fill.gds.gz ;
output -drc "m3_fillgen" -gdsii 70 99 CELLNAME.fill.gds.gz ;
output -drc "m4_fillgen" -gdsii 71 99 CELLNAME.fill.gds.gz ;
output -drc "m5_fillgen" -gdsii 72 99 CELLNAME.fill.gds.gz ;
// This will create a holding place cell for the poly-fill cells
// Note: the sizes should match the sizes of the poly-fill cells
output -drc "diff_poly_fillgen_3" -gdsii 65 99 -aref poly_diff_3 3.0 2.5 CELLNAME.fill.gds.gz ;
output -drc "diff_poly_fillgen_10" -gdsii 65 99 -aref poly_diff_10 10.0 2.5 CELLNAME.fill.gds.gz ;
output -drc "diff_poly_fillgen_25" -gdsii 65 99 -aref poly_diff_25 25.0 2.5 CELLNAME.fill.gds.gz ;
@@ -0,0 +1,21 @@
FILE CELLNAME.gds.gz
PRIME CELLNAME
SNAP 0
PLACE_MIRROR 0
PLACE_ANGLE 0
PLACE_MAG 1.0
PLACE_X 0.0
PLACE_Y 0.0
ENDPLACES
FILE CELLNAME.fill_aref.gds.gz
PRIME CELLNAME_FILL
SNAP 0
PLACE_MIRROR 0
PLACE_ANGLE 0
PLACE_MAG 1.0
PLACE_X 0.0
PLACE_Y 0.0
ENDPLACES
ENDFILES
@@ -0,0 +1,43 @@
#############################################################################
# Sky130 Fill Generation Routine
# Version 08 July 18, 2025
#
# Pegasus Design Review Control File
#
# this file will insert the poly_diff fill cell into the fill file
#
# Fill generation routine will create temporary cells containing diff fill
# These cells must be replaced with the poly_diff fill cell
# CELLNAME.fill.gds.gz - Oasis file with generated fill shapes
# CELLNAME_FILL - top level cell name in fill GDS file
# REPLACE - replaces cells in 2nd column with 3rd column
#
# poly_diff_3_10_25.gds.gz - GDS file containing the poly-diff fill cells (3)
# poly_diff_3_FILL replaced with poly_diff_3_FILLCELL
# poly_diff_10_FILL replaced with poly_diff_10_FILLCELL
# poly_diff_25_FILL replaced with poly_diff_25_FILLCELL
#
# "CELLNAME" should be replaced with the user's top level cell name
#
#############################################################################
FILE CELLNAME.fill.gds.gz
PRIME CELLNAME_FILL
ENDPLACES
# Replace <cell_to_be_replaced> <cell_to_be_replace_with>
REPLACE poly_diff_3_FILL poly_diff_3_FILLCELL
REPLACE poly_diff_10_FILL poly_diff_10_FILLCELL
REPLACE poly_diff_25_FILL poly_diff_25_FILLCELL
#
# Cell Libraries...
#
FILE poly_diff_3_10_25.gds.gz
PRIME _NONE_
ENDPLACES
#
ENDFILES
#############################################################################
@@ -0,0 +1,360 @@
#Layer Name Layer Purpose Layer Stream Number Datatype Stream Number
areaid analog 81 79
areaid core 81 2
areaid critCorner 81 51
areaid critSid 81 52
areaid deadZon 81 50
areaid dieCut 81 11
areaid diode 81 23
areaid esd 81 19
areaid etest 81 101
areaid extendedDrain 81 57
areaid frame 81 3
areaid frameRect 81 12
areaid hvnwell 81 63
areaid injection 81 17
areaid lowTapDensity 81 14
areaid lvNative 81 60
areaid moduleCut 81 10
areaid notCritSide 81 15
areaid opcDrop 81 54
areaid photo 81 81
areaid rdlprobepad 81 27
areaid rfdiode 81 125
areaid seal 81 1
areaid sigPadDiff 81 6
areaid sigPadMetNtr 81 8
areaid sigPadWell 81 7
areaid standardc 81 4
areaid substrateCut 81 53
blanking drawing 124 40
bump drawing 127 22
capacitor drawing 82 64
cbump mask 101 0
cctm1 drawing 101 44
cctm1 mask 35 0
cctm1 maskAdd 101 43
cctm1 maskDrop 101 42
ccu1m mask 93 0
cdnm drawing 110 20
cdnm mask 48 0
cdnm maskAdd 110 21
cdnm maskDrop 110 22
cfom drawing 22 20
cfom mask 23 0
cfom maskAdd 22 21
cfom maskDrop 22 22
cfom waffleDrop 22 24
chvntm drawing 38 20
chvntm mask 39 0
chvntm maskAdd 38 21
chvntm maskDrop 38 22
chvtpm drawing 88 44
chvtpm mask 97 0
chvtpm maskAdd 97 43
chvtpm maskDrop 97 42
chvtrm drawing 98 44
chvtrm mask 98 0
chvtrm maskAdd 98 43
chvtrm maskDrop 98 42
cldntm drawing 11 20
cldntm mask 11 0
cli1m drawing 115 44
cli1m mask 56 0
cli1m maskAdd 115 43
cli1m maskDrop 115 42
clicm1 drawing 106 44
clicm1 mask 43 0
clicm1 maskAdd 106 43
clicm1 maskDrop 106 42
clvom drawing 45 20
clvom mask 46 0
clvom maskAdd 45 21
clvom maskDrop 45 22
clvtnm drawing 25 44
clvtnm mask 25 0
clvtnm maskAdd 25 43
clvtnm maskDrop 25 42
cmm1 drawing 62 20
cmm1 mask 36 0
cmm1 maskAdd 62 21
cmm1 maskDrop 62 22
cmm1 waffleDrop 62 24
cmm2 drawing 105 44
cmm2 mask 41 0
cmm2 maskAdd 105 43
cmm2 maskDrop 105 42
cmm2 waffleDrop 105 52
cmm3 drawing 107 20
cmm3 mask 34 0
cmm3 maskAdd 107 21
cmm3 maskDrop 107 22
cmm3 waffleDrop 107 24
cmm4 mask 51 0
cmm4 maskAdd 112 43
cmm4 maskDrop 112 42
cmm4 waffleDrop 112 4
cmm5 mask 59 0
cmm5 waffleDrop 117 4
cncm drawing 96 44
cncm mask 17 0
cnpc drawing 44 20
cnpc mask 49 0
cnpc maskAdd 44 43
cnpc maskDrop 44 42
cnsdm drawing 29 20
cnsdm mask 30 0
cnsdm maskAdd 29 21
cnsdm maskDrop 29 22
cnsm mask 22 0
cntm drawing 26 20
cntm mask 27 0
cntm maskAdd 26 21
cntm maskDrop 26 22
cnwm drawing 109 44
cnwm mask 21 0
cnwm maskAdd 109 43
cnwm maskDrop 109 42
conom drawing 87 44
conom mask 88 0
conom maskAdd 87 43
conom maskDrop 87 42
cp1m drawing 33 44
cp1m mask 28 0
cp1m maskAdd 33 43
cp1m maskDrop 33 42
cp1m waffleDrop 33 24
cpbo mask 99 0
cpdm drawing 104 44
cpdm mask 37 0
cpdm maskAdd 104 43
cpdm maskDrop 104 42
cpmm drawing 91 44
cpmm2 mask 94 0
cpsdm drawing 31 20
cpsdm mask 32 0
cpsdm maskAdd 31 21
cpsdm maskDrop 31 22
crpm drawing 53 44
crpm mask 96 0
crpm maskAdd 53 43
crpm maskDrop 53 42
#crrpm mask 102 0
ctunm drawing 96 20
ctunm mask 20 0
ctunm maskAdd 96 21
ctunm maskDrop 96 22
cubm mask 100 0
cviam drawing 105 20
cviam mask 40 0
cviam maskAdd 105 21
cviam maskDrop 105 22
cviam2 drawing 108 20
cviam2 mask 44 0
cviam2 maskAdd 108 21
cviam2 maskDrop 108 22
cviam3 drawing 112 20
cviam3 mask 50 0
cviam3 maskAdd 112 21
cviam3 maskDrop 112 22
cviam4 drawing 117 20
cviam4 mask 58 0
cviam4 maskAdd 117 21
cviam4 maskDrop 117 22
diff boundary 65 4
diff cut 65 14
diff drawing 65 20
diff hv 65 8
diff label 65 6
diff net 65 23
diff pin 65 16
diff res 65 13
diff fill 65 99
diff fill_block 65 98
dnwell drawing 64 18
fom dummy 22 23
hvi drawing 75 20
hvntm drawing 125 20
hvtp drawing 78 44
hvtr drawing 18 20
inductor drawing 82 24
inductor label 82 25
inductor term1 82 26
inductor term2 82 27
inductor term3 82 28
ldntm drawing 11 44
li1 blockage 67 10
li1 boundary 67 4
li1 cut 67 14
li1 drawing 67 20
li1 label 67 5
li1 net 67 23
li1 pin 67 16
li1 probe 67 25
li1 res 67 13
li1 short 67 15
li1 fill 67 99
li1 fill_block 67 98
licon1 boundary 66 60
licon1 drawing 66 44
licon1 net 66 41
licon1 pin 66 58
lvtn drawing 125 44
marker error 83 6
marker warning 83 7
mcon boundary 67 60
mcon drawing 67 44
mcon net 67 41
mcon pin 67 48
met1 blockage 68 10
met1 boundary 68 4
met1 cut 68 14
met1 drawing 68 20
met1 label 68 5
met1 net 68 23
met1 pin 68 16
met1 probe 68 25
met1 res 68 13
met1 short 68 15
met1 fill 68 99
met1 fill_block 68 98
met2 blockage 69 10
met2 boundary 69 4
met2 cut 69 14
met2 drawing 69 20
met2 label 69 5
met2 net 69 23
met2 pin 69 16
met2 probe 69 25
met2 res 69 13
met2 short 69 15
met2 fill 69 99
met2 fill_block 69 98
met3 blockage 70 10
met3 boundary 70 4
met3 cut 70 14
met3 drawing 70 20
met3 fuse 70 17
met3 label 70 5
met3 net 70 23
met3 pin 70 16
met3 probe 70 25
met3 res 70 13
met3 short 70 15
met3 fill 70 99
met3 fill_block 70 98
met4 blockage 71 10
met4 boundary 71 4
met4 cut 71 14
met4 drawing 71 20
met4 fuse 71 17
met4 label 71 5
met4 net 71 23
met4 pin 71 16
met4 probe 71 25
met4 res 71 13
met4 short 71 15
met4 fill 71 99
met4 fill_block 71 98
met5 blockage 72 10
met5 boundary 72 4
met5 cut 72 14
met5 drawing 72 20
met5 fuse 72 17
met5 label 72 5
met5 net 72 23
met5 pin 72 16
met5 probe 72 25
met5 res 72 13
met5 short 72 15
met5 fill 72 99
met5 fill_block 72 98
ncm drawing 92 44
npc drawing 95 20
npn drawing 82 20
npn label 82 5
nsdm drawing 93 44
nsm drawing 61 20
nwell drawing 64 20
nwell label 64 5
nwell net 84 23
nwell pin 64 16
overlap boundary 90 4
overlap drawing 90 20
pad drawing 76 20
pad label 76 5
pad pin 76 16
padCenter drawing 81 20
pmm drawing 85 44
pmm2 drawing 77 20
pnp drawing 82 44
pnp label 82 59
poly boundary 66 4
poly cut 66 14
poly drawing 66 20
poly gate 66 9
poly label 66 5
poly model 66 83
poly net 66 23
poly pin 66 16
poly probe 66 25
poly res 66 13
poly short 66 15
poly fill 66 99
poly fill_block 66 98
prBoundary boundary 235 4
prBoundary drawing 235 0
prune drawing 84 44
psdm drawing 94 20
pwell cut 64 14
pwell drawing 64 44
pwell label 64 59
pwell pin 122 16
pwell res 64 13
pwelliso label 44 5
pwelliso pin 44 16
rdl cut 74 14
rdl drawing 74 20
rdl label 74 5
rdl pin 74 16
rdl res 74 13
rdl short 74 15
rpm drawing 86 20
urpm drawing 79 20
#rrpm drawing 102 20
tap boundary 65 60
tap drawing 65 44
tap label 65 5
tap net 65 41
tap pin 65 48
target drawing 76 44
text drawing 83 44
tunm drawing 80 20
ubm drawing 127 21
vhvi drawing 74 21
via boundary 68 60
via drawing 68 44
via net 68 41
via pin 68 58
via2 boundary 69 60
via2 drawing 69 44
via2 net 69 41
via2 pin 69 58
via3 boundary 70 60
via3 drawing 70 44
via3 net 70 41
via3 pin 70 48
via4 boundary 71 60
via4 drawing 71 44
via4 net 71 41
via4 pin 71 48
areaid extendedDrain20V 81 58
uhvi drawing 74 22
areaid lvt 81 108
pwbm drawing 19 44
capm drawing 89 44
cap2m drawing 97 44
r1c drawing 201 20
areaid fillwindow 81 13
@@ -0,0 +1,14 @@
#!/bin/csh -vf
strmout \
-library MYLIBRARY \
-strmFile CELLNAME.gds.gz \
-topCell CELLNAME \
-view layout \
-logFile strmout.log \
-techLib sky130_fd_pr_main \
-hierDepth 32 \
-layerMap ./sky130_fd_pr_main.layermap \
-labelDepth 32 \
-case Preserve
@@ -0,0 +1,15 @@
#!/bin/sh -f
###### This run file is generated by Pegasus UI
###### Pegasus Version 23.10-p015
## Version 08 July 18, 2025 //
pegasus \
--dp 4 \
--log_dir LOGS \
-top_cell CELLNAME \
-ui_data \
--control ./fill_CTL.pvl \
-interactive \
./fillgen.v08.pvl
@@ -0,0 +1,6 @@
#!/bin/csh -vf
pegasusDesignReview -batch dbmerge pdr_CTL_aref CELLNAME.fill_aref.gds.gz
pegasusDesignReview -batch dbmerge pdr_CTL CELLNAME.wFill.gds.gz
@@ -0,0 +1,13 @@
#!/bin/csh -vf
strmin \
-library CELLNAME_wFill_lib \
-strmFile CELLNAME.wFill.gds.gz \
-topCell CELLNAME \
-view layout \
-logFile strmin.log \
-attachTechFileOfLib sky130_fd_pr_main \
-hierDepth 32 \
-layerMap ./sky130_fd_pr_main.layermap \
-case Preserve \
@@ -0,0 +1,14 @@
#!/bin/sh -f
###### This run file is generated by Pegasus UI
###### Pegasus Version 23.10-p015
/grid/tfo/tools2/PEGASUS231_23.10.000/bin/pegasus \
--dp 4 \
--log_dir LOGS \
-top_cell CELLNAME \
-ui_data -interactive \
-run_dir DRC_sky130 \
--control ./drc_CTL.pvl \
$PEGASUS_DRC/sky130_rev_0.0_2.11.drc.pvl
@@ -0,0 +1,7 @@
#/bin/csh -v
step1_strmout.csh
step2_fillgen.csh
step3_merge.csh
step4_strmin.csh
step5_sky130_DRC.csh
@@ -0,0 +1,15 @@
# #########################################################################
# Cadence libraries
DEFINE basic $CDSHOME/tools/dfII/etc/cdslib/basic
DEFINE analogLib $CDSHOME/tools/dfII/etc/cdslib/artist/analogLib
DEFINE functional $CDSHOME/tools/dfII/etc/cdslib/artist/functional
DEFINE sbaLib $CDSHOME/tools/dfII/etc/cdslib/artist/sbaLib
DEFINE US_8ths $CDSHOME/tools/dfII/etc/cdslib/sheets/US_8ths
# #########################################################################
# sky130 PDK library
DEFINE sky130_fd_pr_main $PDK_HOME/libs/sky130_fd_pr_main
# #########################################################################
# User libraries go here
@@ -0,0 +1,14 @@
text_depth -primary;
virtual_connect -colon no;
virtual_connect -semicolon_as_colon yes;
virtual_connect -noname;
virtual_connect -report no;
virtual_connect -depth -primary;
report_summary -drc "CELLNAME.sum" -replace;
max_results -drc 1000;
results_db -drc "CELLNAME.drc.ascii" -ascii;
keep_layers -yes;
abort_on_layout_error yes;
layout_format oasis;
layout_path "./CELLNAME.oas";
@@ -0,0 +1,42 @@
//////////////////////////////////////////////////////////////////
// Sky130 Fill Generation Routine //
// Version 08 July 18, 2025 //
//////////////////////////////////////////////////////////////////
text_depth -primary;
virtual_connect -colon no;
virtual_connect -semicolon_as_colon yes;
virtual_connect -noname;
virtual_connect -report no;
virtual_connect -depth -primary;
report_summary -drc "fill.sum" -replace;
max_results -drc -all;
keep_layers -none;
abort_on_layout_error yes;
layout_format oasis;
layout_path "./CELLNAME.oas";
//////////////////////////////////////////////////////////////////
// Output
// _FILL will add "_FILL" to all cells created (including the poly-fill cell)
results_db -drc "CELLNAME.fill.oas" -oasis _FILL ;
output -drc "diff_fillgen" -oasis 65 99 CELLNAME.fill.oas ;
output -drc "poly_fillgen" -oasis 66 99 CELLNAME.fill.oas ;
output -drc "LI_fillgen" -oasis 67 99 CELLNAME.fill.oas ;
output -drc "m1_fillgen" -oasis 68 99 CELLNAME.fill.oas ;
output -drc "m2_fillgen" -oasis 69 99 CELLNAME.fill.oas ;
output -drc "m3_fillgen" -oasis 70 99 CELLNAME.fill.oas ;
output -drc "m4_fillgen" -oasis 71 99 CELLNAME.fill.oas ;
output -drc "m5_fillgen" -oasis 72 99 CELLNAME.fill.oas ;
// This will create a holding place cell for the poly-fill cells
// Note: the sizes should match the sizes of the poly-fill cells
output -drc "diff_poly_fillgen_3" -oasis 65 99 -aref poly_diff_3 3.0 2.5 CELLNAME.fill.oas ;
output -drc "diff_poly_fillgen_10" -oasis 65 99 -aref poly_diff_10 10.0 2.5 CELLNAME.fill.oas ;
output -drc "diff_poly_fillgen_25" -oasis 65 99 -aref poly_diff_25 25.0 2.5 CELLNAME.fill.oas ;
@@ -0,0 +1,21 @@
FILE CELLNAME.oas
PRIME CELLNAME
SNAP 0
PLACE_MIRROR 0
PLACE_ANGLE 0
PLACE_MAG 1.0
PLACE_X 0.0
PLACE_Y 0.0
ENDPLACES
FILE CELLNAME.fill_aref.oas
PRIME CELLNAME_FILL
SNAP 0
PLACE_MIRROR 0
PLACE_ANGLE 0
PLACE_MAG 1.0
PLACE_X 0.0
PLACE_Y 0.0
ENDPLACES
ENDFILES
@@ -0,0 +1,43 @@
#############################################################################
# Sky130 Fill Generation Routine
# Version 08 July 18, 2025
#
# Pegasus Design Review Control File
#
# this file will insert the poly_diff fill cell into the fill file
#
# Fill generation routine will create temporary cells containing diff fill
# These cells must be replaced with the poly_diff fill cell
# CELLNAME.fill.oas - Oasis file with generated fill shapes
# CELLNAME_FILL - top level cell name in fill Oasis file
# REPLACE - replaces cells in 2nd column with 3rd column
#
# poly_diff_3_10_25.oasis - Oasis file containing the poly-diff fill cells (3)
# poly_diff_3_FILL replaced with poly_diff_3_FILLCELL
# poly_diff_10_FILL replaced with poly_diff_10_FILLCELL
# poly_diff_25_FILL replaced with poly_diff_25_FILLCELL
#
# "CELLNAME" should be replaced with the user's top level cell name
#
#############################################################################
FILE CELLNAME.fill.oas
PRIME CELLNAME_FILL
ENDPLACES
# Replace <cell_to_be_replaced> <cell_to_be_replace_with>
REPLACE poly_diff_3_FILL poly_diff_3_FILLCELL
REPLACE poly_diff_10_FILL poly_diff_10_FILLCELL
REPLACE poly_diff_25_FILL poly_diff_25_FILLCELL
#
# Cell Libraries...
#
FILE poly_diff_3_10_25.oasis
PRIME _NONE_
ENDPLACES
#
ENDFILES
#############################################################################
@@ -0,0 +1,360 @@
#Layer Name Layer Purpose Layer Stream Number Datatype Stream Number
areaid analog 81 79
areaid core 81 2
areaid critCorner 81 51
areaid critSid 81 52
areaid deadZon 81 50
areaid dieCut 81 11
areaid diode 81 23
areaid esd 81 19
areaid etest 81 101
areaid extendedDrain 81 57
areaid frame 81 3
areaid frameRect 81 12
areaid hvnwell 81 63
areaid injection 81 17
areaid lowTapDensity 81 14
areaid lvNative 81 60
areaid moduleCut 81 10
areaid notCritSide 81 15
areaid opcDrop 81 54
areaid photo 81 81
areaid rdlprobepad 81 27
areaid rfdiode 81 125
areaid seal 81 1
areaid sigPadDiff 81 6
areaid sigPadMetNtr 81 8
areaid sigPadWell 81 7
areaid standardc 81 4
areaid substrateCut 81 53
blanking drawing 124 40
bump drawing 127 22
capacitor drawing 82 64
cbump mask 101 0
cctm1 drawing 101 44
cctm1 mask 35 0
cctm1 maskAdd 101 43
cctm1 maskDrop 101 42
ccu1m mask 93 0
cdnm drawing 110 20
cdnm mask 48 0
cdnm maskAdd 110 21
cdnm maskDrop 110 22
cfom drawing 22 20
cfom mask 23 0
cfom maskAdd 22 21
cfom maskDrop 22 22
cfom waffleDrop 22 24
chvntm drawing 38 20
chvntm mask 39 0
chvntm maskAdd 38 21
chvntm maskDrop 38 22
chvtpm drawing 88 44
chvtpm mask 97 0
chvtpm maskAdd 97 43
chvtpm maskDrop 97 42
chvtrm drawing 98 44
chvtrm mask 98 0
chvtrm maskAdd 98 43
chvtrm maskDrop 98 42
cldntm drawing 11 20
cldntm mask 11 0
cli1m drawing 115 44
cli1m mask 56 0
cli1m maskAdd 115 43
cli1m maskDrop 115 42
clicm1 drawing 106 44
clicm1 mask 43 0
clicm1 maskAdd 106 43
clicm1 maskDrop 106 42
clvom drawing 45 20
clvom mask 46 0
clvom maskAdd 45 21
clvom maskDrop 45 22
clvtnm drawing 25 44
clvtnm mask 25 0
clvtnm maskAdd 25 43
clvtnm maskDrop 25 42
cmm1 drawing 62 20
cmm1 mask 36 0
cmm1 maskAdd 62 21
cmm1 maskDrop 62 22
cmm1 waffleDrop 62 24
cmm2 drawing 105 44
cmm2 mask 41 0
cmm2 maskAdd 105 43
cmm2 maskDrop 105 42
cmm2 waffleDrop 105 52
cmm3 drawing 107 20
cmm3 mask 34 0
cmm3 maskAdd 107 21
cmm3 maskDrop 107 22
cmm3 waffleDrop 107 24
cmm4 mask 51 0
cmm4 maskAdd 112 43
cmm4 maskDrop 112 42
cmm4 waffleDrop 112 4
cmm5 mask 59 0
cmm5 waffleDrop 117 4
cncm drawing 96 44
cncm mask 17 0
cnpc drawing 44 20
cnpc mask 49 0
cnpc maskAdd 44 43
cnpc maskDrop 44 42
cnsdm drawing 29 20
cnsdm mask 30 0
cnsdm maskAdd 29 21
cnsdm maskDrop 29 22
cnsm mask 22 0
cntm drawing 26 20
cntm mask 27 0
cntm maskAdd 26 21
cntm maskDrop 26 22
cnwm drawing 109 44
cnwm mask 21 0
cnwm maskAdd 109 43
cnwm maskDrop 109 42
conom drawing 87 44
conom mask 88 0
conom maskAdd 87 43
conom maskDrop 87 42
cp1m drawing 33 44
cp1m mask 28 0
cp1m maskAdd 33 43
cp1m maskDrop 33 42
cp1m waffleDrop 33 24
cpbo mask 99 0
cpdm drawing 104 44
cpdm mask 37 0
cpdm maskAdd 104 43
cpdm maskDrop 104 42
cpmm drawing 91 44
cpmm2 mask 94 0
cpsdm drawing 31 20
cpsdm mask 32 0
cpsdm maskAdd 31 21
cpsdm maskDrop 31 22
crpm drawing 53 44
crpm mask 96 0
crpm maskAdd 53 43
crpm maskDrop 53 42
#crrpm mask 102 0
ctunm drawing 96 20
ctunm mask 20 0
ctunm maskAdd 96 21
ctunm maskDrop 96 22
cubm mask 100 0
cviam drawing 105 20
cviam mask 40 0
cviam maskAdd 105 21
cviam maskDrop 105 22
cviam2 drawing 108 20
cviam2 mask 44 0
cviam2 maskAdd 108 21
cviam2 maskDrop 108 22
cviam3 drawing 112 20
cviam3 mask 50 0
cviam3 maskAdd 112 21
cviam3 maskDrop 112 22
cviam4 drawing 117 20
cviam4 mask 58 0
cviam4 maskAdd 117 21
cviam4 maskDrop 117 22
diff boundary 65 4
diff cut 65 14
diff drawing 65 20
diff hv 65 8
diff label 65 6
diff net 65 23
diff pin 65 16
diff res 65 13
diff fill 65 99
diff fill_block 65 98
dnwell drawing 64 18
fom dummy 22 23
hvi drawing 75 20
hvntm drawing 125 20
hvtp drawing 78 44
hvtr drawing 18 20
inductor drawing 82 24
inductor label 82 25
inductor term1 82 26
inductor term2 82 27
inductor term3 82 28
ldntm drawing 11 44
li1 blockage 67 10
li1 boundary 67 4
li1 cut 67 14
li1 drawing 67 20
li1 label 67 5
li1 net 67 23
li1 pin 67 16
li1 probe 67 25
li1 res 67 13
li1 short 67 15
li1 fill 67 99
li1 fill_block 67 98
licon1 boundary 66 60
licon1 drawing 66 44
licon1 net 66 41
licon1 pin 66 58
lvtn drawing 125 44
marker error 83 6
marker warning 83 7
mcon boundary 67 60
mcon drawing 67 44
mcon net 67 41
mcon pin 67 48
met1 blockage 68 10
met1 boundary 68 4
met1 cut 68 14
met1 drawing 68 20
met1 label 68 5
met1 net 68 23
met1 pin 68 16
met1 probe 68 25
met1 res 68 13
met1 short 68 15
met1 fill 68 99
met1 fill_block 68 98
met2 blockage 69 10
met2 boundary 69 4
met2 cut 69 14
met2 drawing 69 20
met2 label 69 5
met2 net 69 23
met2 pin 69 16
met2 probe 69 25
met2 res 69 13
met2 short 69 15
met2 fill 69 99
met2 fill_block 69 98
met3 blockage 70 10
met3 boundary 70 4
met3 cut 70 14
met3 drawing 70 20
met3 fuse 70 17
met3 label 70 5
met3 net 70 23
met3 pin 70 16
met3 probe 70 25
met3 res 70 13
met3 short 70 15
met3 fill 70 99
met3 fill_block 70 98
met4 blockage 71 10
met4 boundary 71 4
met4 cut 71 14
met4 drawing 71 20
met4 fuse 71 17
met4 label 71 5
met4 net 71 23
met4 pin 71 16
met4 probe 71 25
met4 res 71 13
met4 short 71 15
met4 fill 71 99
met4 fill_block 71 98
met5 blockage 72 10
met5 boundary 72 4
met5 cut 72 14
met5 drawing 72 20
met5 fuse 72 17
met5 label 72 5
met5 net 72 23
met5 pin 72 16
met5 probe 72 25
met5 res 72 13
met5 short 72 15
met5 fill 72 99
met5 fill_block 72 98
ncm drawing 92 44
npc drawing 95 20
npn drawing 82 20
npn label 82 5
nsdm drawing 93 44
nsm drawing 61 20
nwell drawing 64 20
nwell label 64 5
nwell net 84 23
nwell pin 64 16
overlap boundary 90 4
overlap drawing 90 20
pad drawing 76 20
pad label 76 5
pad pin 76 16
padCenter drawing 81 20
pmm drawing 85 44
pmm2 drawing 77 20
pnp drawing 82 44
pnp label 82 59
poly boundary 66 4
poly cut 66 14
poly drawing 66 20
poly gate 66 9
poly label 66 5
poly model 66 83
poly net 66 23
poly pin 66 16
poly probe 66 25
poly res 66 13
poly short 66 15
poly fill 66 99
poly fill_block 66 98
prBoundary boundary 235 4
prBoundary drawing 235 0
prune drawing 84 44
psdm drawing 94 20
pwell cut 64 14
pwell drawing 64 44
pwell label 64 59
pwell pin 122 16
pwell res 64 13
pwelliso label 44 5
pwelliso pin 44 16
rdl cut 74 14
rdl drawing 74 20
rdl label 74 5
rdl pin 74 16
rdl res 74 13
rdl short 74 15
rpm drawing 86 20
urpm drawing 79 20
#rrpm drawing 102 20
tap boundary 65 60
tap drawing 65 44
tap label 65 5
tap net 65 41
tap pin 65 48
target drawing 76 44
text drawing 83 44
tunm drawing 80 20
ubm drawing 127 21
vhvi drawing 74 21
via boundary 68 60
via drawing 68 44
via net 68 41
via pin 68 58
via2 boundary 69 60
via2 drawing 69 44
via2 net 69 41
via2 pin 69 58
via3 boundary 70 60
via3 drawing 70 44
via3 net 70 41
via3 pin 70 48
via4 boundary 71 60
via4 drawing 71 44
via4 net 71 41
via4 pin 71 48
areaid extendedDrain20V 81 58
uhvi drawing 74 22
areaid lvt 81 108
pwbm drawing 19 44
capm drawing 89 44
cap2m drawing 97 44
r1c drawing 201 20
areaid fillwindow 81 13
@@ -0,0 +1,14 @@
#!/bin/csh -vf
oasisout \
-library MYLIBRARY \
-oasisFile CELLNAME.oas \
-topCell CELLNAME \
-view layout \
-logFile oasisout.log \
-techLib sky130_fd_pr_main \
-hierDepth 32 \
-layerMap ./sky130_fd_pr_main.layermap \
-labelDepth 32 \
-case Preserve
@@ -0,0 +1,15 @@
#!/bin/sh -f
###### This run file is generated by Pegasus UI
###### Pegasus Version 23.10-p015
## Version 08 July 18, 2025 //
pegasus \
--dp 4 \
--log_dir LOGS \
-top_cell CELLNAME \
-ui_data \
--control ./fill_CTL.pvl \
-interactive \
./fillgen.v08.pvl
@@ -0,0 +1,6 @@
#!/bin/csh -vf
pegasusDesignReview -batch dbmerge pdr_CTL_aref CELLNAME.fill_aref.oas
pegasusDesignReview -batch dbmerge pdr_CTL CELLNAME.wFill.oas
@@ -0,0 +1,14 @@
#!/bin/csh -vf
oasisin \
-library CELLNAME_wFill \
-oasisFile CELLNAME.wFill.oas \
-topCell CELLNAME \
-view layout \
-logFile oasisin.log \
-attachTechFileOfLib sky130_fd_pr_main \
-hierDepth 32 \
-maxCellsInTargetLib 99999 \
-layerMap ./sky130_fd_pr_main.layermap \
-case Preserve \
@@ -0,0 +1,14 @@
#!/bin/sh -f
###### This run file is generated by Pegasus UI
###### Pegasus Version 23.10-p015
/grid/tfo/tools2/PEGASUS231_23.10.000/bin/pegasus \
--dp 16 \
--log_dir LOGS \
-top_cell CELLNAME \
-ui_data -interactive \
-run_dir DRC_sky130 \
--control ./drc_CTL.pvl \
$PEGASUS_DRC/sky130_rev_0.0_2.11.drc.pvl
@@ -0,0 +1,7 @@
#/bin/csh -v
step1_oasisout.csh
step2_fillgen.csh
step3_merge.csh
step4_oasisin.csh
step5_sky130_DRC.csh
@@ -0,0 +1,104 @@
//////////////////////////////////////////////////////////////////
// Sky130 Fill Generation Routine //
// Version 08 July 22, 2025 //
//////////////////////////////////////////////////////////////////
Fill Generation and Insertion
** This file is for the Oasis flow (all input, output files in Oasis format) **
** The steps for the GDS flow are similar **
** Note that the GDS with fill cells is called: poly_diff_3_10_25.gds.gz **
** Oasis flow is recommended as the file sizes will be smaller **
** If pegasusDesignReview is used, oasis file size of the final output **
** might be smaller than expected due to hierarchy optimiaztion **
OVERVIEW:
This directory contains a "beta" fill generation routine and control scripts.
Flow:
[1] Export oasis file of top level design from Virtuoso
[2] Run fill generation routine; creates separate Oasis file
[3a] Insert poly-diff fill cells into fill file from [2]; creates new Oasis file
[3b] Insert fill file from [3a] into top level design; creates new Oasis file
[4] Import design Oasis file with fill from [3b] into Virtuoso
[5] Run SKY130 DRC
** 3 poly-diff fill cells are used since poly fill and diff fill cannot overlap. **
Steps 3a & 3b require the use of Pegasus Design Review.
User can instead import the Oasis files into their layout tool for insertion.
USAGE:
[1] ENV Variables
User should have the following ENV variables set appropriately:
setenv PDK_HOME /projects/SkyWater/sky130_release_0.0.9
setenv PEGASUS_DRC /projects/SkyWater/Sky130_DRC_rev_0.0_2.11
[2] Libraries
cds.lib must be updated to point to user's design libraries.
[3] Poly & diff fill cell
The fill cell oasis file must be present in this directory:
poly_diff_3_10_25.oasis
[4} Fill generation Pegasus routine
The file "fillgen.pvl" must be copied to this directory
[5] Executable Files
step1_oasisout.csh - makes top level design Oasis file: CELLNAME.oasis
step2_fillgen.csh - makes fill Oasis file: CELLNAME.fill.oasis
step3_merge.csh - merges fill cell & fill data into top level:
3a: Inserts poly_diff FILLCELLs into fill, outputs: CELLNAME.fill_aref.oas
3b: Inserts fill data into top level, outputs: CELLNAME.wFill.oas
step4_oasisin.csh - makes Virtuoso library (user controlled library name)
step5_sky130_DRC.csh - runs sky130 DRC on resulting filled data
NOTE: v08 uses 3 different fill cells:
poly_diff_3_FILLCELL
poly_diff_10_FILLCELL
poly_diff_25_FILLCELL
[6] Control Files
step 2: fill_CTL.pvl
step 3a: pdr_CTL_aref
step 3b: pdr_CTL
step 5: drc_CTL.pvl
[7] Edits
** In all executable and control files, the following changes must be made: **
MYLIBRARY -> user's Virtuoso library containing layout to fill
CELLNAME -> user's top level layout cell name to fill
In "step1_oasisout.csh"
"-libary" option must be updated
"-layerMap" option must be updated
In "step4_oasisin.csh"
"-library" option can be changed as desired
"-layerMap" option must be updated
In "step5_run_sky130_DRC.csh" the "-run_dir" option can be changed as desired.
[8] Outputs
CELLNAME.oas - top level Oasis file, created by step 1
CELLNAME.fill.oas - fill (only) Oasis file, created by step 2
CELLNAME.fill_aref.oas - fill (only) file, with poly-fill cell inserted
CELLNAME.wFill.oas - top level Oasis file, with fill inserted !!
step 4 will create the Virtuoso library locally
step 5 will create the DRC run directory locally
File diff suppressed because it is too large Load Diff