Skip to content

feat(sv)!: add distribution and plusarg system functions - #1608

Merged
mergify[bot] merged 1 commit into
masterfrom
stack/tignear/feat/svtf-runtime/add-distribution-plusarg-system-funcs--ae0d4de3
Oct 20, 2026
Merged

mergify[bot] merged 1 commit into
masterfrom
stack/tignear/feat/svtf-runtime/add-distribution-plusarg-system-funcs--ae0d4de3

Conversation

@tignear

@tignear tignear commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Add $dist_uniform with captured inout actuals and IEEE-compatible seed handling. Support $test$plusargs and $value$plusargs in timed processes, configured through Rust and JavaScript simulator options. Introduce shared synchronous host-request metadata and packed string literal decoding, including triple-quoted delimiters and CRLF continuations.

Preserve four-state arithmetic semantics for negative nondecimal plusarg values containing X/Z, including unknown digits above the destination width. Preserve decimal Z values and reject leading numeric separators. Advance the image version beyond the updated trunk schema.

Standalone checks and all-target Clippy pass for affected crates. Design/runtime/frontend/analyzer units, plusargs API and captured-actual regressions, shared distribution/plusargs/string cases, TypeScript checks and JavaScript option tests pass. External Verilator/Icarus results and narrow seed-width exclusions are recorded, including the two required retained exclusion rows. Update 22 newly passing packed-string, distribution and plusargs conformance rows from CI run 39413853030 (artifact 12262168735).

BREAKING CHANGE: SimulatorOptions gains plusargs; public IR/runtime structures and enums gain host-request metadata. Update explicit struct literals and exhaustive matches. Native images use format 17 and must be rebuilt.

@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)!: add distribution and plusarg system functions #1608 👈
2 feat(sv)!: support runtime file output and memory dumps #1609
3 feat(sv)!: add source-driven VCD controls #1610

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 20, 2026 •

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 ✅ Completed 2026-10-20T15:25:47.931135Z c5d2277 New commits
ℹ️ 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 added the merge-ready Request merging through Mergify after required checks label Oct 20, 2026
@tignear
tignear force-pushed the stack/tignear/feat/svtf-runtime/add-distribution-plusarg-system-funcs--ae0d4de3 branch from ec1c28c to e1130e4 Compare October 20, 2026 12:05
@tignear

tignear commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor Author

Revision history

# Type Changes Reason Date
1 initial ec1c28c 2026-10-20 12:05 UTC
2 content ec1c28c → e1130e4 2026-10-20 12:05 UTC
3 content e1130e4 → c1b36cf Apply reviewed four-state negation semantics for negative X/Z plusargs and resolve trunk conflicts 2026-10-20 14:47 UTC
4 content c1b36cf → ff81df5 Fix decimal Z and illegal numeric separators; advance format beyond trunk version 16 2026-10-20 15:06 UTC
5 content ff81df5 → c5d2277 Decode triple-quoted string delimiters and CRLF line continuations consistently with the lexer 2026-10-20 15:22 UTC

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e1130e4931

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread crates/celox-runtime/src/plusargs.rs Resolved
@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 12:48 UTC · Rule: changes · triggered by rule Queue explicitly requested merges
  • 🚫 Left the queue — 2026-10-20 14:17 UTC · at e1130e493181a9d1e38329e1e323f0a4cc50f182

This pull request spent 1 hour 28 minutes 42 seconds in the queue, with no time running CI.

Reason

Pull request #1608 has been dequeued

Queue conditions are not satisfied:

  • -conflict

Hint

You should look at the reason for the failure and decide if the pull request needs to be fixed or if you want to requeue it.
If you do update this pull request, it will automatically be requeued once the queue conditions match again.
If you think this was a flaky issue instead, you can requeue the pull request, without updating it, by posting a @mergifyio queue comment.

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

@mergify mergify Bot added dequeued Mergify stopped this queue entry; investigate before retrying and removed queued Mergify queue entry labels Oct 20, 2026
@tignear
tignear force-pushed the stack/tignear/feat/svtf-runtime/add-distribution-plusarg-system-funcs--ae0d4de3 branch from e1130e4 to c1b36cf Compare October 20, 2026 14:48
@mergify mergify Bot removed the dequeued Mergify stopped this queue entry; investigate before retrying label Oct 20, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c1b36cfcd1

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread crates/celox-runtime/src/plusargs.rs Resolved
Comment thread crates/celox-runtime/src/plusargs.rs Resolved
@tignear
tignear force-pushed the stack/tignear/feat/svtf-runtime/add-distribution-plusarg-system-funcs--ae0d4de3 branch from c1b36cf to ff81df5 Compare October 20, 2026 15:06

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ff81df551f

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Add $dist_uniform with captured inout actuals and IEEE-compatible seed handling. Support $test$plusargs and $value$plusargs in timed processes, configured through Rust and JavaScript simulator options. Introduce shared synchronous host-request metadata and packed string literal decoding, including triple-quoted delimiters and CRLF continuations.

Preserve four-state arithmetic semantics for negative nondecimal plusarg values containing X/Z, including unknown digits above the destination width. Preserve decimal Z values and reject leading numeric separators. Advance the image version beyond the updated trunk schema.

Standalone checks and all-target Clippy pass for affected crates. Design/runtime/frontend/analyzer units, plusargs API and captured-actual regressions, shared distribution/plusargs/string cases, TypeScript checks and JavaScript option tests pass. External Verilator/Icarus results and narrow seed-width exclusions are recorded, including the two required retained exclusion rows. Update 22 newly passing packed-string, distribution and plusargs conformance rows from CI run 39413853030 (artifact 12262168735).

BREAKING CHANGE: SimulatorOptions gains plusargs; public IR/runtime structures and enums gain host-request metadata. Update explicit struct literals and exhaustive matches. Native images use format 17 and must be rebuilt.

Change-Id: Iae0d4de3dc5b382945463c9d98db21e37703c7aa
@tignear
tignear force-pushed the stack/tignear/feat/svtf-runtime/add-distribution-plusarg-system-funcs--ae0d4de3 branch from ff81df5 to c5d2277 Compare October 20, 2026 15:22
@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

This pull request spent 1 hour 2 minutes 1 second in the queue, including 1 hour 58 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 merged commit 34fbdb7 into master Oct 20, 2026
31 checks passed
@mergify
mergify Bot deleted the stack/tignear/feat/svtf-runtime/add-distribution-plusarg-system-funcs--ae0d4de3 branch October 20, 2026 17:23
@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