From f65fff4d5e3a33e83c633eb20fd367e349f3dc92 Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Thu, 17 Jun 2021 13:49:20 +0200 Subject: Using a decorator to bind libghdl to Python. --- pyGHDL/libghdl/vhdl/canon.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'pyGHDL/libghdl/vhdl/canon.py') 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) -- cgit v1.2.3