- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm trying to incorporate the SDRAM into a simple nios system. Following the tutorial it says to have a PLL output a clock with a 3ns phase shift to account for delay with respect to the controller however it doesn't work and I get this error
Verifying 00800000 ( 0%) Verify failed between address 0x800000 and 0x800697 Leaving target processor paused Possible causes for the SREC verification failure: 1. Not enough memory in your Nios II system to contain the SREC file. 2. The locations in your SREC file do not correspond to a memory device. 3. You may need a properly configured PLL to access the SDRAM or Flash memory. I looked at the SDRAM controller document to find the way to calculate the timing window and calculate the right phase shift -From the SDRAM datasheet(IS42S83200B) Toh= 2.7ns & Tdh= 1ns -From the classic time analyzer running with a 50Mhz clock no PLL Th_max= 1.512ns & Tco_min=5.07ns Read Lag = tOH(SDRAM) – tH_MAX(FPGA)= 1.188ns Read Lead= tCO_MIN(FPGA) – tDH(SDRAM)= 4.05ns Then my phase shift comes out to 2.862ns It still doesn't work, what might be my problem?? I've tried many combinations and tried both SDRAMs but still get the same error, help please!! ThanksLink Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- to have a PLL output a clock with a 3ns phase shift to account for delay with respect to the controller however it doesn't work and I get this error --- Quote End --- The clock for the SDRAM should LEAD with respect to the FPGA clock. The phase shift should be NEGATIVE: -3ns . Hope this helps...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, Sorry I meant "-3ns' as well, it doesn't work and i have tried different values like -2.5 and -3.5... My calculated phase shift does come out positive so i don't know if i'm calculating it wrong or what
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