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.20. 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.

Examples

  • Example 1:puts [get_driver jtag_uart]

    Returns:

    altera_avalon_jtag_uart_driver:7.2
  • Example 2:puts [get_driver onchip_ram_64_kbytes]

    Returns:

    none