Nios II Classic Software Developer’s Handbook

ID 683282
Date 5/14/2015
Public
Document Table of Contents

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