AR# 21639: 12.1 EDK - How do I divide the ".text" section of the three different ".text" file sections on different memories in Linker script?
AR# 21639
|
12.1 EDK - How do I divide the ".text" section of the three different ".text" file sections on different memories in Linker script?
描述
How do I divide the ".text" section of the three different ".text" file sections on different memories?
解决方案
****************************************************************************** * * Divided Instruction sides on Different Memories LINKER SCRIPT * * This linker script divide 3 different files .text sections on different * memories (one internal bram, and one external ddr). This is done to run * critical instructions on BRAM in order to speed it up. * * NOTE: Make sure you have set "-save-temps" compiler option for getting * object files. * * ***************************************************************************** * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *****************************************************************************/