From 1a6a23f91a93414e0e43f0666d3b2af6295345a8 Mon Sep 17 00:00:00 2001 From: Andrew Zonenberg Date: Mon, 14 Aug 2017 11:00:18 -0700 Subject: [PATCH] Renamed opt_rmports pass to rmports --- passes/opt/{opt_rmports.cc => rmports.cc} | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) rename passes/opt/{opt_rmports.cc => rmports.cc} (93%) diff --git a/passes/opt/opt_rmports.cc b/passes/opt/rmports.cc similarity index 93% rename from passes/opt/opt_rmports.cc rename to 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 /*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 -- 2.30.2