annotate 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 |
|
rev |
line source |
rlm@70
|
1 : # -*-Perl-*-
|
rlm@70
|
2 eval 'exec perl -w "$0" ${1+"$@"}'
|
rlm@70
|
3 if 0;
|
rlm@70
|
4
|
rlm@70
|
5 ##
|
rlm@70
|
6 ## Directory of hasim benchmarks
|
rlm@70
|
7 ## Remember to set this file as executable
|
rlm@70
|
8
|
rlm@70
|
9 use Asim;
|
rlm@70
|
10 use strict;
|
rlm@70
|
11
|
rlm@70
|
12 my $gcfg = Asim::GenCFG->new();
|
rlm@70
|
13
|
rlm@70
|
14 my @tests = (
|
rlm@70
|
15 "thru");
|
rlm@70
|
16
|
rlm@70
|
17
|
rlm@70
|
18
|
rlm@70
|
19 my @bmarks = ("null",
|
rlm@70
|
20 );
|
rlm@70
|
21
|
rlm@70
|
22 foreach my $bmark (@bmarks) {
|
rlm@70
|
23 $gcfg->add(name => $bmark,
|
rlm@70
|
24 tree => [ "benchmarks" ],
|
rlm@70
|
25 setup => "tools/scripts/setup-bmark $bmark --contexts=0",
|
rlm@70
|
26 feeder => "none",
|
rlm@70
|
27 ccount => 800000,
|
rlm@70
|
28 );
|
rlm@70
|
29 }
|
rlm@70
|
30
|
rlm@70
|
31
|
rlm@70
|
32
|
rlm@70
|
33
|
rlm@70
|
34
|
rlm@70
|
35
|
rlm@70
|
36 foreach my $test (@tests) {
|
rlm@70
|
37 $gcfg->add(name => $test,
|
rlm@70
|
38 tree => [ "tests" ],
|
rlm@70
|
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",
|
rlm@70
|
40 feeder => "vcs",
|
rlm@70
|
41 feedflags => "program.0/${test}.smips.vmh",
|
rlm@70
|
42 ccount => 800000,
|
rlm@70
|
43 );
|
rlm@70
|
44 }
|
rlm@70
|
45
|
rlm@70
|
46
|
rlm@70
|
47 $gcfg->action(@ARGV);
|