cache_blk.hh (13477:044307c0d0b8) | cache_blk.hh (13485:12e16073f6a7) |
---|---|
1/* 2 * Copyright (c) 2012-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 --- 270 unchanged lines hidden (view full) --- 279 * Set tick at which block's data will be available for access. The new 280 * tick must be chronologically sequential with respect to previous 281 * accesses. 282 * 283 * @param tick New data ready tick. 284 */ 285 void setWhenReady(const Tick tick) 286 { | 1/* 2 * Copyright (c) 2012-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 --- 270 unchanged lines hidden (view full) --- 279 * Set tick at which block's data will be available for access. The new 280 * tick must be chronologically sequential with respect to previous 281 * accesses. 282 * 283 * @param tick New data ready tick. 284 */ 285 void setWhenReady(const Tick tick) 286 { |
287 assert((whenReady == MaxTick) || (tick >= whenReady)); | |
288 assert(tick >= tickInserted); 289 whenReady = tick; 290 } 291 292 /** 293 * Set member variables when a block insertion occurs. Resets reference 294 * count to 1 (the insertion counts as a reference), and touch block if 295 * it hadn't been touched previously. Sets the insertion tick to the --- 221 unchanged lines hidden --- | 287 assert(tick >= tickInserted); 288 whenReady = tick; 289 } 290 291 /** 292 * Set member variables when a block insertion occurs. Resets reference 293 * count to 1 (the insertion counts as a reference), and touch block if 294 * it hadn't been touched previously. Sets the insertion tick to the --- 221 unchanged lines hidden --- |