projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31d0a42
)
slicc: improved invalid transition message
author
Brad Beckmann
<Brad.Beckmann@amd.com>
Sat, 19 Mar 2011 21:17:48 +0000
(14:17 -0700)
committer
Brad Beckmann
<Brad.Beckmann@amd.com>
Sat, 19 Mar 2011 21:17:48 +0000
(14:17 -0700)
src/mem/slicc/symbols/StateMachine.py
patch
|
blob
|
history
diff --git
a/src/mem/slicc/symbols/StateMachine.py
b/src/mem/slicc/symbols/StateMachine.py
index 5be9b4ced337c2c5e94b9ad33e09011ea6d0e45a..fb7556fdd6bc4a287e51c8c913ae5301916006e1 100644
(file)
--- a/
src/mem/slicc/symbols/StateMachine.py
+++ b/
src/mem/slicc/symbols/StateMachine.py
@@
-1232,8
+1232,8
@@
if (!%s.areNSlotsAvailable(%s))
code('''
default:
fatal("Invalid transition\\n"
- "
version: %d
time: %d addr: %s event: %s state: %s\\n",
-
m_version
, g_eventQueue_ptr->getTime(), addr, event, state);
+ "
%s
time: %d addr: %s event: %s state: %s\\n",
+
name()
, g_eventQueue_ptr->getTime(), addr, event, state);
}
return TransitionResult_Valid;
}