diff options
author | Tristan Gingold <tgingold@free.fr> | 2016-07-14 17:40:32 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2016-07-14 17:40:32 +0200 |
commit | 3e04f0aadc73a45eeba46d4ee3bc5a533b8d4a47 (patch) | |
tree | 44d30624306e10019a22b6cd057530f39118a74a /src/grt | |
parent | 8db5c10786bca404c5d1e129090ea9fea25531d2 (diff) | |
download | ghdl-3e04f0aadc73a45eeba46d4ee3bc5a533b8d4a47.tar.gz ghdl-3e04f0aadc73a45eeba46d4ee3bc5a533b8d4a47.tar.bz2 ghdl-3e04f0aadc73a45eeba46d4ee3bc5a533b8d4a47.zip |
vpi: add and document new options
Diffstat (limited to 'src/grt')
-rw-r--r-- | src/grt/grt-cvpi.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/grt/grt-cvpi.c b/src/grt/grt-cvpi.c index 2a1a6cd36..2bf23364b 100644 --- a/src/grt/grt-cvpi.c +++ b/src/grt/grt-cvpi.c @@ -148,6 +148,11 @@ loadVpiModule (const char* modulename) fprintf (stderr, "loading VPI module '%s'\n", modulename); + /* TODO: on windows, use SetDllDirectory with: + - install dir (libdir) => add -DLIBDIR=xxx + - exec path\lib => see windows_default_path + */ + vpimod = module_open (modulename); if (vpimod == NULL) @@ -162,10 +167,6 @@ loadVpiModule (const char* modulename) No need to load the library several times. */ if (libghdlvpi_mod == NULL) { - /* TODO: on windows, use SetDllDirectory with: - - install dir (libdir) => add -DLIBDIR=xxx - - exec path\lib => see windows_default_path - */ libghdlvpi_mod = module_open (libghdlvpi_name); if (libghdlvpi_mod != NULL) { |