diff --git a/DRAMSys/docs/flexible-refresh.pdf b/DRAMSys/docs/flexible-refresh.pdf new file mode 100644 index 00000000..4ebfe2dd Binary files /dev/null and b/DRAMSys/docs/flexible-refresh.pdf differ diff --git a/DRAMSys/library/src/controller/core/refresh/RefreshManager.cpp b/DRAMSys/library/src/controller/core/refresh/RefreshManager.cpp index beb54cda..8b410019 100644 --- a/DRAMSys/library/src/controller/core/refresh/RefreshManager.cpp +++ b/DRAMSys/library/src/controller/core/refresh/RefreshManager.cpp @@ -215,7 +215,7 @@ void RefreshManager::scheduleRefresh(tlm::tlm_generic_payload& payload __attribu if(arCmdCounter == 0) // All bursts issued, next state will align to tREFI { nextState = ST_ALIGN; - nextRefTiming = timing.tREFI; + nextRefTiming = SC_ZERO_TIME; } else { diff --git a/README.md b/README.md index 13b08968..1a76b342 100644 --- a/README.md +++ b/README.md @@ -635,6 +635,8 @@ Below, the sub-configurations are listed and explained. - *ControllerCoreMaxPulledInARCmd* (unsigned int) - Max AR commands to be pulled-in. +For further details on the Flexible Refresh feature, please refer to [this](DRAMSys/docs/flexible-refresh.pdf) document. + - **Trace Setups** - *clkMhz* (unsigned int) - Speed of the trace player