From b2c8c50f17b7d58755e7b1be20ba162773df4859 Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Fri, 22 Mar 2013 17:21:23 -0500 Subject: [PATCH] ruby: slicc: set sender, receiver clock objs for optional queue --- src/mem/slicc/symbols/StateMachine.py | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.30.2