13.07.2015 Views

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>TASKING</strong> <strong>VX</strong>-<strong>toolset</strong> <strong>for</strong> <strong>ARM</strong> <strong>User</strong> <strong>Guide</strong>}section_layout spe:<strong>ARM</strong>:linear // section layout{// section placement statements}// sections are located in address space 'linear'// of core '<strong>ARM</strong>' of processor 'spe'Overview of LSL files delivered by AltiumAltium supplies the following LSL files in the directory include.lsl.LSL filearm_arch.lslarm.lsldefault.lsldevice.lslprocessor.lsltemplate.lslDescriptionDefines the base architecture (<strong>ARM</strong>) <strong>for</strong> all cores.It includes the file arm_arch.lsl and contains a default specification of theexternal memory attached to the target processor.Default LSL file. This file includes the file arm.lsl or device.lsl if__DEVICE_LSL_FILE is defined.This file includes a processor specific LSL file based on the selected processor.See control program option --cpu.Processor specific LSL file with a specification of the external memory attachedto the target processor. It includes the file arm_arch.lsl.This file is used by Eclipse as a template <strong>for</strong> the project LSL file. It includesthe file device.lsl.When you select to add a linker script file when you create a project in Eclipse, Eclipse makes a copy ofthe file template.lsl and names it “project_name.lsl". On the command line, the linker uses the filedefault.lsl, unless you specify another file with the linker option --lsl-file (-d).8.7.4. The Architecture DefinitionAlthough you will probably not need to write an architecture definition (unless you are building your ownprocessor core) it helps to understand the Linker Script Language and how the definitions are interrelated.Within an architecture definition the characteristics of a target processor core that are important <strong>for</strong> thelinking process are defined. These include:• space definitions: the logical address spaces and their properties• bus definitions: the I/O buses of the core architecture• mappings: the address translations between logical address spaces, the connections between logicaladdress spaces and buses and the address translations between buses212

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!