mirror of
https://github.com/cclassic/model-ghdl
synced 2024-11-22 08:35:05 +01:00
Removed compression
This commit is contained in:
parent
05a5172537
commit
e269810c6a
@ -156,12 +156,11 @@ int main(int argc, char **argv) {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
cargs = "";
|
cargs = "";
|
||||||
// ./testb_file --stop-time=500ns --vcdgz=testb_file.vcdgz
|
if (run("cd " + string(tempdir) + "; ./" + top + " --stop-time=" + getSimulationTime() + " --vcd=" + top + ".vcd")) {
|
||||||
if (run("cd " + string(tempdir) + "; ./" + top + " --stop-time=" + getSimulationTime() + " --vcdgz=" + top + ".vcdgz")) {
|
|
||||||
cerr << "Error: Simulation failed." << endl;
|
cerr << "Error: Simulation failed." << endl;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (run("gunzip --stdout " + string(tempdir) + "/" + top + ".vcdgz | gtkwave --vcd")) {
|
if (run("gtkwave " + string(tempdir) + "/" + top + ".vcd")) {
|
||||||
cerr << "Error: GtkWave failed.";
|
cerr << "Error: GtkWave failed.";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user