aboutsummaryrefslogtreecommitdiffstats
path: root/passes
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2019-03-27 13:33:26 +0100
committerClifford Wolf <clifford@clifford.at>2019-03-27 13:33:26 +0100
commitd351b7cb99efe8c412ef7fa8bc0b99b72bc56726 (patch)
tree4b7c7d53799c681db263f0c8746bc893fc3708de /passes
parent38b3fbd3f0bbdace11a3ab7b3d153b1a05059378 (diff)
downloadyosys-d351b7cb99efe8c412ef7fa8bc0b99b72bc56726.tar.gz
yosys-d351b7cb99efe8c412ef7fa8bc0b99b72bc56726.tar.bz2
yosys-d351b7cb99efe8c412ef7fa8bc0b99b72bc56726.zip
Improve "rename" help message
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'passes')
-rw-r--r--passes/cmds/rename.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/passes/cmds/rename.cc b/passes/cmds/rename.cc
index 698ce7235..466a5da53 100644
--- a/passes/cmds/rename.cc
+++ b/passes/cmds/rename.cc
@@ -108,15 +108,19 @@ struct RenamePass : public Pass {
log("Rename the specified object. Note that selection patterns are not supported\n");
log("by this command.\n");
log("\n");
+ log("\n");
log(" rename -src [selection]\n");
log("\n");
log("Assign names auto-generated from the src attribute to all selected wires and\n");
log("cells with private names.\n");
log("\n");
+ log("\n");
log(" rename -wire [selection]\n");
+ log("\n");
log("Assign auto-generated names based on the wires they drive to all selected\n");
log("cells with private names. Ignores cells driving privatly named wires.\n");
log("\n");
+ log("\n");
log(" rename -enumerate [-pattern <pattern>] [selection]\n");
log("\n");
log("Assign short auto-generated names to all selected wires and cells with private\n");
@@ -124,11 +128,13 @@ struct RenamePass : public Pass {
log("The character %% in the pattern is replaced with a integer number. The default\n");
log("pattern is '_%%_'.\n");
log("\n");
+ log("\n");
log(" rename -hide [selection]\n");
log("\n");
log("Assign private names (the ones with $-prefix) to all selected wires and cells\n");
log("with public names. This ignores all selected ports.\n");
log("\n");
+ log("\n");
log(" rename -top new_name\n");
log("\n");
log("Rename top module.\n");