From 1c9e11ea555aaca031a351edda09f759ef08425c Mon Sep 17 00:00:00 2001 From: Makise Kurisu Date: Thu, 9 Apr 2015 08:20:12 +0200 Subject: [PATCH] Changed to GHDL's internal format. Yey enum types --- vsim/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vsim/main.cpp b/vsim/main.cpp index 06a4be0..224ecc7 100644 --- a/vsim/main.cpp +++ b/vsim/main.cpp @@ -177,14 +177,14 @@ int main(int argc, char **argv) { if (st != "") { cout << "Simulating..." << endl; #ifdef DEBUG_EN - cout << "RUN: " << "cd " + string(tempdir) + "; ./" + top + " " + wvargs + " --stop-time=" + st + " --vcd=" + top + ".vcd" << endl; + cout << "RUN: " << "cd " + string(tempdir) + "; ./" + top + " " + wvargs + " --stop-time=" + st + " --wave=" + top + ".ghw" << endl; #endif - if (run("cd " + string(tempdir) + "; ./" + top + " " + wvargs + " --stop-time=" + st + " --vcd=" + top + ".vcd")) { + if (run("cd " + string(tempdir) + "; ./" + top + " " + wvargs + " --stop-time=" + st + " --wave=" + top + ".ghw")) { cerr << "Error: Simulation failed." << endl; } else { cout << "==> All done!" << endl; - string wv = "gtkwave " + string(tempdir) + "/" + top + ".vcd &"; + string wv = "gtkwave " + string(tempdir) + "/" + top + ".ghw &"; if (run("pidof gtkwave")) { if (system(wv.c_str())) { cerr << "Error: GtkWave failed.";