dram_ctrl.cc (12969:52de9d619ce6) dram_ctrl.cc (13564:9bbd53a77887)
1/*
2 * Copyright (c) 2010-2018 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

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

933 // number of data beats.
934 Tick response_time = curTick() + static_latency + pkt->headerDelay +
935 pkt->payloadDelay;
936 // Here we reset the timing of the packet before sending it out.
937 pkt->headerDelay = pkt->payloadDelay = 0;
938
939 // queue the packet in the response queue to be sent out after
940 // the static latency has passed
1/*
2 * Copyright (c) 2010-2018 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

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

933 // number of data beats.
934 Tick response_time = curTick() + static_latency + pkt->headerDelay +
935 pkt->payloadDelay;
936 // Here we reset the timing of the packet before sending it out.
937 pkt->headerDelay = pkt->payloadDelay = 0;
938
939 // queue the packet in the response queue to be sent out after
940 // the static latency has passed
941 port.schedTimingResp(pkt, response_time, true);
941 port.schedTimingResp(pkt, response_time);
942 } else {
943 // @todo the packet is going to be deleted, and the DRAMPacket
944 // is still having a pointer to it
945 pendingDelete.reset(pkt);
946 }
947
948 DPRINTF(DRAM, "Done\n");
949

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

2919 }
2920 }
2921
2922 // update the mode
2923 isTimingMode = system()->isTimingMode();
2924}
2925
2926DRAMCtrl::MemoryPort::MemoryPort(const std::string& name, DRAMCtrl& _memory)
942 } else {
943 // @todo the packet is going to be deleted, and the DRAMPacket
944 // is still having a pointer to it
945 pendingDelete.reset(pkt);
946 }
947
948 DPRINTF(DRAM, "Done\n");
949

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

2919 }
2920 }
2921
2922 // update the mode
2923 isTimingMode = system()->isTimingMode();
2924}
2925
2926DRAMCtrl::MemoryPort::MemoryPort(const std::string& name, DRAMCtrl& _memory)
2927 : QueuedSlavePort(name, &_memory, queue), queue(_memory, *this),
2927 : QueuedSlavePort(name, &_memory, queue), queue(_memory, *this, true),
2928 memory(_memory)
2929{ }
2930
2931AddrRangeList
2932DRAMCtrl::MemoryPort::getAddrRanges() const
2933{
2934 AddrRangeList ranges;
2935 ranges.push_back(memory.getAddrRange());

--- 36 unchanged lines hidden ---
2928 memory(_memory)
2929{ }
2930
2931AddrRangeList
2932DRAMCtrl::MemoryPort::getAddrRanges() const
2933{
2934 AddrRangeList ranges;
2935 ranges.push_back(memory.getAddrRange());

--- 36 unchanged lines hidden ---