diff config/bm/Pygar/fpga.cfx @ 70:bbd58fb592c9 pygar svn.71

[svn r71] better benchmarks
author rlm
date Wed, 12 May 2010 00:14:01 -0400
parents
children
line wrap: on
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/config/bm/Pygar/fpga.cfx	Wed May 12 00:14:01 2010 -0400
     1.3 @@ -0,0 +1,47 @@
     1.4 +: # -*-Perl-*-
     1.5 +eval 'exec perl -w "$0" ${1+"$@"}'
     1.6 +   if 0;
     1.7 +
     1.8 +##
     1.9 +## Directory of hasim benchmarks
    1.10 +##     Remember to set this file as executable
    1.11 +
    1.12 +use Asim;
    1.13 +use strict;
    1.14 +
    1.15 +my $gcfg = Asim::GenCFG->new();
    1.16 +
    1.17 +my @tests = (
    1.18 +              "thru");
    1.19 +
    1.20 +
    1.21 +
    1.22 +my @bmarks = ("null",
    1.23 +	     );
    1.24 +
    1.25 +foreach my $bmark (@bmarks) {
    1.26 +        $gcfg->add(name => $bmark,
    1.27 +                  tree => [ "benchmarks" ],
    1.28 +                  setup => "tools/scripts/setup-bmark $bmark --contexts=0",
    1.29 +		  feeder => "none",
    1.30 +                  ccount => 800000,
    1.31 +                  );
    1.32 +   }
    1.33 +
    1.34 +  
    1.35 + 
    1.36 +
    1.37 +
    1.38 +
    1.39 +foreach my $test (@tests) {
    1.40 +    $gcfg->add(name => $test,
    1.41 +               tree => [ "tests" ],
    1.42 +               setup => "scripts/setup-mit-6.375-bmark-audio-core --group instruction-tests --isa smips $test  --data=../benchmarks/audio_processor_test/rlp.wav --linkto=../tools/audio_processor_test/null/checker", 
    1.43 +               feeder => "vcs",
    1.44 +               feedflags => "program.0/${test}.smips.vmh",
    1.45 +	       ccount => 800000,
    1.46 +              );
    1.47 +}
    1.48 +
    1.49 + 
    1.50 +$gcfg->action(@ARGV);