mem: Implement alternative flow control between MemObject ports
Review Request #3356 - Created Feb. 29, 2016 and updated - Latest diff uploaded
| Information | |
|---|---|
| Matthew Poremba | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 11356:2c8bd12f84a2 --------------------------- mem: Implement alternative flow control between MemObject ports The default gem5 behavior for flow control between MemObjects is to use retry (ACK/NACK) based approach where the slave MemObject typically handles flow control from the master(s). This provides an API that may be connected to MemObject's ports to handle flow control in a more generic, less instrusive manner. As an example, a token-based flow control is implemented where the master handles situations where the slave can not accept any more requests. Tokens are split by simplistically dividing tokens privately among masters. In this approach, nearly all flow control tracking is handle by the flow control delegate rather than slave MemObject. This allows us to implement a common interface to handle, for example, QoS between MemObjects without major modificaitons to individual MemObjects. Currently the default is to use no flow control and fallback to the default retry mechanisms in gem5. Flow control capability may be added by specifying either master_flow_control or slave_flow_control in Python configuration scripts when the MemObject is instantiated.
