Error: VCP2562 : Redeclaration of port

概要

同じ名前のポートが複数回宣言されている場合、このメッセージが表示されます

module m1(a);
 input  reg[10:0] a;
 output reg[10:0] a; // VCP2562
endmodule

module m2(input reg a);
   output reg[10:0] a; // VCP2562
endmodule

module m(output wire a,input wire  a); // VCP2562
endmodule
Ask Us a Question
x
Ask Us a Question
x
Captcha ImageReload Captcha
Incorrect data entered.
Thank you! Your question has been submitted. Please allow 1-3 business days for someone to respond to your question.
Internal error occurred. Your question was not submitted. Please contact us using Feedback form.
We use cookies to ensure we give you the best user experience and to provide you with content we believe will be of relevance to you. If you continue to use our site, you consent to our use of cookies. A detailed overview on the use of cookies and other website information is located in our Privacy Policy.