feat(shuttle): add logo & shuttle ID as chip art

This commit is contained in:
htfab
2025-01-20 06:23:17 +02:00
committed by Uri Shaked
parent 9d3ca84b00
commit 2036138b0e
12 changed files with 309 additions and 0 deletions
+18
View File
@@ -203,6 +203,20 @@ class ShuttleConfig:
f"tt-multiplexer/ol2/tt_top/verilog/{name}.v",
)
def copy_logo_macro(self, name: str):
copy_print(
f"tt/logo/{name}.gds",
f"tt-multiplexer/ol2/tt_top/gds/{name}.gds",
)
copy_print(
f"tt/logo/{name}.lef",
f"tt-multiplexer/ol2/tt_top/lef/{name}.lef",
)
copy_print(
f"tt/logo/{name}.v",
f"tt-multiplexer/ol2/tt_top/verilog/{name}.v",
)
def copy_macros(self):
logging.info("copying macros to tt_top:")
copy_print_glob("projects/*/*.gds", "tt-multiplexer/ol2/tt_top/gds")
@@ -250,6 +264,10 @@ class ShuttleConfig:
self.copy_mux_macro("pg/tt_pg_3v3_2", "tt_pg_3v3_2")
self.copy_mux_macro("asw/tt_asw_3v3", "tt_asw_3v3")
# Copy logo & shuttle ID
self.copy_logo_macro("tt_logo_top")
self.copy_logo_macro("tt_logo_bottom")
def copy_final_results(self):
macros = ["tt_um_chip_rom", "tt_ctrl", "tt_mux", "tt_top"]