view config/bm/Pygar/fpga.cfx @ 74:31fef269ae58 pygar svn.75

[svn r75] presentation for wednesdaty
author rlm
date Wed, 12 May 2010 02:25:34 -0400
parents bbd58fb592c9
children
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 = (
15 "thru");
19 my @bmarks = ("null",
20 );
22 foreach my $bmark (@bmarks) {
23 $gcfg->add(name => $bmark,
24 tree => [ "benchmarks" ],
25 setup => "tools/scripts/setup-bmark $bmark --contexts=0",
26 feeder => "none",
27 ccount => 800000,
28 );
29 }
36 foreach my $test (@tests) {
37 $gcfg->add(name => $test,
38 tree => [ "tests" ],
39 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",
40 feeder => "vcs",
41 feedflags => "program.0/${test}.smips.vmh",
42 ccount => 800000,
43 );
44 }
47 $gcfg->action(@ARGV);