From 51bb1d0bf50d295e41eade6163fd69bd22dda7a2 Mon Sep 17 00:00:00 2001 From: Uri Shaked Date: Wed, 13 Mar 2024 23:03:07 +0200 Subject: [PATCH] fix: don't generate pg_vdd property in tt-multiplexer's modules.yaml All user macros are now power gated by default --- configure.py | 1 - project.py | 2 -- shuttle.py | 2 -- 3 files changed, 5 deletions(-) diff --git a/configure.py b/configure.py index d4fac64..cec3084 100755 --- a/configure.py +++ b/configure.py @@ -61,7 +61,6 @@ class Projects: project_dir, args, is_user_project=False, - power_gated=commit_id_data.get("power_gate", False), ) project.commit_id = commit_id_data["commit"] project.sort_id = commit_id_data["sort_id"] diff --git a/project.py b/project.py index 4d39a3f..37ae09f 100644 --- a/project.py +++ b/project.py @@ -72,14 +72,12 @@ class Project: local_dir: str, args: Args, is_user_project: bool, - power_gated: bool = False, ): self.git_url = git_url self.args = args self.index = index self.local_dir = local_dir self.is_user_project = is_user_project - self.power_gated = power_gated self.src_dir = ( os.path.join(self.local_dir, "src") if self.is_user_project diff --git a/shuttle.py b/shuttle.py index 2289432..047a211 100644 --- a/shuttle.py +++ b/shuttle.py @@ -53,7 +53,6 @@ class ShuttleConfig: "name": project.unprefixed_name, "width": width, "height": height, - "pg_vdd": True if project.power_gated else None, } ) @@ -84,7 +83,6 @@ class ShuttleConfig: "repo": project.git_url, "commit": project.commit_id, "features": { - "power_switch": bool(module["pg_vdd"]), "analog": module["analog"], }, }