Nios® II Software Developer Handbook

ID 683525
Date 8/28/2023
Public
Document Table of Contents

16.5.2.17. get_current_memory_regions

Usage

get_current_memory_regions

Options

None

Description

Returns a sorted list of records representing the existing linker script memory regions. 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_current_memory_regions] Returns: {reset onchip_ram0 0 32} {onchip_ram0 onchip_ram0 32 1048544}