data/full_repos/permissive/423547971/FPGA Projects/Candy_Machine_Basys3/conv2bcd.v
1: b'%Error: Cannot find file containing module: Projects/Candy_Machine_Basys3,data/full_repos/permissive/423547971\n        ... Looked in:\n             data/full_repos/permissive/423547971/FPGA/Projects/Candy_Machine_Basys3,data/full_repos/permissive/423547971\n             data/full_repos/permissive/423547971/FPGA/Projects/Candy_Machine_Basys3,data/full_repos/permissive/423547971.v\n             data/full_repos/permissive/423547971/FPGA/Projects/Candy_Machine_Basys3,data/full_repos/permissive/423547971.sv\n             Projects/Candy_Machine_Basys3,data/full_repos/permissive/423547971\n             Projects/Candy_Machine_Basys3,data/full_repos/permissive/423547971.v\n             Projects/Candy_Machine_Basys3,data/full_repos/permissive/423547971.sv\n             obj_dir/Projects/Candy_Machine_Basys3,data/full_repos/permissive/423547971\n             obj_dir/Projects/Candy_Machine_Basys3,data/full_repos/permissive/423547971.v\n             obj_dir/Projects/Candy_Machine_Basys3,data/full_repos/permissive/423547971.sv\n%Error: Cannot find file containing module: data/full_repos/permissive/423547971/FPGA\n%Error: Cannot find file containing module: Projects/Candy_Machine_Basys3/conv2bcd.v\n%Error: Exiting due to 3 error(s)\n'
module conv2bcd(
    input [4:0] i_value,
    output [3:0] o_low,
    output [1:0] o_high
    );
    
    reg [1:0] tens;
    reg [3:0] ones;
    
    always @* begin
        tens = i_value / 10;
        ones = i_value % 10;
    end
    
    assign o_low = ones;
    assign o_high = tens;
    
endmodule
module conv2bcd(
    input [4:0] i_value,
    output [3:0] o_low,
    output [1:0] o_high
    );

    
    reg [1:0] tens;
    reg [3:0] ones;
    
    always @* begin
        tens = i_value / 10;
        ones = i_value % 10;
    end
    
    assign o_low = ones;
    assign o_high = tens;
    
endmodule