Disabling PowerAnalisys for the error test.

Other changes:
- check if the input trace file for the error test is already there, if yes use
  it, if not create it first then use it.
This commit is contained in:
Éder F. Zulian
2016-04-06 19:15:26 +02:00
parent f0ce044133
commit cb5f63267f
2 changed files with 8 additions and 4 deletions

View File

@@ -3,7 +3,7 @@
<simconfig>
<Debug value="0" />
<DatabaseRecording value="0" />
<PowerAnalysis value="1" />
<PowerAnalysis value="0" />
<NumberOfTracePlayers value="1"/>
<NumberOfMemChannels value="4"/>
<ControllerCoreDisableRefresh value="0"/>
@@ -30,7 +30,7 @@
</memconfigs>
<tracesetups>
<tracesetup id="fifo">
<tracesetup id="errorTest_fr_fcfs_test_error.stl">
<device clkMhz="1000">../../../tests/error/test_error.stl</device>
</tracesetup>
</tracesetups>

View File

@@ -42,10 +42,14 @@ use warnings;
use strict;
use Term::ANSIColor;
my $trace_file = "test_error.stl";
# Create the input file (first make sure the script is executable)
chdir("../../DRAMSys/tests/error");
`chmod u+x ./generateErrorTest.pl`;
`./generateErrorTest.pl > test_error.stl`;
if (! -e $trace_file) {
`chmod u+x ./generateErrorTest.pl`;
`./generateErrorTest.pl > $trace_file`;
}
# Run Simulation:
chdir("../../../build/simulator/");