pyVHDLModel
pyVHDLModel copied to clipboard
An abstract language model of VHDL written in Python.
I tried to run this code: ```python from pathlib import Path from pyGHDL.dom.NonStandard import Design, Document ``` but the second import crashes: ```log (common) C:\Work\Scripts\Python\PyGHDL>python test.py Traceback (most recent call...
Updates the requirements on [sphinx](https://github.com/sphinx-doc/sphinx) to permit the latest version. Release notes Sourced from sphinx's releases. v6.1.3 Changelog: https://www.sphinx-doc.org/en/master/changes.html Changelog Sourced from sphinx's changelog. Release 6.1.3 (released Jan 10, 2023)...
# New Features * Added resolution of record element subtypes in packages. * New `RecordElementSymbol`. # Changes * Bumped dependencies. * Added `Nullable` if a parameter has a default value...
I am curious on your thoughts in allowing pyVHDLModel to be used in analyzing partial (missing files) or mixed language projects. Currently, the Analyze function in `__init__.py` will raise an...
/python3.11/site-packages/pyVHDLModel/__init__.py", line 705, in _ImportObjects package._namespace._elements[declaredItem._identifier] = declaredItem ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Constant' object has no attribute '_identifier'. Did you mean: '_identifiers'? I assume this may also cause issues with other elements...
/python3.11/site-packages/pyVHDLModel/__init__.py", line 845, in _LinkItems subtype = package._namespace.FindSubtype(element._subtype) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/python3.11/site-packages/pyVHDLModel/Namespace.py", line 116, in FindSubtype raise KeyError(f"Subtype '{subtypeSymbol._name._identifier}' not found in '{self._name}'.") KeyError: "Subtype 'Subtype_Name' not found in 'pkg_file1'." Subtype_Name...