aboutsummaryrefslogtreecommitdiffstats
path: root/backends/blif/blif.cc
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-04-18 09:00:06 -0700
committerEddie Hung <eddie@fpgeh.com>2019-04-18 09:00:06 -0700
commit8fe0a961b306ef0c9c5de912833c6d92aed5f363 (patch)
tree10325fb4b9a5d9a481177f0360fdbb8026e66367 /backends/blif/blif.cc
parenta20ed260e1b12da64bc4b40682c53145f6ffe827 (diff)
parentf4abc21d8ad79621cc24852bd76abf40a9d9f702 (diff)
downloadyosys-8fe0a961b306ef0c9c5de912833c6d92aed5f363.tar.gz
yosys-8fe0a961b306ef0c9c5de912833c6d92aed5f363.tar.bz2
yosys-8fe0a961b306ef0c9c5de912833c6d92aed5f363.zip
Merge remote-tracking branch 'origin/clifford/whitebox' into xaig
Diffstat (limited to 'backends/blif/blif.cc')
-rw-r--r--backends/blif/blif.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/blif/blif.cc b/backends/blif/blif.cc
index 0db5ff27c..b6dbd84cb 100644
--- a/backends/blif/blif.cc
+++ b/backends/blif/blif.cc
@@ -140,7 +140,7 @@ struct BlifDumper
return "subckt";
if (!design->modules_.count(RTLIL::escape_id(cell_type)))
return "gate";
- if (design->modules_.at(RTLIL::escape_id(cell_type))->get_bool_attribute("\\blackbox"))
+ if (design->modules_.at(RTLIL::escape_id(cell_type))->get_blackbox_attribute())
return "gate";
return "subckt";
}
@@ -196,7 +196,7 @@ struct BlifDumper
}
f << stringf("\n");
- if (module->get_bool_attribute("\\blackbox")) {
+ if (module->get_blackbox_attribute()) {
f << stringf(".blackbox\n");
f << stringf(".end\n");
return;
@@ -640,7 +640,7 @@ struct BlifBackend : public Backend {
for (auto module_it : design->modules_)
{
RTLIL::Module *module = module_it.second;
- if (module->get_bool_attribute("\\blackbox") && !config.blackbox_mode)
+ if (module->get_blackbox_attribute() && !config.blackbox_mode)
continue;
if (module->processes.size() != 0)