diff options
Diffstat (limited to 'passes/cmds/select.cc')
-rw-r--r-- | passes/cmds/select.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/passes/cmds/select.cc b/passes/cmds/select.cc index 889027600..0f0fe575f 100644 --- a/passes/cmds/select.cc +++ b/passes/cmds/select.cc @@ -761,10 +761,10 @@ static void select_stmt(RTLIL::Design *design, std::string arg, bool disable_emp return; } - bool select_blackboxes = true; + bool select_blackboxes = false; if (arg.substr(0, 1) == "=") { arg = arg.substr(1); - select_blackboxes = false; + select_blackboxes = true; } if (!design->selected_active_module.empty()) { @@ -1113,6 +1113,9 @@ struct SelectPass : public Pass { log(" <obj_pattern>\n"); log(" select the specified object(s) from the current module\n"); log("\n"); + log("Prefix the following patterns with '=' if the pattern should match black-/\n"); + log("white-box modules and their contents.\n"); + log("\n"); log("A <mod_pattern> can be a module name, wildcard expression (*, ?, [..])\n"); log("matching module names, or one of the following:\n"); log("\n"); @@ -1124,9 +1127,6 @@ struct SelectPass : public Pass { log(" all modules with a name matching the given pattern\n"); log(" (i.e. 'N:' is optional as it is the default matching rule)\n"); log("\n"); - log("Prefix the pattern with '=' if the pattern should not match blackbox\n"); - log("modules and their content.\n"); - log("\n"); log("An <obj_pattern> can be an object name, wildcard expression, or one of\n"); log("the following:\n"); log("\n"); |