summaryrefslogtreecommitdiff
path: root/backends/blif/blif.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2013-10-24 11:27:30 +0200
committerClifford Wolf <clifford@clifford.at>2013-10-24 11:27:30 +0200
commite9dede01ca8834ea3c211862a5d6c0119b2b578a (patch)
treeb4c2d02cefb1dce8976a222b34c7c8f53d7b4a84 /backends/blif/blif.cc
parent23cf23418cd28b98c11a1ed3fb45dbb927f48e65 (diff)
Fixed handling of boolean attributes (backends)
Diffstat (limited to 'backends/blif/blif.cc')
-rw-r--r--backends/blif/blif.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/blif/blif.cc b/backends/blif/blif.cc
index f8788061..747ba17d 100644
--- a/backends/blif/blif.cc
+++ b/backends/blif/blif.cc
@@ -298,7 +298,7 @@ struct BlifBackend : 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")) > 0)
continue;
if (module->processes.size() != 0)