1
0
mirror of https://github.com/cclassic/model-ghdl synced 2024-11-14 07:29:52 +01:00

Removed compression

This commit is contained in:
Makise Kurisu 2015-01-19 19:48:37 +01:00
parent 05a5172537
commit e269810c6a

View File

@ -156,12 +156,11 @@ int main(int argc, char **argv) {
}
else {
cargs = "";
// ./testb_file --stop-time=500ns --vcdgz=testb_file.vcdgz
if (run("cd " + string(tempdir) + "; ./" + top + " --stop-time=" + getSimulationTime() + " --vcdgz=" + top + ".vcdgz")) {
if (run("cd " + string(tempdir) + "; ./" + top + " --stop-time=" + getSimulationTime() + " --vcd=" + top + ".vcd")) {
cerr << "Error: Simulation failed." << endl;
}
else {
if (run("gunzip --stdout " + string(tempdir) + "/" + top + ".vcdgz | gtkwave --vcd")) {
if (run("gtkwave " + string(tempdir) + "/" + top + ".vcd")) {
cerr << "Error: GtkWave failed.";
}
}