diff options
Diffstat (limited to 'pyGHDL')
-rw-r--r-- | pyGHDL/dom/NonStandard.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pyGHDL/dom/NonStandard.py b/pyGHDL/dom/NonStandard.py index e84396433..31cc28480 100644 --- a/pyGHDL/dom/NonStandard.py +++ b/pyGHDL/dom/NonStandard.py @@ -40,7 +40,7 @@ import time from pathlib import Path from typing import Any -from pyTooling.Decorators import export +from pyTooling.Decorators import export, InheritDocString from pyVHDLModel import VHDLVersion from pyVHDLModel import Design as VHDLModel_Design @@ -85,8 +85,9 @@ from pyGHDL.dom.PSL import VerificationUnit, VerificationProperty, VerificationM @export class Design(VHDLModel_Design): - def __init__(self): - super().__init__() + @InheritDocString(VHDLModel_Design) + def __init__(self, name: str = None): + super().__init__(name) self.__ghdl_init() |