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:
@@ -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>
|
||||
|
||||
@@ -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/");
|
||||
|
||||
Reference in New Issue
Block a user