mem-ruby: Use check_on_cache_probe on MOESI hammer
authorPouya Fotouhi <Pouya.Fotouhi@amd.com>
Thu, 8 Aug 2019 01:11:26 +0000 (20:11 -0500)
committerPouya Fotouhi <pfotouhi@ucdavis.edu>
Tue, 13 Aug 2019 00:52:16 +0000 (00:52 +0000)
commitdef0a4c6fdefd9458bc15ccf7c36efdd79204821
treec4df06f5db877730def1f8ffb1bbfcd74290002e
parent8b4f2ca9023ef32b8d2b076502cbe90b35b70b4e
mem-ruby: Use check_on_cache_probe on MOESI hammer

This change uses check_on_cache_probe statement to check if the cacheline
subject to eviction is locked in MOESI hammer.

Change-Id: I2c43f22aba5af3a57e54b1c435e5d3fbba86d1d5
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/19891
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
src/mem/protocol/MOESI_hammer-cache.sm