diff options
author | Clifford Wolf <clifford@clifford.at> | 2015-02-19 09:11:38 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2015-02-19 09:11:38 +0100 |
commit | 20eb5cad4b41cbf2278f3213fb8f24a944fb2f7d (patch) | |
tree | 175aac8285b3b5c95c3c96ce52767eba417ef540 /passes/cmds | |
parent | c2ba4fb2fdfde25c10930d7399bacee390a3cc65 (diff) | |
download | yosys-20eb5cad4b41cbf2278f3213fb8f24a944fb2f7d.tar.gz yosys-20eb5cad4b41cbf2278f3213fb8f24a944fb2f7d.tar.bz2 yosys-20eb5cad4b41cbf2278f3213fb8f24a944fb2f7d.zip |
Changed "show" defaults for Win32
Diffstat (limited to 'passes/cmds')
-rw-r--r-- | passes/cmds/show.cc | 5 |
1 files changed, 4 insertions, 1 deletions
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.<format>',\n"); log("unless another prefix is specified using -prefix <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<std::string> args, RTLIL::Design *design) { @@ -650,7 +653,7 @@ struct ShowPass : public Pass { std::vector<std::pair<std::string, RTLIL::Selection>> color_selections; std::vector<std::pair<std::string, RTLIL::Selection>> label_selections; -#ifdef EMSCRIPTEN +#if defined(EMSCRIPTEN) || defined(_WIN32) std::string format = "dot"; std::string prefix = "show"; #else |