1/*
2 * Copyright (c) 2012-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
--- 173 unchanged lines hidden (view full) ---
182 // if we have reached the time for the next state transition, then
183 // perform the transition
184 if (curTick() >= nextTransitionTick) {
185 transition();
186 } else {
187 assert(curTick() >= nextPacketTick);
188 // get the next packet and try to send it
189 PacketPtr pkt = states[currState]->getNextPacket();
190 numPackets++;
191 if (!port.sendTimingReq(pkt)) {
192 retryPkt = pkt;
193 retryPktTick = curTick();
194 }
195 }
196
197 // if we are waiting for a retry, do not schedule any further
198 // events, in the case of a transition or a successful send, go
199 // ahead and determine when the next update should take place
200 if (retryPkt == NULL) {
201 // schedule next update event based on either the next execute
--- 303 unchanged lines hidden ---
2 * Copyright (c) 2012-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
--- 173 unchanged lines hidden (view full) ---
182 // if we have reached the time for the next state transition, then
183 // perform the transition
184 if (curTick() >= nextTransitionTick) {
185 transition();
186 } else {
187 assert(curTick() >= nextPacketTick);
188 // get the next packet and try to send it
189 PacketPtr pkt = states[currState]->getNextPacket();
190 numPackets++;
191 if (!port.sendTimingReq(pkt)) {
192 retryPkt = pkt;
193 retryPktTick = curTick();
194 }
195 }
196
197 // if we are waiting for a retry, do not schedule any further
198 // events, in the case of a transition or a successful send, go
199 // ahead and determine when the next update should take place
200 if (retryPkt == NULL) {
201 // schedule next update event based on either the next execute
--- 303 unchanged lines hidden ---