mirror of
https://github.com/YosysHQ/sby.git
synced 2025-12-09 23:03:37 +00:00
tests/intertask: Use bash script
Somewhat hacky use of the automatic task collection splitting tasks into separate make targets.
This commit is contained in:
parent
67212a20e5
commit
360f1b03a3
2 changed files with 32 additions and 7 deletions
|
|
@ -10,28 +10,30 @@ c: a
|
|||
|
||||
[options]
|
||||
mode bmc
|
||||
depth 10000
|
||||
expect fail,cancelled
|
||||
depth 20
|
||||
a: expect pass,cancelled
|
||||
b: expect fail,cancelled
|
||||
c: expect fail,cancelled
|
||||
|
||||
[engines]
|
||||
btor btormc
|
||||
|
||||
[script]
|
||||
a: read -define MAX=9600
|
||||
b: read -define MAX=1267
|
||||
c: read -define MAX=7200
|
||||
a: read -define MAX=32
|
||||
b: read -define MAX=12
|
||||
c: read -define MAX=3
|
||||
read -formal demo.sv
|
||||
prep -top demo
|
||||
|
||||
[file demo.sv]
|
||||
module demo (
|
||||
input clk,
|
||||
output reg [31:0] counter
|
||||
output reg [5:0] counter
|
||||
);
|
||||
initial counter = 0;
|
||||
|
||||
always @(posedge clk) begin
|
||||
if (counter[31] == 1'b1)
|
||||
if (counter == 15)
|
||||
counter <= 0;
|
||||
else
|
||||
counter <= counter + 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue