- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I used MegaWizard to create a mixed width dual port RAM module with the following configuration:
Port A: 8x256 Port B: 32x64 Single Clock When I simulate the module in ModelSim, everything looks great, but when I program my FPGA, I can only access up to address 0x7F on Port A. Addresses at 0x80 and above that seem to wrap around to address range starting from 0x20. I've checked the fitter report, and it shows that the RAM was implemented as defined (Implementation Bits = 2048). I'm wondering if I'm missing something obvious.Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Found out what the issue was; clock domain synchronization 101. The signals from the microcontroller at RAM port A were not synchronized to local FPGA clock. Added synchronizers are everything works now. Signal Tap is awesome, by the way.
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