27
Demonstration Source Code
Project directory: tPad_VIP
Bit stream used: tPad_VIP.sof
Nios II Workspace: tPad_VIP\Software
Demonstration Batch File
Demo Batch File Folder: tPad_VIP\demo_batch
The demo batch file includes the following files:
Batch File: tPad_VIP.bat, tPad_VIP_bashrc
FPGA Configure File: tPad_VIP.sof
Nios II Program: tPad_VIP.elf
Demonstration Setup
Connect a DVD player‟s composite video output(yellow plug) to the Video-IN RCA jack(J12)
of the tPad board. The DVD player has to be configured to provide NTSC output or PAL
output
Connect the VGA output of the tPad board to a VGA monitor (both LCD and CRT type of
monitors should work)
Load the bit stream into FPGA (note*)
Run the Nios II and choose tPad_VIP\Software as the workspace. Click on the Run button
(note *)
Press and drag the video frame box will result in scaling the playing window to any size, as
shown in
Figure 4-10
Note:
(1).Execute tPad_VIP\demo_batch\tPad _VIP.bat will download .sof and .elf files.
(2).You may need additional Altera VIP suite Megacore license features to recompile the project.
Figure 4-11
illustrates the setup for this demonstration.