From 1822432015af5582bb28b7338d2d8d5fa059cc6b Mon Sep 17 00:00:00 2001 From: Uri Shaked Date: Thu, 26 Oct 2023 22:40:08 +0300 Subject: [PATCH] feat(reharden): skip ROM and power gated projects --- reharden.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/reharden.py b/reharden.py index 3a85829..4cc26a1 100644 --- a/reharden.py +++ b/reharden.py @@ -182,6 +182,14 @@ def build_metrics(shuttle_index): macro = shuttle_index["mux"][project]["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 not os.path.exists(repo_dir): logging.info(f"cloning {number :03} {repo}")