diff options
Diffstat (limited to 'backends/spice')
-rw-r--r-- | backends/spice/spice.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/spice/spice.cc b/backends/spice/spice.cc index 6932e1420..e6e4ab4b0 100644 --- a/backends/spice/spice.cc +++ b/backends/spice/spice.cc @@ -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) |