Specifications

Description
Returns a list of lists for all the current section mappings. Each list represents a section mapping with the
format {section_name memory_region}. The order of the section mappings matches their order in the
linker script.
Example
puts [get_current_section_mappings] Returns: {.text onchip_ram0} {.rodata onchip_ram0}
{.rwdata onchip_ram0} {.bss onchip_ram0} {.heap onchip_ram0} {.stack onchip_ram0}
get_default_memory_regions
Usage
get_default_memory_regions
Options
None
Description
Returns a sorted list of records representing the default linker script memory regions. The default linker
script memory regions are the best guess for memory regions based on the reset address and exception
address of the processor associated with the BSP, and all other processors in the system that share
memories with the processor associated with the BSP. Each record in the list represents a memory region.
Each record is a list containing the region name, associated memory device slave descriptor, offset, and
span, in that order.
Example
puts [get_default_memory_regions]
Returns:
{reset onchip_ram0 0 32} {onchip_ram0 onchip_ram0 32 1048544}
get_driver
Usage
get_driver <module_name>
Options
<module_name>: String with the name of the module instance to query.
Description
Returns the driver name associated with the specified module instance. The format is <driver name>
followed by a colon and the version (if provided). Returns the string "none" if there is no driver associated
with the specified module instance name.
NII5V2
2015.05.14
get_default_memory_regions
15-71
Nios II Software Build Tools Reference
Altera Corporation
Send Feedback