From 31659e83fbf6fa2b9024908cdba428145ef1fade Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Mon, 28 Jan 2013 06:11:42 -0600 Subject: [PATCH] ruby: remove call to curCycle in panic() The panic() function already prints the current tick value. This call to curCycle() is as such redundant. Since we are trying to move towards multiple clock domains, this call will print misleading time. --- src/mem/slicc/ast/AST.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/mem/slicc/ast/AST.py b/src/mem/slicc/ast/AST.py index 6eaa452cc..0db4a52c3 100644 --- a/src/mem/slicc/ast/AST.py +++ b/src/mem/slicc/ast/AST.py @@ -54,7 +54,6 @@ class AST(PairContainer): message = message % args code = self.slicc.codeFormatter() code(''' -panic("Runtime Error at ${{self.location}}, Ruby Time: %d, %s.\\n", - curCycle(), $message); +panic("Runtime Error at ${{self.location}}: %s.\\n", $message); ''') return code -- 2.30.2