DECA User Manual
78
www.terasic.com
May 22, 2015
Execute the demo batch file “ DECA _TEMP.bat” under the batch file folder, DECA _TEMP
\demo_batch.
After Nios II program is downloaded and executed successfully, the related information will be
displayed in nios2-terminal , shown in
Figure 6-6
.
Figure 6-6 Running results of the Temperature demonstration
6
6
.
.
3
3
P
P
o
o
w
w
e
e
r
r
M
M
o
o
n
n
i
i
t
t
o
o
r
r
The Power Measurement demonstration illustrates how to measure the DECA power consumption
based on the built-in power measure circuit. The power monitor chip INA230 is programmed through
I2C protocol which is implemented in the C code. The I2C pins from power monitor chip are connected
to Qsys System Interconnect Fabric through PIO controllers.
Figure 6-7
shows the block diagram of
this demonstration.