From 20eb5cad4b41cbf2278f3213fb8f24a944fb2f7d Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Thu, 19 Feb 2015 09:11:38 +0100 Subject: [PATCH] Changed "show" defaults for Win32 --- passes/cmds/show.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/passes/cmds/show.cc b/passes/cmds/show.cc index 4d6095e55..7cda4400c 100644 --- a/passes/cmds/show.cc +++ b/passes/cmds/show.cc @@ -641,6 +641,9 @@ struct ShowPass : public Pass { log("The generated output files are '~/.yosys_show.dot' and '~/.yosys_show.',\n"); log("unless another prefix is specified using -prefix .\n"); log("\n"); + log("Yosys on Windows and YosysJS use different defaults: The output is written\n"); + log("to 'show.dot' in the current directory and new viewer is launched.\n"); + log("\n"); } virtual void execute(std::vector args, RTLIL::Design *design) { @@ -650,7 +653,7 @@ struct ShowPass : public Pass { std::vector> color_selections; std::vector> label_selections; -#ifdef EMSCRIPTEN +#if defined(EMSCRIPTEN) || defined(_WIN32) std::string format = "dot"; std::string prefix = "show"; #else -- 2.30.2