diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2014-09-01 16:55:45 -0500 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2014-09-01 16:55:45 -0500 |
commit | cee8faaad066cda6710904b5190e7287ff9356af (patch) | |
tree | 26e2e80ef32a9d82cd6f740d39d15aa229620e5a /src/mem/protocol/MOESI_hammer-dir.sm | |
parent | b1d3873ec52692b0442666718da4175379697bb2 (diff) | |
download | gem5-cee8faaad066cda6710904b5190e7287ff9356af.tar.xz |
ruby: slicc: change the way configurable members are specified
There are two changes this patch makes to the way configurable members of a
state machine are specified in SLICC. The first change is that the data
member declarations will need to be separated by a semi-colon instead of a
comma. Secondly, the default value to be assigned would now use SLICC's
assignment operator i.e. ':='.
Diffstat (limited to 'src/mem/protocol/MOESI_hammer-dir.sm')
-rw-r--r-- | src/mem/protocol/MOESI_hammer-dir.sm | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mem/protocol/MOESI_hammer-dir.sm b/src/mem/protocol/MOESI_hammer-dir.sm index 58e4d7346..4e2f846e2 100644 --- a/src/mem/protocol/MOESI_hammer-dir.sm +++ b/src/mem/protocol/MOESI_hammer-dir.sm @@ -34,12 +34,12 @@ */ machine(Directory, "AMD Hammer-like protocol") -: DirectoryMemory * directory, - CacheMemory * probeFilter, - MemoryControl * memBuffer, - Cycles memory_controller_latency = 2, - bool probe_filter_enabled = false, - bool full_bit_dir_enabled = false +: DirectoryMemory * directory; + CacheMemory * probeFilter; + MemoryControl * memBuffer; + Cycles memory_controller_latency := 2; + bool probe_filter_enabled := "False"; + bool full_bit_dir_enabled := "False"; { MessageBuffer forwardFromDir, network="To", virtual_network="3", ordered="false", vnet_type="forward"; |