mem-ruby: Use lookup function in cache
authorDaniel R. Carvalho <odanrc@yahoo.com.br>
Wed, 1 Jan 2020 19:50:23 +0000 (20:50 +0100)
committerDaniel Carvalho <odanrc@yahoo.com.br>
Sat, 25 Jul 2020 10:51:06 +0000 (10:51 +0000)
commit1ad015389c715990dafdde87977972e7cd94ee8f
tree4dca78939351741234b279785b02e034a3e48ec2
parentf54af2863ce83973cc950730dbdd8df6c5508178
mem-ruby: Use lookup function in cache

There is a function to perform lookups; there is no need to replicate
its code everywhere.

Change-Id: I1290594615d282722cd91071be8ef3c372414e4e
Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23946
Reviewed-by: John Alsop <johnathan.alsop@amd.com>
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/mem/ruby/structures/CacheMemory.cc