From: Clifford Wolf Date: Mon, 21 Aug 2017 13:02:16 +0000 (+0200) Subject: Remove some dead code from fsm_map X-Git-Tag: yosys-0.8~339 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=df3e6e1ec99a409c7e3d4e381b55cee7031c009a;p=yosys.git Remove some dead code from fsm_map --- diff --git a/passes/fsm/fsm_map.cc b/passes/fsm/fsm_map.cc index c42303752..3edaf84d2 100644 --- 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];