data/full_repos/permissive/423547971/FPGA Projects/Byte Calculator/top.v
1: b'%Error: Cannot find file containing module: Projects/Byte\n        ... Looked in:\n             data/full_repos/permissive/423547971/FPGA/Projects/Byte\n             data/full_repos/permissive/423547971/FPGA/Projects/Byte.v\n             data/full_repos/permissive/423547971/FPGA/Projects/Byte.sv\n             Projects/Byte\n             Projects/Byte.v\n             Projects/Byte.sv\n             obj_dir/Projects/Byte\n             obj_dir/Projects/Byte.v\n             obj_dir/Projects/Byte.sv\n%Error: Cannot find file containing module: Calculator,data/full_repos/permissive/423547971\n%Error: Cannot find file containing module: data/full_repos/permissive/423547971/FPGA\n%Error: Cannot find file containing module: Calculator/top.v\n%Error: Exiting due to 4 error(s)\n'
module top(

    input clk_100MHz,       
    input [4:0] btn,        
    input [15:0] sw,
    output [8:0] LED
    );
    
    wire reset, add, sub, mult, div;
    wire [4:0] op_select;
    assign op_select = {reset, add, sub, mult, div};
    
    byte_calculator bc(.clk(clk_100MHz), .byte_A(sw[7:0]), .byte_B(sw[15:8]), .op_select(op_select), .result(LED));
    btn_debouncer bdr(.clk_in(clk_100MHz), .btn_in(btn[4]), .btn_out(reset));
    btn_debouncer bda(.clk_in(clk_100MHz), .btn_in(btn[3]), .btn_out(add));
    btn_debouncer bds(.clk_in(clk_100MHz), .btn_in(btn[2]), .btn_out(sub));
    btn_debouncer bdm(.clk_in(clk_100MHz), .btn_in(btn[1]), .btn_out(mult));
    btn_debouncer bdd(.clk_in(clk_100MHz), .btn_in(btn[0]), .btn_out(div));
    
    
    
endmodule
module top(

    input clk_100MHz,       
    input [4:0] btn,        
    input [15:0] sw,
    output [8:0] LED
    );

    
    wire reset, add, sub, mult, div;
    wire [4:0] op_select;
    assign op_select = {reset, add, sub, mult, div};
    
    byte_calculator bc(.clk(clk_100MHz), .byte_A(sw[7:0]), .byte_B(sw[15:8]), .op_select(op_select), .result(LED));
    btn_debouncer bdr(.clk_in(clk_100MHz), .btn_in(btn[4]), .btn_out(reset));
    btn_debouncer bda(.clk_in(clk_100MHz), .btn_in(btn[3]), .btn_out(add));
    btn_debouncer bds(.clk_in(clk_100MHz), .btn_in(btn[2]), .btn_out(sub));
    btn_debouncer bdm(.clk_in(clk_100MHz), .btn_in(btn[1]), .btn_out(mult));
    btn_debouncer bdd(.clk_in(clk_100MHz), .btn_in(btn[0]), .btn_out(div));
    
    
    
endmodule