aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/libghdl/_decorator.py
Commit message (Collapse)AuthorAgeFilesLines
* pyGHDL/libghdl: fix typo for argtypes.Tristan Gingold2023-02-221-1/+1
| | | | Fix ghdl/ghdl-language-server#151
* pyGHDL: update and add prints.pyTristan Gingold2023-01-261-1/+2
|
* Workaround for the problem in EnumLookupTable decorator.Patrick Lehmann2022-12-011-2/+2
|
* Formatted code with black.Patrick Lehmann2022-11-301-3/+11
|
* Converted string formatting to f-strings.Patrick Lehmann2022-11-301-20/+8
|
* pyGHDL: add file_comments.pyTristan Gingold2022-11-201-1/+1
|
* Changed export decorator from pydecor to pyTooling.DecoratorsPatrick Lehmann2021-12-121-1/+1
|
* black: rerun, to pick pyproject settingsumarcor2021-08-231-22/+6
|
* More DOM improvements (#1806)Patrick Lehmann2021-06-261-3/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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)
* Minor fixes and pinned pyVHDLModel version to v0.10.3.Patrick Lehmann2021-06-231-1/+1
|
* Added handling of new types to the decorator for the Python-C/Ada binding.Patrick Lehmann2021-06-191-6/+37
|
* pyGHDL: handle c_doubleumarcor2021-06-191-2/+5
|
* pyGHDL/libghdl/_decorator.py: factorize code, handle c_uint32Tristan Gingold2021-06-181-46/+29
|
* Black found more files - strange.Patrick Lehmann2021-06-171-15/+37
| | | | | | Executed black to make code unreadable. (cherry picked from commit 1b34c2368428b1ec295073ee47d201ac1def35f6)
* Using a decorator to bind libghdl to Python.Patrick Lehmann2021-06-171-6/+96
|
* pyGHDL: format using blackXiretza2021-02-101-19/+20
|
* 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>
* Fixes for Python files.Patrick Lehmann2021-01-101-20/+53
|
* Implemented a decorator to pre-calculate enum position to enum literal name ↵Patrick Lehmann2021-01-101-0/+33
lookups.