DSPRelated.com
Forums

Why there is a huge difference b/w cycle count on simulator and Kit (10]

Started by chandresh March 2, 2006
Hello,

I am using EZ-kit lite BF-533 and visualDSP++ 4.0.

I am trying to visualize the effect of placing memory sections in internal
and external memroy and the effect of cache. I am using project fir_533
(C:\Program Files\Analog Devices\VisualDSP
4.0\Blackfin\Examples\FIR\fir_533) as an example. Now:

1--> When I palce all code and data in internal memory, the cycle count of
function fir_fr16() on cycle accurate simulator and EZ-kit Lite 533 are
approximately same:
    Processor Simulator -- 1799
    EZ-Kit Lite 533     -- 1543
2--> When I place them in external memroy, then cycle count on
    Processor Simulator -- 18112
    EZ-Kit Lite 533     -- 141755
3--> When I place them in external memroy and enable CACHES, then cycle
count on
    Processor Simulator -- 2734
    EZ-Kit Lite 533     -- 14006

I am attaching the code with this mail.
Why there is a huge difference b/w cycle count on simulator and Kit (10
times on EZ-kit)?  Please reply me at the earliest as I am porting a codec
to this platform and everything is placed in external.Cycle count is too
large on EZ-kit lite.

--
rgd - chandresh
"Anyone who says he can see through women is missing a lot"