mirror of
https://github.com/YosysHQ/sby.git
synced 2025-04-11 00:13:33 +00:00
Merge pull request #207 from jix/fix_smt_shift
Regression test for YosysHQ/yosys#3433
This commit is contained in:
commit
8d2fa9b304
22
tests/regression/smt_dynamic_index_assign.sby
Normal file
22
tests/regression/smt_dynamic_index_assign.sby
Normal file
|
@ -0,0 +1,22 @@
|
|||
[options]
|
||||
mode cover
|
||||
depth 36
|
||||
|
||||
[engines]
|
||||
smtbmc boolector
|
||||
|
||||
[script]
|
||||
read -formal top.sv
|
||||
prep -top top
|
||||
|
||||
[file top.sv]
|
||||
module top(input clk);
|
||||
reg [33:0] bits = 0;
|
||||
reg [5:0] counter = 0;
|
||||
|
||||
always @(posedge clk) begin
|
||||
counter <= counter + 1;
|
||||
bits[counter] <= 1;
|
||||
cover (&bits);
|
||||
end
|
||||
endmodule
|
Loading…
Reference in a new issue