diff options
-rw-r--r-- | src/mem/slicc/ast/OperatorExprAST.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mem/slicc/ast/OperatorExprAST.py b/src/mem/slicc/ast/OperatorExprAST.py index b1614b6a0..7752e9c07 100644 --- a/src/mem/slicc/ast/OperatorExprAST.py +++ b/src/mem/slicc/ast/OperatorExprAST.py @@ -67,6 +67,7 @@ class InfixOperatorExprAST(ExprAST): elif self.op in ("+", "-", "*", "/"): expected_types = [("int", "int", "int"), ("Cycles", "Cycles", "Cycles"), + ("Tick", "Tick", "Tick"), ("Cycles", "int", "Cycles"), ("Scalar", "int", "Scalar"), ("int", "bool", "int"), |