3
0
Fork 0
mirror of https://github.com/YosysHQ/sby.git synced 2025-11-02 22:07:53 +00:00

Test autotune

This commit is contained in:
Jannis Harder 2022-06-23 16:37:56 +02:00
parent b4458d43d7
commit 48a02f9cc4
5 changed files with 143 additions and 0 deletions

View file

@ -0,0 +1,50 @@
[tasks]
a
b
c
d
[options]
mode bmc
expect fail
[engines]
smtbmc boolector
[script]
read -sv autotune_div.sv
prep -top top
[autotune]
a: timeout 60
a: wait 10%+20
a: parallel 1
a: presat on
a: incr on
a: mem on
a: forall on
b: timeout none
b: parallel auto
b: presat off
b: incr off
b: mem auto
b: mem_threshold 20
b: forall any
c: presat any
c: incr any
c: mem any
c: forall auto
d: incr auto
d: incr_threshold 10
[file autotune_div.sv]
module top (input clk);
reg [7:0] counter = 0;
always @(posedge clk) begin
counter <= counter + 1;
assert (counter != 4);
end
endmodule