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)
This commit is contained in:
Uri Shaked
2024-07-04 21:38:40 +03:00
parent 3c25ae08a6
commit 054e41b839
+2 -1
View File
@@ -77,6 +77,7 @@ class ShuttleConfig:
"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 @@ class ShuttleConfig:
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",