diff --git a/passes/pmgen/peepopt_muxadd.pmg b/passes/pmgen/peepopt_muxadd.pmg index 44fac9a3b..de21be546 100644 --- a/passes/pmgen/peepopt_muxadd.pmg +++ b/passes/pmgen/peepopt_muxadd.pmg @@ -103,6 +103,7 @@ code add_y add_a add_b add_a_ext add_a_id add_b_id mux_y mux_a mux_b mux_a_id m } // Create new mid wire + Cell *cell = mux; mid = module->addWire(NEW_ID2_SUFFIX("mid"), GetSize(add_b)); // Connect ports