bit [31:0] queue_1[$];
All I understood from the above expression is that the queue instantiated here is of type bit with a size of 32, but I read somewhere that the queue is a variable size parameter.
If a queue is a variable size parameter, then why are we using [31:0]
in front of it? Isn't the queue going to be contained in those parameters of [31:0]
?