mirror of
https://github.com/TinyTapeout/tt-support-tools.git
synced 2026-11-03 04:36:09 +01:00
feat(configure): make top_level_macro configurable
For IHP shuttles, we need "tt_ihp_wrapper" instead of "openframe_project_wrapper"
This commit is contained in:
+1
-4
@@ -31,10 +31,7 @@ class ShuttleConfig:
|
||||
self.script_dir = os.path.dirname(os.path.realpath(__file__))
|
||||
self.modules_yaml_name = modules_yaml_name
|
||||
self.mux_config_yaml_name = os.environ.get("TT_CONFIG", "sky130.yaml")
|
||||
if config.get("openframe", False):
|
||||
self.tt_top_macro = "openframe_project_wrapper"
|
||||
else:
|
||||
self.tt_top_macro = "user_project_wrapper"
|
||||
self.tt_top_macro = config.get("top_level_macro", "openframe_project_wrapper")
|
||||
|
||||
self.read_mux_config_file()
|
||||
total_rows: int = self.mux_config["tt"]["grid"]["y"]
|
||||
|
||||
Reference in New Issue
Block a user