Minor error.
--HG-- extra : convert_revision : 514032e21c8861f20fcbcae7204e132088cc7dbc
This commit is contained in:
parent
d540dde5b4
commit
4a7bc06553
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ void Bus::occupyBus(PacketPtr pkt)
|
|||
if (tickNextIdle < curTick) {
|
||||
tickNextIdle = curTick;
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue