Nios® II Software Developer Handbook

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

8.8.5.1. Example Device Driver File Hierarchy and Naming

For a reference in creating your own driver or software Tcl files, you can also view the driver and software package Tcl scripts included with the Nios® II EDS and the IP core IP library. These scripts are in the < Nios® II EDS install path> /components and <IP core IP library install path> /sopc_builder_ip folders, respectively.
Figure 21. Example Device Driver File Hierarchy and Naming
Note: "inc" - Contains header file(s) that define the device hardware interfaces. Contents in this directory are not HAL-specific and apply to a driver, regardless of whether it is based on the HAL, MicroC/OS-II, or any other RTOS environment.
Note: "HAL" - Contains software files required to integrate the device with the Nios® II hardware abstraction layer. Files in this directory pertain specifically to the HAL.