summaryrefslogtreecommitdiff
path: root/passes/proc/proc.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2013-03-01 09:26:29 +0100
committerClifford Wolf <clifford@clifford.at>2013-03-01 09:26:29 +0100
commitf952309c81afcb467eb367ec519ec12876fb0983 (patch)
treeeb56d924efba8b36cbe03512e163c1f79e3744ea /passes/proc/proc.cc
parent36954471a6f385bda835b2a4e5751764bb146aac (diff)
Added help messages to proc_* passes
Diffstat (limited to 'passes/proc/proc.cc')
-rw-r--r--passes/proc/proc.cc20
1 files changed, 19 insertions, 1 deletions
diff --git a/passes/proc/proc.cc b/passes/proc/proc.cc
index c0f502c8..05f16675 100644
--- a/passes/proc/proc.cc
+++ b/passes/proc/proc.cc
@@ -23,7 +23,25 @@
#include <stdio.h>
struct ProcPass : public Pass {
- ProcPass() : Pass("proc") { }
+ ProcPass() : Pass("proc", "translate processes to netlists") { }
+ virtual void help()
+ {
+ // |---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|
+ log("\n");
+ log(" proc [selection]\n");
+ log("\n");
+ log("This pass calls all the other proc_* passes in the most common order.\n");
+ log("\n");
+ log(" proc_clean\n");
+ log(" proc_rmdead\n");
+ log(" proc_arst\n");
+ log(" proc_mux\n");
+ log(" proc_dff\n");
+ log(" proc_clean\n");
+ log("\n");
+ log("This replaces the processes in the design with multiplexers and flip-flops.\n");
+ log("\n");
+ }
virtual void execute(std::vector<std::string> args, RTLIL::Design *design)
{
log_header("Executing PROC pass (convert processes to netlists).\n");