12 lines
177 B
Coq
12 lines
177 B
Coq
|
|
// test that if the port doesn't exist, an error is thrown
|
||
|
|
module m(input a, output b);
|
||
|
|
assign b = a;
|
||
|
|
endmodule
|
||
|
|
|
||
|
|
module top;
|
||
|
|
reg a;
|
||
|
|
wire b;
|
||
|
|
wire c;
|
||
|
|
m foo(.a, .b, .c);
|
||
|
|
endmodule
|