diff options
author | Tristan Gingold <tgingold@free.fr> | 2019-08-14 09:42:23 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2019-08-14 09:42:23 +0200 |
commit | f405d16f41bead6c8785eae1a468640b61941ec6 (patch) | |
tree | c3ed0edd152d0041c6934da65463ac9fb3de230c | |
parent | 3a0e7ec94e8b144ef32dfb2b34cec189999f6700 (diff) | |
download | ghdl-yosys-plugin-f405d16f41bead6c8785eae1a468640b61941ec6.tar.gz ghdl-yosys-plugin-f405d16f41bead6c8785eae1a468640b61941ec6.tar.bz2 ghdl-yosys-plugin-f405d16f41bead6c8785eae1a468640b61941ec6.zip |
Build with libghdl (WIP).
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | ghdl/ghdl.cc | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -14,7 +14,7 @@ SOEXT=so LDFLAGS= CFLAGS=-O -ALL_LDFLAGS=$(GHDL_PREFIX)/lib/libghdlsynth.so -Wl,-rpath,$(GHDL_PREFIX)/lib $(LDFLAGS) +ALL_LDFLAGS=$(GHDL_PREFIX)/lib/libghdl-*.so -Wl,-rpath,$(GHDL_PREFIX)/lib $(LDFLAGS) ALL_CFLAGS=-fPIC -DYOSYS_ENABLE_GHDL -I$(GHDL_PREFIX)/include $(CFLAGS) diff --git a/ghdl/ghdl.cc b/ghdl/ghdl.cc index 0fc1d0a..c5420e1 100644 --- a/ghdl/ghdl.cc +++ b/ghdl/ghdl.cc @@ -536,7 +536,7 @@ struct GhdlPass : public Pass { log_header(design, "Executing GHDL.\n"); // Initialize the library. There is a counter in that function that protects against multiple calls. - libghdlsynth_init (); + libghdl_init (); if (args.size() == 2 && args[1] == "--disp-config") { ghdlcomp__disp_config(); |