Hi,
I have a question regarding C64x EMIF interconnection with SDRAM.
Infact we had been using EVMDM642 for long time, when we finalized our algorithms of video compression, our company decided to make a custom board.
However I have mistakenly connected the Byte-Enable Pins BE[7:0] of EMIF with DQM[7:0] of SDRAM in wring order in my PCB.
The correct order of assignment is
BE[0]# of DSP ====> DQM[0] of SDRAM for Data[7:0]
BE[1]# of DSP ====> DQM[1] of SDRAM for Data[15:8]
BE[2]# of DSP ====> DQM[2] of SDRAM for Data[23:16]
BE[3]# of DSP ====> DQM[3] of SDRAM for Data[31:24]
BE[4]# of DSP ====> DQM[4] of SDRAM for Data[39:32]
BE[5]# of DSP ====> DQM[5] of SDRAM for Data[47:40]
BE[6]# of DSP ====> DQM[6] of SDRAM for Data[55:48]
BE[7]# of DSP ====> DQM[7] of SDRAM for Data[63:56]
It has been shown in the figure below
However I mistakenly connected it that way, i.e in incorrect sequence.
BE[0] of DSP =====> DQM[2] of SDRAM
BE[1] of DSP =====> DQM[3] of SDRAM
BE[2] of DSP =====> DQM[1] of SDRAM
BE[3] of DSP =====> DQM[0] of SDRAM
BE[4] of DSP =====> DQM[7] of SDRAM
BE[5] of DSP =====> DQM[6] of SDRAM
BE[6] of DSP =====> DQM[5] of SDRAM
BE[7] of DSP =====> DQM[4] of SDRAM
it has been shown below.
Now I have received my custom boards and started using it, I used the seetings for 64 Bit EMIF in EMIF registers and related GEL settings.
I noticed that when I write data in 8-Bit (unsigned char), or 16-Bit (short), or 32-Bit (int) arrays, and simultaneously read it back, I get the correct data, i.e. no anomoly.
morever my small software test applications are correctly loading in the SDRAM and executing, even debug mode break points are correctly working.
Can anyone tell me why is it happening, shouldn't it be getting crashed ?
Is there any hidden (horrible) aspect that I had to face with this incorrect assignment scheme later on, or is it all fine with it ?
I want it to know coz my actual software and future software upgrades would be using extensive video processing with Cache Enabled.
Actually I put a lot of concentration on Signal Integrity Aspects of PCB Design, but forgot to take care of this pin assignment, my Bad Luck :-(
I will be very thankful for any reply, otherwise I will be getting fired from the company with "great" honour :-(
...
Looking for any positive response,
Regards