User guide

Altera Corporation 13
Getting Started EPXA1 Development Kit Getting Started User Guide
In this example, the compiler library functions printf() and scanf()
interface to a terminal window by utilizing the fputc (send a character)
and fgetc (receive a character) functions to use the EPXA1 stripe UART.
Printf() is used for displaying characters to a terminal window and scanf()
is used to receive characters from a terminal keyboard.
The Hello World project has the following directory structure:
\ads
\Debug
\Release
\software
\gnu
\Debug
\Release
\software
\common
\rtl
The following general points apply to the directories:
The ads directory contains the Quartus project files, top-level
hardware design, and software startup files that are specific to the
ADS tools.
The gnu directory contains the Quartus project files, top-level
hardware design, and software startup files that are specific to the
GNU tools.
The common directory contains C programs that are used by both the
ADS and GNU tools.
The rtl directory contains Verilog HDL files of the slave peripheral