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

📄 third.ldf

📁 本人自己编写的AD公司开发环境下的矩阵转换程序。
💻 LDF
字号:
ARCHITECTURE(ADSP-21062)

//
// ADSP-21062 Memory Map:
//   ------------------------------------------------
//   Internal memory  0x0000 0000 to 0x0007 ffff
//   ------------------------------------------------
//                    0x0000 0000 to 0x0000 00ff  IOP Regs
//                    0x0000 0100 to 0x0001 ffff  (reserved)
//           Block 0  0x0002 0000 to 0x0002 7fff  Normal Word (32/48) Addresses
//                   (0x0002 0000 to 0x0002 4fff) 48-bit words
//                   (0x0002 0000 to 0x0002 7fff) 32-bit words
//           Block 1  0x0002 8000 to 0x0002 ffff  Normal Word (32/48) Addresses
//                   (0x0002 8000 to 0x0002 cfff) 48-bit words
//                   (0x0002 8000 to 0x0002 ffff) 32-bit words
//  alias of Block 1  0x0003 0000 to 0x0003 7fff  Normal Word (32/48) Addresses
//  alias of Block 1  0x0003 8000 to 0x0003 ffff  Normal Word (32/48) Addresses
//           Block 0  0x0004 0000 to 0x0004 ffff  Short Word (16) Addresses
//           Block 1  0x0005 0000 to 0x0005 ffff  Short Word (16) Addresses
//  alias of Block 1  0x0006 0000 to 0x0006 ffff  Short Word (16) Addresses

//  alias of Block 1  0x0007 0000 to 0x0007 ffff  Short Word (16) Addresses
//   ------------------------------------------------
//   Multiproc memory 0x0008 0000 to 0x003f ffff
//   ------------------------------------------------
//                    0x0008 0000 to 0x000f ffff  SHARC ID=001 Internal memory
//                    0x0010 0000 to 0x0017 ffff  SHARC ID=010 Internal memory
//                    0x0018 0000 to 0x001f ffff  SHARC ID=011 Internal memory
//                    0x0020 0000 to 0x0027 ffff  SHARC ID=100 Internal memory
//                    0x0028 0000 to 0x002f ffff  SHARC ID=101 Internal memory
//                    0x0030 0000 to 0x0037 ffff  SHARC ID=110 Internal memory
//                    0x0038 0000 to 0x003f ffff  SHARC ID=all Internal memory
//   ------------------------------------------------
//   External memory  0x0040 0000 to 0xffff ffff
//   ------------------------------------------------

SEARCH_DIR( $ADI_DSP\21k\lib)

$LIBRARIES = lib060.dlb ;

$OBJECTS = $COMMAND_LINE_OBJECTS  ;

//MAP(DFT.map)


//  Memory architecture description for DFT 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(0x00020004) END(0x00020009) WIDTH(48) }
	pm_code { TYPE(PM RAM) START(0x00020100) END(0x000207ff) WIDTH(48) }
	pm_data { TYPE(PM RAM) START(0x00023000) END(0x00027fff) WIDTH(32) }
	
	dm_data { TYPE(DM RAM) START(0x00028000) END(0x000287ff) 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 + -