23
Figure 4-7 Block diagram of the picture viewer demonstration
Demonstration Source Code
Project directory: tPad_Picture_Viewer
Bit stream used: tPad_Picture_Viewer.sof
Nios II Workspace: tPad_Picture_Viewer\Software
Demonstration Batch File
Demo Batch File Folder: tPad_Picture_Viewer\demo_batch
The demo batch file includes the following files:
Batch File: tPad_Picture_Viewer.bat, tPad_Picture_Viewer _bashrc
FPGA Configure File: tPad_Picture_Viewer.sof
Nios II Program: tPad_Picture_Viewer.elf
Demonstration Setup
Format your SD Card into FAT16 format
Place the jpg image files to the \jpg subdirectory of the SD Card. For best display result, the
image should have a resolution of 800x600 or the multiple of that
Insert the SD Card to the SD Card slot on the tPad
Load the bitstream into the FPGA on the tPad board