Altera Video and Image Processing Suite User Manual

Page 277

Advertising
background image

Figure A-4: tb.v Netlist

2. Run the test by changing to the example video files test or example constrained random test directory

and start the QuestaSim

software.

Note: You can also run this test with the ModelSim

®

software but this test does not support the

ModelSim-Altera Edition (AE) or ModelSim-Altera Starter Edition (ASE) softwares.

• 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

Note: 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.

UG-VIPSUITE

2015.05.04

Running the Tests

A-9

Avalon-ST Video Verification IP Suite

Altera Corporation

Send Feedback

Advertising