diff options
author | Jason Lowe-Power <jason@lowepower.com> | 2017-07-27 11:50:06 -0500 |
---|---|---|
committer | Jason Lowe-Power <jason@lowepower.com> | 2018-03-23 17:49:06 +0000 |
commit | 9f37f28582bd7303a054af52d86aeff466b54637 (patch) | |
tree | 1d38dbb6f852f47d6877b3900965b92eb3ad968c /src/mem | |
parent | 173227b390895636947c7c1bf5cbcd60d3c40ee7 (diff) | |
download | gem5-9f37f28582bd7303a054af52d86aeff466b54637.tar.xz |
ruby: Make sure addresses print in hex
Added fix in the invalid transition panic and various places in ruby
random tester.
Change-Id: I879264da58369faf7de49d1a28b2da1cb935ef0a
Signed-off-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-on: https://gem5-review.googlesource.com/8941
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Diffstat (limited to 'src/mem')
-rw-r--r-- | src/mem/slicc/symbols/StateMachine.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/slicc/symbols/StateMachine.py b/src/mem/slicc/symbols/StateMachine.py index 3f4e43a8b..e63f6fc60 100644 --- a/src/mem/slicc/symbols/StateMachine.py +++ b/src/mem/slicc/symbols/StateMachine.py @@ -1400,7 +1400,7 @@ if (!checkResourceAvailable(%s_RequestType_%s, addr)) { code(''' default: panic("Invalid transition\\n" - "%s time: %d addr: %s event: %s state: %s\\n", + "%s time: %d addr: %#x event: %s state: %s\\n", name(), curCycle(), addr, event, state); } |