21 lines
380 B
Verilog
21 lines
380 B
Verilog
/***********************************************************************
|
|
|
|
Duplicate output declaration test case
|
|
Duplicate port declarations should generate an error
|
|
|
|
***********************************************************************/
|
|
|
|
module port_test4 (
|
|
a, // Input
|
|
b, // Output
|
|
);
|
|
|
|
input a;
|
|
|
|
output b;
|
|
output b;
|
|
|
|
assign b=a;
|
|
|
|
endmodule
|