mirror of
https://github.com/TinyTapeout/tt-support-tools.git
synced 2026-11-03 12:46:08 +01:00
fix(configure): skip power gate macro copy when no_power_gating is set
This commit is contained in:
+7
-6
@@ -260,12 +260,13 @@ class ShuttleConfig:
|
|||||||
)
|
)
|
||||||
|
|
||||||
# Copy power gate / analog switch macros:
|
# Copy power gate / analog switch macros:
|
||||||
mux_macros = self.tech.mux_macros
|
if not self.config.get("no_power_gating", False):
|
||||||
if self.config.get("id") == "ttsky25a":
|
mux_macros = self.tech.mux_macros
|
||||||
# Backward compatibility for ttsky25a shuttle mux with older pg macros
|
if self.config.get("id") == "ttsky25a":
|
||||||
mux_macros = [m.replace("_hp_", "_") for m in mux_macros]
|
# Backward compatibility for ttsky25a shuttle mux with older pg macros
|
||||||
for mux_macro in mux_macros:
|
mux_macros = [m.replace("_hp_", "_") for m in mux_macros]
|
||||||
self.copy_mux_macro(mux_macro, os.path.basename(mux_macro))
|
for mux_macro in mux_macros:
|
||||||
|
self.copy_mux_macro(mux_macro, os.path.basename(mux_macro))
|
||||||
|
|
||||||
# Copy logo & shuttle ID
|
# Copy logo & shuttle ID
|
||||||
self.copy_logo_macro("tt_logo_top")
|
self.copy_logo_macro("tt_logo_top")
|
||||||
|
|||||||
Reference in New Issue
Block a user