mr_byte31
Full Member level 5
Re: select column in verilog
hi all
I have a 2D array and i want to select a column
this is my array
reg [0]Array[0];
I want to put this array in a for so each time I select a colum and work on it
but with verilog I couldn't do anything
does any body have and Idea about doing so?
Added after 2 hours 24 minutes:
I am sorry I forgot to say that i deal with this array as follows
each row contains 16 bytes
so I need to select a byte from each colum to give me an arrya like this
reg [8:0]column[0:15]
hi all
I have a 2D array and i want to select a column
this is my array
reg [0]Array[0];
I want to put this array in a for so each time I select a colum and work on it
but with verilog I couldn't do anything
does any body have and Idea about doing so?
Added after 2 hours 24 minutes:
I am sorry I forgot to say that i deal with this array as follows
each row contains 16 bytes
so I need to select a byte from each colum to give me an arrya like this
reg [8:0]column[0:15]