pyVHDLModel 0.41.0__tar.gz → 0.42.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pyvhdlmodel-0.41.0 → pyvhdlmodel-0.42.0}/PKG-INFO +25 -25
- {pyvhdlmodel-0.41.0 → pyvhdlmodel-0.42.0}/pyVHDLModel/Association.py +3 -2
- {pyvhdlmodel-0.41.0 → pyvhdlmodel-0.42.0}/pyVHDLModel/Base.py +11 -11
- {pyvhdlmodel-0.41.0 → pyvhdlmodel-0.42.0}/pyVHDLModel/Common.py +16 -12
- {pyvhdlmodel-0.41.0 → pyvhdlmodel-0.42.0}/pyVHDLModel/Concurrent.py +141 -89
- {pyvhdlmodel-0.41.0 → pyvhdlmodel-0.42.0}/pyVHDLModel/Configuration.py +13 -11
- {pyvhdlmodel-0.41.0 → pyvhdlmodel-0.42.0}/pyVHDLModel/Declaration.py +10 -7
- {pyvhdlmodel-0.41.0 → pyvhdlmodel-0.42.0}/pyVHDLModel/DesignUnit.py +88 -48
- {pyvhdlmodel-0.41.0 → pyvhdlmodel-0.42.0}/pyVHDLModel/Exception.py +47 -47
- {pyvhdlmodel-0.41.0 → pyvhdlmodel-0.42.0}/pyVHDLModel/Expression.py +17 -17
- {pyvhdlmodel-0.41.0 → pyvhdlmodel-0.42.0}/pyVHDLModel/IEEE.py +2 -1
- {pyvhdlmodel-0.41.0 → pyvhdlmodel-0.42.0}/pyVHDLModel/Instantiation.py +74 -24
- {pyvhdlmodel-0.41.0 → pyvhdlmodel-0.42.0}/pyVHDLModel/Interface.py +265 -141
- {pyvhdlmodel-0.41.0 → pyvhdlmodel-0.42.0}/pyVHDLModel/Name.py +8 -8
- {pyvhdlmodel-0.41.0 → pyvhdlmodel-0.42.0}/pyVHDLModel/Namespace.py +2 -1
- {pyvhdlmodel-0.41.0 → pyvhdlmodel-0.42.0}/pyVHDLModel/Object.py +19 -14
- {pyvhdlmodel-0.41.0 → pyvhdlmodel-0.42.0}/pyVHDLModel/PSLModel.py +2 -1
- {pyvhdlmodel-0.41.0 → pyvhdlmodel-0.42.0}/pyVHDLModel/Predefined.py +6 -5
- {pyvhdlmodel-0.41.0 → pyvhdlmodel-0.42.0}/pyVHDLModel/Regions.py +670 -61
- {pyvhdlmodel-0.41.0 → pyvhdlmodel-0.42.0}/pyVHDLModel/Sequential.py +73 -70
- {pyvhdlmodel-0.41.0 → pyvhdlmodel-0.42.0}/pyVHDLModel/Subprogram.py +184 -95
- {pyvhdlmodel-0.41.0 → pyvhdlmodel-0.42.0}/pyVHDLModel/Type.py +47 -31
- {pyvhdlmodel-0.41.0 → pyvhdlmodel-0.42.0}/pyVHDLModel/__init__.py +22 -14
- {pyvhdlmodel-0.41.0 → pyvhdlmodel-0.42.0}/pyVHDLModel.egg-info/PKG-INFO +25 -25
- {pyvhdlmodel-0.41.0 → pyvhdlmodel-0.42.0}/LICENSE.md +0 -0
- {pyvhdlmodel-0.41.0 → pyvhdlmodel-0.42.0}/README.md +0 -0
- {pyvhdlmodel-0.41.0 → pyvhdlmodel-0.42.0}/pyVHDLModel/Formatting/VHDL.py +0 -0
- {pyvhdlmodel-0.41.0 → pyvhdlmodel-0.42.0}/pyVHDLModel/Formatting/__init__.py +0 -0
- {pyvhdlmodel-0.41.0 → pyvhdlmodel-0.42.0}/pyVHDLModel/STD.py +0 -0
- {pyvhdlmodel-0.41.0 → pyvhdlmodel-0.42.0}/pyVHDLModel/Symbol.py +0 -0
- {pyvhdlmodel-0.41.0 → pyvhdlmodel-0.42.0}/pyVHDLModel/Visitor.py +0 -0
- {pyvhdlmodel-0.41.0 → pyvhdlmodel-0.42.0}/pyVHDLModel/py.typed +0 -0
- {pyvhdlmodel-0.41.0 → pyvhdlmodel-0.42.0}/pyVHDLModel.egg-info/SOURCES.txt +0 -0
- {pyvhdlmodel-0.41.0 → pyvhdlmodel-0.42.0}/pyVHDLModel.egg-info/dependency_links.txt +0 -0
- {pyvhdlmodel-0.41.0 → pyvhdlmodel-0.42.0}/pyVHDLModel.egg-info/requires.txt +24 -24
- {pyvhdlmodel-0.41.0 → pyvhdlmodel-0.42.0}/pyVHDLModel.egg-info/top_level.txt +0 -0
- {pyvhdlmodel-0.41.0 → pyvhdlmodel-0.42.0}/pyproject.toml +0 -0
- {pyvhdlmodel-0.41.0 → pyvhdlmodel-0.42.0}/setup.cfg +0 -0
- {pyvhdlmodel-0.41.0 → pyvhdlmodel-0.42.0}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyVHDLModel
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.42.0
|
|
4
4
|
Summary: An abstract VHDL language model.
|
|
5
5
|
Home-page: https://GitHub.com/VHDL/pyVHDLModel
|
|
6
6
|
Author: Patrick Lehmann
|
|
@@ -28,43 +28,43 @@ Description-Content-Type: text/markdown
|
|
|
28
28
|
License-File: LICENSE.md
|
|
29
29
|
Requires-Dist: pyTooling<11.0,>=10.1.1
|
|
30
30
|
Provides-Extra: doc
|
|
31
|
-
Requires-Dist: sphinx~=9.2; extra == "doc"
|
|
32
|
-
Requires-Dist: docutils_stubs~=0.0.22; extra == "doc"
|
|
33
|
-
Requires-Dist: autoapi>=2.0.1; extra == "doc"
|
|
34
|
-
Requires-Dist: sphinx_autodoc_typehints~=3.17; extra == "doc"
|
|
35
|
-
Requires-Dist: sphinx-copybutton>=0.5.2; extra == "doc"
|
|
36
31
|
Requires-Dist: pyTooling.Sphinx[reports]~=1.0; extra == "doc"
|
|
37
|
-
Requires-Dist:
|
|
38
|
-
Requires-Dist: sphinx_design~=0.7.0; extra == "doc"
|
|
32
|
+
Requires-Dist: docutils_stubs~=0.0.22; extra == "doc"
|
|
39
33
|
Requires-Dist: pyTooling<11.0,>=10.1.1; extra == "doc"
|
|
34
|
+
Requires-Dist: sphinx_rtd_theme~=3.1; extra == "doc"
|
|
35
|
+
Requires-Dist: sphinx-copybutton>=0.5.2; extra == "doc"
|
|
36
|
+
Requires-Dist: sphinx_autodoc_typehints~=3.17; extra == "doc"
|
|
37
|
+
Requires-Dist: sphinx~=9.2; extra == "doc"
|
|
38
|
+
Requires-Dist: autoapi>=2.0.1; extra == "doc"
|
|
40
39
|
Requires-Dist: sphinxcontrib-mermaid~=2.1; extra == "doc"
|
|
40
|
+
Requires-Dist: sphinx_design~=0.7.0; extra == "doc"
|
|
41
41
|
Provides-Extra: test
|
|
42
|
-
Requires-Dist: pytest-xdist~=3.8; extra == "test"
|
|
43
|
-
Requires-Dist: lxml<7.0,>=6.1.3; extra == "test"
|
|
44
42
|
Requires-Dist: Coverage~=7.17; extra == "test"
|
|
45
|
-
Requires-Dist: pytest
|
|
46
|
-
Requires-Dist:
|
|
43
|
+
Requires-Dist: pytest~=9.1; extra == "test"
|
|
44
|
+
Requires-Dist: pytest-xdist~=3.8; extra == "test"
|
|
47
45
|
Requires-Dist: pyTooling<11.0,>=10.1.1; extra == "test"
|
|
46
|
+
Requires-Dist: pytest-cov~=7.1; extra == "test"
|
|
48
47
|
Requires-Dist: typing_extensions~=4.16; extra == "test"
|
|
49
|
-
Requires-Dist:
|
|
48
|
+
Requires-Dist: lxml<7.0,>=6.1.3; extra == "test"
|
|
49
|
+
Requires-Dist: mypy[reports]~=2.4; extra == "test"
|
|
50
50
|
Provides-Extra: all
|
|
51
|
-
Requires-Dist:
|
|
52
|
-
Requires-Dist:
|
|
51
|
+
Requires-Dist: Coverage~=7.17; extra == "all"
|
|
52
|
+
Requires-Dist: pytest~=9.1; extra == "all"
|
|
53
|
+
Requires-Dist: pyTooling.Sphinx[reports]~=1.0; extra == "all"
|
|
53
54
|
Requires-Dist: docutils_stubs~=0.0.22; extra == "all"
|
|
54
|
-
Requires-Dist: autoapi>=2.0.1; extra == "all"
|
|
55
55
|
Requires-Dist: pytest-xdist~=3.8; extra == "all"
|
|
56
|
-
Requires-Dist: sphinx_autodoc_typehints~=3.17; extra == "all"
|
|
57
|
-
Requires-Dist: sphinx-copybutton>=0.5.2; extra == "all"
|
|
58
|
-
Requires-Dist: lxml<7.0,>=6.1.3; extra == "all"
|
|
59
|
-
Requires-Dist: pyTooling.Sphinx[reports]~=1.0; extra == "all"
|
|
60
|
-
Requires-Dist: Coverage~=7.17; extra == "all"
|
|
61
|
-
Requires-Dist: pytest-cov~=7.1; extra == "all"
|
|
62
|
-
Requires-Dist: sphinx_rtd_theme~=3.1; extra == "all"
|
|
63
|
-
Requires-Dist: sphinx_design~=0.7.0; extra == "all"
|
|
64
56
|
Requires-Dist: pyTooling<11.0,>=10.1.1; extra == "all"
|
|
57
|
+
Requires-Dist: sphinx_rtd_theme~=3.1; extra == "all"
|
|
58
|
+
Requires-Dist: pytest-cov~=7.1; extra == "all"
|
|
59
|
+
Requires-Dist: mypy[reports]~=2.4; extra == "all"
|
|
60
|
+
Requires-Dist: sphinx-copybutton>=0.5.2; extra == "all"
|
|
65
61
|
Requires-Dist: typing_extensions~=4.16; extra == "all"
|
|
66
|
-
Requires-Dist:
|
|
62
|
+
Requires-Dist: sphinx_autodoc_typehints~=3.17; extra == "all"
|
|
63
|
+
Requires-Dist: sphinx~=9.2; extra == "all"
|
|
64
|
+
Requires-Dist: lxml<7.0,>=6.1.3; extra == "all"
|
|
65
|
+
Requires-Dist: autoapi>=2.0.1; extra == "all"
|
|
67
66
|
Requires-Dist: sphinxcontrib-mermaid~=2.1; extra == "all"
|
|
67
|
+
Requires-Dist: sphinx_design~=0.7.0; extra == "all"
|
|
68
68
|
Dynamic: author
|
|
69
69
|
Dynamic: author-email
|
|
70
70
|
Dynamic: classifier
|
|
@@ -201,7 +201,8 @@ class GenericMapAspectMixin(metaclass=ExtendedType, mixin=True):
|
|
|
201
201
|
"""
|
|
202
202
|
Initializes a generic map aspect.
|
|
203
203
|
|
|
204
|
-
:param genericAssociationItems:
|
|
204
|
+
:param genericAssociationItems: Optional, list of all generic associations.
|
|
205
|
+
Default: ``None``, no generic associations.
|
|
205
206
|
"""
|
|
206
207
|
self._genericAssociationItems = genericAssociationItemList = []
|
|
207
208
|
if genericAssociationItems is not None:
|
|
@@ -431,7 +432,7 @@ class PortMapAspectMixin(metaclass=ExtendedType, mixin=True):
|
|
|
431
432
|
"""
|
|
432
433
|
Initializes a port map aspect.
|
|
433
434
|
|
|
434
|
-
:param portAssociationItems:
|
|
435
|
+
:param portAssociationItems: Optional, list of all port associations. Default: ``None``, no port associations.
|
|
435
436
|
"""
|
|
436
437
|
self._portAssociationItems = portAssociationItemList = []
|
|
437
438
|
if portAssociationItems is not None:
|
|
@@ -293,7 +293,7 @@ class ModelEntity(metaclass=ExtendedType, slots=True):
|
|
|
293
293
|
"""
|
|
294
294
|
Initializes a VHDL model entity.
|
|
295
295
|
|
|
296
|
-
:param parent:
|
|
296
|
+
:param parent: Optional, the parent model entity of this entity. Default: ``None``, no parent.
|
|
297
297
|
"""
|
|
298
298
|
self._parent = parent
|
|
299
299
|
|
|
@@ -739,7 +739,7 @@ class ConditionalMixin(metaclass=ExtendedType, mixin=True):
|
|
|
739
739
|
|
|
740
740
|
When the condition is not None, the condition's parent reference is set to this statement.
|
|
741
741
|
|
|
742
|
-
:param condition:
|
|
742
|
+
:param condition: Optional, the expression representing the condition. Default: ``None``, no condition.
|
|
743
743
|
"""
|
|
744
744
|
self._condition = condition
|
|
745
745
|
if condition is not None:
|
|
@@ -847,8 +847,8 @@ class ReportStatementMixin(metaclass=ExtendedType, mixin=True):
|
|
|
847
847
|
"""
|
|
848
848
|
Initializes a report statement.
|
|
849
849
|
|
|
850
|
-
:param message:
|
|
851
|
-
:param severity:
|
|
850
|
+
:param message: Optional, the reported message. Default: ``None``, no message.
|
|
851
|
+
:param severity: Optional, the reported severity level. Default: ``None``, no severity level.
|
|
852
852
|
"""
|
|
853
853
|
self._message = message
|
|
854
854
|
if message is not None:
|
|
@@ -907,8 +907,8 @@ class AssertStatementMixin(ReportStatementMixin, ConditionalMixin, mixin=True):
|
|
|
907
907
|
Initializes an assert statement.
|
|
908
908
|
|
|
909
909
|
:param condition: The condition guarding this statement.
|
|
910
|
-
:param message:
|
|
911
|
-
:param severity:
|
|
910
|
+
:param message: Optional, the reported message. Default: ``None``, no message.
|
|
911
|
+
:param severity: Optional, the reported severity level. Default: ``None``, no severity level.
|
|
912
912
|
"""
|
|
913
913
|
super().__init__(message, severity)
|
|
914
914
|
ConditionalMixin.__init__(self, condition)
|
|
@@ -988,7 +988,7 @@ class ChoicesMixin(metaclass=ExtendedType, mixin=True):
|
|
|
988
988
|
"""
|
|
989
989
|
Initializes choices.
|
|
990
990
|
|
|
991
|
-
:param choices:
|
|
991
|
+
:param choices: Optional, list of all choices selecting this alternative. Default: ``None``, no choices.
|
|
992
992
|
"""
|
|
993
993
|
self._choices = choiceList = []
|
|
994
994
|
if choices is not None:
|
|
@@ -1040,7 +1040,7 @@ class SimpleRange(Range):
|
|
|
1040
1040
|
:param leftBound: The range's left bound.
|
|
1041
1041
|
:param rightBound: The range's right bound.
|
|
1042
1042
|
:param direction: The range's direction (``to`` or ``downto``).
|
|
1043
|
-
:param parent:
|
|
1043
|
+
:param parent: Optional, the parent model entity. Default: ``None``, no parent.
|
|
1044
1044
|
"""
|
|
1045
1045
|
super().__init__(parent)
|
|
1046
1046
|
|
|
@@ -1140,7 +1140,7 @@ class RangeFromName(Range):
|
|
|
1140
1140
|
Initialize a range denoted by a name.
|
|
1141
1141
|
|
|
1142
1142
|
:param symbol: The symbol referencing the range attribute or discrete subtype.
|
|
1143
|
-
:param parent:
|
|
1143
|
+
:param parent: Optional, the parent model entity. Default: ``None``, no parent.
|
|
1144
1144
|
"""
|
|
1145
1145
|
super().__init__(parent)
|
|
1146
1146
|
|
|
@@ -1216,8 +1216,8 @@ class WaveformElement(ModelEntity):
|
|
|
1216
1216
|
Initializes a waveform element.
|
|
1217
1217
|
|
|
1218
1218
|
:param expression: The value this waveform element assigns.
|
|
1219
|
-
:param after:
|
|
1220
|
-
:param parent:
|
|
1219
|
+
:param after: Optional, the delay after which the value is assigned. Default: ``None``, no delay.
|
|
1220
|
+
:param parent: Optional, the parent model entity of this entity. Default: ``None``, no parent.
|
|
1221
1221
|
"""
|
|
1222
1222
|
super().__init__(parent)
|
|
1223
1223
|
|
|
@@ -92,7 +92,8 @@ class AllowBlackboxMixin(metaclass=ExtendedType, mixin=True, expects=("_parent",
|
|
|
92
92
|
"""
|
|
93
93
|
Initializes a hierarchical model entity allow for blackboxes.
|
|
94
94
|
|
|
95
|
-
:param allowBlackbox:
|
|
95
|
+
:param allowBlackbox: Optional, allow blackboxes for components in language entity.
|
|
96
|
+
Default: ``None``, inherited from the parent.
|
|
96
97
|
"""
|
|
97
98
|
self._allowBlackbox = allowBlackbox
|
|
98
99
|
|
|
@@ -140,8 +141,8 @@ class Statement(ModelEntity, LabeledEntityMixin):
|
|
|
140
141
|
"""
|
|
141
142
|
Initializes a statement.
|
|
142
143
|
|
|
143
|
-
:param label:
|
|
144
|
-
:param parent:
|
|
144
|
+
:param label: Optional, the label of a model entity. Default: ``None``, no label.
|
|
145
|
+
:param parent: Optional, the parent model entity of this entity. Default: ``None``, no parent.
|
|
145
146
|
"""
|
|
146
147
|
super().__init__(parent)
|
|
147
148
|
LabeledEntityMixin.__init__(self, label)
|
|
@@ -172,7 +173,8 @@ class ProcedureCallMixin(metaclass=ExtendedType, mixin=True):
|
|
|
172
173
|
Initializes a procedure call.
|
|
173
174
|
|
|
174
175
|
:param procedureName: Reference to the called procedure.
|
|
175
|
-
:param parameterAssociationItems:
|
|
176
|
+
:param parameterAssociationItems: Optional, list of all parameter associations of the call.
|
|
177
|
+
Default: ``None``, no parameter associations.
|
|
176
178
|
"""
|
|
177
179
|
self._procedure = procedureName
|
|
178
180
|
procedureName.Parent = self
|
|
@@ -616,8 +618,9 @@ class ConditionalWaveform(ModelEntity, WaveformMixin, ConditionalMixin):
|
|
|
616
618
|
Initializes a conditional waveform.
|
|
617
619
|
|
|
618
620
|
:param waveform: List of all waveform elements, in the order they were written.
|
|
619
|
-
:param condition:
|
|
620
|
-
|
|
621
|
+
:param condition: Optional, the condition selecting this alternative.
|
|
622
|
+
Default: ``None``, the final alternative without ``when``.
|
|
623
|
+
:param parent: Optional, the parent model entity of this entity. Default: ``None``, no parent.
|
|
621
624
|
"""
|
|
622
625
|
super().__init__(parent)
|
|
623
626
|
WaveformMixin.__init__(self, waveform)
|
|
@@ -669,8 +672,9 @@ class ConditionalExpression(ModelEntity, ExpressionMixin, ConditionalMixin):
|
|
|
669
672
|
Initializes a conditional expression.
|
|
670
673
|
|
|
671
674
|
:param expression: The value assigned when the condition holds.
|
|
672
|
-
:param condition:
|
|
673
|
-
|
|
675
|
+
:param condition: Optional, the condition selecting this alternative.
|
|
676
|
+
Default: ``None``, the final alternative without ``when``.
|
|
677
|
+
:param parent: Optional, the parent model entity of this entity. Default: ``None``, no parent.
|
|
674
678
|
"""
|
|
675
679
|
super().__init__(parent)
|
|
676
680
|
ExpressionMixin.__init__(self, expression)
|
|
@@ -769,7 +773,7 @@ class SelectedWaveform(BaseCase, WaveformMixin, ChoicesMixin):
|
|
|
769
773
|
|
|
770
774
|
:param choices: List of all choices selecting this alternative.
|
|
771
775
|
:param waveform: List of all waveform elements, in the order they were written.
|
|
772
|
-
:param parent:
|
|
776
|
+
:param parent: Optional, the parent model entity of this entity. Default: ``None``, no parent.
|
|
773
777
|
"""
|
|
774
778
|
super().__init__(parent)
|
|
775
779
|
WaveformMixin.__init__(self, waveform)
|
|
@@ -813,7 +817,7 @@ class OthersSelectedWaveform(BaseCase, WaveformMixin):
|
|
|
813
817
|
Initializes an others selected waveform.
|
|
814
818
|
|
|
815
819
|
:param waveform: List of all waveform elements, in the order they were written.
|
|
816
|
-
:param parent:
|
|
820
|
+
:param parent: Optional, the parent model entity of this entity. Default: ``None``, no parent.
|
|
817
821
|
"""
|
|
818
822
|
super().__init__(parent)
|
|
819
823
|
WaveformMixin.__init__(self, waveform)
|
|
@@ -861,7 +865,7 @@ class SelectedExpression(BaseCase, ExpressionMixin, ChoicesMixin):
|
|
|
861
865
|
|
|
862
866
|
:param choices: List of all choices selecting this alternative.
|
|
863
867
|
:param expression: The value assigned for the matching choices.
|
|
864
|
-
:param parent:
|
|
868
|
+
:param parent: Optional, the parent model entity of this entity. Default: ``None``, no parent.
|
|
865
869
|
"""
|
|
866
870
|
super().__init__(parent)
|
|
867
871
|
ExpressionMixin.__init__(self, expression)
|
|
@@ -905,7 +909,7 @@ class OthersSelectedExpression(BaseCase, ExpressionMixin):
|
|
|
905
909
|
Initializes an others selected expression.
|
|
906
910
|
|
|
907
911
|
:param expression: The value assigned for every unnamed choice.
|
|
908
|
-
:param parent:
|
|
912
|
+
:param parent: Optional, the parent model entity of this entity. Default: ``None``, no parent.
|
|
909
913
|
"""
|
|
910
914
|
super().__init__(parent)
|
|
911
915
|
ExpressionMixin.__init__(self, expression)
|