-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
7 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,7 +52,7 @@ | |
__email__ = "[email protected]" | ||
__copyright__ = "2023-2024, Patrick Lehmann" | ||
__license__ = "Apache License, Version 2.0" | ||
__version__ = "0.3.1" | ||
__version__ = "0.3.2" | ||
|
||
|
||
@export | ||
|
@@ -73,7 +73,7 @@ class SystemRDLVersion(Enum): | |
SystemRDL2012 = 2012 #: SystemRDL-2012 | ||
SystemRDL2017 = 2017 #: SystemRDL-2017 | ||
|
||
Latest = 10000 | ||
Latest = 10000 #: Latest SystemRDL (2017) | ||
|
||
__VERSION_MAPPINGS__: Dict[Union[int, str], Enum] = { | ||
-1: Any, | ||
|
@@ -110,7 +110,7 @@ def Parse(cls, value: Union[int, str]) -> "SystemRDLVersion": | |
""" | ||
Parses a SystemRDL year code as integer or string to an enum value. | ||
:param value: VHDL/VHDL-AMS year code. | ||
:param value: SystemRDL year code. | ||
:returns: Enumeration value. | ||
:raises ValueError: If the year code is not recognized. | ||
""" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters