Repository navigation
feat(cli): configure SV parameter literals and simulation state modes - #1646
Conversation
|
This pull request is part of a Mergify stack:
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Queued — the merge queue status continues in this comment ↓. |
Merge Queue Status
This pull request spent 1 minute 27 seconds in the queue, with no time running CI. ReasonThe pull request conflicts with the base branch Automatic conflict resolution can merge a conflict like this one instead of stopping on it, but only in a queue using the HintYou should update or rebase your pull request. If you want to requeue this pull request, you can post a Requeued — the merge queue status continues in this comment ↓. |
Allow CLI and project parameter overrides to preserve signed values, packed strings, explicit widths, unbased fills and X/Z bits. Add the corresponding SimulatorBuilder::param_literal API; numeric overrides keep their existing API and last-value-wins behavior. Reject SV literals for Veryl inputs. Add --two-state/--four-state and four_state in project and target settings, with project < target < CLI precedence. Use two-state simulation as the default. Serialize the selected mode into native executables and normalize VPI X/Z deposits and forces using the effective runtime mode. This lets Taxi's APB-to-AXI-Lite and AXI-to-AXI-Lite adapter tests use the same two-state condition as their upstream Verilator runs. The original 8-bit configurations pass all 12 cocotb tests each at O1; the AXI adapter run takes about 419 seconds. Other remaining Taxi failures are not hidden by this setting. Validation: O2 literal-parameter API regressions across backends; all project CLI tests, including merge precedence, native image round trips and Veryl input rejection; VPI deposits/forces and package tests; affected-crate Clippy and formatting. Also check celox without default features to preserve builds without SystemVerilog support. Change-Id: I349bbcdce9d4747dcac4c19b985b5a29622022b3
28be65a to
96e0a9e
Compare
Revision history
|
Merge Queue Status
This pull request spent 1 hour 16 minutes 39 seconds in the queue, including 55 minutes 52 seconds running CI. Required conditions to merge
|
Allow CLI and project parameter overrides to preserve signed values, packed
strings, explicit widths, unbased fills and X/Z bits. Add the corresponding
SimulatorBuilder::param_literal API; numeric overrides keep their existing
API and last-value-wins behavior. Reject SV literals for Veryl inputs.
Add --two-state/--four-state and four_state in project and target settings,
with project < target < CLI precedence. Use two-state simulation as the
default. Serialize the selected mode into native executables and normalize
VPI X/Z deposits and forces using the effective runtime mode.
This lets Taxi's APB-to-AXI-Lite and AXI-to-AXI-Lite adapter tests use the
same two-state condition as their upstream Verilator runs. The original
8-bit configurations pass all 12 cocotb tests each at O1; the AXI adapter
run takes about 419 seconds. Other remaining Taxi failures are not hidden
by this setting.
Validation: O2 literal-parameter API regressions across backends; all
project CLI tests, including merge precedence, native image round trips
and Veryl input rejection; VPI deposits/forces and package tests;
affected-crate Clippy and formatting. Also check celox without default
features to preserve builds without SystemVerilog support.