⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fir.ldf

📁 dsp程序:fir滤波器设计
💻 LDF
字号:

ARCHITECTURE(ADSP-21160)

//
// ADSP-21160 Memory Map:
//   ------------------------------------------------
//   Internal memory  0x0000 0000 to 0x000f ffff
//   ------------------------------------------------
//                    0x0000 0000 to 0x0000 0?ff  IOP Regs
//                    0x0000 0?00 to 0x0001 ffff  (reserved)
//           Block 0  0x0002 0000 to 0x0002 7fff  Long Word (64) Addresses
//           Block 1  0x0002 8000 to 0x0002 ffff  Long Word (64) Addresses
//                    0x0003 0000 to 0x0003 ffff  (reserved)
//           Block 0  0x0004 0000 to 0x0004 ffff  Normal Word (32/48) Addresses
//           Block 1  0x0005 0000 to 0x0005 ffff  Normal Word (32/48) Addresses
//                    0x0006 0000 to 0x0007 ffff  (reserved)
//           Block 0  0x0008 0000 to 0x0009 ffff  Short Word (16) Addresses
//           Block 1  0x000a 0000 to 0x000b ffff  Short Word (16) Addresses
//                    0x000c 0000 to 0x000f ffff  (reserved)
//   ------------------------------------------------
//   Multiproc memory 0x0010 0000 to 0x007f ffff
//   ------------------------------------------------
//                    0x0010 0000 to 0x001f ffff  Hammerhead ID=001 Internal memory
//                    0x0020 0000 to 0x002f ffff  Hammerhead ID=010 Internal memory
//                    0x0030 0000 to 0x003f ffff  Hammerhead ID=011 Internal memory
//                    0x0040 0000 to 0x004f ffff  Hammerhead ID=100 Internal memory
//                    0x0050 0000 to 0x005f ffff  Hammerhead ID=101 Internal memory
//                    0x0060 0000 to 0x006f ffff  Hammerhead ID=110 Internal memory
//                    0x0070 0000 to 0x007f ffff  Hammerhead ID=all Internal memory
//   ------------------------------------------------
//   External memory  0x0080 0000 to 0xffff ffff
//   ------------------------------------------------
//
// This architecture file allocates:
//         Internal 256 words of run-time header in memory block 0
//                  256 words of initialization code in memory block 0
//                  36K words of C code space in memory block 0
//                 3.5K words of C PM data space in memory block 0
//                  32K words of C DM data space in memory block 1
//                   8K words of C heap space in memory block 1
//                   8K words of C stack space in memory block 1

SEARCH_DIR( $ADI_DSP\211xx\lib)

$LIBRARIES = lib160.dlb ;

$OBJECTS = $COMMAND_LINE_OBJECTS  ;

//MAP(fir.map)


//  Memory architecture description for fir example on a 21062. 
//     6 48-bit words for interrupt vector table (reset vector location).
//  1792 48-bit words of program memory for code storage.
//  16k  32-bit words of program memory for data storage.
//  2k   32-bit words of data memory for data storage. 
MEMORY
{
	pm_rsti { TYPE(PM RAM) START(0x00040004) END(0x00040009) WIDTH(48) }
	pm_code { TYPE(PM RAM) START(0x00040100) END(0x00040fff) WIDTH(48) }
	pm_data { TYPE(PM RAM) START(0x00043000) END(0x00047fff) WIDTH(32) }
	
	dm_data { TYPE(DM RAM) START(0x00050000) END(0x000507ff) WIDTH(32) }
	
}// End MEMORY


PROCESSOR p0
{
    LINK_AGAINST( $COMMAND_LINE_LINK_AGAINST)	// Other object files to link against.
    OUTPUT( $COMMAND_LINE_OUTPUT_FILE )		// Resulting executable file name.

    SECTIONS
    {
		//  Map the sections specified in the program files to sections declared in 
		//  MEMORY and use these sections to create the object file for processor p0. 
		.pm_rsti
		{
			INPUT_SECTIONS( $OBJECTS(pm_rsti) $LIBRARIES(pm_rsti))
		} >pm_rsti

		.pm_code
		{
			INPUT_SECTIONS( $OBJECTS(pm_code) $LIBRARIES(pm_code))
		} >pm_code

		.pm_data	
		{
			INPUT_SECTIONS( $OBJECTS(pm_data) $LIBRARIES(pm_data))
		} >pm_data

		.dm_data
		{
			INPUT_SECTIONS( $OBJECTS(dm_data) $LIBRARIES(dm_data))
		} >dm_data
		
    }// End SECTIONS
} // End p0

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -