view 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
line wrap: on
line source
1 : # -*-Perl-*-
2 eval 'exec perl -w "$0" ${1+"$@"}'
3 if 0;
5 ##
6 ## Directory of hasim benchmarks
7 ## Remember to set this file as executable
9 use Asim;
10 use strict;
12 my $gcfg = Asim::GenCFG->new();
14 my @tests = ("smipsv1_simple",
15 "smipsv1_addiu",
16 "smipsv1_bne",
17 "smipsv1_lw",
18 "smipsv1_sw",
19 "smipsv2_addiu",
20 "smipsv2_addu",
21 "smipsv2_andi",
22 "smipsv2_and",
23 "smipsv2_beq",
24 "smipsv2_bgez");
26 my @bmarks = ("null.wav", "reuben_james_1sec.wav");
28 foreach my $test (@tests) {
29 $gcfg->add(name => $test,
30 tree => [ "tests" ],
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",
32 feeder => "vcs",
33 feedflags => "program.0/${test}.smips.vmh",
34 ccount => 800000,
35 );
36 }
38 foreach my $bmark (@bmarks) {
39 $gcfg->add(name => $bmark,
40 tree => [ "benchmarks" ],
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",
42 feeder => "none",
43 ccount => 800000, #Hmmm.... may need to edit
44 );
45 }
47 $gcfg->action(@ARGV);