dram_ctrl.hh (10213:2e630c6c2042) | dram_ctrl.hh (10215:52d46098c1b6) |
---|---|
1/* 2 * Copyright (c) 2012-2014 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 353 unchanged lines hidden (view full) --- 362 /** 363 * The memory schduler/arbiter - picks which request needs to 364 * go next, based on the specified policy such as FCFS or FR-FCFS 365 * and moves it to the head of the queue. 366 */ 367 void chooseNext(std::deque<DRAMPacket*>& queue); 368 369 /** | 1/* 2 * Copyright (c) 2012-2014 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 353 unchanged lines hidden (view full) --- 362 /** 363 * The memory schduler/arbiter - picks which request needs to 364 * go next, based on the specified policy such as FCFS or FR-FCFS 365 * and moves it to the head of the queue. 366 */ 367 void chooseNext(std::deque<DRAMPacket*>& queue); 368 369 /** |
370 * Move the request at the head of the read queue to the response 371 * queue, sorting by readyTime.\ If it is the only packet in the 372 * response queue, schedule a respond event to send it back to the 373 * outside world 374 */ 375 void moveToRespQ(); 376 377 /** | |
378 * For FR-FCFS policy reorder the read/write queue depending on row buffer 379 * hits and earliest banks available in DRAM 380 */ 381 void reorderQueue(std::deque<DRAMPacket*>& queue); 382 383 /** 384 * Find which are the earliest banks ready to issue an activate 385 * for the enqueued requests. Assumes maximum of 64 banks per DIMM --- 313 unchanged lines hidden --- | 370 * For FR-FCFS policy reorder the read/write queue depending on row buffer 371 * hits and earliest banks available in DRAM 372 */ 373 void reorderQueue(std::deque<DRAMPacket*>& queue); 374 375 /** 376 * Find which are the earliest banks ready to issue an activate 377 * for the enqueued requests. Assumes maximum of 64 banks per DIMM --- 313 unchanged lines hidden --- |