The VPI module path should be first in the lib_args parameter.
This commit is contained in:
parent
44cfd67a95
commit
61206e3aa7
|
|
@ -204,8 +204,8 @@ void *run_ghdl(void *arg)
|
||||||
|
|
||||||
/* Determing the file name for our VPI module. */
|
/* Determing the file name for our VPI module. */
|
||||||
|
|
||||||
if (pinfo->lib_argc >= 2 && pinfo->lib_argv[1][0]) // Explicit VPI file.
|
if (pinfo->lib_argc >= 1 && pinfo->lib_argv[0][0]) // Explicit VPI file.
|
||||||
file = pinfo->lib_argv[1];
|
file = pinfo->lib_argv[0];
|
||||||
else
|
else
|
||||||
file = "./ghdlng.vpi";
|
file = "./ghdlng.vpi";
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue