Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

unpacked array

How to assign the value of unpacked array as output?

Normally i will do

reg [7:0] q [3:0];

assign q_out0 = q[0];

assign q_out1 = q[1];

assign q_out2 = q[2];

assign q_out3 = q[3];

This method is not efficient. Any idea?
No RepliesBe the first to reply