data/full_repos/permissive/211471959/src/hdl/top.v
1: b"%Error: data/full_repos/permissive/211471959/src/hdl/top.v:32: Cannot find file containing module: 'clock_divider'\n    clock_divider clk_div(           \n    ^~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/211471959/src/hdl,data/full_repos/permissive/211471959/clock_divider\n             data/full_repos/permissive/211471959/src/hdl,data/full_repos/permissive/211471959/clock_divider.v\n             data/full_repos/permissive/211471959/src/hdl,data/full_repos/permissive/211471959/clock_divider.sv\n             clock_divider\n             clock_divider.v\n             clock_divider.sv\n             obj_dir/clock_divider\n             obj_dir/clock_divider.v\n             obj_dir/clock_divider.sv\n%Error: data/full_repos/permissive/211471959/src/hdl/top.v:39: Cannot find file containing module: 'shift'\n    shift shifter(\n    ^~~~~\n%Error: data/full_repos/permissive/211471959/src/hdl/top.v:47: Cannot find file containing module: 'flash'\n    flash flasher(\n    ^~~~~\n%Error: data/full_repos/permissive/211471959/src/hdl/top.v:54: Cannot find file containing module: 'mux'\n    mux display_mux(         \n    ^~~\n%Error: Exiting due to 4 error(s)\n"
module top(
    input clk,
    input reset,
    input shift_sel,
    input func_sel,
    output [15:0] led
    );
        
    wire CLK_2_HZ;
    clock_divider clk_div(
        .clk        (clk),
        .reset      (reset),
        .CLK_2_HZ   (CLK_2_HZ)
    );
    
    wire [15:0] shift_led;
    shift shifter(
        .sel    (shift_sel),
        .clk    (CLK_2_HZ),
        .led    (shift_led),
        .reset  (reset)
    );
    
    wire [15:0] flash_led;
    flash flasher(
        .clk    (CLK_2_HZ),
        .reset  (reset),
        .led    (flash_led)
        );

    
    mux display_mux(
        .sel    (func_sel),
        .A      (shift_led),
        .B      (flash_led),
        .out    (led)
    );
    
endmodule
module top(
    input clk,
    input reset,
    input shift_sel,
    input func_sel,
    output [15:0] led
    );

        
    wire CLK_2_HZ;
    clock_divider clk_div(
        .clk        (clk),
        .reset      (reset),
        .CLK_2_HZ   (CLK_2_HZ)
    );
    
    wire [15:0] shift_led;
    shift shifter(
        .sel    (shift_sel),
        .clk    (CLK_2_HZ),
        .led    (shift_led),
        .reset  (reset)
    );
    
    wire [15:0] flash_led;
    flash flasher(
        .clk    (CLK_2_HZ),
        .reset  (reset),
        .led    (flash_led)
        );

    
    mux display_mux(
        .sel    (func_sel),
        .A      (shift_led),
        .B      (flash_led),
        .out    (led)
    );
    
endmodule