From 054e41b8393071f387256624538ccb9d781af1c0 Mon Sep 17 00:00:00 2001 From: Uri Shaked Date: Thu, 4 Jul 2024 21:07:35 +0300 Subject: [PATCH] feat(configure): set "pg_vaa" in modules.yaml for 3v3 projects This property tells the mux to include 3v3 power gate (in addition to the standard 1v8 power gate) --- shuttle.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shuttle.py b/shuttle.py index 8c852a5..cb0a772 100644 --- a/shuttle.py +++ b/shuttle.py @@ -77,6 +77,7 @@ def configure_mux(self): "width": width, "height": height, "analog": {i: None for i in range(project.info.analog_pins)}, + "pg_vaa": project.info.uses_3v3, } module_config["modules"].append(module_entry) @@ -241,7 +242,7 @@ def copy_final_results(self): dirs_exist_ok=True, ) # Copy power gate macros: - for macro in ["tt_pg_vdd_1", "tt_pg_vdd_2"]: + for macro in ["tt_pg_1v8_1", "tt_pg_1v8_2", "tt_pg_1v8_4", "tt_pg_3v3_2"]: copy_print( f"tt-multiplexer/pg/{macro}/gds/{macro}.gds", f"gds/{macro}.gds",