Nios® II Software Developer Handbook

ID 683525
Date 8/28/2023
Public
Document Table of Contents

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