projects
/
openpower-isa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35ac520
)
Give a trace name for each exception type
author
Cesar Strauss
<cestrauss@gmail.com>
Sun, 23 May 2021 18:53:51 +0000
(15:53 -0300)
committer
Cesar Strauss
<cestrauss@gmail.com>
Sun, 23 May 2021 18:53:51 +0000
(15:53 -0300)
This helps to identify them in GTKWave for debugging.
src/openpower/exceptions.py
patch
|
blob
|
history
diff --git
a/src/openpower/exceptions.py
b/src/openpower/exceptions.py
index e648ba1fc62d4623b2fb473cb8dc19413c91d1f0..9aa09522477e4fc4c0e54d1de156a7150491438c 100644
(file)
--- a/
src/openpower/exceptions.py
+++ b/
src/openpower/exceptions.py
@@
-11,5
+11,5
@@
class LDSTException(RecordObject):
def __init__(self, name=None):
RecordObject.__init__(self, name=name)
for f in self._exc_types:
- setattr(self, f, Signal())
+ setattr(self, f, Signal(
name=f
))