11load ("@bazel-orfs//:openroad.bzl" , "orfs_pdk" )
22
3+ exports_files (
4+ ["scripts/variables.yaml" ],
5+ visibility = ["//visibility:public" ],
6+ )
7+
38# files shared between scripts/synth.sh and scripts/flow.sh steps
49MAKEFILE_SHARED = [
510 "scripts/*.py" ,
@@ -16,6 +21,7 @@ filegroup(
1621 "scripts/*.script" ,
1722 "scripts/util.tcl" ,
1823 "scripts/synth*.tcl" ,
24+ "scripts/synth*.v" ,
1925 "platforms/common/**/*.v" ,
2026 ]) + [
2127 "//flow/util:makefile_yosys" ,
@@ -46,25 +52,40 @@ filegroup(
4652 for ext in [
4753 "gds" ,
4854 "lef" ,
49- "lib " ,
55+ "lyp " ,
5056 "lyt" ,
5157 "mk" ,
5258 "rules" ,
5359 "tcl" ,
5460 "v" ,
5561 ] + {
56- "sky130hd" : ["tlef" ],
57- "asap7" : [
58- "lib.gz" ,
59- "sdc" ,
60- ],
62+ "asap7" : ["cfg" , "json" , "lib.gz" , "sdc" ],
63+ "gf180" : ["cfg" , "layermap" , "lyt_generic" ],
64+ "ihp-sg13g2" : ["json" ],
65+ "nangate45" : ["cfg" ],
66+ "sky130hd" : ["json" , "tlef" ],
67+ "sky130hs" : ["json" , "tlef" ],
6168 }.get (pdk , [])
6269 ] + [
6370 "platforms/common/**/*.v" ,
6471 ]),
72+ libs = glob ([
73+ "platforms/{pdk}/**/*.{ext}" .format (
74+ pdk = pdk ,
75+ ext = ext ,
76+ )
77+ for ext in {
78+ "asap7" : ["lib" , "lib.gz" ],
79+ "gf180" : ["lib.gz" ],
80+ }.get (pdk , ["lib" ])
81+ ]),
6582 config = ":platforms/{pdk}/config.mk" .format (pdk = pdk ),
6683 visibility = ["//visibility:public" ],
6784) for pdk in [
6885 "asap7" ,
86+ "gf180" ,
87+ "ihp-sg13g2" ,
88+ "nangate45" ,
6989 "sky130hd" ,
90+ "sky130hs" ,
7091]]
0 commit comments