Changed from "and" to "&&"
This commit is contained in:
parent
9ee3a4b94f
commit
e5b8390f44
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue