annotate config/bm/Pygar/processor_test/audio_core_benchmark.cfx @ 31:f41eef1bebfc pygar svn.32

[svn r32] Attempting to run soft core and audio
author punk
date Sat, 01 May 2010 11:50:20 -0400
parents
children 0c775e733b81
rev   line source
punk@31 1 : # -*-Perl-*-
punk@31 2 eval 'exec perl -w "$0" ${1+"$@"}'
punk@31 3 if 0;
punk@31 4
punk@31 5 ##
punk@31 6 ## Directory of hasim benchmarks
punk@31 7 ## Remember to set this file as executable
punk@31 8
punk@31 9 use Asim;
punk@31 10 use strict;
punk@31 11
punk@31 12 my $gcfg = Asim::GenCFG->new();
punk@31 13
punk@31 14 my @tests = ("smipsv1_simple",
punk@31 15 "smipsv1_addiu",
punk@31 16 "smipsv1_bne",
punk@31 17 "smipsv1_lw",
punk@31 18 "smipsv1_sw",
punk@31 19 "smipsv2_addiu",
punk@31 20 "smipsv2_addu",
punk@31 21 "smipsv2_andi",
punk@31 22 "smipsv2_and",
punk@31 23 "smipsv2_beq",
punk@31 24 "smipsv2_bgez");
punk@31 25
punk@31 26 my @bmarks = ("null.wav", "reuben_james_1sec.wav");
punk@31 27
punk@31 28 foreach my $test (@tests) {
punk@31 29 $gcfg->add(name => $test,
punk@31 30 tree => [ "tests" ],
punk@31 31 setup => "scripts/setup-mit-6.375-bmark-processor --group instruction-tests --isa smips $test --compare=1 data=../benchmarks/audio_processor_test/$test $test --linkto=../tools/audio_processor_test/null/checker",
punk@31 32 feeder => "vcs",
punk@31 33 feedflags => "program.0/${test}.smips.vmh",
punk@31 34 ccount => 800000,
punk@31 35 );
punk@31 36 }
punk@31 37
punk@31 38 foreach my $bmark (@bmarks) {
punk@31 39 $gcfg->add(name => $bmark,
punk@31 40 tree => [ "benchmarks" ],
punk@31 41 setup => "scripts/setup-mit-6.375-bmark --silent=1 --compare=1 --data=../benchmarks/audio_processor_test/$bmark $bmark --linkto=../tools/audio_processor_test/null/checker",
punk@31 42 feeder => "none",
punk@31 43 ccount => 800000, #Hmmm.... may need to edit
punk@31 44 );
punk@31 45 }
punk@31 46
punk@31 47 $gcfg->action(@ARGV);