mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-24 21:27:00 +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
|
@ -181,7 +181,7 @@ struct SpiceBackend : public Backend {
|
|||
for (auto module_it : design->modules)
|
||||
{
|
||||
RTLIL::Module *module = module_it.second;
|
||||
if ((module->attributes.count("\\placeholder") > 0) > 0)
|
||||
if (module->get_bool_attribute("\\placeholder"))
|
||||
continue;
|
||||
|
||||
if (module->processes.size() != 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue