mirror of
https://github.com/TinyTapeout/tt-support-tools.git
synced 2026-11-03 04:36:09 +01:00
fix(precheck): adapt for new IHP def files
TopMetal1 is allowed now, and the power pins moved from Metal5 to TopMetal1.
This commit is contained in:
@@ -328,7 +328,6 @@ def main():
|
|||||||
raise PrecheckFailure("info.yaml not found")
|
raise PrecheckFailure("info.yaml not found")
|
||||||
yaml_file = f"{yaml_dir}/info.yaml"
|
yaml_file = f"{yaml_dir}/info.yaml"
|
||||||
yaml_data = yaml.safe_load(open(yaml_file))
|
yaml_data = yaml.safe_load(open(yaml_file))
|
||||||
logging.info("info.yaml data:" + str(yaml_data))
|
|
||||||
|
|
||||||
wokwi_id = yaml_data["project"].get("wokwi_id", 0)
|
wokwi_id = yaml_data["project"].get("wokwi_id", 0)
|
||||||
top_module = yaml_data["project"].get("top_module", f"tt_um_wokwi_{wokwi_id}")
|
top_module = yaml_data["project"].get("top_module", f"tt_um_wokwi_{wokwi_id}")
|
||||||
|
|||||||
@@ -129,6 +129,7 @@ valid_lef_port_layers = {
|
|||||||
"Metal3.pin": (30, 2),
|
"Metal3.pin": (30, 2),
|
||||||
"Metal4.pin": (50, 2),
|
"Metal4.pin": (50, 2),
|
||||||
"Metal5.pin": (67, 2),
|
"Metal5.pin": (67, 2),
|
||||||
|
"TopMetal1.pin": (126, 2),
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
forbidden_layers = {
|
forbidden_layers = {
|
||||||
@@ -138,9 +139,6 @@ forbidden_layers = {
|
|||||||
"met5.label",
|
"met5.label",
|
||||||
],
|
],
|
||||||
"ihp-sg13g2": [
|
"ihp-sg13g2": [
|
||||||
"TopMetal1.drawing",
|
|
||||||
"TopMetal1.pin",
|
|
||||||
"TopMetal1.label",
|
|
||||||
"TopMetal2.drawing",
|
"TopMetal2.drawing",
|
||||||
"TopMetal2.pin",
|
"TopMetal2.pin",
|
||||||
"TopMetal2.label",
|
"TopMetal2.label",
|
||||||
@@ -152,7 +150,7 @@ forbidden_layers = {
|
|||||||
}
|
}
|
||||||
power_pins_layer = {
|
power_pins_layer = {
|
||||||
"sky130A": "met4",
|
"sky130A": "met4",
|
||||||
"ihp-sg13g2": "Metal5",
|
"ihp-sg13g2": "TopMetal1",
|
||||||
"gf180mcuD": "Metal4",
|
"gf180mcuD": "Metal4",
|
||||||
}
|
}
|
||||||
boundary_layer = {
|
boundary_layer = {
|
||||||
|
|||||||
Reference in New Issue
Block a user