diff options
author | Patrick Lehmann <Patrick.Lehmann@plc2.de> | 2021-06-17 13:49:20 +0200 |
---|---|---|
committer | Unai Martinez-Corral <38422348+umarcor@users.noreply.github.com> | 2021-06-17 22:53:27 +0100 |
commit | f65fff4d5e3a33e83c633eb20fd367e349f3dc92 (patch) | |
tree | 66e3fb6afc69738b28bcaaf908a09c13143615e7 /pyGHDL/libghdl/vhdl/canon.py | |
parent | 56f8ca47465a7cc052e80c0ed4bab6fc55eeacba (diff) | |
download | ghdl-f65fff4d5e3a33e83c633eb20fd367e349f3dc92.tar.gz ghdl-f65fff4d5e3a33e83c633eb20fd367e349f3dc92.tar.bz2 ghdl-f65fff4d5e3a33e83c633eb20fd367e349f3dc92.zip |
Using a decorator to bind libghdl to Python.
Diffstat (limited to 'pyGHDL/libghdl/vhdl/canon.py')
-rw-r--r-- | pyGHDL/libghdl/vhdl/canon.py | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/pyGHDL/libghdl/vhdl/canon.py b/pyGHDL/libghdl/vhdl/canon.py index d5c55e4e6..e9bddb07c 100644 --- a/pyGHDL/libghdl/vhdl/canon.py +++ b/pyGHDL/libghdl/vhdl/canon.py @@ -6,9 +6,9 @@ # | .__/ \__, |\____|_| |_|____/|_____(_)_|_|_.__/ \__, |_| |_|\__,_|_| # |_| |___/ |___/ # ============================================================================= -# Authors: -# Tristan Gingold -# Patrick Lehmann +# Authors: +# Tristan Gingold +# Patrick Lehmann # # Package module: Python binding and low-level API for shared library 'libghdl'. # @@ -36,16 +36,16 @@ from ctypes import c_bool from pyGHDL.libghdl import libghdl -__all__ = ["Flag_Concurrent_Stmts", "Flag_Configurations", "Flag_Associations"] +__all__ = [ + "Flag_Concurrent_Stmts", + "Flag_Configurations", + "Flag_Associations" +] -Flag_Concurrent_Stmts = c_bool.in_dll( - libghdl, "vhdl__canon__canon_flag_concurrent_stmts" -) +Flag_Concurrent_Stmts = c_bool.in_dll(libghdl, "vhdl__canon__canon_flag_concurrent_stmts") Flag_Configurations = c_bool.in_dll(libghdl, "vhdl__canon__canon_flag_configurations") Flag_Associations = c_bool.in_dll(libghdl, "vhdl__canon__canon_flag_associations") -# Extract_Sequential_Statement_Chain_Sensitivity = ( -# libghdl.vhdl__canon__canon_extract_sequential_statement_chain_sensitivity -# ) +# Extract_Sequential_Statement_Chain_Sensitivity = (libghdl.vhdl__canon__canon_extract_sequential_statement_chain_sensitivity) |