On 29/08/10 19:28, Sébastien Bourdeauducq wrote:
On Sunday 29 August 2010 19:54:46 Michael Walle wrote:
i just submitted the model for the mm softusb.
Thanks! The bug does not happen in QEMU - so that's a hardware issue...
Perhaps something to do with the memory controller? Here's what I'd do:
- Use a maximal-length LFSR-type PRNG (or Shrinking Generator PRNG) to
fill the memory with data.
- Reset the PRNG.
- Loop forever, constantly reading that data back and comparing it
against the PRNG value. Ideally the PRNG value should be stored as a
register.
- If a comparison error is detected, print out the timestamp, address,
data expected and data received.
Should be pretty simple to do this in assembler on an LM32...
--
Phil.
[email protected]
http://www.philpem.me.uk/
_______________________________________________
http://lists.milkymist.org/listinfo.cgi/devel-milkymist.org
IRC: #milkym...@freenode
Webchat: www.milkymist.org/irc.html
Wiki: www.milkymist.org/wiki