-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #219 from diffblue/random-traces-fix
random traces should only consider top-level inputs
- Loading branch information
Showing
3 changed files
with
50 additions
and
23 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
CORE broken-smt-backend | ||
with_submodule.v | ||
--random-traces --trace-steps 0 --number-of-traces 2 | ||
^\*\*\* Trace 1$ | ||
^ main\.some_wire = 0$ | ||
^ main\.input1 = 0$ | ||
^ main\.instance\.some_wire = 0$ | ||
^ main\.instance\.sub_input = 0$ | ||
^\*\*\* Trace 2$ | ||
^ main\.some_wire = 1$ | ||
^ main\.input1 = 1$ | ||
^ main\.instance\.some_wire = 1$ | ||
^ main\.instance\.sub_input = 1$ | ||
^EXIT=0$ | ||
^SIGNAL=0$ | ||
-- |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
module submodule(input sub_input); | ||
|
||
wire some_wire = sub_input; | ||
|
||
endmodule | ||
|
||
module main(input input1); | ||
|
||
wire some_wire = input1; | ||
|
||
submodule instance(some_wire); | ||
|
||
endmodule |
This file contains 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