Nios® V Processor Software Developer Handbook

ID 743810
Date 10/12/2024
Public
Document Table of Contents

16.5.2.1. add_memory_device

Usage

add_memory_device <device name> <base address> <span>

Options

  • <device name>: String with the name of the memory device.
  • <base address>: The base address of the memory device. Hexadecimal or decimal string.
  • <span>: The size (span) of the memory device. Hexadecimal or decimal string.

Description

This command is provided to define a user-defined external memory device, outside the hardware system. Such a device would typically be mapped through a bridge component. This command adds an external memory device to the BSP's memory map, allowing the BSP to define memory regions and section mappings for the memory as if it were part of the system. The external memory device parameters are stored in the BSP settings file.