# Offline reproduction bundle Self-contained snapshot to reproduce this study's numbers on **any machine with a Synopsys license** (VCS / Design Compiler / PrimeTime PX) + the SAED32 EDK, WITHOUT needing the original build server. All data here comes from these real tool runs; nothing is fabricated. ## What's here - `netlists/` — the 8 gate-level netlists actually used (4 flattened DC netlists `netlist_{baseline,opt1_rtlcg,opt2_synthcg,opt3_both}.v` for PPA/power/sim, and 4 hierarchy-preserved `*_hier.v` for the per-block breakdown) + their SDC. With these you can re-run power/sim/timing **without re-synthesizing** (no DC license needed for that part). - `scripts/` — the full flow: synthesis (`run_syn_cfg.tcl`, `run_syn_hier.tcl`), power (`run_ptpx_*.tcl`, `run_multicorner.sh`, `run_multiworkload.sh`, `run_perblock.sh`), workload generators (`gen_*.py`, no toolchain needed). - `evidence/` — the real tool-output numbers behind every table/figure (`part2..part8`). - RTL source: `../rtl/`. (This bundle duplicates the reproduction-critical files in one place for convenience.) ## Tools / environment used (originals) - VCS `W-2024.09-SP2-5` (gate-level simulation, VCD) - Design Compiler `W-2024.09-SP5-4` (synthesis) - PrimeTime PX `V-2023.12-SP5-4` (averaged power) - PDK: Synopsys SAED32 EDK (`SAED32_HOME=/usr/local/synopsys/pdk/SAED32_EDK`) - Corner libs: `saed32{rvt,lvt,hvt}_{ss0p75v125c,tt1p05v25c,ff1p16v25c}.db` On a new machine, set: ``` export SAED32_HOME=/path/to/SAED32_EDK export VCS_HOME=/path/to/vcs export PATH=$VCS_HOME/bin:/path/to/primetime/bin:/path/to/dc/bin:$PATH ``` ## openMSP430 RTL source (re-clonable; not stored here) The upstream core is intentionally not committed (re-clonable). Clone and check out the exact commit used: ``` git clone https://github.com/olgirard/openmsp430.git cd openmsp430 && git checkout 92c883abb4518dbc35b027e6cad5ffef5b2fbb81 ``` this study custom RTL (the `CG_ENABLE` guard, `openMSP430_defines_gated.v`, `omsp_clock_gate.v` usage) is in `../rtl/`. ## Reproduce (high level) 1. Workloads (no license): `python3 scripts/gen_multi_workloads.py` ; `python3 scripts/gen_activity_sweep.py` 2. Re-synthesize (DC) if desired: `CFG=opt2_synthcg CG_RTL=0 CG_SYN=1 dc_shell -f scripts/run_syn_cfg.tcl` (or skip — use the provided `netlists/`). 3. PPA / multi-workload power: `bash scripts/run_multiworkload.sh` (VCS+PrimeTime) 4. Multi-corner power: `bash scripts/run_multicorner.sh` -> `multicorner_power.csv` 5. Per-block (hierarchy-preserved): `dc_shell -f scripts/run_syn_hier.tcl` per CFG, then `bash scripts/run_perblock.sh` (report_power -hierarchy) 6. Compare against the numbers in `evidence/part*.txt`. Note: paths in the scripts assume the repo layout (`../syn`, `../sim`, `../ptpx`); adjust if running from `repro/` directly.