mirror of
https://github.com/TinyTapeout/tt-support-tools.git
synced 2026-11-03 04:36:09 +01:00
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:
@@ -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",))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user