From: William Speirs Date: Tue, 14 Oct 2014 21:15:35 +0000 (-0400) Subject: Changed from "and" to "&&" X-Git-Tag: yosys-0.4~52^2~4 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e5b8390f44be7d300fdf32193fa58b76ba448072;p=yosys.git Changed from "and" to "&&" --- diff --git a/passes/fsm/fsm_opt.cc b/passes/fsm/fsm_opt.cc index 6685e8e0e..4b93d79f9 100644 --- a/passes/fsm/fsm_opt.cc +++ b/passes/fsm/fsm_opt.cc @@ -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); } }