data/full_repos/permissive/129155059/proyecto-01/ffd_s2p_cond.v
 line:7: before: "~"
1: b"%Error: data/full_repos/permissive/129155059/proyecto-01/ffd_s2p_cond.v:7: syntax error, unexpected '~', expecting TYPE-IDENTIFIER\n  always @ (~ENB) begin\n            ^\n%Error: Cannot continue\n"
module ffd_s2p_cond(input CLK,
                    input D,
                    input ENB,
                    output reg Q
  );

  always @ (~ENB) begin
    Q <= 1'b0;

  end

  always @ (posedge CLK) begin
    if (ENB) begin
      Q <= D;
    end else begin
      Q <= 1'b0;

    end
  end

endmodule
module ffd_s2p_cond(input CLK,
                    input D,
                    input ENB,
                    output reg Q
  );


  always @ (~ENB) begin
    Q <= 1'b0;

  end

  always @ (posedge CLK) begin
    if (ENB) begin
      Q <= D;
    end else begin
      Q <= 1'b0;

    end
  end

endmodule