From b0f7ac6c252e5926103a7f2d90233e054d6bdf63 Mon Sep 17 00:00:00 2001 From: Cesar Strauss Date: Sun, 23 May 2021 15:53:51 -0300 Subject: [PATCH] Give a trace name for each exception type This helps to identify them in GTKWave for debugging. --- src/openpower/exceptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.30.2