mirror of
https://github.com/TinyTapeout/tt-support-tools.git
synced 2026-11-03 04:36:09 +01:00
fix: don't generate pg_vdd property in tt-multiplexer's modules.yaml
All user macros are now power gated by default
This commit is contained in:
@@ -61,7 +61,6 @@ class Projects:
|
|||||||
project_dir,
|
project_dir,
|
||||||
args,
|
args,
|
||||||
is_user_project=False,
|
is_user_project=False,
|
||||||
power_gated=commit_id_data.get("power_gate", False),
|
|
||||||
)
|
)
|
||||||
project.commit_id = commit_id_data["commit"]
|
project.commit_id = commit_id_data["commit"]
|
||||||
project.sort_id = commit_id_data["sort_id"]
|
project.sort_id = commit_id_data["sort_id"]
|
||||||
|
|||||||
@@ -72,14 +72,12 @@ class Project:
|
|||||||
local_dir: str,
|
local_dir: str,
|
||||||
args: Args,
|
args: Args,
|
||||||
is_user_project: bool,
|
is_user_project: bool,
|
||||||
power_gated: bool = False,
|
|
||||||
):
|
):
|
||||||
self.git_url = git_url
|
self.git_url = git_url
|
||||||
self.args = args
|
self.args = args
|
||||||
self.index = index
|
self.index = index
|
||||||
self.local_dir = local_dir
|
self.local_dir = local_dir
|
||||||
self.is_user_project = is_user_project
|
self.is_user_project = is_user_project
|
||||||
self.power_gated = power_gated
|
|
||||||
self.src_dir = (
|
self.src_dir = (
|
||||||
os.path.join(self.local_dir, "src")
|
os.path.join(self.local_dir, "src")
|
||||||
if self.is_user_project
|
if self.is_user_project
|
||||||
|
|||||||
@@ -53,7 +53,6 @@ class ShuttleConfig:
|
|||||||
"name": project.unprefixed_name,
|
"name": project.unprefixed_name,
|
||||||
"width": width,
|
"width": width,
|
||||||
"height": height,
|
"height": height,
|
||||||
"pg_vdd": True if project.power_gated else None,
|
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -84,7 +83,6 @@ class ShuttleConfig:
|
|||||||
"repo": project.git_url,
|
"repo": project.git_url,
|
||||||
"commit": project.commit_id,
|
"commit": project.commit_id,
|
||||||
"features": {
|
"features": {
|
||||||
"power_switch": bool(module["pg_vdd"]),
|
|
||||||
"analog": module["analog"],
|
"analog": module["analog"],
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user