mirror of https://github.com/YosysHQ/yosys.git
Expand test into three tests for three cases
(1) no check, (2) check with warning, (3) check with error. Previously the single test was not testing all cases, as it was exiting after the first error.
This commit is contained in:
parent
b454582f54
commit
c0f1654028
|
|
@ -3,8 +3,3 @@ prep -top undriven_replay
|
|||
|
||||
logger -expect error "Found 1 undriven signal in the replay trace" 1
|
||||
sim -r undriven_replay.vcd -scope undriven_replay -q
|
||||
|
||||
logger -expect warning "Input trace contains undriven signal" 1
|
||||
sim -r undriven_replay.vcd -scope undriven_replay -q -undriven-warn
|
||||
|
||||
sim -r undriven_replay.vcd -scope undriven_replay -q -no-undriven-check
|
||||
|
|
|
|||
|
|
@ -0,0 +1,4 @@
|
|||
read_verilog undriven_replay.v
|
||||
prep -top undriven_replay
|
||||
|
||||
sim -r undriven_replay.vcd -scope undriven_replay -q -no-undriven-check
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
read_verilog undriven_replay.v
|
||||
prep -top undriven_replay
|
||||
|
||||
logger -expect warning "Input trace contains undriven signal" 1
|
||||
sim -r undriven_replay.vcd -scope undriven_replay -q -undriven-warn
|
||||
Loading…
Reference in New Issue