Mashahh
Newbie level 1
- Joined
- Dec 7, 2014
- Messages
- 1
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 9
how can i access four elements from a 2d array or array of array in one process at the same time? in this sample, i am trying to access intg1 at the same time, the synthesis is taking for ever.
Code VHDL - [expand] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 tempo:= to_integer(unsigned('0' & img1(i1_1,j1_1))); if i1_1-1>=0 then tempo:=intg1(i1_1-1)(j1_1)+tempo; end if; if j1_1-1>=0 then tempo:=intg1(i1_1)(j1_1-1)+tempo; end if; if i1_1-1>=0 and j1_1-1>=0 then tempo:=tempo-intg1(i1_1-1)(j1_1-1); end if;
Last edited by a moderator: