Specifications

The Main Tab on page 2-15
Embedded Peripherals IP User Guide
For more information about Altera components.
The Linker Script Tab
The Linker Script tab allows you to view available memory in your hardware system, and examine and
modify the arrangement and usage of linker regions in memory.
When you make a change to the memory configuration, the SBT validates your change.
Note: Rearranging linker regions and linker section mappings can have a very significant impact on BSP
behavior.
Related Information
The Problems Tab on page 2-19
If there is a problem, a message appears in the Problems tab in the console area.
Linker Section Mappings
At the top of the Linker Script tab, the Linker Section Mappings table shows the mapping from linker
sections to linker regions. You can edit the BSP linker section mappings using the following buttons
located next to the linker section table:
Add—Adds a linker section mapping to an existing linker region. The Add button opens the Add
Section Mapping dialog box, where you specify a new section name and an existing linker region.
Remove—Removes a mapping from a linker section to a linker region.
Restore Defaults—Restores the section mappings to the default configuration set up at the time of BSP
creation.
Linker Regions
At the bottom of the Linker Script tab, the Linker Memory Regions table shows all defined linker
regions. Each row of the table shows one linker region, with its address range, memory device name, size,
and offset into the selected memory device.
You reassign a defined linker region to a different memory device by selecting a different device name in
the Memory Device Name column. The Size and Offset columns are editable. You can also edit the list of
linker regions using the following buttons located next to the linker region table:
Add—Adds a linker region in unused space on any existing device. The Add button opens the Add
Memory Region dialog box, where you specify the memory device, the new memory region name, the
region size, and the region's offset from the device base address.
Remove—Removes a linker region definition. Removing a region frees the region's memory space to
be used for other regions.
Add Memory Device—Creates a linker region representing a memory device that is outside the
hardware system. The button launches the Add Memory Device dialog box, where you can specify the
device name, memory size and base address. After you add the device, it appears in the linker region
table, the Memory Device Usage Table dialog box, and the Memory Map dialog box. This function‐
ality is equivalent to the add_memory_device Tcl command.
Note:
Ensure that you specify the correct base address and memory size. If the base address or size of an
external memory changes, you must edit the BSP manually to match. The SBT does not automati‐
cally detect changes in external memory devices, even if you update the BSP by creating a new
settings file.
NII5V2
2015.05.14
The Linker Script Tab
2-17
Getting Started with the Graphical User Interface
Altera Corporation
Send Feedback