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!
sdram - write operation takes different cycles for execution for each emu-build
Started by ●April 25, 2008