diff options
author | Clifford Wolf <clifford@clifford.at> | 2013-10-24 11:37:54 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2013-10-24 11:37:54 +0200 |
commit | e679a5d04633e0c0626057ed2760ddb9595eea5d (patch) | |
tree | cce75cbef78ff294cc26a992347fe16b713db996 /passes/proc/proc_mux.cc | |
parent | e9dede01ca8834ea3c211862a5d6c0119b2b578a (diff) | |
download | yosys-e679a5d04633e0c0626057ed2760ddb9595eea5d.tar.gz yosys-e679a5d04633e0c0626057ed2760ddb9595eea5d.tar.bz2 yosys-e679a5d04633e0c0626057ed2760ddb9595eea5d.zip |
Fixed handling of boolean attributes (passes)
Diffstat (limited to 'passes/proc/proc_mux.cc')
-rw-r--r-- | passes/proc/proc_mux.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/proc/proc_mux.cc b/passes/proc/proc_mux.cc index 75ca4727f..c7121959a 100644 --- a/passes/proc/proc_mux.cc +++ b/passes/proc/proc_mux.cc @@ -210,7 +210,7 @@ static RTLIL::SigSpec signal_to_mux_tree(RTLIL::Module *mod, RTLIL::CaseRule *cs { // detect groups of parallel cases std::vector<int> pgroups(sw->cases.size()); - if (sw->attributes.count("\\parallel_case") == 0) { + if (!sw->get_bool_attribute("\\parallel_case")) { BitPatternPool pool(sw->signal.width); bool extra_group_for_next_case = false; for (size_t i = 0; i < sw->cases.size(); i++) { |