diff --git a/passes/cmds/bbox_derive.cc b/passes/cmds/box_derive.cc similarity index 84% rename from passes/cmds/bbox_derive.cc rename to passes/cmds/box_derive.cc index 90ce2ac4908..da698b04d37 100644 --- a/passes/cmds/bbox_derive.cc +++ b/passes/cmds/box_derive.cc @@ -21,29 +21,29 @@ USING_YOSYS_NAMESPACE PRIVATE_NAMESPACE_BEGIN -struct BboxDerivePass : Pass { - BboxDerivePass() : Pass("bbox_derive", "derive blackbox modules") {} +struct BoxDerivePass : Pass { + BoxDerivePass() : Pass("box_derive", "derive box modules") {} void help() override { // |---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---| log("\n"); - log(" bbox_derive [-base ] [-naming_attr ] [selection]\n"); + log(" box_derive [-base ] [-naming_attr ] [selection]\n"); log("\n"); log("As part of the assembly of the design hierarchy done by the 'hierarchy' command,\n"); log("specializations of parametric modules are derived on demand: for each choice of\n"); log("parameter values appearing in the design, a copy of the parametric module is\n"); log("derived which is specialized to that choice.\n"); log("\n"); - log("This derivation process ignores blackboxes and whiteboxes. To supplement, this\n"); - log("'bbox_derive' command can be used to request the derivation of modules based on\n"); - log("blackbox or whitebox instances appearing in the design, which is desirable in\n"); - log("certain use cases. Only the selected cells are considered as the instances that\n"); - log("steer the derivation process.\n"); + log("This derivation process ignores blackboxes and whiteboxes (boxes). To supplement,\n"); + log("this 'box_derive' command can be used to request the derivation of modules based\n"); + log("on box instances appearing in the design, which is desirable in certain use\n"); + log("cases. Only the selected cells are considered as the instances that steer the\n"); + log("derivation process.\n"); log("\n"); log(" -base \n"); - log(" instead of deriving the module that directly corresponds to each blackbox\n"); + log(" instead of deriving the module that directly corresponds to each box\n"); log(" instance, derive a specialization of (this option applies\n"); - log(" to all selected blackbox cells)\n"); + log(" to all selected box cells)\n"); log("\n"); log(" -naming_attr \n"); log(" once a specialization is derived, use the value of the module attribute\n"); @@ -54,7 +54,7 @@ struct BboxDerivePass : Pass { } void execute(std::vector args, RTLIL::Design *d) override { - log_header(d, "Executing BBOX_DERIVE pass. (derive modules for blackboxes)\n"); + log_header(d, "Executing BOX_DERIVE pass. (derive modules for boxes)\n"); size_t argidx; IdString naming_attr; @@ -111,6 +111,6 @@ struct BboxDerivePass : Pass { } } } -} BboxDerivePass; +} BoxDerivePass; PRIVATE_NAMESPACE_END diff --git a/tests/various/bbox_derive.ys b/tests/various/box_derive.ys similarity index 94% rename from tests/various/bbox_derive.ys rename to tests/various/box_derive.ys index 26312fb53cf..a76a79cdc1f 100644 --- a/tests/various/bbox_derive.ys +++ b/tests/various/box_derive.ys @@ -34,4 +34,4 @@ module top; endmodule EOF -bbox_derive -naming_attr final_name top +box_derive -naming_attr final_name top