From cee8faaad066cda6710904b5190e7287ff9356af Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Mon, 1 Sep 2014 16:55:45 -0500 Subject: 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. ':='. --- src/mem/protocol/MI_example-cache.sm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/mem/protocol/MI_example-cache.sm') diff --git a/src/mem/protocol/MI_example-cache.sm b/src/mem/protocol/MI_example-cache.sm index 561de2397..9b0c18bc8 100644 --- a/src/mem/protocol/MI_example-cache.sm +++ b/src/mem/protocol/MI_example-cache.sm @@ -28,11 +28,11 @@ */ machine(L1Cache, "MI Example L1 Cache") -: Sequencer * sequencer, - CacheMemory * cacheMemory, - Cycles cache_response_latency = 12, - Cycles issue_latency = 2, - bool send_evictions +: Sequencer * sequencer; + CacheMemory * cacheMemory; + Cycles cache_response_latency := 12; + Cycles issue_latency := 2; + bool send_evictions; { // NETWORK BUFFERS -- cgit v1.2.3