1
0
mirror of https://github.com/cclassic/model-ghdl synced 2024-11-21 08:25:05 +01:00

vcom: bugfix: params did not work

This commit is contained in:
Markus Koch 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!");
showMessage(MESSAGE_ERROR, "Error! Could not open GtkWave!", NULL, NULL);
}
printf("[I] DONE.\n");
}
}
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",
work, workdir, vhdlver, files, params);
work, workdir, vhdlver, params, files);
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);
printf("DONE.\n");
printf("[I] DONE.\n");
return 0;
}