From: Cesar Strauss Date: Sun, 23 May 2021 18:53:51 +0000 (-0300) Subject: Give a trace name for each exception type X-Git-Tag: xlen-bcd~571 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b0f7ac6c252e5926103a7f2d90233e054d6bdf63;p=openpower-isa.git Give a trace name for each exception type This helps to identify them in GTKWave for debugging. --- diff --git a/src/openpower/exceptions.py b/src/openpower/exceptions.py index e648ba1f..9aa09522 100644 --- 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))