data/full_repos/permissive/461069000/pwm/src/pwm.v
1: b'%Error: data/full_repos/permissive/461069000/pwm/src/pwm.v:1: Cannot find include file: counter.v\n`include "counter.v" \n         ^~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/461069000/pwm/src,data/full_repos/permissive/461069000/counter.v\n             data/full_repos/permissive/461069000/pwm/src,data/full_repos/permissive/461069000/counter.v.v\n             data/full_repos/permissive/461069000/pwm/src,data/full_repos/permissive/461069000/counter.v.sv\n             counter.v\n             counter.v.v\n             counter.v.sv\n             obj_dir/counter.v\n             obj_dir/counter.v.v\n             obj_dir/counter.v.sv\n%Error: Exiting due to 1 error(s)\n'
module pwm 
#(
    parameter RESOLUTION = 8
)(
    input clk,
    input enable, 
    input [RESOLUTION-1:0] in,
    output out);

    wire [RESOLUTION-1:0] counter_out;
    wire reset_counter;
    
    assign reset_counter = (enable == 1'b1);
    assign out =  (in >= counter_out); 
    
    counter #(
        .BIT_WIDTH(RESOLUTION)
    ) counter_1 
    (
        .clk(clk),
        .reset(reset_counter),
        .out(counter_out)
    );

    
endmodule
module pwm 
#(
    parameter RESOLUTION = 8
)(
    input clk,
    input enable, 
    input [RESOLUTION-1:0] in,
    output out);


    wire [RESOLUTION-1:0] counter_out;
    wire reset_counter;
    
    assign reset_counter = (enable == 1'b1);
    assign out =  (in >= counter_out); 
    
    counter #(
        .BIT_WIDTH(RESOLUTION)
    ) counter_1 
    (
        .clk(clk),
        .reset(reset_counter),
        .out(counter_out)
    );

    
endmodule