simple_mem.cc (13860:8f8df5b68439) simple_mem.cc (13892:0182a0601f66)
1/*
2 * Copyright (c) 2010-2013, 2015 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

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

240
241 dequeue();
242}
243
244Port &
245SimpleMemory::getPort(const std::string &if_name, PortID idx)
246{
247 if (if_name != "port") {
1/*
2 * Copyright (c) 2010-2013, 2015 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

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

240
241 dequeue();
242}
243
244Port &
245SimpleMemory::getPort(const std::string &if_name, PortID idx)
246{
247 if (if_name != "port") {
248 return MemObject::getPort(if_name, idx);
248 return AbstractMemory::getPort(if_name, idx);
249 } else {
250 return port;
251 }
252}
253
254DrainState
255SimpleMemory::drain()
256{

--- 57 unchanged lines hidden ---
249 } else {
250 return port;
251 }
252}
253
254DrainState
255SimpleMemory::drain()
256{

--- 57 unchanged lines hidden ---