- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm having a bizarre issue with the DSP development board (Stratix II S180) and wanted to get some opinions on it. I use the SRAM and sometimes when I compile the project it will work just fine other times it will spit out junk data. Here is what I have gathered: 1. If the read address (any) is tied to a single value it will always produce the correct memory value for that address. Indicating it is not an issue with write. 2. If the read address ever changes it will never produce the correct memory value. Even during consecutive read commands. 3. When it does return a junk value it has many consistent bits. 4. The issue is more common with larger designs. I.E. just running the memory controller works just fine. Any thoughts would certainly be appreciated, this is driving me up the wall. Thanks, NathanLink Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Does your design meet all timing requirements? It looks like a timing issue to me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the input.
My first thought was a timing issue of some sorts. However, I can send a read command for 10 consecutive cycles (i.e. same address and control bits held for ten cycles) and it still behaves the same way. It is a low speed design (70 MHz) so this should meet all timing requirements by a large margin.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This shows that when your signals are stable on a longer period than one read cycle, everything is fine. Timing issues can be an explanation for that.
Could you put some Signaltap probes on the signals and see what's happening?
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page