Skip to content

fix(sv): fill unbased parameter overrides to their declared width - #1677

Merged
mergify[bot] merged 1 commit into
masterfrom
stack/tignear/fix/taxi-compatibility/fill-unbased-param-overrides-their-declared-width--f5f1b4a1
Oct 21, 2026
Merged

mergify[bot] merged 1 commit into
masterfrom
stack/tignear/fix/taxi-compatibility/fill-unbased-param-overrides-their-declared-width--f5f1b4a1

Conversation

@tignear

@tignear tignear commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

Overriding a 58-bit parameter with '1 through -G or the Rust builder retained only 32 one bits, corrupting Taxi LFSR initialization. Apply the declaration width and signedness after selecting the override, including the final override pass, before binding dependent parameters.

Extend API and CLI coverage above 32 bits and check signed fills, dependent parameters, and wide X/Z overrides.

Validation:

  • SV analyzer: 770 passed, 3 existing ignores.
  • Literal-parameter API regression passes on all four backend variants; project CLI suite: 17 passed.
  • Taxi cc70b270b910d369ab1ad7b3855e76399fd461f1: original 58-bit scramble and descramble configurations pass at O1 with the original '1 argument and cocotb 2.0.1.
  • Formatting and all-target Clippy for the affected crates pass.

Depends-On: #1672

Overriding a 58-bit parameter with '1 through -G or the Rust builder retained only 32 one bits, corrupting Taxi LFSR initialization. Apply the declaration width and signedness after selecting the override, including the final override pass, before binding dependent parameters.

Extend API and CLI coverage above 32 bits and check signed fills, dependent parameters, and wide X/Z overrides.

Validation:
- SV analyzer: 770 passed, 3 existing ignores.
- Literal-parameter API regression passes on all four backend variants; project CLI suite: 17 passed.
- Taxi cc70b270b910d369ab1ad7b3855e76399fd461f1: original 58-bit scramble and descramble configurations pass at O1 with the original '1 argument and cocotb 2.0.1.
- Formatting and all-target Clippy for the affected crates pass.

Change-Id: If5f1b4a1bc351fcdacd025ea7d9d0829360d4b2c
@tignear

tignear commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor Author

This pull request is part of a Mergify stack:

# Pull Request Link
1 feat(cli): configure SV simulation timescales #1672
2 fix(sv): fill unbased parameter overrides to their declared width #1677 👈
3 fix(sv): defer indexed part-select base binding until types are available #1678
4 fix(sv): preserve inherited constants in parameter alias evaluation #1682

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-10-21T03:09:33.826382Z
We couldn’t complete this review. Comment @codex review to try again.
388c214 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@tignear tignear added the merge-ready Request merging through Mergify after required checks label Oct 21, 2026
@mergify mergify Bot added the queued Mergify queue entry label Oct 21, 2026
@mergify

mergify Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Merge Queue Status

This pull request spent 1 hour 54 seconds in the queue, including 58 minutes 4 seconds running CI.

Required conditions to merge
  • check-success = Conventional Commit title
  • check-success = Queue validation
  • depends-on = celox-sim/celox#1672 [⛓️ feat(cli): configure SV simulation timescales #1672]
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Lint & Format
    • check-neutral = @github-actions/Lint & Format
    • check-skipped = @github-actions/Lint & Format
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/NAPI Build (Linux ARM64 GNU)
    • check-neutral = @github-actions/NAPI Build (Linux ARM64 GNU)
    • check-skipped = @github-actions/NAPI Build (Linux ARM64 GNU)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/NAPI Build (Windows)
    • check-neutral = @github-actions/NAPI Build (Windows)
    • check-skipped = @github-actions/NAPI Build (Windows)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Rust Test & NAPI Build
    • check-neutral = @github-actions/Rust Test & NAPI Build
    • check-skipped = @github-actions/Rust Test & NAPI Build
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/JS Test (Ubuntu)
    • check-neutral = @github-actions/JS Test (Ubuntu)
    • check-skipped = @github-actions/JS Test (Ubuntu)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/JS Test (Windows)
    • check-neutral = @github-actions/JS Test (Windows)
    • check-skipped = @github-actions/JS Test (Windows)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Conventional Commit title
    • check-neutral = @github-actions/Conventional Commit title
    • check-skipped = @github-actions/Conventional Commit title

Base automatically changed from stack/tignear/fix/taxi-compatibility/configure-sv-simulation-timescales--6e723be1 to master October 21, 2026 05:01
@mergify
mergify Bot merged commit 853a2ad into master Oct 21, 2026
31 checks passed
@mergify
mergify Bot deleted the stack/tignear/fix/taxi-compatibility/fill-unbased-param-overrides-their-declared-width--f5f1b4a1 branch October 21, 2026 05:02
@mergify mergify Bot removed the queued Mergify queue entry label Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-ready Request merging through Mergify after required checks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant