Nios® V Processor Software Developer Handbook

ID 743810
Date 10/02/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

13.5.2.54. update_memory_region

Usage

update_memory_region <name> <slave_desc> <offset> <span>

Options

  • <name>: String with the name of the memory region to update.
  • <slave_desc>: String with the slave descriptor of the memory device for this region.
  • <offset>: String with the byte offset of the memory region from the memory device base address.
  • <span>: String with the span of the memory region in bytes.

Description

Updates an existing memory region for the linker script. This memory region must not overlap with any other memory region and must be within the memory range of the associated slave descriptor. The offset and span are decimal numbers unless prefixed with 0x.

Example

update_memory_region onchip_ram0 onchip_ram0 0 0x100000