Sign in

username:

password:



Not a member?

Search adsp



Search tips

Subscribe to adsp



adsp by Keywords

AD1819 | AD7332 | ADSP-2106 | ADSP-21060 | ADSP-21065L | ADSP-2116 | ADSP-21160M | ADSP-2181 | ADSP-218x | ADSP-219 | ADSP-2199 | ADSP219 | BF531 | BF532 | BF533 | BF535 | Blackfin | FFT | JTAG | LDF | SDRAM | SHARC | SPORT | UART | VDSP++ | VisualDSP

Discussion Groups

Discussion Groups | Analog Devices DSPs | sdram - write operation takes different cycles for execution for each emu-build

Technical discussions related to Analog Devices DSPs (including Blackfin, TigerSHARC, SHARC and ADSP-21xx DSPs).

  

Post a new Thread

sdram - write operation takes different cycles for execution for each emu-build - guessme_prs - Apr 25 6:56:45 2008



I have a small piece of code which writes data into sdram memory in a 
loop. I always reinitialize the CYCLES as zero before this operation 
and then right after the write loop, I store the CYCLES value into 
memory. If the data buffer which I am accessing is in L1 memory, it 
gives the same CYCLE value for every re-build and re-run, but its never 
consistent for SDRAM. 

Working on EZ-KIT. 

My code is something like this, written in ASM : 

CYCLES = zero. 
WRITE DATA INTO SDRAM IN A LOOP (BUFFER SIZE = LOOP SIZE = 5000).  
cycle_count = CYCLES. 

The above variable cycle_count gives different valeus for each builds! 

------------------------------------



(You need to be a member of adsp -- send a blank email to adsp-subscribe@yahoogroups.com )