dramsim2.cc (13784:1941dc118243) dramsim2.cc (13892:0182a0601f66)
1/*
2 * Copyright (c) 2013 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

--- 326 unchanged lines hidden (view full) ---

335 if (nbrOutstanding() == 0)
336 signalDrainDone();
337}
338
339Port &
340DRAMSim2::getPort(const std::string &if_name, PortID idx)
341{
342 if (if_name != "port") {
1/*
2 * Copyright (c) 2013 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

--- 326 unchanged lines hidden (view full) ---

335 if (nbrOutstanding() == 0)
336 signalDrainDone();
337}
338
339Port &
340DRAMSim2::getPort(const std::string &if_name, PortID idx)
341{
342 if (if_name != "port") {
343 return MemObject::getPort(if_name, idx);
343 return AbstractMemory::getPort(if_name, idx);
344 } else {
345 return port;
346 }
347}
348
349DrainState
350DRAMSim2::drain()
351{

--- 48 unchanged lines hidden ---
344 } else {
345 return port;
346 }
347}
348
349DrainState
350DRAMSim2::drain()
351{

--- 48 unchanged lines hidden ---