Skip to content

Preserve SDC timestamp in synth step - #4399

Merged
maliberty merged 1 commit into
The-OpenROAD-Project:masterfrom
The-OpenROAD-Project-staging:preserve-sdc-timestamp
Aug 5, 2026
Merged

maliberty merged 1 commit into
The-OpenROAD-Project:masterfrom
The-OpenROAD-Project-staging:preserve-sdc-timestamp

Conversation

@jeffng-or

Copy link
Copy Markdown
Contributor

Goes with https://github.com/The-OpenROAD-Project-private/OpenROAD-flow-scripts/commit/4b688827b359fa1f8222dd1afa85fdd90ea80e2f, but for the SDC file.

Preserving the timestamp for the SDC file prevents unnecessary generation of the synth ODB and having to re-run steps in the flow.

@jeffng-or jeffng-or self-assigned this Aug 5, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request modifies flow/Makefile to preserve the timestamp of the copied SDC file (1_2_yosys.sdc) using touch -r. However, the reviewer pointed out that this introduces a critical issue with GNU Make's dependency resolution. Because the timestamp of the copied SDC file becomes older than its dependencies, the Yosys synthesis step will run on every invocation, breaking incremental builds. The reviewer suggests separating the SDC copy into its own rule depending directly on SDC_FILE to resolve this.

Comment thread flow/Makefile Resolved
code review change to make SDC copying its own rule

Signed-off-by: Jeff Ng <jeffng@precisioninno.com>
@openroad-ci
openroad-ci force-pushed the preserve-sdc-timestamp branch from 9fae7b9 to 9b2ec82 Compare August 5, 2026 18:43
@jeffng-or
jeffng-or requested a review from maliberty August 5, 2026 18:53
@maliberty
maliberty enabled auto-merge August 5, 2026 20:20
@openroad-ci

openroad-ci commented Aug 5, 2026 •

Copy link
Copy Markdown
Member

🔍 QoR check

Metrics reflect the PR merge build — i.e. what will land on the target branch. Advisory — results are log-only and do not affect build status. The authoritative QoR gate remains the local rules-file check.

Commit 878ec0c · Jenkins build #2 · Baseline: build

61 design(s) checked — 0 with regression(s), 7 without a comparable baseline.
Design Variant Verdict local vs inline passed / failed / missing
asap7/aes base ✅ pass ✅ MATCH 23 / 0 / 0
asap7/aes-block base ✅ pass ✅ MATCH 23 / 0 / 0
asap7/aes-mbff base ✅ pass ✅ MATCH 23 / 0 / 0
asap7/aes_lvt base ✅ pass ✅ MATCH 23 / 0 / 0
asap7/cva6 base ✅ pass ✅ MATCH 12 / 0 / 0
asap7/ethmac base ✅ pass ✅ MATCH 23 / 0 / 0
asap7/ethmac_lvt base ✅ pass ✅ MATCH 23 / 0 / 0
asap7/gcd base ✅ pass ✅ MATCH 23 / 0 / 0
asap7/gcd-ccs base ✅ pass ✅ MATCH 23 / 0 / 0
asap7/ibex base ✅ pass ✅ MATCH 23 / 0 / 0
asap7/jpeg base ✅ pass ✅ MATCH 23 / 0 / 0
asap7/jpeg_lvt base ✅ pass ✅ MATCH 23 / 0 / 0
asap7/mock-alu base ✅ pass ✅ MATCH 23 / 0 / 0
asap7/mock-cpu base ✅ pass ✅ MATCH 23 / 0 / 0
asap7/riscv32i base ✅ pass ✅ MATCH 23 / 0 / 0
asap7/riscv32i-mock-sram base ✅ pass ✅ MATCH 23 / 0 / 0
asap7/swerv_wrapper base ✅ pass ✅ MATCH 23 / 0 / 0
asap7/uart base ✅ pass ✅ MATCH 23 / 0 / 0
gf180/aes base ✅ pass ✅ MATCH 23 / 0 / 0
gf180/aes-hybrid base ✅ pass ✅ MATCH 23 / 0 / 0
gf180/ibex base ✅ pass ✅ MATCH 23 / 0 / 0
gf180/jpeg base ✅ pass ✅ MATCH 23 / 0 / 0
gf180/riscv32i base ✅ pass ✅ MATCH 23 / 0 / 0
gf180/uart-blocks base ✅ pass ✅ MATCH 23 / 0 / 0
gt2n/aes base ➖ inconclusive ➖ N/A 0 / 0 / 457
gt2n/gcd base ➖ inconclusive ➖ N/A 0 / 0 / 451
gt2n/jpeg base ➖ inconclusive ➖ N/A 0 / 0 / 456
ihp-sg13g2/aes base ✅ pass ✅ MATCH 23 / 0 / 0
ihp-sg13g2/gcd base ✅ pass ✅ MATCH 23 / 0 / 0
ihp-sg13g2/i2c-gpio-expander base ✅ pass ✅ MATCH 23 / 0 / 0
ihp-sg13g2/ibex base ✅ pass ✅ MATCH 23 / 0 / 0
ihp-sg13g2/jpeg base ✅ pass ✅ MATCH 23 / 0 / 0
ihp-sg13g2/riscv32i base ✅ pass ✅ MATCH 23 / 0 / 0
ihp-sg13g2/spi base ✅ pass ✅ MATCH 23 / 0 / 0
nangate45/aes base ✅ pass ✅ MATCH 23 / 0 / 0
nangate45/ariane133 base ✅ pass ✅ MATCH 23 / 0 / 0
nangate45/ariane136 base ✅ pass ✅ MATCH 23 / 0 / 0
nangate45/black_parrot — ➖ inconclusive ➖ N/A no reports directory — flow produced no output
nangate45/bp_be_top — ➖ inconclusive ➖ N/A no reports directory — flow produced no output
nangate45/bp_fe_top — ➖ inconclusive ➖ N/A no reports directory — flow produced no output
nangate45/bp_multi_top — ➖ inconclusive ➖ N/A no reports directory — flow produced no output
nangate45/dynamic_node base ✅ pass ✅ MATCH 23 / 0 / 0
nangate45/gcd base ✅ pass ✅ MATCH 23 / 0 / 0
nangate45/ibex base ✅ pass ✅ MATCH 23 / 0 / 0
nangate45/jpeg base ✅ pass ✅ MATCH 23 / 0 / 0
nangate45/mempool_group base ✅ pass ✅ MATCH 12 / 0 / 0
nangate45/swerv base ✅ pass ✅ MATCH 23 / 0 / 0
nangate45/swerv_wrapper base ✅ pass ✅ MATCH 23 / 0 / 0
nangate45/tinyRocket base ✅ pass ✅ MATCH 23 / 0 / 0
sky130hd/aes base ✅ pass ✅ MATCH 23 / 0 / 0
sky130hd/chameleon base ✅ pass ✅ MATCH 23 / 0 / 0
sky130hd/gcd base ✅ pass ✅ MATCH 23 / 0 / 0
sky130hd/ibex base ✅ pass ✅ MATCH 23 / 0 / 0
sky130hd/jpeg base ✅ pass ✅ MATCH 23 / 0 / 0
sky130hd/microwatt base ✅ pass ✅ MATCH 23 / 0 / 0
sky130hd/riscv32i base ✅ pass ✅ MATCH 23 / 0 / 0
sky130hs/aes base ✅ pass ✅ MATCH 23 / 0 / 0
sky130hs/gcd base ✅ pass ✅ MATCH 23 / 0 / 0
sky130hs/ibex base ✅ pass ✅ MATCH 23 / 0 / 0
sky130hs/jpeg base ✅ pass ✅ MATCH 23 / 0 / 0
sky130hs/riscv32i base ✅ pass ✅ MATCH 23 / 0 / 0

@maliberty
maliberty merged commit abbaff4 into The-OpenROAD-Project:master Aug 5, 2026
8 checks passed
@maliberty
maliberty deleted the preserve-sdc-timestamp branch August 5, 2026 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants