data/full_repos/permissive/423547971/FPGA Projects/Voting Machine Basys3/top_voting_machine.v
1: b'%Error: Cannot find file containing module: Projects/Voting\n        ... Looked in:\n             data/full_repos/permissive/423547971/FPGA/Projects/Voting\n             data/full_repos/permissive/423547971/FPGA/Projects/Voting.v\n             data/full_repos/permissive/423547971/FPGA/Projects/Voting.sv\n             Projects/Voting\n             Projects/Voting.v\n             Projects/Voting.sv\n             obj_dir/Projects/Voting\n             obj_dir/Projects/Voting.v\n             obj_dir/Projects/Voting.sv\n%Error: Cannot find file containing module: Machine\n%Error: Cannot find file containing module: Basys3,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: Basys3/top_voting_machine.v\n%Error: Exiting due to 5 error(s)\n'
module top_voting_machine(
    input clk_100MHz,
    input [15:0] sw,
    input btn_1,
    input btn_2,
    input btn_3,
    input btn_ov_cv,
    input reset,
    output [0:6] seg,
    output [3:0] an,
    output [15:0] LED
    );
    

    wire w_1Hz, w_2Hz;
    wire w_btn1, w_btn2, w_btn3, w_btn_ov_cv, w_reset;
    wire w_en_leds;
    wire [3:0] w_vote_count;
    wire [1:0] w_the_state;
    wire [1:0] w_the_winner;
    wire w_tens;
    wire [3:0] w_ones;
    


    oneHz_gen uno(.clk_100MHz(clk_100MHz), .clk_1Hz(w_1Hz));
    twoHz_gen dos(.clk_100MHz(clk_100MHz), .clk_2Hz(w_2Hz));

    btn_debounce b1(.clk(clk_100MHz), .btn_in(btn_1), .btn_out(w_btn1));
    btn_debounce b2(.clk(clk_100MHz), .btn_in(btn_2), .btn_out(w_btn2));
    btn_debounce b3(.clk(clk_100MHz), .btn_in(btn_3), .btn_out(w_btn3));
    btn_debounce bovcv(.clk(clk_100MHz), .btn_in(btn_ov_cv), .btn_out(w_btn_ov_cv));
    btn_debounce rst(.clk(clk_100MHz), .btn_in(reset), .btn_out(w_reset));

    bin2bcd b2b(.bin_in(w_vote_count), .tens(w_tens), .ones(w_ones));

    led_driver led_d(.clk_2Hz(w_2Hz), .enable(w_en_leds), .LED(LED));

    state_machine sm(.clk_1Hz(w_1Hz), .btn1(w_btn1), .btn2(w_btn2), .btn3(w_btn3), .btn_ov_cv(w_btn_ov_cv), 
                     .reset(w_reset), .sw(sw), .vote_count(w_vote_count), .the_state(w_the_state), 
                     .the_winner(w_the_winner), .enable_leds(w_en_leds));

    seg7_control seg7(.clk_100MHz(clk_100MHz), .the_state(w_the_state), .vc_tens(w_tens), .vc_ones(w_ones), 
                      .the_winner(w_the_winner), .seg(seg), .an(an), .reset(w_reset));
    
endmodule
module top_voting_machine(
    input clk_100MHz,
    input [15:0] sw,
    input btn_1,
    input btn_2,
    input btn_3,
    input btn_ov_cv,
    input reset,
    output [0:6] seg,
    output [3:0] an,
    output [15:0] LED
    );

    

    wire w_1Hz, w_2Hz;
    wire w_btn1, w_btn2, w_btn3, w_btn_ov_cv, w_reset;
    wire w_en_leds;
    wire [3:0] w_vote_count;
    wire [1:0] w_the_state;
    wire [1:0] w_the_winner;
    wire w_tens;
    wire [3:0] w_ones;
    


    oneHz_gen uno(.clk_100MHz(clk_100MHz), .clk_1Hz(w_1Hz));
    twoHz_gen dos(.clk_100MHz(clk_100MHz), .clk_2Hz(w_2Hz));

    btn_debounce b1(.clk(clk_100MHz), .btn_in(btn_1), .btn_out(w_btn1));
    btn_debounce b2(.clk(clk_100MHz), .btn_in(btn_2), .btn_out(w_btn2));
    btn_debounce b3(.clk(clk_100MHz), .btn_in(btn_3), .btn_out(w_btn3));
    btn_debounce bovcv(.clk(clk_100MHz), .btn_in(btn_ov_cv), .btn_out(w_btn_ov_cv));
    btn_debounce rst(.clk(clk_100MHz), .btn_in(reset), .btn_out(w_reset));

    bin2bcd b2b(.bin_in(w_vote_count), .tens(w_tens), .ones(w_ones));

    led_driver led_d(.clk_2Hz(w_2Hz), .enable(w_en_leds), .LED(LED));

    state_machine sm(.clk_1Hz(w_1Hz), .btn1(w_btn1), .btn2(w_btn2), .btn3(w_btn3), .btn_ov_cv(w_btn_ov_cv), 
                     .reset(w_reset), .sw(sw), .vote_count(w_vote_count), .the_state(w_the_state), 
                     .the_winner(w_the_winner), .enable_leds(w_en_leds));

    seg7_control seg7(.clk_100MHz(clk_100MHz), .the_state(w_the_state), .vc_tens(w_tens), .vc_ones(w_ones), 
                      .the_winner(w_the_winner), .seg(seg), .an(an), .reset(w_reset));
    
endmodule