Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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...
commit 31659e83fbf6fa2b9024908cdba428145ef1fade 1 parent 9bc132e
Nilay Vaish authored

Showing 1 changed file with 1 addition and 2 deletions. Show diff stats Hide diff stats

  1. +1 2  src/mem/slicc/ast/AST.py
3  src/mem/slicc/ast/AST.py
@@ -54,7 +54,6 @@ def embedError(self, message, *args):
54 54 message = message % args
55 55 code = self.slicc.codeFormatter()
56 56 code('''
57   -panic("Runtime Error at ${{self.location}}, Ruby Time: %d, %s.\\n",
58   - curCycle(), $message);
  57 +panic("Runtime Error at ${{self.location}}: %s.\\n", $message);
59 58 ''')
60 59 return code

0 comments on commit 31659e8

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