fixed parsing of constant with comment between size and value
This commit is contained in:
@@ -235,3 +235,10 @@ always @* begin
|
||||
end
|
||||
|
||||
endmodule
|
||||
|
||||
`define SIZE 4 // comment supported in this part
|
||||
module test ( din_a, dout_a );
|
||||
input [`SIZE-1:0] din_a;
|
||||
output [`SIZE-1:0] dout_a;
|
||||
assign dout_a = din_a | `SIZE'ha;
|
||||
endmodule
|
||||
|
||||
Reference in New Issue
Block a user