Merge branch 'config_refactor' into 'develop'
Configuration Refactoring See merge request ems/astdm/modeling.dram/dram.sys.5!63
This commit is contained in:
@@ -145,8 +145,6 @@
|
||||
"DatabaseRecording": true,
|
||||
"Debug": false,
|
||||
"EnableWindowing": false,
|
||||
"ErrorCSVFile": "error.csv",
|
||||
"ErrorChipSeed": 42,
|
||||
"PowerAnalysis": false,
|
||||
"SimulationName": "ddr5",
|
||||
"SimulationProgressBar": true,
|
||||
@@ -207,4 +205,4 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,8 +6,6 @@
|
||||
"Debug": false,
|
||||
"ECCControllerMode": "Disabled",
|
||||
"EnableWindowing": false,
|
||||
"ErrorCSVFile": "",
|
||||
"ErrorChipSeed": 42,
|
||||
"PowerAnalysis": false,
|
||||
"SimulationName": "ddr5",
|
||||
"SimulationProgressBar": true,
|
||||
|
||||
@@ -108,8 +108,6 @@ protected:
|
||||
true,
|
||||
false,
|
||||
false,
|
||||
{"error.csv"},
|
||||
42,
|
||||
false,
|
||||
{"ddr5"},
|
||||
true,
|
||||
@@ -168,7 +166,11 @@ DRAMSys::Config::MemSpec ConfigurationTest::createMemSpec()
|
||||
{"clkMhz", 1600},
|
||||
}}};
|
||||
|
||||
return {memArchitectureSpec, "JEDEC_2x8x2Gbx4_DDR5-3200A", "DDR5", memTimingSpec, {}};
|
||||
return {memArchitectureSpec,
|
||||
"JEDEC_2x8x2Gbx4_DDR5-3200A",
|
||||
DRAMSys::Config::MemoryType::DDR5,
|
||||
memTimingSpec,
|
||||
{}};
|
||||
}
|
||||
|
||||
DRAMSys::Config::TracePlayer ConfigurationTest::createTracePlayer()
|
||||
@@ -319,8 +321,6 @@ TEST_F(ConfigurationTest, SimConfig)
|
||||
"DatabaseRecording": true,
|
||||
"Debug": false,
|
||||
"EnableWindowing": false,
|
||||
"ErrorCSVFile": "error.csv",
|
||||
"ErrorChipSeed": 42,
|
||||
"PowerAnalysis": false,
|
||||
"SimulationName": "ddr5",
|
||||
"SimulationProgressBar": true,
|
||||
|
||||
@@ -36,7 +36,6 @@
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include <DRAMSys/simulation/DRAMSys.h>
|
||||
#include <DRAMSys/simulation/dram/Dram.h>
|
||||
|
||||
class SystemCTest : public testing::Test
|
||||
{
|
||||
@@ -92,7 +91,7 @@ struct BlockingInitiator : sc_core::sc_module
|
||||
sc_core::sc_time delay = sc_core::SC_ZERO_TIME;
|
||||
iSocket->b_transport(payload, delay);
|
||||
|
||||
EXPECT_EQ(delay, dramSys.getConfig().blockingReadDelay);
|
||||
EXPECT_EQ(delay, dramSys.getMcConfig().blockingReadDelay);
|
||||
}
|
||||
|
||||
void writeAccess()
|
||||
@@ -105,7 +104,7 @@ struct BlockingInitiator : sc_core::sc_module
|
||||
sc_core::sc_time delay = sc_core::SC_ZERO_TIME;
|
||||
iSocket->b_transport(payload, delay);
|
||||
|
||||
EXPECT_EQ(delay, dramSys.getConfig().blockingWriteDelay);
|
||||
EXPECT_EQ(delay, dramSys.getMcConfig().blockingWriteDelay);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -138,8 +138,6 @@
|
||||
"DatabaseRecording": true,
|
||||
"Debug": false,
|
||||
"EnableWindowing": false,
|
||||
"ErrorCSVFile": "",
|
||||
"ErrorChipSeed": 42,
|
||||
"PowerAnalysis": false,
|
||||
"SimulationName": "example",
|
||||
"SimulationProgressBar": true,
|
||||
|
||||
@@ -136,8 +136,6 @@
|
||||
"DatabaseRecording": true,
|
||||
"Debug": false,
|
||||
"EnableWindowing": false,
|
||||
"ErrorCSVFile": "",
|
||||
"ErrorChipSeed": 42,
|
||||
"PowerAnalysis": false,
|
||||
"SimulationName": "example",
|
||||
"SimulationProgressBar": true,
|
||||
|
||||
Reference in New Issue
Block a user