mirror of
https://github.com/YosysHQ/yosys.git
synced 2026-10-06 01:53:53 +02:00
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:
@@ -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
|
||||
Reference in New Issue
Block a user