zl程序教程

您现在的位置是:首页 >  后端

当前栏目

统计Codec RAM和ROM方法

统计方法 codec RAM rom
2023-09-11 14:20:41 时间
有二种方法,你试一下
这个也是我2010-03-29工作日志
      2010-03-29: 1) How to accurately get the program memory/Data RAM/Data ROM

      the reference datasheet:

      http://www.spiritdsp.com/datasheets/SPIRIT-iLBC-Speech-Codec-Datasheet.pdf

      VS2005 enable: generate map setting
      RVDS
             IDE: add link compiler optional: enable --map, --symbols,
                                      --list line: ./test.map
      --info totals
  or makefile LFLAGS += 
                  --map  --info totals --symbols --list ./test.map

                  2) Set up YUV2RGB testing project.

      SpiritDSP datasheet include memory size:
      Program memory    --- code size (bss + text) 
      Constant memory   --- RO data
      Dybanic memory    --- RW data (heap malloc size)
      Scratch memory  

      Stack memory --- RVDS can statistics the size