aboutsummaryrefslogtreecommitdiffstats
path: root/passes/hierarchy
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-11-26 11:12:58 -0800
committerEddie Hung <eddie@fpgeh.com>2019-11-26 11:12:58 -0800
commiteb666b46777877bfd723b7dc7fb36e717b66bfdd (patch)
tree51e7ce2e6c6816309b563f3f475cd8430d7a22e7 /passes/hierarchy
parent0d7ba77426b5ede6eae76059d8182ab096041ff2 (diff)
downloadyosys-eb666b46777877bfd723b7dc7fb36e717b66bfdd.tar.gz
yosys-eb666b46777877bfd723b7dc7fb36e717b66bfdd.tar.bz2
yosys-eb666b46777877bfd723b7dc7fb36e717b66bfdd.zip
Update docs with bullet points
Diffstat (limited to 'passes/hierarchy')
-rw-r--r--passes/hierarchy/submod.cc19
1 files changed, 9 insertions, 10 deletions
diff --git a/passes/hierarchy/submod.cc b/passes/hierarchy/submod.cc
index 7952c2dd6..ae80f09a8 100644
--- a/passes/hierarchy/submod.cc
+++ b/passes/hierarchy/submod.cc
@@ -296,7 +296,7 @@ struct SubmodPass : public Pass {
{
// |---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|
log("\n");
- log(" submod [-copy] [selection]\n");
+ log(" submod [options] [selection]\n");
log("\n");
log("This pass identifies all cells with the 'submod' attribute and moves them to\n");
log("a newly created module. The value of the attribute is used as name for the\n");
@@ -308,16 +308,15 @@ struct SubmodPass : public Pass {
log("This pass only operates on completely selected modules with no processes\n");
log("or memories.\n");
log("\n");
+ log(" -copy\n");
+ log(" by default the cells are 'moved' from the source module and the source\n");
+ log(" module will use an instance of the new module after this command is\n");
+ log(" finished. call with -copy to not modify the source module.\n");
log("\n");
- log(" submod -name <name> [-copy] [selection]\n");
- log("\n");
- log("As above, but don't use the 'submod' attribute but instead use the selection.\n");
- log("Only objects from one module might be selected. The value of the -name option\n");
- log("is used as the value of the 'submod' attribute above.\n");
- log("\n");
- log("By default the cells are 'moved' from the source module and the source module\n");
- log("will use an instance of the new module after this command is finished. Call\n");
- log("with -copy to not modify the source module.\n");
+ log(" -name <name>\n");
+ log(" don't use the 'submod' attribute but instead use the selection. only\n");
+ log(" objects from one module might be selected. the value of the -name option\n");
+ log(" is used as the value of the 'submod' attribute instead.\n");
log("\n");
}
void execute(std::vector<std::string> args, RTLIL::Design *design) YS_OVERRIDE