3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-08-21 02:30:25 +00:00

Disable Verific blackbox checks (different from our preferred approach)

This commit is contained in:
Akash Levy 2025-01-21 05:46:40 -08:00
parent e73d51dbf0
commit 2ae7490adf
4 changed files with 1 additions and 0 deletions

View file

@ -0,0 +1,24 @@
import -sv -lib <<EOF
module TEST_CELL(input clk, input a, input b, output reg c);
parameter PATH = "DEFAULT";
always @(posedge clk) begin
if (PATH=="DEFAULT")
c <= a;
else
c <= b;
end
endmodule
EOF
import -sv <<EOF
module top(input clk, input a, input b, output c, output d);
TEST_CELL #(.PATH("TEST")) test1(.clk(clk),.a(a),.b(1'b1),.c(c));
TEST_CELL #(.PATH("DEFAULT")) test2(.clk(clk),.a(a),.b(1'bx),.c(d));
endmodule
EOF
import -import top
hierarchy -top top
stat
select -assert-count 2 t:TEST_CELL