Minor error.
--HG-- extra : convert_revision : 514032e21c8861f20fcbcae7204e132088cc7dbc
This commit is contained in:
parent
d540dde5b4
commit
4a7bc06553
|
@ -121,7 +121,7 @@ void Bus::occupyBus(PacketPtr pkt)
|
||||||
if (tickNextIdle < curTick) {
|
if (tickNextIdle < curTick) {
|
||||||
tickNextIdle = curTick;
|
tickNextIdle = curTick;
|
||||||
if (tickNextIdle % clock != 0)
|
if (tickNextIdle % clock != 0)
|
||||||
tickNextIdle -= (curTick % clock) + clock;
|
tickNextIdle = curTick - (curTick % clock) + clock;
|
||||||
}
|
}
|
||||||
|
|
||||||
// The packet will be sent. Figure out how long it occupies the bus, and
|
// The packet will be sent. Figure out how long it occupies the bus, and
|
||||||
|
|
Loading…
Reference in a new issue