aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/libghdl/files_map_editor.py
Commit message (Collapse)AuthorAgeFilesLines
* Change encoding to latin-1 for libghdl (to comply with standard).Patrick Lehmann2022-12-241-2/+2
| | | | | | It can be monkey-patched via pyGHDL.libGHDL.ENCODING. (cherry picked from commit 2dd38de9d52493cde7c045ed73a987ed06bf617a)
* Changed export decorator from pydecor to pyTooling.DecoratorsPatrick Lehmann2021-12-121-1/+1
|
* black: rerun, to pick pyproject settingsumarcor2021-08-231-3/+1
|
* Fix Codacy problems.Patrick Lehmann2021-07-011-0/+1
|
* More DOM improvements (#1806)Patrick Lehmann2021-06-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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)
* Black found more files - strange.Patrick Lehmann2021-06-171-8/+33
| | | | | | Executed black to make code unreadable. (cherry picked from commit 1b34c2368428b1ec295073ee47d201ac1def35f6)
* Using a decorator to bind libghdl to Python.Patrick Lehmann2021-06-171-25/+26
|
* pyGHDL: format using blackXiretza2021-02-101-41/+53
|
* Reworking pre-compile scripts for Windows (#1594)Patrick Lehmann2021-01-151-16/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Enhanced docstrings for Python/Ada interface.Patrick Lehmann2021-01-101-8/+62
|
* Reordered import statments to: std library, global install, current project.Patrick Lehmann2021-01-021-1/+3
|
* Add more missing file headers (incl. license info) to non-autogenerated ↵Patrick Lehmann2021-01-021-0/+34
| | | | Python files.
* pyGHDL/libghdl: fix absolute importsumarcor2020-12-291-1/+1
|
* rework 'python', rename to 'pyGHDL'umarcor2020-12-271-0/+12
* Rename 'python' to 'pyGHDL'. * Let 'thin' be 'libghdl'. * Move move 'pyutils.py' from 'python/libghdl/vhdl' to a separate package ('pyGHDL/libghdl/utils/'). * Update 'vhdl_langserver' accordingly. * Rename 'vhdl_langserver' to 'lsp'. * Move 'ghdl-ls' to 'pyGHDL/cli'.