mirror of
https://github.com/YosysHQ/sby.git
synced 2025-12-09 23:03:37 +00:00
add new blackbox test cases
This commit is contained in:
parent
9675d158ce
commit
8423d3e2c8
5 changed files with 172 additions and 3 deletions
|
|
@ -1,31 +0,0 @@
|
|||
[options]
|
||||
mode bmc
|
||||
depth 1
|
||||
expect error
|
||||
|
||||
[engines]
|
||||
smtbmc
|
||||
|
||||
[script]
|
||||
read_verilog -formal test.v
|
||||
prep -top top
|
||||
|
||||
[file test.v]
|
||||
(* blackbox *)
|
||||
module submod(a, b);
|
||||
input [7:0] a;
|
||||
output [7:0] b;
|
||||
endmodule
|
||||
|
||||
module top;
|
||||
wire [7:0] a = $anyconst, b;
|
||||
|
||||
submod submod(
|
||||
.a(a),
|
||||
.b(b)
|
||||
);
|
||||
|
||||
always @* begin
|
||||
assert(~a == b);
|
||||
end
|
||||
endmodule
|
||||
Loading…
Add table
Add a link
Reference in a new issue