Conversation
PR diffblue#2119 replaced verilog_synthesis with verilog_transition_relation (RTL construction) in the EBMC flow. The disable1 and release1 tests still expected the old synthesis-path diagnostics, so they failed. Update both .desc files to match the new RTL-construction error messages: * disable1: "statement `disable' is not supported by RTL construction" * release1: "statement `force' is not supported by RTL construction"
A nonblocking assignment schedules the update of the variable in the NBA region, which follows the active region in which the blocking assignments of the same time step are executed (1800-2017 4.9.3). A blocking assignment to the same variable that follows the nonblocking assignment in the same block is hence overridden by the nonblocking one. Both the RTL construction and synthesis instead let the last assignment in program order win.
kroening
force-pushed
the
kroening/knownbug-nonblocking-then-blocking
branch
from
September 23, 2026 21:09
363a1c1 to
a9b22f9
Compare
tautschnig
approved these changes
Sep 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a KNOWNBUG regression test for a pre-existing soundness bug that is present in both the legacy synthesis flow and the new RTL construction (#2119).
A nonblocking assignment schedules the update in the NBA region, which follows the active region in which the blocking assignments of the same time step execute (1800-2017 4.9.3). A blocking assignment to the same variable later in the same block is therefore overridden by the earlier nonblocking one. Both flows instead let the last assignment in program order win.
Also covers
y <= y + 10; y++;. Expected values cross-checked with Icarus Verilog.Testing
regression/verilog/assignments/nonblocking-then-blocking1.descis reported as SKIPPED bytest.pl.e224197c.Root cause
record_assignmentinsrc/verilog/verilog_rtl.cppwrites blocking and nonblocking values into the samestate.valuesmap, so program order decides. Nonblocking values need to take precedence over blocking ones in the committed next-state value (while blocking values are still what subsequent reads in the block see).