Skip to content

test(testbench): cover Veryl string variable semantics - #1370

Merged
mergify[bot] merged 3 commits into
masterfrom
test/veryl-tb-strings
Oct 16, 2026
Merged

mergify[bot] merged 3 commits into
masterfrom
test/veryl-tb-strings

Conversation

@tignear

@tignear tignear commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Veryl native testbenches can declare string variables, but Celox currently stores them at the nominal one-bit width. Add shared executable cases for growing/shrinking assignments, empty strings, independent copies, all six string comparisons, and conditional assignments.

This is stage 1 of 2. The Celox harness registers the cases with explicit temporary exclusions for the missing runtime string support; the implementation PR #1371 removes those exclusions. The existing SV-frontend exclusion remains because that harness uses ordinary Veryl emission, which omits native test modules. External verification uses the native-testbench emitter and runs the cases.

Validation:

  • All 18 Celox executions (native, native parallel, Cranelift, Cranelift parallel, Wasm, interpreter) reproduce assertion failures before exclusion. No parser/compilation errors remain.
  • cargo test --locked -p celox --test testbench_string: 18 explicitly ignored, zero reported passes.
  • cargo run --locked -p celox-test-suite --features verilator,icarus --bin verify-verilator -- --filter tb_string::: all 3 cases pass (1 fresh, 2 reused).
  • Same filter with verify-icarus: all 3 cases pass, fresh.
  • Formatting and diff whitespace checked. No retained verification baselines changed.

@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-16T19:30:00.953692Z 35a11d8 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 16, 2026
@mergify mergify Bot added the queued Mergify queue entry label Oct 16, 2026
@mergify

mergify Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Merge Queue Status

  • ✅ Entered queue — 2026-10-16 20:56 UTC · Rule: changes · triggered by rule Queue explicitly requested merges
  • ✅ Checks passed · on draft merge queue: checking #1370 on master (a1c6987) #1376
  • ✅ Merged — 2026-10-16 21:35 UTC · at d4cfc3e3bc6c8cb0f971850d04aa862bd8b4a19f · merge

This pull request spent 38 minutes 24 seconds in the queue, including 36 minutes 4 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-skipped = @github-actions/NAPI Build (Linux ARM64 GNU)
    • check-neutral = @github-actions/NAPI Build (Linux ARM64 GNU)
    • check-success = @github-actions/NAPI Build (Linux ARM64 GNU)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-skipped = @github-actions/NAPI Build (Windows)
    • check-neutral = @github-actions/NAPI Build (Windows)
    • check-success = @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-skipped = @github-actions/JS Test (Ubuntu)
    • check-neutral = @github-actions/JS Test (Ubuntu)
    • check-success = @github-actions/JS Test (Ubuntu)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-skipped = @github-actions/JS Test (Windows)
    • check-neutral = @github-actions/JS Test (Windows)
    • check-success = @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 16, 2026
38 of 66 tasks
@mergify
mergify Bot merged commit d4cfc3e into master Oct 16, 2026
26 checks passed
@mergify
mergify Bot deleted the test/veryl-tb-strings branch October 16, 2026 21:35
@mergify mergify Bot removed the queued Mergify queue entry label Oct 16, 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