3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-23 09:05:32 +00:00

verific->import fix for new test case

This commit is contained in:
Akash Levy 2024-12-02 20:07:07 -05:00
parent e0cef06b52
commit 3914c21286

View file

@ -1,4 +1,4 @@
verific -sv -lib <<EOF
import -sv -lib <<EOF
module TEST_CELL(input clk, input a, input b, output reg c);
parameter PATH = "DEFAULT";
always @(posedge clk) begin
@ -11,14 +11,14 @@ end
endmodule
EOF
verific -sv <<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
verific -import top
import -import top
hierarchy -top top
stat
select -assert-count 2 t:TEST_CELL