User guide

Table Of Contents
A–10 Appendix A: Avalon-ST Video Verification IP Suite
Types of Example Test Environment
Video and Image Processing Suite January 2013 Altera Corporation
User Guide
7. Run the test by changing to the example video files test or example constrained
random test directory and start the QuestaSim
software:
For example video files test:
>cd $ALTERA_VIDEO_VERIFICATION/example_video_files
>vsim –do run.tcl
For constrained random test:
>cd $ALTERA_VIDEO_VERIFICATION/example_constrained_random
>vsim –do run.tcl
1 To run with other simulators, edit the run.tcl file as provided by Qsys (including the
appropriate TCL script for that vendor’s simulator). The test runs and completes with
the following message:
“Simulation complete. To view resultant video, now run the windows
raw2avi application.”
The example video files test produces a raw output video file (vip_car_out.raw).
Together with an .spc file (vip_car_out.spc), you can use the vip_car_out.raw to
generate an .avi file for viewing. To generate the .avi file, open a DOS command
prompt from a Windows machine and run the following convertor utility:
C:>raw2avi.exe vip_car_out.raw video.avi
You can view the video.avi file with a media player. The media player shows a
greyscale version of the source video file (vip_car_0.avi) that you can also play to see
the full color video. You can view the full sequence from which the clip is taken in the
vip_car.avi file.