Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers

unpacked array

Altera_Forum
Honored Contributor II
1,099 Views

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?
0 Kudos
0 Replies
Reply