data/full_repos/permissive/520487363/EX3 - Function Generator/Files/GenSinHalfWave.v
1: b'%Error: Invalid Option: -\n'
module GenSinHalfWave(
    input [7:0] sine,
    output reg [7:0] out
);
    always @(sine) begin
        if (sine < 8'd128) out = 8'd127;
        else out = sine;
    end
endmodule
module GenSinHalfWave(
    input [7:0] sine,
    output reg [7:0] out
);

    always @(sine) begin
        if (sine < 8'd128) out = 8'd127;
        else out = sine;
    end
endmodule