mem-cache: Fix write hit latency calculation order

Patch 6d8694a5fb5cfb905186249581cc6a3fde6cc38a changes the order
at which the access latency is calculated for hits. This order
is incorrect, since the calculations must use the blk's whenReady
value before the access is satisfied.

Change-Id: I30dae5435f54200cc8fdf71fd0dbd2cf9c6f8b17
Signed-off-by: Daniel <>
Reviewed-by: Giacomo Travaglini <>
Reviewed-by: Nikos Nikoleris <>
Maintainer: Nikos Nikoleris <>
1 file changed