Nios II Classic Software Developer’s Handbook

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

7.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 MegaCore IP library. These scripts are in the <Nios II EDS install path> /components and <MegaCore IP library install path> /sopc_builder_ip folders, respectively.
Figure 14. 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.