English
Language : 

P0103 Datasheet, PDF (29/50 Pages) AEL Crystals Ltd – Introduction of the VEEK-MT
Note: execute the test.bat under Painter\demo_batch will automatically download the .sof
and .elf file.
4.4 Picture Viewer
This demonstration shows a simple picture viewer implementation using Nios II based QSYS
system. It reads JPEG images stored on SD Card and displays them on the LCD. The Nios II CPU
decodes the images and fills the raw result data into frame buffers in SDRAM. The VEEK-MT will
show the image the buffer being displayed points to. When users touch the LCD Touch Panel, it will
proceed to display the next buffered image or last buffered image. Figure 4-7 shows the block
diagram of this demonstration.
The Nios II CPU here takes a key roll in the demonstration. It is responsible of decoding the JPEG
images and coordinates the works of all the peripherals. The touch panel handling program uses the
timer as a regular interrupter and periodically updates the pen state and sampled coordinates.
Figure 4-7 Block diagram of the picture viewer demonstration
 Demonstration Source Code
 Project directory: Picture_Viewer
 Bit stream used: Picture_Viewer.sof
 Nios II Workspace: Picture_Viewer\Software
 Demonstration Batch File
VEEK-MT User Manual
26
www.terasic.com
May 20, 2014