
Chapter 5: Verifying the System
R
Running the Verification Tests
There are five tests that can be run by the user. Each test has varying characteristics, including varying video formats, parameter settings, etc. A description of the tests is given in the Appendix, “Supporting Information” and is also summarized in the batch scripts listed under item 3 (Verification scripts) above.
Verification is automated down to running the simple editable Level1 batch script. It contains the command line:
perl 
TestLevel: 1 (only 1 is available)
No. Frames: between 1 and 10 inclusive
Test#: between 0 and 5 inclusive (0 runs all tests in order from 1 to 5)
Edit the file as desired. Double clicking on the batch file invokes the appropriate test to be executed. Level 1 simulation is summarized in Table 
Table 
Verification  | Reference Executable  | HW  | Notes  | |
Level  | Representation  | |||
  | 
  | |||
  | 
  | 
  | 
  | |
Level 1  | ArchC_rev3\bin\len  | MTI Simulation  | • Reference – uses structurally modified reference code  | |
  | cod.exe  | (precompiled  | to generate stimulus and expected Motion Estimation  | |
  | 
  | libraries)  | Engine outputs for verification at Motion Estimation  | |
  | 
  | 
  | level.  | |
  | 
  | 
  | • Unit under test – uses same precompiled object code  | |
  | 
  | 
  | libraries as simulation. Uses stimulus files generated  | |
  | 
  | 
  | above as simulation input stimulus.  | |
  | 
  | 
  | • Detailed – used for debugging.  | |
  | 
  | 
  | • RTL simulation, thus, only a couple of frames per  | |
  | 
  | 
  | hour, depending on the frame size.  | |
  | 
  | 
  | 
  | 
Verification Process (Level 1)
Table 5-1 shows the verification process (Level 1).
START
.yuv Video Source file
.cfg encoder
config file
Modified JM10.2
Reference Software \ArchC_Rev3\bin\lencod.exe
HW Stimulus files:
MotionEstimation...in.txt
ModelSim/Testbench
Expected Output files:
Sitmuli/MotionEstimation...out.txt
END
Compare
ModelSim Output file:
MotionEstimation...out.txt
UG453_03_091107
Figure 5-1: Verification Process (Level 1)
24  | www.xilinx.com  | H.264 Motion Estimation Engine | 
  | 
  | UG453 (v1.1) April 23, 2008 |