软件环境:dvr_rdk2.0 dsp-C674x
问题:在dm8168中,将程序完全放入iram中运行和在dsp外部内存中运行,耗时基本一致,why????
在cfg中,iram部分的内存配置如下:
Program.sectMap[".internalHeap"] = "DSP_L2_RAM";
heapMemParams.size = 0x00020000;
heapMemParams.sectionName = ".internalHeap";
var heap1 = HeapMem.create(heapMemParams);
Program.global.DSP_HEAPINT_MEM = heap1;
/* Configure DSKT2 heaps and scratch */
DSKT2.ALLOW_EXTERNAL_SCRATCH = false;
DSKT2.DARAM0 = "DSP_HEAPINT_MEM";
["DSP_L2_RAM", {
comment: "DSP_L2_RAM",
name: "DSP_L2_RAM",
base: 0x10800000,
len: 0x00020000
}],
l1PMode: "32k",
l1DMode: "32k",
l2Mode: "128k"