From 91b94ef57bce14b346830f19f378fbb9fd495c96 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Thu, 21 Mar 2013 09:12:32 +0100 Subject: [PATCH] Disabled the per-default dumping of ILANG code --- kernel/driver.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/kernel/driver.cc b/kernel/driver.cc index bc605a461..61f160a6b 100644 --- a/kernel/driver.cc +++ b/kernel/driver.cc @@ -89,10 +89,15 @@ static void run_backend(std::string filename, std::string command, RTLIL::Design command = "ilang"; else if (filename == "-") command = "ilang"; + else if (filename.empty()) + return; else log_error("Can't guess frontend for input file `%s' (missing -f option)!\n", filename.c_str()); } + if (filename.empty()) + filename = "-"; + if (filename == "-") { log("\n-- Writing to stdout using backend `%s' --\n", command.c_str()); } else { @@ -226,7 +231,7 @@ int main(int argc, char **argv) std::string backend_command = "auto"; std::vector passes_commands; std::vector loaded_modules; - std::string output_filename = "-"; + std::string output_filename = ""; std::string scriptfile = ""; bool got_output_filename = false; -- 2.30.2