Nios® II Software Developer Handbook

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

8.8.5.2.1. Creating and Naming the Driver or Package

The first command in any driver or software package Tcl script must be the create_driver or create_sw_package command. The remaining commands can be in any order. Use the appropriate create command only once per Tcl file. Choose a unique driver or package name. For drivers, Intel FPGA recommends appending _driver to the associated hardware class name. The following example illustrates this convention:

create_driver my_custom_component_driver