mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 14:13:23 +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
|
@ -957,7 +957,7 @@ struct VerilogBackend : public Backend {
|
|||
extra_args(f, filename, args, argidx);
|
||||
|
||||
for (auto it = design->modules.begin(); it != design->modules.end(); it++) {
|
||||
if ((it->second->attributes.count("\\placeholder") > 0) != placeholders)
|
||||
if (it->second->get_bool_attribute("\\placeholder") != placeholders)
|
||||
continue;
|
||||
if (selected && !design->selected_whole_module(it->first)) {
|
||||
if (design->selected_module(it->first))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue