Skip to content

feat(sv): support time literals in delay controls - #1639

Merged
mergify[bot] merged 1 commit into
masterfrom
stack/tignear/feat/sv-popcount-testbench/support-time-literals-delay-controls--65c5a170
Oct 20, 2026
Merged

mergify[bot] merged 1 commit into
masterfrom
stack/tignear/feat/sv-popcount-testbench/support-time-literals-delay-controls--65c5a170

Conversation

@tignear

@tignear tignear commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Allow standalone delay values such as #5ns, #(2.75ns), and #40ps, including all six units from fs to s and numeric separators. Round at the declaring scope's time precision before converting to global scheduler ticks, using exact decimal arithmetic and rejecting scheduler overflow (IEEE 1800-2023 5.8 and 3.14.1).

Keep real-valued arithmetic outside the supported subset. Add shared all-unit execution coverage plus owning tests for rounding across scopes, numeric separators and overflow. Document the behavior in English and Japanese.

Validation: analyzer tests, focused timing regressions across all five backend variants, explicit scope-precision simulation, affected-crate Clippy and formatting. The shared all-unit case passes Verilator and Icarus.

@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-20T16:38:31.715483Z 4870e9d 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.

@tignear

tignear commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor Author

This pull request is part of a Mergify stack:

# Pull Request Link
1 feat(sv): support time literals in delay controls #1639 👈
2 feat(sv): support unconstrained scope randomization #1640
3 ci(sv): run upstream popcount testbench in daily checks #1641

@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 force-pushed the stack/tignear/feat/sv-popcount-testbench/support-time-literals-delay-controls--65c5a170 branch from 4870e9d to 0a09948 Compare October 20, 2026 16:50
@tignear
tignear force-pushed the stack/tignear/feat/sv-popcount-testbench/ignore-padding-wide-reduction--57339044 branch from 55d3027 to 6a83f59 Compare October 20, 2026 16:50
@tignear

tignear commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor Author

Revision history

# Type Changes Reason Date
1 initial 4870e9d 2026-10-20 16:49 UTC
2 rebase 4870e9d → 0a09948 (rebase only) 2026-10-20 16:49 UTC
3 content 0a09948 → 908be17 Rebase onto current master after #1638 merged; preserve new SV host-request and VCD support while resolving the time-literal conflict. 2026-10-20 21:56 UTC

@mergify

mergify Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Queued — the merge queue status continues in this comment ↓.

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

mergify Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Merge Queue Status

  • ✅ Entered queue — 2026-10-20 20:39 UTC · Rule: changes · triggered by rule Queue explicitly requested merges
  • 🚫 Left the queue — 2026-10-20 20:58 UTC · at 0a09948a6cf0c333b15ce10dacb39e78091c99c1

This pull request spent 19 minutes 5 seconds in the queue, with no time running CI.

Reason

The pull request conflicts with the base branch

The pull request was held in the queue, conflicting with at least one of 2 pull requests ahead of it. The conflict became a base branch one after #1638 merged.

Automatic conflict resolution can merge a conflict like this one instead of stopping on it, but only in a queue using the merge-batch or fast-forward merge method.

Hint

You should update or rebase your pull request.

If you want to requeue this pull request, you can post a @mergifyio queue comment.

Requeued — the merge queue status continues in this comment ↓.

Base automatically changed from stack/tignear/feat/sv-popcount-testbench/ignore-padding-wide-reduction--57339044 to master October 20, 2026 20:58
@mergify mergify Bot added dequeued Mergify stopped this queue entry; investigate before retrying and removed queued Mergify queue entry labels Oct 20, 2026
Allow standalone delay values such as #5ns, #(2.75ns), and #40ps, including all six units from fs to s and numeric separators. Round at the declaring scope's time precision before converting to global scheduler ticks, using exact decimal arithmetic and rejecting scheduler overflow (IEEE 1800-2023 5.8 and 3.14.1).

Keep real-valued arithmetic outside the supported subset. Add shared all-unit execution coverage plus owning tests for rounding across scopes, numeric separators and overflow. Document the behavior in English and Japanese.

Validation: analyzer tests, focused timing regressions across all five backend variants, explicit scope-precision simulation, affected-crate Clippy and formatting. The shared all-unit case passes Verilator and Icarus.
Change-Id: I65c5a170cc2e398b92e9855a3e3eb79b36367834
@tignear
tignear force-pushed the stack/tignear/feat/sv-popcount-testbench/support-time-literals-delay-controls--65c5a170 branch from 0a09948 to 908be17 Compare October 20, 2026 21:57
@mergify mergify Bot added queued Mergify queue entry and removed dequeued Mergify stopped this queue entry; investigate before retrying labels Oct 20, 2026
@mergify

mergify Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Merge Queue Status

  • ✅ Entered queue — 2026-10-20 22:26 UTC · Rule: changes · triggered by rule Queue explicitly requested merges
  • ✅ Checks passed · on draft merge queue: checking #1639 on master (b40e19b) #1652
  • ✅ Merged — 2026-10-20 23:06 UTC · at e5d285368e1665d8c40b445f33bd0d96b9529ad3 · merge

This pull request spent 39 minutes 56 seconds in the queue, including 38 minutes 12 seconds running CI.

Required conditions to merge
  • check-success = Conventional Commit title
  • check-success = Queue validation
  • 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

@mergify mergify Bot mentioned this pull request Oct 20, 2026
40 of 71 tasks
@mergify
mergify Bot merged commit e5d2853 into master Oct 20, 2026
31 checks passed
@mergify
mergify Bot deleted the stack/tignear/feat/sv-popcount-testbench/support-time-literals-delay-controls--65c5a170 branch October 20, 2026 23:06
@mergify mergify Bot removed the queued Mergify queue entry label Oct 20, 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