Merge branch 'fix/drampower_window' into 'develop'

fix: energy window

See merge request ems/astdm/modeling.dram/dram.sys.5!129
This commit is contained in:
2025-05-28 10:40:55 +02:00

View File

@@ -316,6 +316,7 @@ void Dram::powerWindow()
currentEnergy = this->DRAMPower->getTotalEnergy(clkCycles);
windowEnergy = currentEnergy - previousEnergy;
previousEnergy = currentEnergy;
// During operation the energy should never be zero since the device is always consuming
assert(!(windowEnergy < 1e-15));