1
0
mirror of https://github.com/cclassic/model-ghdl synced 2024-11-29 09:13:28 +01:00

vcom: bugfix: params did not work

This commit is contained in:
Makise Kurisu 2016-04-30 11:50:01 +02:00
parent a989b7bb06
commit ad960b7243

7
main.c
View File

@ -316,6 +316,7 @@ int vsim(int argc, char **argv)
fprintf(stderr, "[E] Could not open GtkWave!"); fprintf(stderr, "[E] Could not open GtkWave!");
showMessage(MESSAGE_ERROR, "Error! Could not open GtkWave!", NULL, NULL); showMessage(MESSAGE_ERROR, "Error! Could not open GtkWave!", NULL, NULL);
} }
printf("[I] DONE.\n");
} }
} }
return 0; return 0;
@ -402,14 +403,14 @@ int vcom(int argc, char **argv)
} }
run_ghdl("ghdl -i --work=%s --workdir=%s %s %s %s 2>&1", run_ghdl("ghdl -i --work=%s --workdir=%s %s %s %s 2>&1",
work, workdir, vhdlver, files, params); work, workdir, vhdlver, params, files);
run_ghdl("ghdl -s --work=%s --workdir=%s %s %s %s 2>&1", run_ghdl("ghdl -s --work=%s --workdir=%s %s %s %s 2>&1",
work, workdir, vhdlver, files, params); work, workdir, vhdlver, params, files);
free(files); free(files);
printf("DONE.\n"); printf("[I] DONE.\n");
return 0; return 0;
} }