TREX C1 DEVELOPMENT KIT
iii
CHAPTER 7 LAB 4: CD-QUALITY MUSIC BOX.....................................................................................................37
7-1
L
OAD
A
NOTHER
M
USIC
F
ILE TO
P
LAY
F
ROM
F
LASH
............................................................................................37
7-2
P
LAY
M
USIC
F
ROM
8M
BYTE
SDRAM..................................................................................................................37
7-3
D
ETAILS OF THE
A
UDIO
DAC
C
ONTROLLER
.........................................................................................................39
7-4
A
R
EFERENCE
D
ESIGN
:
1KH
Z
S
OUND
G
ENERATOR
............................................................................................40
7-5
H
OW TO
C
REATE
Y
OUR
O
WN
M
USIC
R
AW
D
ATA
.................................................................................................40
CHAPTER 8 LAB 5: NTSC/PAL TV CONTROLLER ..............................................................................................42
8-1
YC
R
C
B AND
C
OMPONENT
D
IGITAL
V
IDEO
............................................................................................................42
8-2
TV
L
AB
-
NTSC/PAL
TV
C
OLOR
P
ATTERN
G
ENERATOR
.....................................................................................43
CHAPTER 9 INTERFACES AND ASSOCIATED TESTING CODE......................................................................45
9-1
50
M
HZ AND
27
M
HZ
O
SCILLATORS
.....................................................................................................................45
9-2
LED1
-
LED8........................................................................................................................................................45
9-3
8
P
USH
-B
UTTON
S
WITCHES
:
KEY[7]
TO
KEY[0] ................................................................................................45
9-4
7-SEG
D
ISPLAY
....................................................................................................................................................46
9-5
VGA
DAC.............................................................................................................................................................47
9-6
A
UDIO
DAC...........................................................................................................................................................48
9-7
PS2
&
RS-232
I
NTERFACE
..................................................................................................................................48
9-8
V
IDEO
E
NCODER
(NTSC/PAL
TV
O
UT
)
-
L
AB
5..................................................................................................49
9-9
DIP
S
WITCH
..........................................................................................................................................................50
9-10
SDRAM
I
NTERFACE
...........................................................................................................................................50
9-11
F
LASH
M
EMORY
..................................................................................................................................................51
9-12
C
OMPACT
F
LASH
C
ARD
......................................................................................................................................52
9-13
E
XPANSION
C
ONNECTORS
(JP1,
JP2) ..............................................................................................................55
CHAPTER 10 RS-232 VERSION OF THE TREX CONTROL PANEL..................................................................57
10-1
C
ONNECT
PC
TO THE
B
OARD USING
RS232.....................................................................................................57
10-2
C
ONTROL THE
B
OARD
U
SING
RS232
V
ERSION OF
TREX
P
ANEL
....................................................................57
10-3
T
HE
C++
S
OURCE
C
ODE
....................................................................................................................................58
CHAPTER 11 LAB 8: NIOS II 5.0 CORE ..................................................................................................................59
11-1
L
OAD
NIOS
II
5.0
ON
TREX
C1.........................................................................................................................59
11-2
R
UNNING
NIOS
II
ON
TREX
C1.........................................................................................................................60
CHAPTER 12 APPENDIX............................................................................................................................................63
12-1
R
EVISION
H
ISTORY
.............................................................................................................................................63
12-2
TREX
CD-ROM
D
IRECTORY
S
TRUCTURE AND
R
EFERENCE
D
ESIGNS
............................................................63
12-3
S
CHEMATIC
.........................................................................................................................................................64
12-4
A
LWAYS
V
ISIT
TREX
C1
W
EBPAGE FOR
N
EW
L
ABS
.........................................................................................64