mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-19 04:13:39 +00:00
Renamed "placeholder" to "blackbox"
This commit is contained in:
parent
c854ad2e7e
commit
295e352ba6
12 changed files with 27 additions and 27 deletions
|
@ -121,7 +121,7 @@ struct EdifBackend : public Backend {
|
|||
for (auto module_it : design->modules)
|
||||
{
|
||||
RTLIL::Module *module = module_it.second;
|
||||
if (module->get_bool_attribute("\\placeholder"))
|
||||
if (module->get_bool_attribute("\\blackbox"))
|
||||
continue;
|
||||
|
||||
if (top_module_name.empty())
|
||||
|
@ -135,7 +135,7 @@ struct EdifBackend : public Backend {
|
|||
for (auto cell_it : module->cells)
|
||||
{
|
||||
RTLIL::Cell *cell = cell_it.second;
|
||||
if (!design->modules.count(cell->type) || design->modules.at(cell->type)->get_bool_attribute("\\placeholder")) {
|
||||
if (!design->modules.count(cell->type) || design->modules.at(cell->type)->get_bool_attribute("\\blackbox")) {
|
||||
lib_cell_ports[cell->type];
|
||||
for (auto p : cell->connections) {
|
||||
if (p.second.width > 1)
|
||||
|
@ -233,7 +233,7 @@ struct EdifBackend : public Backend {
|
|||
fprintf(f, " (technology (numberDefinition))\n");
|
||||
for (auto module : sorted_modules)
|
||||
{
|
||||
if (module->get_bool_attribute("\\placeholder"))
|
||||
if (module->get_bool_attribute("\\blackbox"))
|
||||
continue;
|
||||
|
||||
SigMap sigmap(module);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue