Fix broken test when ignoring abc9_flop with init == 1'b1
authorEddie Hung <eddie@fpgeh.com>
Thu, 14 May 2020 05:10:24 +0000 (22:10 -0700)
committerEddie Hung <eddie@fpgeh.com>
Thu, 14 May 2020 17:33:57 +0000 (10:33 -0700)
passes/techmap/abc9_ops.cc

index 2794c913a89653ed9fa4a8374cdaaba791bc4891..41a11e9a70479404da34f3fb50191362a4c87dfa 100644 (file)
@@ -213,7 +213,6 @@ void prep_hier(RTLIL::Design *design, bool dff_mode)
                                                        if (init != State::S0) {
                                                                log_warning("Module '%s' contains a %s cell with non-zero initial state -- this is not unsupported for ABC9 sequential synthesis. Treating as a blackbox.\n", log_id(derived_module), log_id(derived_cell->type));
                                                                derived_module->set_bool_attribute(ID::abc9_flop, false);
-                                                               goto skip_cell;
                                                        }
                                                        break;
                                                }
@@ -250,8 +249,6 @@ void prep_hier(RTLIL::Design *design, bool dff_mode)
 
                        cell->type = derived_type;
                        cell->parameters.clear();
-
-skip_cell:             ;
                }
 }