projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca53fba
)
Remove some dead code from fsm_map
author
Clifford Wolf
<clifford@clifford.at>
Mon, 21 Aug 2017 13:02:16 +0000
(15:02 +0200)
committer
Clifford Wolf
<clifford@clifford.at>
Mon, 21 Aug 2017 13:02:16 +0000
(15:02 +0200)
passes/fsm/fsm_map.cc
patch
|
blob
|
history
diff --git
a/passes/fsm/fsm_map.cc
b/passes/fsm/fsm_map.cc
index c42303752387126b06f7c8e68446ab0cec53133f..3edaf84d2f62097af305c065f70da192fcbe955e 100644
(file)
--- a/
passes/fsm/fsm_map.cc
+++ b/
passes/fsm/fsm_map.cc
@@
-274,9
+274,6
@@
static void map_fsm(RTLIL::Cell *fsm_cell, RTLIL::Module *module)
{
RTLIL::SigSpec sig_a(RTLIL::State::Sx, next_state_wire->width);
RTLIL::SigSpec sig_b, sig_s;
- int reset_state = fsm_data.reset_state;
- if (reset_state < 0)
- reset_state = 0;
for (size_t i = 0; i < fsm_data.state_table.size(); i++) {
RTLIL::Const state = fsm_data.state_table[i];