aboutsummaryrefslogtreecommitdiffstats
path: root/passes/hierarchy/uniquify.cc
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-04-20 17:24:06 -0700
committerEddie Hung <eddie@fpgeh.com>2019-04-20 17:24:06 -0700
commit9dc11cd842952deca8e826b662f4565e2b52bd1d (patch)
tree6caa919ebcb4618581d8dce4a43f98dbe585bda8 /passes/hierarchy/uniquify.cc
parentb25254020c7edc9e4d3fb2a24be5f029a09a1ee0 (diff)
parentf84a84e3f1a27b361c21fcd30fcf50c1a6586629 (diff)
downloadyosys-9dc11cd842952deca8e826b662f4565e2b52bd1d.tar.gz
yosys-9dc11cd842952deca8e826b662f4565e2b52bd1d.tar.bz2
yosys-9dc11cd842952deca8e826b662f4565e2b52bd1d.zip
Merge remote-tracking branch 'origin/master' into xc7srl
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)