length on data strobe different for double data rate and single data rate
This commit is contained in:
@@ -10,6 +10,8 @@
|
||||
#include "SimulationManager.h"
|
||||
#include "../core/configuration/Configuration.h"
|
||||
|
||||
#include <systemc.h>
|
||||
|
||||
using namespace std;
|
||||
using namespace simulation;
|
||||
|
||||
@@ -32,21 +34,15 @@ int sc_main(int argc, char **argv)
|
||||
string resources = pathOfFile(argv[0]) + string("/../resources/");
|
||||
|
||||
string memconfig = "memconfig.xml";
|
||||
string memspec = "MatzesWideIO.xml";
|
||||
string memspec = "MICRON_4Gb_DDR4-1866_8bit_A.xml";
|
||||
// string memspec = "MatzesWideIO.xml";
|
||||
string stl1 = "chstone-sha_32.stl";
|
||||
stl1 = "empty.stl";
|
||||
unsigned int burstlength1 = 8;
|
||||
unsigned int burstlength1 = 4;
|
||||
string stl2 = "mediabench-h263decode_32.stl";
|
||||
stl2 = "trace.stl";
|
||||
unsigned int burstlength2 = 8;
|
||||
string traceName = "unaware_long.tdb";
|
||||
|
||||
Configuration::memspecUri = "/home/jonny/git/dram/dram/resources/configs/memspecs/MatzesWideIO.xml";
|
||||
Configuration::memspecUri = "/home/jonny/git/dram/dram/resources/configs/memspecs/MICRON_4Gb_DDR4-1866_8bit_A.xml";
|
||||
Configuration::memconfigUri = "/home/jonny/git/dram/dram/resources/configs/memconfigs/memconfig.xml";
|
||||
|
||||
// Configuration::memconfigUri = resources + string("configs/memconfigs/") + memconfig;
|
||||
// Configuration::memconfigUri = resources + string("configs/memspecs/") + memspec;
|
||||
// stl2 = "trace.stl";
|
||||
unsigned int burstlength2 = 4;
|
||||
string traceName = "tpr.tdb";
|
||||
|
||||
SimulationManager simulationManager("sim",memconfig,memspec,stl1,burstlength1, stl2,burstlength2, traceName, resources,false);
|
||||
simulationManager.startSimulation();
|
||||
|
||||
Reference in New Issue
Block a user