diff options
Diffstat (limited to 'src/mem/dram_ctrl.cc')
-rw-r--r-- | src/mem/dram_ctrl.cc | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/src/mem/dram_ctrl.cc b/src/mem/dram_ctrl.cc index 19a03b834..2da4b7609 100644 --- a/src/mem/dram_ctrl.cc +++ b/src/mem/dram_ctrl.cc @@ -165,9 +165,6 @@ DRAMCtrl::startup() // start of simulation busBusyUntil = curTick() + tRP + tRCD + tCL; - // print the configuration of the controller - printParams(); - // kick off the refresh, and give ourselves enough time to // precharge schedule(refreshEvent, curTick() + tREFI - tRP); @@ -513,60 +510,6 @@ DRAMCtrl::addToWriteQueue(PacketPtr pkt, unsigned int pktCount) } void -DRAMCtrl::printParams() const -{ - // Sanity check print of important parameters - DPRINTF(DRAM, - "Memory controller %s physical organization\n" \ - "Number of devices per rank %d\n" \ - "Device bus width (in bits) %d\n" \ - "DRAM data bus burst (bytes) %d\n" \ - "Row buffer size (bytes) %d\n" \ - "Columns per row buffer %d\n" \ - "Rows per bank %d\n" \ - "Banks per rank %d\n" \ - "Ranks per channel %d\n" \ - "Total mem capacity (bytes) %u\n", - name(), devicesPerRank, deviceBusWidth, burstSize, rowBufferSize, - columnsPerRowBuffer, rowsPerBank, banksPerRank, ranksPerChannel, - rowBufferSize * rowsPerBank * banksPerRank * ranksPerChannel); - - string scheduler = memSchedPolicy == Enums::fcfs ? "FCFS" : "FR-FCFS"; - string address_mapping = addrMapping == Enums::RoRaBaChCo ? "RoRaBaChCo" : - (addrMapping == Enums::RoRaBaCoCh ? "RoRaBaCoCh" : "RoCoRaBaCh"); - string page_policy = pageMgmt == Enums::open ? "OPEN" : - (pageMgmt == Enums::open_adaptive ? "OPEN (adaptive)" : - (pageMgmt == Enums::close_adaptive ? "CLOSE (adaptive)" : "CLOSE")); - - DPRINTF(DRAM, - "Memory controller %s characteristics\n" \ - "Read buffer size %d\n" \ - "Write buffer size %d\n" \ - "Write high thresh %d\n" \ - "Write low thresh %d\n" \ - "Scheduler %s\n" \ - "Address mapping %s\n" \ - "Page policy %s\n", - name(), readBufferSize, writeBufferSize, writeHighThreshold, - writeLowThreshold, scheduler, address_mapping, page_policy); - - DPRINTF(DRAM, "Memory controller %s timing specs\n" \ - "tRCD %d ticks\n" \ - "tCL %d ticks\n" \ - "tRP %d ticks\n" \ - "tBURST %d ticks\n" \ - "tRFC %d ticks\n" \ - "tREFI %d ticks\n" \ - "tWTR %d ticks\n" \ - "tRTW %d ticks\n" \ - "tWR %d ticks\n" \ - "tRTP %d ticks\n" \ - "tXAW (%d) %d ticks\n", - name(), tRCD, tCL, tRP, tBURST, tRFC, tREFI, tWTR, - tRTW, tWR, tRTP, activationLimit, tXAW); -} - -void DRAMCtrl::printQs() const { DPRINTF(DRAM, "===READ QUEUE===\n\n"); for (auto i = readQueue.begin() ; i != readQueue.end() ; ++i) { |