data/full_repos/permissive/146618947/clase3_onoffswitch/switch_estructural.v
1: b"%Error: data/full_repos/permissive/146618947/clase3_onoffswitch/switch_estructural.v:14: Can't find definition of variable: 'reset'\n                                                                                       : ... Suggested alternative: 'sReset'\n   not reset_not_ (reset_not, reset);\n                              ^~~~~\n%Error: Exiting due to 1 error(s)\n"
module switch_estructural (
                      output sLuz,
                      input sButton,
                      input sReset,
                      input sClk
                      );
   wire                     reset_not;
   wire                     and_out;
   wire                     sLuz_not;

   not sLuz_not_ (sLuz_not, sLuz);
   not reset_not_ (reset_not, reset);
   and and_1 (and_out, reset_not, sButton, sLuz_not);
   flop flop_1 (sLuz, and_out, sClk);

endmodule
module switch_estructural (
                      output sLuz,
                      input sButton,
                      input sReset,
                      input sClk
                      );

   wire                     reset_not;
   wire                     and_out;
   wire                     sLuz_not;

   not sLuz_not_ (sLuz_not, sLuz);
   not reset_not_ (reset_not, reset);
   and and_1 (and_out, reset_not, sButton, sLuz_not);
   flop flop_1 (sLuz, and_out, sClk);

endmodule