mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-04 10:20:24 +00:00
Fixed handling of boolean attributes (passes)
This commit is contained in:
parent
e9dede01ca
commit
e679a5d046
6 changed files with 8 additions and 8 deletions
|
@ -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++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue