data/full_repos/permissive/520487363/EX3 - Function Generator/Files/GenReciprocalWave.v
1: b'%Error: Invalid Option: -\n'
module GenReciprocalWave(
    input [7:0] cnt,
    output reg [7:0] out
);

    always @(cnt) begin
        if (cnt >= 8'd252) out = 8'd4;
        else out = 8'd255 / (8'd63 - (cnt >> 2));
    end
endmodule
module GenReciprocalWave(
    input [7:0] cnt,
    output reg [7:0] out
);


    always @(cnt) begin
        if (cnt >= 8'd252) out = 8'd4;
        else out = 8'd255 / (8'd63 - (cnt >> 2));
    end
endmodule