mirror of https://github.com/YosysHQ/yosys.git
Changed from "and" to "&&"
This commit is contained in:
parent
9ee3a4b94f
commit
e5b8390f44
|
@ -342,7 +342,7 @@ struct FsmOptPass : public Pass {
|
|||
for (auto &mod_it : design->modules_) {
|
||||
if (design->selected(mod_it.second))
|
||||
for (auto &cell_it : mod_it.second->cells_)
|
||||
if (cell_it.second->type == "$fsm" and design->selected(mod_it.second, cell_it.second))
|
||||
if (cell_it.second->type == "$fsm" && design->selected(mod_it.second, cell_it.second))
|
||||
FsmData::optimize_fsm(cell_it.second, mod_it.second);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue