Add -on/-off modes to debug pass
This commit is contained in:
14
tests/various/debugon.ys
Normal file
14
tests/various/debugon.ys
Normal file
@@ -0,0 +1,14 @@
|
||||
# Test debug -on/-off modes
|
||||
|
||||
design -reset
|
||||
|
||||
read_verilog <<EOT
|
||||
module top(input a, input b, output y);
|
||||
assign y = a & b;
|
||||
endmodule
|
||||
EOT
|
||||
|
||||
debug -on
|
||||
hierarchy
|
||||
select -assert-count 1 t:$and
|
||||
debug -off
|
||||
Reference in New Issue
Block a user