EmbDev.net

Forum: FPGA, VHDL & Verilog Matrix Display


Author: Josip J. (Company: Ferit) (braticmarduk)
Posted on:

Rate this post
0 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.

Author: Lothar M. (lkmiller) (Moderator)
Posted on:

Rate this post
0 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:
    for Y in 0 to 7 loop
       for X in 0 to 7 loop
           value <= value + matrix(X,Y);
       end loop;
    end loop;

Author: Josip J. (Company: Ferit) (braticmarduk)
Posted on:

Rate this post
0 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:
>
>     for Y in 0 to 7 loop
>        for X in 0 to 7 loop
>            value <= value + matrix(X,Y);
>        end loop;
>     end loop;
> 

VHDL and E2LP

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [vhdl]VHDL code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.