a_fetoh
Newbie level 6
- Joined
- Sep 29, 2006
- Messages
- 12
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Location
- Mansoura, Egypt
- Activity points
- 1,357
hello,
how can i insert data into a 2D array element by element.
I tried this code
process(datain,clk)
begin
for j in 0 to 6 loop
for i in 0 to 3 loop
array2d(i)(j) <= datain;
end loop;
end loop;
but all elements are filled with the data in in one clock
i want the array takes a 28 clock to be filled with the data in.
how can i do this ?
how can i insert data into a 2D array element by element.
I tried this code
process(datain,clk)
begin
for j in 0 to 6 loop
for i in 0 to 3 loop
array2d(i)(j) <= datain;
end loop;
end loop;
but all elements are filled with the data in in one clock
i want the array takes a 28 clock to be filled with the data in.
how can i do this ?