Repository navigation
asap7/ibex: stabilize CTS TNS variance with clustering and bounded TN… - #4645
Open
bandhambalaji wants to merge 1 commit into
Open
bandhambalaji wants to merge 1 commit into
bandhambalaji wants to merge 1 commit into
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates the configuration for the ASAP7 Ibex design in flow/designs/asap7/ibex/config.mk. Specifically, it reduces TNS_END_PERCENT from 100 to 85 and introduces CTS_CLUSTER_SIZE and CTS_CLUSTER_DIAMETER settings to bound CTS sink clustering and limit TNS repair, addressing journal rollback thrashing issues during frequency sweeps. There are no review comments, and I have no additional feedback to provide.
bandhambalaji
force-pushed
the
fix-cts-tns-swing
branch
from
October 7, 2026 17:22
c951a22 to
af9b01a
Compare
Member
🔍 QoR checkMetrics reflect the PR merge build — i.e. what will land on the target branch. Commit 62 design(s) checked — 0 with regression(s), 0 without a comparable baseline. |
bandhambalaji
force-pushed
the
fix-cts-tns-swing
branch
from
November 14, 2026 10:03
49957f8 to
fd84362
Compare
…eep variance Fixes The-OpenROAD-Project#3885 - Set CTS_CLUSTER_SIZE = 20 and CTS_CLUSTER_DIAMETER = 60 to bound TritonCTS sink clustering geometry on ASAP7, preventing wide CTS TNS swings during clock frequency/period sweeps while meeting baseline setup QoR thresholds. Signed-off-by: Bandham Balaji <bandhambalaji@gmail.com>
bandhambalaji
force-pushed
the
fix-cts-tns-swing
branch
from
November 14, 2026 14:39
fd84362 to
fb5c8ee
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #3885
cc @jeffng-or @maliberty
Problem
During frequency sweeps on
asap7/ibex, sub-picosecond shifts in clock period caused large CTS TNS swings (~30 ns variance) despite near-zero WNS changes (#3885).Investigation revealed two root causes:
CTS_CLUSTER_SIZEandCTS_CLUSTER_DIAMETERunset), allowing sink boundaries to shift unpredictably across frequencies.TNS_END_PERCENT = 100forcedSetupTnsPolicyto attempt moves on sub-picosecond noise-floor paths. When a minor move degraded global WNS marginally, the journal rollback unwound large logic cones.Solution
CTS_CLUSTER_SIZE = 10andCTS_CLUSTER_DIAMETER = 30to stabilize leaf clock geometry and match standards used by other ASAP7 designs (riscv32i).TNS_END_PERCENT = 85to prevent the resizer from chasing noise-floor paths while maintaining full WNS repair.Verification (ASAP7 Flow)
Executed through CTS with Docker on ASAP7:
Signed-off-by: Bandham Balaji bandhambalaji@gmail.com