Add support for more than two XOR bits
This commit is contained in:
@@ -62,15 +62,19 @@ protected:
|
||||
static DRAMSys::Config::TrafficGeneratorStateMachine createTraceGeneratorMultipleStates();
|
||||
static DRAMSys::Config::RowHammer createTraceHammer();
|
||||
|
||||
static std::vector<DRAMSys::Config::AddressMapping::BitEntry>
|
||||
addressMapBitVector(std::vector<unsigned> bits)
|
||||
{
|
||||
return {bits.begin(), bits.end()};
|
||||
};
|
||||
|
||||
DRAMSys::Config::AddressMapping addressMapping{
|
||||
{{0, 1}},
|
||||
{{2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}},
|
||||
{{16}},
|
||||
{{13, 14, 15}},
|
||||
{{17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32}},
|
||||
{{33}},
|
||||
std::nullopt,
|
||||
std::nullopt,
|
||||
addressMapBitVector({0, 1}),
|
||||
addressMapBitVector({2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}),
|
||||
addressMapBitVector({16}),
|
||||
addressMapBitVector({13, 14, 15}),
|
||||
addressMapBitVector({17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32}),
|
||||
addressMapBitVector({33}),
|
||||
std::nullopt};
|
||||
|
||||
DRAMSys::Config::McConfig mcConfig{PagePolicyType::Open,
|
||||
|
||||
Reference in New Issue
Block a user