Xilinx UG4153 manual Verification Notes, …and the expected output reference file

Page 25

R

Verification Notes

The command line in the batch script invokes the following processes in this order:

1.A DOS window is spawned.

2.A Perl script (MotionEstimation_Verification.pl) is called, which sets up the required test(s) in order with the appropriate parameters.

This Perl script calls functions in the general-purpose test bench support module that runs the reference code:

\Software\ArchC_Rev3\bin\lencod.exe

3.The executable uses the video sequences in \InputSequences as input.

4.This code generates the stimulus files:

\Verification\MotionEstimation\Level1\Testxx\stimuli\MotionEstimation_

...in.txt

…and the expected output reference file:

\Verification\MotionEstimation\Level1\Testxx\ MotionEstimation_...out.x

5.ModelSim is then called in batch mode (no GUI is invoked with the release) which generates the HW simulation output file:

\Verification\MotionEstimation\Level1\Testxx\ MotionEstimation_...out.txt

6.This file is then compared to the reference output file generated previously and a DOS report given. The results are also summarized in:

\Verification\MotionEstimation\ EncoderVerification_Summary_Level1.txt

Note: The whole process takes some time. For QCIF (176 x 144), it should take at least a 15 minutes to run two frames on a modern laptop. This time increases for tests that bring extra complexity into the stimulus generation, for example, formats with increased frame size, main and high profile settings, etc.

Verification Notes

When test number is set to 0 in the batch script file, all tests are run in sequence from 1 to

10.When doing this, by default, all tests are run regardless of whether they have been run in the past. If some tests have already been run, but some others have not been run or their results deleted, then the user may wish to run only the remaining tests. The user can do this by editing the MotionEstimation_Verification.pl script, commenting out the line:

$ForceRegenerateAll = "1";

Use ‘#’ to comment).

Also, if you want to take this approach, but rerun one or some tests selectively, delete the test directory of the test(s) you want to rerun:

MotionEstimation\Level1\testxx

and rerun the script.

H.264 Motion Estimation Engine

www.xilinx.com

25

UG453 (v1.1) April 23, 2008

Image 25
Contents UG453 v1.1 April 23, 2008 optional Motion Estimation EngineDate Version Revision Revision History10/24/07 Initial Xilinx release 04/23/08 Table of Contents Appendix Supporting Information 1H.264 Encoder Schedule of FiguresUG453 v1.1 April 23 Table A-1Regression Test Summary Schedule of TablesMotion Estimation Engine About This Guide Guide ContentsAdditional Resources ConventionsMeaning or Use Example Preface About This GuideFile → Open Helvetica boldHyperlink to a website URL For the latest speed files ConventionsUG453 v1.1 April 23 About the Core IntroductionRecommended Design Experience Additional Core ResourcesIntroduction FeedbackManual Installation Installing the H.264 Motion Estimation Engine CoreSystem Requirements WindowsNetlists Installing the H.264 Motion Estimation Engine CoreVhdl Template Files Designing with the H.264 Motion Estimation Engine CoreMotion Estimation in the H.264 Encoder Model Tech Vhdl simulator test bench codeDesigning with the H.264 Motion Estimation Engine Core Motion Estimation in the H.264 Encoder 2Motion Estimation Engine Block DiagramDesigning with the H.264 Motion Estimation Engine Core Test Bench Release Simulating the H Motion Estimation Engine CoreTest bench stimulus files ModelSim-specific script filesSimulating the H Motion Estimation Engine Core Running the Test BenchTestbench source file Simulation generates these output filesVerification Platform Release Verifying the SystemVerification Process Level Running the Verification TestsVerifying the System Verification Notes Verification Notes…and the expected output reference file Verifying the System Input Sequences Supporting InformationDirectory Tree Structure Regression Test DescriptionsFigure A-1Directory Tree Structure References