So I have something like this:
module top (..., out,...);
...
output [0:1] out;
wire [0:3] out;
...
endmodule
Is this correct verilog? If so, is the correct behavior of this a 2 bit out port?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The verilog 2001 quick reference guide (section 5.2) says this:
So I’ll say it’s not correct.