base.cc (13746:723109f11d56) | base.cc (13747:5c90d834a58c) |
---|---|
1/* 2 * Copyright (c) 2012-2013, 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 --- 341 unchanged lines hidden (view full) --- 350 CacheBlk *blk = nullptr; 351 bool satisfied = false; 352 { 353 PacketList writebacks; 354 // Note that lat is passed by reference here. The function 355 // access() will set the lat value. 356 satisfied = access(pkt, blk, lat, writebacks); 357 | 1/* 2 * Copyright (c) 2012-2013, 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 --- 341 unchanged lines hidden (view full) --- 350 CacheBlk *blk = nullptr; 351 bool satisfied = false; 352 { 353 PacketList writebacks; 354 // Note that lat is passed by reference here. The function 355 // access() will set the lat value. 356 satisfied = access(pkt, blk, lat, writebacks); 357 |
358 // copy writebacks to write buffer here to ensure they logically 359 // precede anything happening below 360 doWritebacks(writebacks, forward_time); | 358 // After the evicted blocks are selected, they must be forwarded 359 // to the write buffer to ensure they logically precede anything 360 // happening below 361 doWritebacks(writebacks, clockEdge(lat + forwardLatency)); |
361 } 362 363 // Here we charge the headerDelay that takes into account the latencies 364 // of the bus, if the packet comes from it. 365 // The latency charged is just the value set by the access() function. 366 // In case of a hit we are neglecting response latency. 367 // In case of a miss we are neglecting forward latency. 368 Tick request_time = clockEdge(lat); --- 2090 unchanged lines hidden --- | 362 } 363 364 // Here we charge the headerDelay that takes into account the latencies 365 // of the bus, if the packet comes from it. 366 // The latency charged is just the value set by the access() function. 367 // In case of a hit we are neglecting response latency. 368 // In case of a miss we are neglecting forward latency. 369 Tick request_time = clockEdge(lat); --- 2090 unchanged lines hidden --- |