Nios® V Processor Software Developer Handbook

ID 743810
Date 7/08/2024
Public

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

Document Table of Contents

5.6.1. Top Level Tcl Script for BSP Defaults

The top level Tcl script for setting BSP defaults is bsp-set-defaults.tcl. This script specifies BSP system-dependent settings, which depend on the hardware system. Both the BSP Editor and niosv-bsp utilities call the default Tcl script.

The default Tcl script consists of a top-level Tcl script named bsp-set-defaults.tcl plus the helper Tcl scripts listed in the Default Tcl Script Components table. The helper Tcl scripts do the real work of examining the processor subsystem and choosing appropriate defaults.

The bsp-set-defaults.tcl script sets the following defaults:
  • stdio character device (bsp-stdio-utils.tcl)
  • System timer device (bsp-timer-utils.tcl)
  • Default linker memory regions (bsp-linker-utils.tcl)
  • Default linker sections mapping (bsp-linker-utils.tcl)
  • Default bootloader settings (bsp-bootloader-utils.tcl)
  • Default instruction-related exception settings (bsp-exception-utils.tcl)