EmbDev.net

Forum: FPGA, VHDL & Verilog Matrix Display


von Josip J. (Company: Ferit) (braticmarduk)


Rate this post
useful
not useful
Can someone help me with this task
Manage the matrix pointer in the following way. Order
activate (0,0), (0,1) ... (0,7), (1,0) ... .. (7,7)?

I just don't know to solve that.

von Lothar M. (Company: Titel) (lkmiller) (Moderator)


Rate this post
useful
not useful
Josip J. wrote:
> I just don't know to solve that.
I don't know what language and what type of array...

> Order activate (0,0), (0,1) ... (0,7), (1,0) ... .. (7,7)?
Here some code to sum up the matrix values in VHDL:
1
    for Y in 0 to 7 loop
2
       for X in 0 to 7 loop
3
           value <= value + matrix(X,Y);
4
       end loop;
5
    end loop;

von Josip J. (Company: Ferit) (braticmarduk)


Rate this post
useful
not useful
Lothar M. wrote:
> Josip J. wrote:
>> I just don't know to solve that.
> I don't know what language and what type of array...
>
>> Order activate (0,0), (0,1) ... (0,7), (1,0) ... .. (7,7)?
> Here some code to sum up the matrix values in VHDL:
>
1
>     for Y in 0 to 7 loop
2
>        for X in 0 to 7 loop
3
>            value <= value + matrix(X,Y);
4
>        end loop;
5
>     end loop;
6
>

VHDL and E2LP

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.