Forum Discussion
Altera_Forum
Honored Contributor
13 years agounsized constants are not allowed in concatenations
Hi all, I got this error in Quartus. Please help me fix it.
bit Array;
initial
begin
Array = {4,5}; // Error here
end
Error: unsized constants are not allowed in concate...
Altera_Forum
Honored Contributor
13 years agodo note the difference between FvM's correct:
Array = {6'd4, 6'd5}; and Cris72's almost correct: Array = {6'b4, 6'd5}; Once you notice, the error (Error: illegal character in binary number) makes more sense.