data/full_repos/permissive/129155059/button/button.v
 line:13: before: "else"
1: b'%Error: data/full_repos/permissive/129155059/button/button.v:13: syntax error, unexpected else\n        else begin\n        ^~~~\n%Error: Exiting due to 1 error(s)\n'
module button(sluz, iclk, ireset, itoggle);



   output reg sluz;
   input wire iclk, ireset, itoggle;


   always @(posedge iclk)
     if (itoggle == 1) begin
        if (sluz == 1) begin
           sluz <= 1'b0;
        else begin
           sluz <= 1'b1;
        end
          
     end

   always @(ireset)
     if (ireset)
       out <= 0;

endmodule
module button(sluz, iclk, ireset, itoggle);




   output reg sluz;
   input wire iclk, ireset, itoggle;


   always @(posedge iclk)
     if (itoggle == 1) begin
        if (sluz == 1) begin
           sluz <= 1'b0;
        else begin
           sluz <= 1'b1;
        end
          
     end

   always @(ireset)
     if (ireset)
       out <= 0;

endmodule