aboutsummaryrefslogtreecommitdiffstats
path: root/passes/hierarchy/uniquify.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 /passes/hierarchy/uniquify.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 'passes/hierarchy/uniquify.cc')
-rw-r--r--passes/hierarchy/uniquify.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/hierarchy/uniquify.cc b/passes/hierarchy/uniquify.cc
index e6154e94f..ad3220918 100644
--- a/passes/hierarchy/uniquify.cc
+++ b/passes/hierarchy/uniquify.cc
@@ -75,7 +75,7 @@ struct UniquifyPass : public Pass {
if (tmod == nullptr)
continue;
- if (tmod->get_bool_attribute("\\blackbox"))
+ if (tmod->get_blackbox_attribute())
continue;
if (tmod->get_bool_attribute("\\unique") && newname == tmod->name)