CMD文件都把RAM分成一段一段的,当作一个整体存储不是利用率更高吗?一直没思考过为什么要分段,一直就是这么做。
RAML0 : origin = 0x008000, length = 0x001000 /* on-chip RAM block L0 */
RAML1 : origin = 0x009000, length = 0x001000 /* on-chip RAM block L1 */
RAML2 : origin = 0x00A000, length = 0x001000 /* on-chip RAM block L2 */
RAML3 : origin = 0x00B000, length = 0x001000 /* on-chip RAM block L3 */
user5895546:与cpu的访问速度有关。
CMD文件都把RAM分成一段一段的,当作一个整体存储不是利用率更高吗?一直没思考过为什么要分段,一直就是这么做。
RAML0 : origin = 0x008000, length = 0x001000 /* on-chip RAM block L0 */
RAML1 : origin = 0x009000, length = 0x001000 /* on-chip RAM block L1 */
RAML2 : origin = 0x00A000, length = 0x001000 /* on-chip RAM block L2 */
RAML3 : origin = 0x00B000, length = 0x001000 /* on-chip RAM block L3 */
fw yang:
回复 user5895546:
内部RAM不是单周期访问的吗?
CMD文件都把RAM分成一段一段的,当作一个整体存储不是利用率更高吗?一直没思考过为什么要分段,一直就是这么做。
RAML0 : origin = 0x008000, length = 0x001000 /* on-chip RAM block L0 */
RAML1 : origin = 0x009000, length = 0x001000 /* on-chip RAM block L1 */
RAML2 : origin = 0x00A000, length = 0x001000 /* on-chip RAM block L2 */
RAML3 : origin = 0x00B000, length = 0x001000 /* on-chip RAM block L3 */
Susan Yang:
If code accesses data within the same physical memory, then performance will degrade due to resource conflicts. It is better to place code and the data it accesses separate blocks.
CMD文件都把RAM分成一段一段的,当作一个整体存储不是利用率更高吗?一直没思考过为什么要分段,一直就是这么做。
RAML0 : origin = 0x008000, length = 0x001000 /* on-chip RAM block L0 */
RAML1 : origin = 0x009000, length = 0x001000 /* on-chip RAM block L1 */
RAML2 : origin = 0x00A000, length = 0x001000 /* on-chip RAM block L2 */
RAML3 : origin = 0x00B000, length = 0x001000 /* on-chip RAM block L3 */
fw yang:
回复 Eric Ma:
我之前看到说是为了提高访问速度,但我想数据总线就这么一条,又不可能同时访问同一块RAM,除非RAM里运行程序