iverilog/ivtest/ivltests/sv_const_fail8.v

22 lines
252 B
Coq
Raw Normal View History

// Check that binding a const variable to a module inout port fails.
module M(
inout integer x
);
assign x = 20;
endmodule
module test;
const integer x = 10;
M i_m (
.x (x)
);
initial begin
$display("FAILED");
end
endmodule