Skip to content

feat(sim): build timed simulations on explicit backends - #1455

Merged
mergify[bot] merged 1 commit into
masterfrom
stack/tignear/feat/timed-simulation-backends/build-timed-simulations-explicit-backends--d3ff45c3
Oct 18, 2026
Merged

mergify[bot] merged 1 commit into
masterfrom
stack/tignear/feat/timed-simulation-backends/build-timed-simulations-explicit-backends--d3ff45c3

Conversation

@tignear

@tignear tignear commented Oct 18, 2026

Copy link
Copy Markdown
Contributor

Add native, Cranelift, Wasm, and interpreter factories to the timed simulation
builder. Share the existing compile/layout pipeline with Simulator while
preserving initial-process gates for the timed scheduler. Thread and parallel
partition options are retained for timed builds.

Run supported SV timing cases on every backend, and retain each independent
frontend exclusion on every backend. Exercise the public factories with
process-driven clocks, long continuations, finish, and two-/four-state and
parallel configurations.

Validation:

  • cargo fmt --all -- --check
  • cargo clippy --locked -p celox --features systemverilog --lib --test systemverilog -- -D warnings
  • cargo test --locked -p celox --features systemverilog --lib simulation:: (49 passed)
  • cargo test --locked -p celox --features systemverilog --test systemverilog (2,513 passed; 285 existing frontend exclusions retained)
  • cargo test --locked -p celox --features systemverilog --test processes --test simulation_step --test simulation_limits --test state_file (53 passed)
  • cargo test --locked -p celox --features systemverilog --doc
  • Rebuilt NAPI and ran simulation, timing-addon and cascaded-clocks-addon JS tests (52 passed).

Fixes #1445

Depends-On: #1454

Add native, Cranelift, Wasm, and interpreter factories to the timed simulation
builder. Share the existing compile/layout pipeline with Simulator while
preserving initial-process gates for the timed scheduler. Thread and parallel
partition options are retained for timed builds.

Run supported SV timing cases on every backend, and retain each independent
frontend exclusion on every backend. Exercise the public factories with
process-driven clocks, long continuations, finish, and two-/four-state and
parallel configurations.

Validation:
- cargo fmt --all -- --check
- cargo clippy --locked -p celox --features systemverilog --lib --test systemverilog -- -D warnings
- cargo test --locked -p celox --features systemverilog --lib simulation:: (49 passed)
- cargo test --locked -p celox --features systemverilog --test systemverilog (2,513 passed; 285 existing frontend exclusions retained)
- cargo test --locked -p celox --features systemverilog --test processes --test simulation_step --test simulation_limits --test state_file (53 passed)
- cargo test --locked -p celox --features systemverilog --doc
- Rebuilt NAPI and ran simulation, timing-addon and cascaded-clocks-addon JS tests (52 passed).

Fixes #1445

Change-Id: Id3ff45c3e75584b35c298f94d8bd757947262e86
@tignear

tignear commented Oct 18, 2026

Copy link
Copy Markdown
Contributor Author

This pull request is part of a Mergify stack:

# Pull Request Link
1 feat(sim): expose four-state reads in timed simulations #1454
2 feat(sim): build timed simulations on explicit backends #1455 👈

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 18, 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-18T00:13:45.044229Z efe59f7 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 added the merge-ready Request merging through Mergify after required checks label Oct 18, 2026
@mergify mergify Bot added the queued Mergify queue entry label Oct 18, 2026
@mergify

mergify Bot commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

Merge Queue Status

This pull request spent 26 minutes 21 seconds in the queue, including 48 minutes 5 seconds running CI.

Required conditions to merge
  • check-success = Conventional Commit title
  • check-success = Queue validation
  • depends-on = celox-sim/celox#1454 [⛓️ feat(sim): expose four-state reads in timed simulations #1454]
  • 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/feat/timed-simulation-backends/expose-four-state-reads-timed-simulations--30b4e36e to master October 18, 2026 01:18
@mergify
mergify Bot merged commit 7529e0d into master Oct 18, 2026
30 checks passed
@mergify
mergify Bot deleted the stack/tignear/feat/timed-simulation-backends/build-timed-simulations-explicit-backends--d3ff45c3 branch October 18, 2026 01:20
@mergify mergify Bot removed the queued Mergify queue entry label Oct 18, 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.

feat(sim): run timed Simulation on the non-default backends

1 participant