projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ee3a4b
)
Changed from "and" to "&&"
author
William Speirs
<bill.speirs@gmail.com>
Tue, 14 Oct 2014 21:15:35 +0000
(17:15 -0400)
committer
Clifford Wolf
<clifford@clifford.at>
Tue, 14 Oct 2014 22:59:22 +0000
(
00:59
+0200)
passes/fsm/fsm_opt.cc
patch
|
blob
|
history
diff --git
a/passes/fsm/fsm_opt.cc
b/passes/fsm/fsm_opt.cc
index 6685e8e0e98b21f365a7dfc294961fb2a8c8d4e1..4b93d79f92d3406036bc7dc50ec3bfaf4f58a2b4 100644
(file)
--- 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);
}
}