If the VGA D-SUB connector is connected to a VGA display, it would show a color
picture.
If the stereo line-out jack is connected to a speaker and KEY[1] is pressed, a 1 kHz
humming sound will come out of the line-out port .
For the ease of execution, a demo_batch folder is provided in the project. It is able to
not only load the bit stream into the FPGA in command line, but also program or
erase .jic file to the EPCQ by executing the test.bat file shown in Figure 5-1.
If users want to program a new design into the EPCQ device, the easiest method is to
copy the new .sof file into the demo_batch folder and execute the test.bat. Option “2”
will convert the .sof to .jic and option”3” will program .jic file into the EPCQ device.
Figure 5-1 Command line of the batch file to program the FPGA and EPCQ device
5
5
.
.
2
2
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 on DE1-SoC board with
the built-in audio CODEC chip. It is developed based on Qsys and Eclipse. Figure 5-2 shows the
buttons and slide switches used to interact this demonstration onboard. Users can configure this
audio system through two push-buttons and four slide switches:
SW0 is used to specify the recording source to be Line-in or MIC-In.
SW1, SW2, and SW3 are used to specify the recording sample rate such 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.
Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.