Review Board 2.0.15


mem: add retry mechanism for cache fills in classic cache model

Review Request #1826 - Created April 17, 2013 and updated - Latest diff uploaded

Information
Xiangyu Dong
gem5
default
Reviewers
Default
Changeset 9819:1f65fc6d046a
---------------------------
mem: add retry mechanism for cache fills in classic cache model
The changeset 6122d201ff80 modeled the cache bank and blocks the cache access
if the target bank is busy.  However, due to the lack of retry mechanism at the
cache master port, that changeset cannot properly blocks the cache traffic that
is towards CPU.
This patch modifies the CoherentBus model and adds a flow control scheme to the
RespLayer.  With this modification, cache fill operations can now be properly
modeled.
@todo The modification to CoherentBus is a little hacky. e.g. The recvRetry
functions for Req and Resp are not symmetric
@todo Might also need to modify noncoherent bus
@todo There is no write buffer entries for cache fill operations. An
      incremental patch will be needed to model the cache fill buffer