diff options
author | Tristan Gingold <tgingold@free.fr> | 2020-12-30 16:20:54 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2020-12-30 16:20:54 +0100 |
commit | 20d867fef338b0d8f0604e99db5383ab69ad63ae (patch) | |
tree | 5063ee6a3e986e7960ec97f32e4260d5938ec78f /scripts | |
parent | 604bc449138c8ed437af080d167b7b5d75856a83 (diff) | |
download | ghdl-20d867fef338b0d8f0604e99db5383ab69ad63ae.tar.gz ghdl-20d867fef338b0d8f0604e99db5383ab69ad63ae.tar.bz2 ghdl-20d867fef338b0d8f0604e99db5383ab69ad63ae.zip |
scripts/pnodespy.py: adjust generated import statements
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/pnodespy.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/pnodespy.py b/scripts/pnodespy.py index 69086aecf..a769a73ef 100755 --- a/scripts/pnodespy.py +++ b/scripts/pnodespy.py @@ -57,7 +57,7 @@ def do_iirs_subprg(): def do_libghdl_elocations(): classname = "vhdl__elocations" - print("from libghdl import libghdl") + print("from pyGHDL.libghdl import libghdl") print() for k in pnodes.funcs: print() @@ -143,7 +143,7 @@ def read_spec_enum(type_name, prefix, class_name): def do_libghdl_nodes(): - print("from libghdl import libghdl") + print("from pyGHDL.libghdl import libghdl") print( """ Null_Iir = 0 @@ -167,7 +167,7 @@ Iir_Flist_All = 2 def do_libghdl_meta(): - print("from libghdl import libghdl") + print("from pyGHDL.libghdl import libghdl") print( """ @@ -239,7 +239,7 @@ def do_libghdl_tokens(): def do_libghdl_errorout(): - print("from libghdl import libghdl") + print("from pyGHDL.libghdl import libghdl") print("\n" "Enable_Warning = libghdl.errorout__enable_warning") read_enum( "../errorout.ads", |