aboutsummaryrefslogtreecommitdiffstats
path: root/passes
diff options
context:
space:
mode:
authorWilliam Speirs <bill.speirs@gmail.com>2014-10-14 17:15:35 -0400
committerClifford Wolf <clifford@clifford.at>2014-10-15 00:59:22 +0200
commite5b8390f44be7d300fdf32193fa58b76ba448072 (patch)
tree912187b8a854beebe11942ffcc9fee8802b31737 /passes
parent9ee3a4b94fa78ad2ccf4178d7a49bc659df29cb1 (diff)
downloadyosys-e5b8390f44be7d300fdf32193fa58b76ba448072.tar.gz
yosys-e5b8390f44be7d300fdf32193fa58b76ba448072.tar.bz2
yosys-e5b8390f44be7d300fdf32193fa58b76ba448072.zip
Changed from "and" to "&&"
Diffstat (limited to 'passes')
-rw-r--r--passes/fsm/fsm_opt.cc2
1 files changed, 1 insertions, 1 deletions
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);
}
}