Skip to content

v0.22.0

Compare
Choose a tag to compare
@github-actions github-actions released this 11 Jan 11:52
1314427

Release created on: 11.01.2023 - 11:52:07

New Features

  • Restructured SyntaxModel.py into 18 files and removed it:
    • Association.py
    • Base.py
    • Common.py
    • Concurrent.py
    • Declaration.py
    • DesignUnit.py
    • Exception.py
    • Expression.py
    • Instantiation.py
    • Interface.py
    • Name.py
    • Object.py
    • PSLModel.py
    • Scope.py
    • Sequential.py
    • Subprogram.py
    • Symbol.py
    • Type.py
  • Added base exception class VHDLModelException.
  • Added case specific exceptions with context information:
    • LibraryExistsInDesignError
    • LibraryRegisteredToForeignDesignError
    • LibraryNotRegisteredError
    • EntityExistsInLibraryError
    • ArchitectureExistsInLibraryError
    • PackageExistsInLibraryError
    • PackageBodyExistsError
    • ConfigurationExistsInLibraryError
    • ContextExistsInLibraryError
    • ReferencedLibraryNotExistingError
  • Added namespaces to VHDL entities with concurrent declaration regions.
  • Added property Entity to Component.
  • Handle component instantiations.
    • Component declarations are indexed.
    • Reference components via use clauses.
    • Instantiation dependencies are now listed in the dependency graph.
  • Implemented ComputeHierarchy:
    • Derive the hierarchy graph from dependency graph.
  • Implemented property TopLevel.
    (Former method GetTopLevel).)
  • Added CreateCompileOrderGraph and ComputeCompileOrder:
    • Derive the compile order graph from dependency graph.
  • Implemented IterateDocumentsInCompileOrder to return a generator of documents in correct order.
  • Added vertex attribute "predefined" to vertices in the dependency graph if it's a design unit from std or ieee.

Changes

  • Removed old Symbol class and renamed the new symbol class NewSymbol to Symbol.
    Thus there is again just one symbol class call Symbol.
  • Changed raise Exception(...) to raise VHDLModelException(...).
  • Added doc-strings for names.
  • Updated copyright to year 2023.

Bug Fixes

  • Fixed Name when prefix parameter is None.
  • Fixed Property name Has_Prefix to HasPrefix on Name.

Related PRs:

pyVHDLModel