data/full_repos/permissive/147690299/lab/31_fsm_basic/rtl/lab_top.v
1: b"%Error: data/full_repos/permissive/147690299/lab/31_fsm_basic/rtl/lab_top.v:13: Cannot find file containing module: 'clk_divider'\n    clk_divider #(CLK_DIV) clk_divider\n    ^~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/147690299/lab/31_fsm_basic/rtl,data/full_repos/permissive/147690299/clk_divider\n             data/full_repos/permissive/147690299/lab/31_fsm_basic/rtl,data/full_repos/permissive/147690299/clk_divider.v\n             data/full_repos/permissive/147690299/lab/31_fsm_basic/rtl,data/full_repos/permissive/147690299/clk_divider.sv\n             clk_divider\n             clk_divider.v\n             clk_divider.sv\n             obj_dir/clk_divider\n             obj_dir/clk_divider.v\n             obj_dir/clk_divider.sv\n%Error: data/full_repos/permissive/147690299/lab/31_fsm_basic/rtl/lab_top.v:21: Cannot find file containing module: 'fsm_moore'\n    fsm_moore fsm_moore\n    ^~~~~~~~~\n%Error: data/full_repos/permissive/147690299/lab/31_fsm_basic/rtl/lab_top.v:30: Cannot find file containing module: 'fsm_mealy'\n    fsm_mealy fsm_mealy\n    ^~~~~~~~~\n%Error: data/full_repos/permissive/147690299/lab/31_fsm_basic/rtl/lab_top.v:39: Cannot find file containing module: 'fsm_moore_osc'\n    fsm_moore_osc fsm_moore_osc\n    ^~~~~~~~~~~~~\n%Error: Exiting due to 4 error(s)\n"
module lab_top
#(
    parameter CLK_DIV  = 24
)(
    input        clk,
    input        rst_n,
    input        idata,
    output [2:0] smile,
    output       indicator,
    output       strobe
);
    clk_divider #(CLK_DIV) clk_divider
    (
        .clk    ( clk       ),
        .rst_n  ( rst_n     ),
        .strobe ( strobe    ),
        .half   ( indicator )
    );

    fsm_moore fsm_moore
    (
        .clk    ( clk       ),
        .rst_n  ( rst_n     ),
        .en     ( strobe    ),
        .idata  ( idata     ),
        .smile  ( smile [0] )
    );

    fsm_mealy fsm_mealy
    (
        .clk    ( clk       ),
        .rst_n  ( rst_n     ),
        .en     ( strobe    ),
        .idata  ( idata     ),
        .smile  ( smile [1] )
    );

    fsm_moore_osc fsm_moore_osc
    (
        .clk    ( clk       ),
        .rst_n  ( rst_n     ),
        .en     ( strobe    ),
        .idata  ( idata     ),
        .smile  ( smile [2] )
    );

endmodule
module lab_top
#(
    parameter CLK_DIV  = 24
)(
    input        clk,
    input        rst_n,
    input        idata,
    output [2:0] smile,
    output       indicator,
    output       strobe
);

    clk_divider #(CLK_DIV) clk_divider
    (
        .clk    ( clk       ),
        .rst_n  ( rst_n     ),
        .strobe ( strobe    ),
        .half   ( indicator )
    );

    fsm_moore fsm_moore
    (
        .clk    ( clk       ),
        .rst_n  ( rst_n     ),
        .en     ( strobe    ),
        .idata  ( idata     ),
        .smile  ( smile [0] )
    );

    fsm_mealy fsm_mealy
    (
        .clk    ( clk       ),
        .rst_n  ( rst_n     ),
        .en     ( strobe    ),
        .idata  ( idata     ),
        .smile  ( smile [1] )
    );

    fsm_moore_osc fsm_moore_osc
    (
        .clk    ( clk       ),
        .rst_n  ( rst_n     ),
        .en     ( strobe    ),
        .idata  ( idata     ),
        .smile  ( smile [2] )
    );

endmodule