data/full_repos/permissive/129155059/proyecto-01/byte_joining/byte_joining_cond.v
 line:8: before: "~"
1: b"%Error: data/full_repos/permissive/129155059/proyecto-01/byte_joining/byte_joining_cond.v:8: syntax error, unexpected '~', expecting TYPE-IDENTIFIER\n  always @ (~ENB) begin\n            ^\n%Error: Exiting due to 1 error(s)\n"
module mux4a1_cond (
  input [7:0] In0, In1, In2, In3,
  input [1:0] Sel,
  input ENB,
  output reg [7:0] outmux
  );

  always @ (~ENB) begin
    outmux = 8'b0;
  end

  always @ ( Sel ) begin
    if (ENB) begin
      case (Sel)
        2'b00: outmux = In0;
        2'b01: outmux = In1;
        2'b10: outmux = In2;
        2'b11: outmux = In3;
        default: outmux = 8'b0;
      endcase
    end else begin
      outmux = 8'b0;
    end
  end

endmodule
module mux4a1_cond (
  input [7:0] In0, In1, In2, In3,
  input [1:0] Sel,
  input ENB,
  output reg [7:0] outmux
  );


  always @ (~ENB) begin
    outmux = 8'b0;
  end

  always @ ( Sel ) begin
    if (ENB) begin
      case (Sel)
        2'b00: outmux = In0;
        2'b01: outmux = In1;
        2'b10: outmux = In2;
        2'b11: outmux = In3;
        default: outmux = 8'b0;
      endcase
    end else begin
      outmux = 8'b0;
    end
  end

endmodule