From: Nilay Vaish Date: Fri, 22 Mar 2013 22:21:23 +0000 (-0500) Subject: ruby: slicc: set sender, receiver clock objs for optional queue X-Git-Tag: stable_2013_06_16~39 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b2c8c50f17b7d58755e7b1be20ba162773df4859;p=gem5.git ruby: slicc: set sender, receiver clock objs for optional queue --- diff --git a/src/mem/slicc/symbols/StateMachine.py b/src/mem/slicc/symbols/StateMachine.py index 4a33d78ba..af1435ae8 100644 --- a/src/mem/slicc/symbols/StateMachine.py +++ b/src/mem/slicc/symbols/StateMachine.py @@ -590,6 +590,9 @@ $c_ident::init() code('$vid->setReceiver(this);') elif vtype.c_ident == "TimerTable": code('$vid->setClockObj(this);') + elif var.ident.find("optionalQueue") >= 0: + code('$vid->setSender(this);') + code('$vid->setReceiver(this);') else: # Network port object