fix(tt_tool): vary RT_MAX_LAYER per tech

Each tech has a different metal stackup, so user projects get a different top routing metal layer. tt-support-tools now handles this instead of the user having to worry about this when switching PDKs.
This commit is contained in:
Uri Shaked
2025-09-18 11:45:44 +03:00
parent 84efb79dd7
commit 305f3ecaf8
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -482,6 +482,7 @@ class Project:
"VERILOG_FILES": [f"dir::{src}" for src in self.sources],
"DIE_AREA": die_area,
"FP_DEF_TEMPLATE": def_template,
"RT_MAX_LAYER": self.tech.project_top_metal_layer,
}
write_config(config, os.path.join(self.src_dir, "user_config"), ("json",))