mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-30 07:53:16 +00:00
Fixed handling of boolean attributes (backends)
This commit is contained in:
parent
23cf23418c
commit
e9dede01ca
6 changed files with 10 additions and 10 deletions
|
@ -132,7 +132,7 @@ struct IntersynthBackend : public Backend {
|
|||
RTLIL::Module *module = module_it.second;
|
||||
SigMap sigmap(module);
|
||||
|
||||
if (module->attributes.count("\\placeholder") > 0)
|
||||
if (module->get_bool_attribute("\\placeholder"))
|
||||
continue;
|
||||
if (module->memories.size() == 0 && module->processes.size() == 0 && module->cells.size() == 0)
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue