summaryrefslogtreecommitdiff
path: root/passes/cmds
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2013-06-12 10:42:59 +0200
committerClifford Wolf <clifford@clifford.at>2013-06-12 10:42:59 +0200
commit49293a182d19ad799ef129ecfb03ff72a2d11f0f (patch)
tree43e4149872f713726ed21499ab4afe3bde6913e6 /passes/cmds
parent1bee82ae2d3395a13d5f5e371af6fe5d657602cb (diff)
Renamed yosys-show temp files to be dot-files in the users home directory
Diffstat (limited to 'passes/cmds')
-rw-r--r--passes/cmds/show.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/passes/cmds/show.cc b/passes/cmds/show.cc
index 4ed4a95c..cb5ea379 100644
--- a/passes/cmds/show.cc
+++ b/passes/cmds/show.cc
@@ -517,7 +517,7 @@ struct ShowPass : public Pass {
log(" more than one library.\n");
log("\n");
log(" -prefix <prefix>\n");
- log(" generate <prefix>.dot and <prefix>.ps instead of yosys-show.{dot,ps}\n");
+ log(" generate <prefix>.dot and <prefix>.ps instead of ~/.yosys_show.{dot,ps}\n");
log("\n");
log(" -color <color> <wire>\n");
log(" assign the specified color to the specified wire. The object can be\n");
@@ -539,7 +539,7 @@ struct ShowPass : public Pass {
log("When no <format> is specified, SVG is used. When no <format> and <viewer> is\n");
log("specified, 'yosys-svgviewer' is used to display the schematic.\n");
log("\n");
- log("The generated output files are 'yosys-show.dot' and 'yosys-show.<format>',\n");
+ 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");
}
@@ -553,7 +553,7 @@ struct ShowPass : public Pass {
std::string format;
std::string viewer_exe;
- std::string prefix = "yosys-show";
+ std::string prefix = stringf("%s/.yosys_show", getenv("HOME") ? getenv("HOME") : ".");
std::vector<std::string> libfiles;
std::vector<RTLIL::Design*> libs;
uint32_t colorSeed = 0;