Re: Finding the execution time
- From: Ralf Hildebrandt <Ralf-Hildebrandt@xxxxxx>
- Date: Sat, 03 Sep 2005 09:13:24 +0200
a_Conan wrote:
Ok, Patric can you tell me how can I do
for i in 1 to M loop--start from the second row
for k in 0 to (N - i) loop
Matrix_out(i, k) := Matrix_in(i, i + k);
end loop;
for k in 0 to (i - 1) loop
Matrix_out(i, N - k) := Matrix_in(i, i - k - 1);
end loop; end loop;
in RAM to make it synthesizable ?
1st of all: Get knowledge about flipflops, combinational logic and latches. Make yourself familiar with the concept of a state machine - especially a synthesizable state machine in VHDL.
2nd: Think about a data path, on which such an algorithm may be implemented. You need a state machine and inside some states you connect some blocks (registers, arithmetic units...) together. Everything step-by-step, controlled by a state machine.
VHDL may be used like a programming language, but only for simulation purpose. If you want to model real hardware you have to think hardware.
Ralf .
- Follow-Ups:
- Re: Finding the execution time
- From: a_Conan
- Re: Finding the execution time
- References:
- Finding the execution time
- From: a_Conan
- Re: Finding the execution time
- From: Nicolas Matringe
- Re: Finding the execution time
- From: a_Conan
- Re: Finding the execution time
- From: Nicolas Matringe
- Re: Finding the execution time
- From: a_Conan
- Re: Finding the execution time
- From: patrick . melet
- Re: Finding the execution time
- From: a_Conan
- Finding the execution time
- Prev by Date: Re: Finding the execution time
- Next by Date: Read some hex value in a file for test bench
- Previous by thread: Re: Finding the execution time
- Next by thread: Re: Finding the execution time
- Index(es):
Relevant Pages
|