data/full_repos/permissive/146618947/clase1_onoffswitch/switch.v
data/verilator_xmls/2fb0c2e0-c167-4dd9-a4fb-d642d5e9bb94.xml
module switch (
               output reg sLuz,
               input      sButton,
               input      sReset,
               input      sClk );

   always @ (posedge sClk)
     begin
     if (sReset) begin
       sLuz <= 1'b0;
        end
     else if (sButton) begin
       sLuz <= ~sLuz;
        end
     end

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


   always @ (posedge sClk)
     begin
     if (sReset) begin
       sLuz <= 1'b0;
        end
     else if (sButton) begin
       sLuz <= ~sLuz;
        end
     end

endmodule