From e1444a45a4c1fc4bcd856338513dd833bb43f1ec Mon Sep 17 00:00:00 2001 From: Lukas Steiner Date: Tue, 10 May 2022 17:09:02 +0200 Subject: [PATCH] Add debugging example config. --- DRAMSys/library/resources/simulations/ddr5-example.json | 8 +++++++- DRAMSys/library/src/simulation/DRAMSysRecordable.cpp | 1 + 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/DRAMSys/library/resources/simulations/ddr5-example.json b/DRAMSys/library/resources/simulations/ddr5-example.json index e85d1b92..695b783a 100644 --- a/DRAMSys/library/resources/simulations/ddr5-example.json +++ b/DRAMSys/library/resources/simulations/ddr5-example.json @@ -9,7 +9,13 @@ "tracesetup": [ { "clkMhz": 2000, - "name": "ddr3_example.stl" + "name": "gen0", + "type": "generator", + "numRequests": 20, + "rwRatio": 1, + "addressDistribution": "random", + "dataLength": 64, + "seed": 1 } ] } diff --git a/DRAMSys/library/src/simulation/DRAMSysRecordable.cpp b/DRAMSys/library/src/simulation/DRAMSysRecordable.cpp index 24e9a2a9..aae02150 100644 --- a/DRAMSys/library/src/simulation/DRAMSysRecordable.cpp +++ b/DRAMSys/library/src/simulation/DRAMSysRecordable.cpp @@ -92,6 +92,7 @@ void DRAMSysRecordable::end_of_simulation() void DRAMSysRecordable::setupTlmRecorders(const std::string& traceName, const DRAMSysConfiguration::Configuration& configLib) { + //tlmRecorders.reserve(config.memSpec->numberOfChannels); // Create TLM Recorders, one per channel. for (std::size_t i = 0; i < config.memSpec->numberOfChannels; i++) {