feat(reharden): skip ROM and power gated projects

This commit is contained in:
Uri Shaked
2023-10-26 22:40:08 +03:00
parent c3c940d202
commit 1822432015
+8
View File
@@ -182,6 +182,14 @@ if __name__ == "__main__":
macro = shuttle_index["mux"][project]["macro"] macro = shuttle_index["mux"][project]["macro"]
repo_dir = os.path.join(REHARDEN_DIR, macro) repo_dir = os.path.join(REHARDEN_DIR, macro)
if macro == "tt_um_chip_rom":
logging.info(f"[{number :03}] skipping chip ROM")
continue
if shuttle_index["mux"][project]["features"]["power_switch"]:
logging.info(f"[{number :03}] skipping power gated project {macro}")
continue
if args.clone: if args.clone:
if not os.path.exists(repo_dir): if not os.path.exists(repo_dir):
logging.info(f"cloning {number :03} {repo}") logging.info(f"cloning {number :03} {repo}")