OpenCores
URL https://opencores.org/ocsvn/bluespec-h264/bluespec-h264/trunk

Subversion Repositories bluespec-h264

[/] [bluespec-h264/] [trunk/] [test-post-synth/] [test.pl] - Diff between revs 89 and 95

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 89 Rev 95
Line 23... Line 23...
#build the code.
#build the code.
 
 
# build the golden decoder
# build the golden decoder
`cd ../test/decoder/ldecod && make`;
`cd ../test/decoder/ldecod && make`;
 
 
@h264files = `ls ../test/h264`;
@h264files = `ls ./h264`;
 
 
foreach(@h264files)
foreach(@h264files)
{
{
   chomp($_);
   chomp($_);
 
 
  print $_;
  print $_;
  print " ";
  print " ";
  `cp ../test/h264/$_  input.264`;
  `cp ./h264/$_  input.264`;
  system("wc input.264 | awk \'{printf(\"%08x\\n%08x\\n\", \$3, \$3, \$3, \$3)}\' > input_size.hex");
  system("wc input.264 | awk \'{printf(\"%08x\\n%08x\\n\", \$3, \$3, \$3, \$3)}\' > input_size.hex");
  `perl ../test/hexfilegen.pl input.264`;
  `perl ../test/hexfilegen.pl input.264`;
  system("./simv | grep \"OUT\" | awk \'{print \$2}\' >  out.hex");
  system("./simv | grep \"OUT\" | awk \'{print \$2}\' >  out.hex");
  `perl ../test/dehex.pl out.hex out_hw.yuv`;
  `perl ../test/dehex.pl out.hex out_hw.yuv`;
  `../test/decoder/bin/ldecod.exe -i input.264 -o out_gold.yuv`;
  `../test/decoder/bin/ldecod.exe -i input.264 -o out_gold.yuv`;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.