data/full_repos/permissive/423547971/FPGA Projects/Coffee Machine No 2(upgraded)/top.v
1: b'%Error: Cannot find file containing module: Projects/Coffee\n        ... Looked in:\n             data/full_repos/permissive/423547971/FPGA/Projects/Coffee\n             data/full_repos/permissive/423547971/FPGA/Projects/Coffee.v\n             data/full_repos/permissive/423547971/FPGA/Projects/Coffee.sv\n             Projects/Coffee\n             Projects/Coffee.v\n             Projects/Coffee.sv\n             obj_dir/Projects/Coffee\n             obj_dir/Projects/Coffee.v\n             obj_dir/Projects/Coffee.sv\n%Error: Cannot find file containing module: Machine\n%Error: Cannot find file containing module: No\n%Error: Cannot find file containing module: 2(upgraded),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: 2(upgraded)/top.v\n%Error: Exiting due to 6 error(s)\n'
module top(
    input clk_100MHz,
    input btnL,
    input btnR,
    input btnC,
    input sw,
    output [0:6] seg,
    output [3:0] an,
    output [15:0] LED
    );
    
    wire clk_1Hz, btnL_int, btnR_int, sw_db, LED_five;
    wire [2:0] state_int, cup_count_int;
    
    state_machine sm(.clk_1Hz(clk_1Hz), .btn1(btnL_int), .btn2(btnR_int), .reset(btnC), 
                     .sw(sw_db), .LED_high(LED[15:6]), .LED_five(LED_five), 
                     .LED_low(LED[4:0]), .state(state_int), .cup_count(cup_count_int));
    oneHz_gen oneHz(.clk_100MHz(clk_100MHz), .reset(btnC), .clk_1Hz(clk_1Hz));
    btn_debouncer sw0(.clk_100MHz(clk_100MHz), .btn_in(sw), .btn_out(sw_db));
    btn_debouncer b1(.clk_100MHz(clk_100MHz), .btn_in(btnL), .btn_out(btnL_int));
    btn_debouncer b2(.clk_100MHz(clk_100MHz), .btn_in(btnR), .btn_out(btnR_int));
    seg7_control s7(.clk_100MHz(clk_100MHz), .reset(btnC), .state(state_int),
                    .cup_count(cup_count_int), .seg(seg), .an(an));
    mux2x1 mux(.a(clk_1Hz), .b(LED_five), .select(state_int), .mux_out(LED[5]));
    
    
endmodule
module top(
    input clk_100MHz,
    input btnL,
    input btnR,
    input btnC,
    input sw,
    output [0:6] seg,
    output [3:0] an,
    output [15:0] LED
    );

    
    wire clk_1Hz, btnL_int, btnR_int, sw_db, LED_five;
    wire [2:0] state_int, cup_count_int;
    
    state_machine sm(.clk_1Hz(clk_1Hz), .btn1(btnL_int), .btn2(btnR_int), .reset(btnC), 
                     .sw(sw_db), .LED_high(LED[15:6]), .LED_five(LED_five), 
                     .LED_low(LED[4:0]), .state(state_int), .cup_count(cup_count_int));
    oneHz_gen oneHz(.clk_100MHz(clk_100MHz), .reset(btnC), .clk_1Hz(clk_1Hz));
    btn_debouncer sw0(.clk_100MHz(clk_100MHz), .btn_in(sw), .btn_out(sw_db));
    btn_debouncer b1(.clk_100MHz(clk_100MHz), .btn_in(btnL), .btn_out(btnL_int));
    btn_debouncer b2(.clk_100MHz(clk_100MHz), .btn_in(btnR), .btn_out(btnR_int));
    seg7_control s7(.clk_100MHz(clk_100MHz), .reset(btnC), .state(state_int),
                    .cup_count(cup_count_int), .seg(seg), .an(an));
    mux2x1 mux(.a(clk_1Hz), .b(LED_five), .select(state_int), .mux_out(LED[5]));
    
    
endmodule