aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/dom/DesignUnit.py
Commit message (Collapse)AuthorAgeFilesLines
* Dependency Graphs (#2308)Patrick Lehmann2023-01-121-33/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Further fixes to the example code. * Bumped dependencies. * Fixed Debouncer example code. * Some more cleanup. * Black's opinion. * Run with pyVHDLModel dev-branch. * Fixed imports for Name. * Fixed test case. * Added a formatter to write dependency graphs and hierarchy as graphml. * Improved GraphML formatting. * Write compile order graph. * Computing compile order. * Bumped dependencies. * Black's opinion. * Fixed incorrect dependency.
* Formatting by black.Patrick Lehmann2022-12-301-1/+2
|
* Bumped dependency to pyVHDLModel to v0.20.2Patrick Lehmann2022-12-301-2/+2
|
* Added Get***Symbol functions. Improved Symbol handling.Patrick Lehmann2022-12-291-3/+1
|
* Implemented GetContextSymbol and fixed how ContextReferenceSymbols are created.Patrick Lehmann2022-12-271-5/+3
|
* Formatting by black.Patrick Lehmann2022-12-261-1/+3
|
* More adjustments to new symbols.Patrick Lehmann2022-12-261-9/+9
|
* New handling of symbols.Patrick Lehmann2022-12-261-39/+10
|
* Converted more symbols for packages and contexts.Patrick Lehmann2022-12-251-9/+36
|
* Removed declarations of __all__ when not needed by export.Patrick Lehmann2022-12-251-3/+0
|
* We should have asked black first.Patrick Lehmann2022-12-231-2/+4
|
* Fixed tuple -> name.Patrick Lehmann2022-12-231-1/+1
|
* Updated to pyVHDLModel v0.18.0.Patrick Lehmann2022-12-231-25/+28
|
* Here is blacks opinion.Patrick Lehmann2022-12-231-15/+9
|
* Added handling of associated documentation comments.Patrick Lehmann2022-12-231-19/+35
|
* Converted string formatting to f-strings.Patrick Lehmann2022-11-301-5/+1
|
* Changed export decorator from pydecor to pyTooling.DecoratorsPatrick Lehmann2021-12-121-1/+1
|
* black: rerun, to pick pyproject settingsumarcor2021-08-231-21/+7
|
* Fixes due to a bug in pyVHDLModel. Name Context was used twice.Patrick Lehmann2021-08-231-9/+9
|
* Some fixes.Patrick Lehmann2021-08-231-2/+1
|
* Handle associations.Patrick Lehmann2021-08-231-0/+1
|
* Handle context references.Patrick Lehmann2021-08-231-4/+22
|
* Handle contexts.Patrick Lehmann2021-08-231-25/+70
|
* Implemented if, case and for-loop statements.Patrick Lehmann2021-08-231-4/+11
|
* Preparations for sequential statements.Patrick Lehmann2021-08-231-3/+3
|
* Renamed BodyItems to Statements.Patrick Lehmann2021-08-231-8/+8
|
* Changed List to Iterable. Parse instantiations. Some SimpleName fixes.Patrick Lehmann2021-08-231-16/+22
|
* Adjusted to renaming in pyVHDLModel.Patrick Lehmann2021-08-231-1/+1
|
* Preparations for PSL.Patrick Lehmann2021-07-011-2/+2
|
* Renamed '_?[nN]ame: str' to '_?[iI]dentifier: str'.Patrick Lehmann2021-07-011-16/+16
|
* Added missing import.Patrick Lehmann2021-07-011-0/+1
|
* More DOM improvements (#1806)Patrick Lehmann2021-06-261-24/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * First try to handle names. * Reworked names. * Reworked range expressions. * Handle AttributeNames. * Added handling of file declaration and attribute declarations. * Improved error outputs. * Handle protected types. * Make black happy with ugly code. * Handle Null literal and File parameters. * File type and physical type. * Don't fail on reported syntax errors. Catch call errors into libghdl. * Improved Sanity checks for pyGHDL.dom. * Load sourcecode via Python and process in-memory. Fixed testcases. * Added package instantiations and packages with generics. * Added UseClause, AttributeSpecification and PhysicalTypes. * Improved pretty-printing. * Fixed AttributeName in subtype indication. * Get code position of IIR nodes. * Added DOMMixin into all derived classes. * Mark as not yet implemented. * Pinned pyVHDLModel version to v0.10.4. * Removed xfail in LSP test. Bumped requirement of pyVHDLModel to v0.10.4. Fixed some Codacy issues. (cherry picked from commit f64e7ed7c3d69cbf84cd60db8e9b085e90b846cb)
* Prepared for DeferredConstant.Patrick Lehmann2021-06-221-1/+3
|
* Code cleanups.Patrick Lehmann2021-06-221-64/+34
|
* Handle Physical...LiteralsPatrick Lehmann2021-06-221-10/+11
|
* Handle component declarations.Patrick Lehmann2021-06-221-21/+41
|
* Renamed 'NodeToName' to 'GetNameOfNode'.Patrick Lehmann2021-06-221-8/+8
|
* Improvements to pyGHDL.dom.Patrick Lehmann2021-06-191-4/+6
|
* Mode code more local.Patrick Lehmann2021-06-181-6/+3
| | | | (cherry picked from commit 2e64bb94806f080e015a5aea38c7c8734b971377)
* Black found more files - strange.Patrick Lehmann2021-06-171-17/+27
| | | | | | Executed black to make code unreadable. (cherry picked from commit 1b34c2368428b1ec295073ee47d201ac1def35f6)
* Updates to the dom namespace in pyGHDL.Patrick Lehmann2021-06-171-53/+61
|
* pyGHDL: format using blackXiretza2021-02-101-58/+61
|
* Reworking pre-compile scripts for Windows (#1594)Patrick Lehmann2021-01-151-15/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Updated pre-compile scripts for OSVVM. * Reworked script for Vivado. * Reworked script for ISE. * Reworked UVVM compile script. Cannot be tested due to missing feature in GHDL see #1593. * Reworked scripts for Altera, Intel and Lattice. * Updated module imports. * Adjusted warnings. * Read OSVVM package files from compile-order file 'osvvm.pro'. * Support OSVVM and OSVVMLibraries as source directory. * Added support for OSVVM models to precompile script. * First update to the pre-compile scripts documentation. * Minimized file headers and redundant documentation. Using PowerShell's feature to document files, functions and modules. * Updated README in precompile scripts directory. * license: update headers of pyGHDL, scripts/windows, libraries/vendors * Fixed ForegroundColor and InvocationName. Co-authored-by: umarcor <unai.martinezcorral@ehu.eus>
* Enabled missing Sphinx extensions. Fixed role name cls to class.Patrick Lehmann2021-01-051-5/+4
|
* Added documentation.Patrick Lehmann2021-01-021-0/+8
| | | | (cherry picked from commit e55be23d658216c3a017bb5bec8452ad78548b43)
* Removed '__api__' due to a bug in pydecor's export decorator.Patrick Lehmann2021-01-021-3/+2
| | | | (cherry picked from commit 82c29e4340071a1c5dd4a364077bcd6771ce8216)
* Added file headers and license texts. (#1564)Patrick Lehmann2020-12-311-0/+34
|
* Fixed package names in pyGHDL.dom and Initialize test case.Patrick Lehmann2020-12-291-2/+3
|
* Added first implementation of a document object model (DOM).Patrick Lehmann2020-12-271-0/+100