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:
parent
a989b7bb06
commit
ad960b7243
7
main.c
7
main.c
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user