[Milkymist-devel] Is there any bugs in TMU2?
Sébastien Bourdeauducq
sebastien.bourdeauducq at lekernel.net
Tue Mar 2 08:42:20 PST 2010
On Tuesday 02 March 2010 09:52:05 Sébastien Bourdeauducq wrote:
> After simulation, I found the out.png is far away from the supposed, please
> see the out.png and referrence to question.jpg file.
The only problem I see is that some texture coordinates in the upper left
rectangle appear wrong. This is the same problem I've seen on the hardware
with your rpipe.c code - so, in a way it is reassuring that it is easily
reproducible at the RTL and is not some freaky synthesizer bug.
> How can I map the src image into the wanted meshes correctly, thanks.
Can you add $display's in the code and run the simulation to track and fix the
bug yourself?
A good place to start is check that the vertex DMA engine (stage 1 in the
pipeline) reads the correct coordinates for the upper left rectangle (first
one that is sent down the pipeline).
See tmu2.pdf for a description of the pipeline and its handshake signals.
You'll also want to use a smaller picture, this one will generate too many
transactions - resulting in big simulation logs which are a pain to crawl
through and long simulation times.
Sébastien
More information about the Devel
mailing list