Review Board 2.0.15


slicc: support for multiple cache entry types in the same state machine

Review Request #2794 - Created May 11, 2015 and submitted - Latest diff uploaded

Information
Tony Gutierrez
gem5
default
Reviewers
Default
Changeset 10824:91803d728dc0
---------------------------
slicc: support for multiple cache entry types in the same state machine

To have multiple Entry types (e.g., a cache Entry type and
a directory Entry type), just declare one of them as a secondary
type by using the pair 'main="false"', e.g.:

  structure(DirEntry, desc="...", interface="AbstractCacheEntry",
            main="false") {

...and the primary type would be declared:

  structure(Entry, desc="...", interface="AbstractCacheEntry") {