Fixing odd memory errors.


Recommended Posts


I was having all sorts of random bad pixels in my frame buffer. Some build would be fine, others would have a lot of bad pixels.

Turns out that some of my signals weren't being packed into the I/O buffers, and were being fed from  FPGA fabric. Turning on "Pack I/O Registers/Latches into IOBs" in the mapping properties fixed this.

Hope it helps somebody!


Link to comment
Share on other sites

Two comments:

Comment One:

Yes, always pack outputs on IOB. But make sure all outputs are synchronous.

Comment Two:

I don't, cause I can't :) That kills my timing for the PPS stuff [every output is a huge muxer], so only core things [like VGA, SPI flash] are packed. Also, if you are reading from IOB make sure you properly sample your stuff and avoid metastability (add a latch+FF or two FF). Will delay signal, but signal will come out clean.

And Comment Three:

You made it again to Hack-a-Day, congratulations :)


Link to comment
Share on other sites

  • 2 months later...
Guest monkeydoo

I'm going to try for another...

I got my FPGA board transmitting morse code 'SOS' on 25MHz with no added hardware, just a few lengths of wire.

Cool.  Now the killjoy part.  In realitity the output will be spectrally horrible.  Consider at the very least a low pass to attenuate all those nasty harmonics.  You will be " spewing "  garbage all over the spectrum :)

I know people who communicate all over the world with little more than a crystal oscillator and a length of wire !

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.