Nios® V Processor Software Developer Handbook

ID 743810
Date 5/26/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.44. is_memory_device

Usage

is_memory_device <slave_desc>

Options

  • <slave_desc>: String with the slave descriptor to query.

Description

Returns a boolean value that indicates whether the slave descriptor is a memory device.

Examples

  • Example 1:puts [is_memory_device jtag_uart]

    Returns:0

  • Example 2:puts [is_memory_device onchip_ram_64_kbytes]

    Returns:1