Set the memory type for DRAMPower.
If the memory type is not set, then it's considered invalid by DRAMPower what would result in a bug for RDA and WRA commands. DRAMPower breaks those commands in two: RD + PRE or WR + PRE, then the PRE is shifted in time. The time shift could be zero.
This commit is contained in:
@@ -175,6 +175,7 @@ struct Dram : sc_module
|
||||
memPowerSpec.vdd2 = Configuration::getInstance().memSpec.vDD2;
|
||||
|
||||
MemorySpecification memSpec;
|
||||
memSpec.memoryType = Configuration::getInstance().memSpec.MemoryType;
|
||||
memSpec.memTimingSpec = memTimingSpec;
|
||||
memSpec.memPowerSpec = memPowerSpec;
|
||||
memSpec.memArchSpec = memArchSpec;
|
||||
|
||||
Reference in New Issue
Block a user