From e9dede01ca8834ea3c211862a5d6c0119b2b578a Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Thu, 24 Oct 2013 11:27:30 +0200 Subject: Fixed handling of boolean attributes (backends) --- backends/blif/blif.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backends/blif') diff --git a/backends/blif/blif.cc b/backends/blif/blif.cc index f87880616..747ba17d3 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) -- cgit v1.2.3