请教:1。C6743片内RAM只有L2可用吗?2 。L1上电之后 默认为Cache模式,搞不懂Cache怎么用??3 L2是只有128K还是256K吗?手册上写的L2有两段地址,分别是128K的
还有怎么感觉C6743可用的片内RAM比C6726 512K的还小呢?还是我没弄懂6743 RAM的真正用处,,,,C6726都不用外部存储器即可放较大的程序,43的是不是得靠外部存储器呢??
求解答,谢谢
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
请教:1。C6743片内RAM只有L2可用吗?2 。L1上电之后 默认为Cache模式,搞不懂Cache怎么用??3 L2是只有128K还是256K吗?手册上写的L2有两段地址,分别是128K的
还有怎么感觉C6743可用的片内RAM比C6726 512K的还小呢?还是我没弄懂6743 RAM的真正用处,,,,C6726都不用外部存储器即可放较大的程序,43的是不是得靠外部存储器呢??
求解答,谢谢
cache在dsp的作用,类似于cpu中的缓存。主要是解决CPU(速度快)和内存(速度慢)之间速度不匹配的问题。具体可参考这里:
Why Use Cache
From a DSP application perspective, a large amount of fast on-chip memory
would be ideal. However, over the past years the performance of processors
has improved at a much faster pace than that of memory. As a result, there is
now a performance gap between CPU and memory speed. High-speed
memory is available but consumes much more size and is more expensive
compared with slower memory.
Consider the flat memory architecture shown on the left in Figure 1–1. Both
CPU and internal memory are clocked at 300 MHz such that no memory stalls
occur. However for accesses to the slower external memory, there will be CPU
stalls. If the CPU clock was now increased to 600 MHz, the internal memory
could only service CPU accesses every two CPU cycles and the CPU would
stall for one cycle on every memory access. The penalty would be particularly
large for highly optimized inner loops that may access memory on every cycle.
In this case, the effective CPU processing speed would approach the slower
memory speed. Unfortunately, today’s available memory technology is not
able to keep up with increasing processor speeds, and a same size internal
memory running at the same CPU speed would be far too expensive.
您好,谢谢您耐心的回答,,我是想问:求正弦值为10000次时,编译出现问题,说内存不足(当为1000没问题)can't allocate .far ,size 00027540 in DSPRAM,所以我想把.text段分配到SDRAM中,但是程序(主程序中有SDRAM初始化的程序)一运行就跑飞啦,我在想是不是应该提前把SDRAM初始化好才能将.text段分配到SDRAM中????
for (i=0;i<N;i++)
{
x[Rxhead]=pi*i/180; //将角度转换为弧度
y[Rxhead]=sin(x[Rxhead]); //计算正弦值
Rxhead=Rxhead+1;
}