diff options
Diffstat (limited to 'src/mem')
-rw-r--r-- | src/mem/simple_dram.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/simple_dram.cc b/src/mem/simple_dram.cc index 9cbca6a1c..9669c7a03 100644 --- a/src/mem/simple_dram.cc +++ b/src/mem/simple_dram.cc @@ -563,7 +563,7 @@ SimpleDRAM::addToWriteQueue(PacketPtr pkt, unsigned int pktCount) accessAndRespond(pkt, frontendLatency); // If your write buffer is starting to fill up, drain it! - if (writeQueue.size() > writeThreshold && !stopReads){ + if (writeQueue.size() >= writeThreshold && !stopReads){ triggerWrites(); } } |