7.7.6. Altera® FPGA Logging Functions
When Altera® FPGA logging is enabled, your software can print extra messages to a specified port with HAL function calls. The logging port, specified in the BSP, can be a UART or a JTAG UART device. In its default configuration, Altera® FPGA logging prints out boot messages, which trace each step of the boot process.
Several logging options are available, controlled by C preprocessor symbols. You can also choose to add custom logging messages.
Altera® FPGA logging changes system behavior. The logging implementation is designed to be as simple as possible, loading characters directly to the transmit register. It can have a negative impact on software performance.
Altera® FPGA logging functions are conditionally compiled. When logging is disabled, it has no impact on code footprint or performance.