Skip to content

Commit

Permalink
feat(reharden): skip ROM and power gated projects
Browse files Browse the repository at this point in the history
  • Loading branch information
urish committed Oct 26, 2023
1 parent c3c940d commit 1822432
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions reharden.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Expand Down

0 comments on commit 1822432

Please sign in to comment.