diff options
author | Andrew Zonenberg <azonenberg@drawersteak.com> | 2017-08-14 11:00:18 -0700 |
---|---|---|
committer | Andrew Zonenberg <azonenberg@drawersteak.com> | 2017-08-14 11:00:45 -0700 |
commit | 1a6a23f91a93414e0e43f0666d3b2af6295345a8 (patch) | |
tree | ad9e452fe643ffa53c7cc8d17497d39822c55ac1 | |
parent | 1bb150c2318a16e8007b4cf76aa2a199f49f0f7e (diff) | |
download | yosys-1a6a23f91a93414e0e43f0666d3b2af6295345a8.tar.gz yosys-1a6a23f91a93414e0e43f0666d3b2af6295345a8.tar.bz2 yosys-1a6a23f91a93414e0e43f0666d3b2af6295345a8.zip |
Renamed opt_rmports pass to rmports
-rw-r--r-- | passes/opt/rmports.cc (renamed from passes/opt/opt_rmports.cc) | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/passes/opt/opt_rmports.cc b/passes/opt/rmports.cc index a7a2df866..30cf149ce 100644 --- a/passes/opt/opt_rmports.cc +++ b/passes/opt/rmports.cc @@ -26,13 +26,13 @@ USING_YOSYS_NAMESPACE PRIVATE_NAMESPACE_BEGIN -struct OptRmportsPass : public Pass { - OptRmportsPass() : Pass("opt_rmports", "remove top-level ports with no connections") { } +struct RmportsPassPass : public Pass { + RmportsPassPass() : Pass("rmports", "remove top-level ports with no connections") { } virtual void help() { // |---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---| log("\n"); - log(" opt_rmports\n"); + log(" rmports\n"); log("\n"); log("This pass identifies ports in the top-level design which are not used or driven\n"); log("and removes them\n"); @@ -41,7 +41,7 @@ struct OptRmportsPass : public Pass { virtual void execute(std::vector<std::string> /*args*/, RTLIL::Design *design) { - log_header(design, "Executing OPT_RMPORTS pass (remove top level ports with no connections).\n"); + log_header(design, "Executing RMPORTS pass (remove top level ports with no connections).\n"); ProcessModule(design->top_module()); } @@ -143,6 +143,6 @@ struct OptRmportsPass : public Pass { } } -} OptRmportsPass; +} RmportsPassPass; PRIVATE_NAMESPACE_END |