diff --git a/dram/resources/scripts/createTraceDB.sql b/dram/resources/scripts/createTraceDB.sql index 136a3d41..8f83e275 100644 --- a/dram/resources/scripts/createTraceDB.sql +++ b/dram/resources/scripts/createTraceDB.sql @@ -21,7 +21,7 @@ CREATE TABLE GeneralInfo( UnitOfTime TEXT, Memconfig TEXT, Memspec TEXT, - Traces TEXt + Traces TEXT ); diff --git a/dram/resources/simulations/datasizes.xml b/dram/resources/simulations/datasizes.xml new file mode 100644 index 00000000..e2d50043 --- /dev/null +++ b/dram/resources/simulations/datasizes.xml @@ -0,0 +1,30 @@ + + JEDEC_256Mb_WIDEIO_SDR-266_128bit.xml + am_wideioFourBanks.xml + + fr_fcfs_bankwise.xml + + + + chstone-motion_32.stl + + + chstone-jpeg_32.stl + + + mediabench-gsmdecode_32.stl + + + mediabench-fractal_32.stl + + + mediabench-epic_32.stl + + + mediabench-mpeg2encode_32.stl + + + mediabench-h263encode_32.stl + + + diff --git a/dram/resources/simulations/first.xml b/dram/resources/simulations/first.xml index fd972286..961267ae 100644 --- a/dram/resources/simulations/first.xml +++ b/dram/resources/simulations/first.xml @@ -1,4 +1,4 @@ - + JEDEC_256Mb_WIDEIO_SDR-266_128bit.xml am_wideioFourBanks.xml diff --git a/dram/src/simulation/main.cpp b/dram/src/simulation/main.cpp index 00ae479d..f9117679 100644 --- a/dram/src/simulation/main.cpp +++ b/dram/src/simulation/main.cpp @@ -35,7 +35,12 @@ int sc_main(int argc, char **argv) { sc_set_time_resolution(1, SC_PS); resources = pathOfFile(argv[0]) + string("/../resources/"); - string simulationToRun = "sim-batch.xml"; + + string simulationToRun; + if(argc > 1) + simulationToRun = argv[1]; + else + simulationToRun = "sim-batch.xml"; SimulationManager manager(resources); manager.loadSimulationsFromXML(resources + "/simulations/" + simulationToRun);