aboutsummaryrefslogtreecommitdiffstats
path: root/passes
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-06-06 12:11:59 -0700
committerEddie Hung <eddie@fpgeh.com>2019-06-06 12:11:59 -0700
commit3dd0682f298cec18f60c2d9da6417e287a385dd4 (patch)
treeff52807bb6e60a81ad01206b6ebc9508a6a6251a /passes
parent030f1d30e9cd04b4412114bdc93a15a39a4597c4 (diff)
downloadyosys-3dd0682f298cec18f60c2d9da6417e287a385dd4.tar.gz
yosys-3dd0682f298cec18f60c2d9da6417e287a385dd4.tar.bz2
yosys-3dd0682f298cec18f60c2d9da6417e287a385dd4.zip
Update doc
Diffstat (limited to 'passes')
-rw-r--r--passes/techmap/muxpack.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/passes/techmap/muxpack.cc b/passes/techmap/muxpack.cc
index 54c52150a..9668b0d43 100644
--- a/passes/techmap/muxpack.cc
+++ b/passes/techmap/muxpack.cc
@@ -218,19 +218,20 @@ struct MuxpackWorker
};
struct MuxpackPass : public Pass {
- MuxpackPass() : Pass("muxpack", "TODO") { }
+ MuxpackPass() : Pass("muxpack", "$mux cell cascades to $pmux") { }
void help() YS_OVERRIDE
{
// |---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|
log("\n");
- log(" muxpack [options] [selection]\n");
+ log(" muxpack [selection]\n");
log("\n");
- log("TODO");
+ log("This pass converts cascaded chains of $mux cells (e.g. those created by if-else\n");
+ log("constructs) into $pmux cells.\n");
log("\n");
}
void execute(std::vector<std::string> args, RTLIL::Design *design) YS_OVERRIDE
{
- log_header(design, "Executing MUXPACK pass (TODO).\n");
+ log_header(design, "Executing MUXPACK pass ($mux cell cascades to $pmux).\n");
size_t argidx;
for (argidx = 1; argidx < args.size(); argidx++)