Nios® V Processor Software Developer Handbook

ID 743810
Date 2/14/2023
Public

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

Document Table of Contents

12.5.2.51. set_driver

Usage

set_driver <driver_name> <module_name>

Options

  • <driver_name>: String with the name of the device driver to use.
  • <module_name>: String with the name of the module instance to set.

Description

Selects the specified device driver for the specified module instance. The <driver_name> argument includes a version number, delimited by a colon (:). If you omit the version number, set_driver uses the latest available version of the driver that is compatible with the component specified by the <module_name> argument.

If <driver_name> is none, the specified module instance does not use a driver. If <driver_name> is not none, it must be the name of the associated component class.

Examples

  • Example 1:set_driver altera_avalon_jtag_uart_driver:7.2 jtag_uart
  • Example 2:set_driver none jtag_uart