Skip to content
Browse files

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.
  • Loading branch information...
1 parent 9bc132e commit 31659e83fbf6fa2b9024908cdba428145ef1fade Nilay Vaish committed Jan 28, 2013
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/mem/slicc/ast/
3 src/mem/slicc/ast/
@@ -54,7 +54,6 @@ def embedError(self, message, *args):
message = message % args
code = self.slicc.codeFormatter()
-panic("Runtime Error at ${{self.location}}, Ruby Time: %d, %s.\\n",
- curCycle(), $message);
+panic("Runtime Error at ${{self.location}}: %s.\\n", $message);
return code

0 comments on commit 31659e8

Please sign in to comment.
Something went wrong with that request. Please try again.