T-Core
User Manual
36
January 14, 2020
◼
◼
D
D
e
e
m
m
o
o
n
n
s
s
t
t
r
r
a
a
t
t
i
i
o
o
n
n
S
S
o
o
u
u
r
r
c
c
e
e
C
C
o
o
d
d
e
e
•
Quartus Project directory: ADC_RTL
•
Bitstream used: T_CORE.sof
•
Demo Batch File: ADC_RTL\demo_batch\test.bat
◼
◼
D
D
e
e
m
m
o
o
n
n
s
s
t
t
r
r
a
a
t
t
i
i
o
o
n
n
S
S
e
e
t
t
u
u
p
p
•
Make sure Quartus Prime is installed on your PC
•
Connect analog source to the analog input as shown in
Figure 3-10 Connect analog source to the analog input
•
Use the USB Cable to connect your PC and the FPGA board and install USB Blaster II driver if
necessary.
•
Execute the demo batch file “test.bat” from the directory ADC_RTL\demo_batch.
•
Use SW[2:0] to specify measured analog input channel.
•
The measured channel and voltage will be displayed on Signal Tap Logic Analyzer as shown in
In the above steps we use a self-made variable voltage output circuit. It uses the T-Core 3.3V as the
power source, the output voltage is adjusted by the divider resistance and the variable resistor of the
circuit, which can convert the T-Core 3.3V to a 0~2.5V analog input (to the ADC_IN0 channel).