[Milkymist-devel] Is there any bugs in TMU2?

Sébastien Bourdeauducq sebastien.bourdeauducq at lekernel.net
Wed Feb 24 01:33:02 PST 2010


Hi,

On Wednesday 24 February 2010 07:55:07 FangJacky wrote: 
> and then move v10  right in SPAM_W/4 in pixels, and move v12  left in
>  SPAM_W/4 pixels,  the vertexs arrange as bellow.

Your code line 144 is
spam_vertices[1][3].x = (SPAM_W-SPAM_W/4) << TMU_FIXEDPOINT_SHIFT;
I think you meant:
spam_vertices[1][2].x = (SPAM_W-SPAM_W/4) << TMU_FIXEDPOINT_SHIFT;

(second index should be 2, not 3).

But even after this fix, there is still a problem with the upper-left square. 
I'll look at it, but you can also try to reproduce the problem and get more 
information by using the test bench (cores/tmu2/test).

Sébastien


More information about the Devel mailing list