SoCKit User Manual
53
www.terasic.com
December 1, 2015
Chapter 5
Examples For FPGA
This chapter provides a number of examples of advanced circuits implemented by RTL or Qsys on
the SoCKit board. These circuits provide demonstrations of the major features which connected to
FPGA interface on the board, such as audio, DDR3 and IR receiver. All of the associated files can
be found in the
Demonstrations/FPGA
folder on the SoCKit System CD.
Installing the Demonstrations
To install the demonstrations on your computer:
Copy the directory
Demonstrations
into a local directory of your choice. It is important to ensure
that the path to your local directory contains no spaces – otherwise, the Nios II software will not
work.
Note Quartus II v13 is required for all SoCKit demonstrations to support Cyclone V SoC
device.
5
5
.
.
1
1
A
A
u
u
d
d
i
i
o
o
R
R
e
e
c
c
o
o
r
r
d
d
i
i
n
n
g
g
a
a
n
n
d
d
P
P
l
l
a
a
y
y
i
i
n
n
g
g
This demonstration shows how to implement an audio recorder and player using the SoCKit board
with the built-in Audio CODEC chip. This demonstration is developed based on Qsys and Eclipse.
Figure 5-1
shows the man-machine interface of this demonstration. Two push-buttons and four
slide switches are used for users to configure this audio system: SW0 is used to specify recording
source to be Line-in or MIC-In. SW1, SW2, and SW3 are used to specify recording sample rate as
96K, 48K, 44.1K, 32K, or 8K.
Table 5-1
and
Table 5-2
summarize the usage of Slide switches for configuring the audio recorder and player.