diff options
author | Eddie Hung <eddie@fpgeh.com> | 2019-08-06 16:18:18 -0700 |
---|---|---|
committer | Eddie Hung <eddie@fpgeh.com> | 2019-08-06 16:18:18 -0700 |
commit | 3486235338faa1377bb4e1a8981a45b4ee6edfa9 (patch) | |
tree | 3b40a647ccbfd39e15baa824ae67c1281d100e86 /passes/fsm | |
parent | 43081337fa4a85cd4a1a007576eaf945816bd576 (diff) | |
download | yosys-3486235338faa1377bb4e1a8981a45b4ee6edfa9.tar.gz yosys-3486235338faa1377bb4e1a8981a45b4ee6edfa9.tar.bz2 yosys-3486235338faa1377bb4e1a8981a45b4ee6edfa9.zip |
Make liberal use of IdString.in()
Diffstat (limited to 'passes/fsm')
-rw-r--r-- | passes/fsm/fsm_expand.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/fsm/fsm_expand.cc b/passes/fsm/fsm_expand.cc index c34d0c15c..1610ec751 100644 --- a/passes/fsm/fsm_expand.cc +++ b/passes/fsm/fsm_expand.cc @@ -50,7 +50,7 @@ struct FsmExpand if (full_mode || cell->type == "$_MUX_") return true; - if (cell->type == "$mux" || cell->type == "$pmux") + if (cell->type.in("$mux", "$pmux")) if (cell->getPort("\\A").size() < 2) return true; |