diff options
author | Clifford Wolf <clifford@clifford.at> | 2013-11-22 15:01:12 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2013-11-22 15:01:12 +0100 |
commit | 295e352ba6aa1bd71431abc21a8f93735968cae6 (patch) | |
tree | 2261f6a66d6fa1e7f67d2aa220f6e4f588be4cea /passes/cmds | |
parent | c854ad2e7ecae6115182e9210f2b6c57afa98c23 (diff) | |
download | yosys-295e352ba6aa1bd71431abc21a8f93735968cae6.tar.gz yosys-295e352ba6aa1bd71431abc21a8f93735968cae6.tar.bz2 yosys-295e352ba6aa1bd71431abc21a8f93735968cae6.zip |
Renamed "placeholder" to "blackbox"
Diffstat (limited to 'passes/cmds')
-rw-r--r-- | passes/cmds/add.cc | 4 | ||||
-rw-r--r-- | passes/cmds/show.cc | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/passes/cmds/add.cc b/passes/cmds/add.cc index 12706c4fa..acee4c46f 100644 --- a/passes/cmds/add.cc +++ b/passes/cmds/add.cc @@ -73,7 +73,7 @@ static void add_wire(RTLIL::Design *design, RTLIL::Module *module, std::string n RTLIL::Module *mod = design->modules.at(it.second->type); if (!design->selected_whole_module(mod->name)) continue; - if (mod->get_bool_attribute("\\placeholder")) + if (mod->get_bool_attribute("\\blackbox")) continue; if (it.second->connections.count(name) > 0) continue; @@ -144,7 +144,7 @@ struct AddPass : public Pass { RTLIL::Module *module = mod.second; if (!design->selected_whole_module(module->name)) continue; - if (module->get_bool_attribute("\\placeholder")) + if (module->get_bool_attribute("\\blackbox")) continue; if (command == "wire") diff --git a/passes/cmds/show.cc b/passes/cmds/show.cc index 583b8da9a..adb925cb9 100644 --- a/passes/cmds/show.cc +++ b/passes/cmds/show.cc @@ -477,8 +477,8 @@ struct ShowWorker if (!design->selected_module(module->name)) continue; if (design->selected_whole_module(module->name)) { - if (module->get_bool_attribute("\\placeholder")) { - log("Skipping placeholder module %s.\n", id2cstr(module->name)); + if (module->get_bool_attribute("\\blackbox")) { + log("Skipping blackbox module %s.\n", id2cstr(module->name)); continue; } else if (module->cells.empty() && module->connections.empty() && module->processes.empty()) { @@ -617,7 +617,7 @@ struct ShowPass : public Pass { if (format != "ps") { int modcount = 0; for (auto &mod_it : design->modules) { - if (mod_it.second->get_bool_attribute("\\placeholder")) + if (mod_it.second->get_bool_attribute("\\blackbox")) continue; if (mod_it.second->cells.empty() && mod_it.second->connections.empty()) continue; |