mem-ruby: Use shared and per-protocol SLICC files
This changes extends SLICC to understand two different kinds of slicc files: files that are protocol-specific and files that are shared or included between different protocols. Each declaration in SLICC can now be shared or not. If it is shared, then we can take a different action in the code generation (e.g., wrap in a namespace). *Developer facing change* Removes the RubySlicc_interfaces.slicc file from the SLICC includes of every protocol. Changes required: If you have a custom protocol, you will need to remove the line `include "RubySlicc_interfaces.slicc" from your .slicc file. Change-Id: Ia6c2dafe2b8fe86749a13d17daa885bddd166855 Signed-off-by: Jason Lowe-Power <jason@lowepower.com>
This commit is contained in:
committed by
Bobby R. Bruce
parent
c0f67f7388
commit
1b84fbbeae
@@ -7,6 +7,15 @@
|
||||
* It returns if the stride does not match, as opposed to issuing prefetching using the new stride --- the previous, incorrect behavior.
|
||||
* Returns if the new stride is 0, indicating multiple reads from the same cache line.
|
||||
|
||||
### Multiple Ruby Protocols in a Single Build
|
||||
|
||||
There are many developer facing / API changes to enable Ruby multiple protocols in a single build.
|
||||
The most notable changes are:
|
||||
|
||||
* Removes the RubySlicc_interfaces.slicc file from the SLICC includes of
|
||||
every protocol.
|
||||
* Changes required: If you have a custom protocol, you will need to remove the line `include "RubySlicc_interfaces.slicc"` from your .slicc file.
|
||||
|
||||
* The [behavior of the statistics `simInsts` and `simOps` has been changed](https://github.com/gem5/gem5/pull/1615).
|
||||
* They now reset to zero when m5.stats.reset() is called.
|
||||
* Previously, they incorrectly did not reset and would increase monotonically throughout the simulation.
|
||||
|
||||
Reference in New Issue
Block a user