From 7788d84b06b72c874043541011840f95472ce6e9 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Wed, 5 Jun 2019 20:32:22 +0200 Subject: python: export Enable_Warning. --- src/vhdl/python/pnodespy.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/vhdl/python/pnodespy.py') diff --git a/src/vhdl/python/pnodespy.py b/src/vhdl/python/pnodespy.py index 515c3d1c2..4a2859838 100755 --- a/src/vhdl/python/pnodespy.py +++ b/src/vhdl/python/pnodespy.py @@ -231,6 +231,10 @@ def do_libghdl_tokens(): def do_libghdl_errorout(): + print('from libghdl import libghdl') + print(""" +Enable_Warning = libghdl.errorout__enable_warning +""") read_enum("../errorout.ads", "Msgid_Type", "(Msgid|Warnid)_", "Msgid", g=lambda m: m.group(1) + '_' + m.group(2)) -- cgit v1.2.3