Hi, I am using the Spectrum Digital DSK for C5510 The DSK has 8Mb External SDRAM and 160 K of internal memory. I am running a small saturation function which, given a pointer and length, will saturate the words betn 0-255 Whether the pointer passed is in Internal Memory or External Memory, I keep getting the same number of Instruction cycles (using CCS or clock func). The DSK manual says that External mem has 100 MHz clock which makes it half the speed of the DSP (200 MHz), hence I should expect some slowing down. I tried putting a series of dummy sequence of read/writes at the start of loop but it is still giving identical cycles for both. Here is the code ;ARG1 = PTR ;ARG2 = LENGTH _saturate_to_8bpp_range: MOV T0, BRC0 MOV #255, T0 MOV #0, T1 || RPTBLOCAL LOOPEND-1 MOV *AR0, AC0 MIN T0, AC0 MAX T1, AC0 || MOV AC0,*AR0+ LOOPEND: RET What is happening? Regards Piyush |
External Memory
Started by ●September 8, 2003