diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2013-03-22 17:21:23 -0500 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2013-03-22 17:21:23 -0500 |
commit | b2c8c50f17b7d58755e7b1be20ba162773df4859 (patch) | |
tree | a35547ae8db023b7b615799a9490bc2478f3dee1 /src/mem/slicc/symbols | |
parent | e85b556d705c3045f7fa8cba3a9a6a4039bc18e7 (diff) | |
download | gem5-b2c8c50f17b7d58755e7b1be20ba162773df4859.tar.xz |
ruby: slicc: set sender, receiver clock objs for optional queue
Diffstat (limited to 'src/mem/slicc/symbols')
-rw-r--r-- | src/mem/slicc/symbols/StateMachine.py | 3 |
1 files changed, 3 insertions, 0 deletions
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 |