mem: Add packet sanity checks to cache and MSHRs
authorAndreas Hansson <andreas.hansson@arm.com>
Thu, 9 Oct 2014 21:51:56 +0000 (17:51 -0400)
committerAndreas Hansson <andreas.hansson@arm.com>
Thu, 9 Oct 2014 21:51:56 +0000 (17:51 -0400)
commitf4a538f8624a3e07ba7a8666ed45ad9bca5e85ed
tree0d1ae68f7c9a66fb25ac37f87b246cb4889d66dd
parent4a453e8c95bb030d6b50cab8d42825142b093df2
mem: Add packet sanity checks to cache and MSHRs

This patch adds a number of asserts to the cache, checking basic
assumptions about packets being requests or responses.
src/mem/cache/cache.hh
src/mem/cache/cache_impl.hh
src/mem/cache/mshr.cc