diff options
Diffstat (limited to 'src/mem/slicc/ast/InPortDeclAST.py')
-rw-r--r-- | src/mem/slicc/ast/InPortDeclAST.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mem/slicc/ast/InPortDeclAST.py b/src/mem/slicc/ast/InPortDeclAST.py index c5539fe52..c5a1435eb 100644 --- a/src/mem/slicc/ast/InPortDeclAST.py +++ b/src/mem/slicc/ast/InPortDeclAST.py @@ -89,6 +89,12 @@ class InPortDeclAST(DeclAST): param_types, [], "", pairs) symtab.newSymbol(func) + # Add the stallPort method - this hacks reschedules the controller + # for stalled messages that don't trigger events + func = Func(self.symtab, "stallPort", self.location, void_type, [], + [], "", pairs) + symtab.newSymbol(func) + param_types = [] # Check for Event2 type = symtab.find("Event", Type) |