data/full_repos/permissive/188795755/elec_design/beta1/src/top.v
1: b"%Error: data/full_repos/permissive/188795755/elec_design/beta1/src/top.v:29: Cannot find file containing module: 'key'\nkey     key_inst(\n^~~\n        ... Looked in:\n             data/full_repos/permissive/188795755/elec_design/beta1/src,data/full_repos/permissive/188795755/key\n             data/full_repos/permissive/188795755/elec_design/beta1/src,data/full_repos/permissive/188795755/key.v\n             data/full_repos/permissive/188795755/elec_design/beta1/src,data/full_repos/permissive/188795755/key.sv\n             key\n             key.v\n             key.sv\n             obj_dir/key\n             obj_dir/key.v\n             obj_dir/key.sv\n%Error: data/full_repos/permissive/188795755/elec_design/beta1/src/top.v:36: Cannot find file containing module: 'state'\nstate   state_inst(\n^~~~~\n%Error: data/full_repos/permissive/188795755/elec_design/beta1/src/top.v:55: Cannot find file containing module: 'pwm'\npwm     pwm_inst(\n^~~\n%Error: Exiting due to 3 error(s)\n"
module  top(

        input                   sclk                    ,  
        input                   s_rst_n                 ,

        input                   key                     ,
        input                   catcher                 ,
        input                   jockey_r                ,
        input                   jockey_l                ,


        output          [ 1:0]  MA                      
);




wire                    pi_flag                         ;
wire                    direct                          ;
wire                    enable                          ;








key     key_inst(
        .sclk                   (sclk                   ),
        .s_rst_n                (s_rst_n                ),
        .key                    (key                    ),
        .po_flag                (pi_flag                )
);

state   state_inst(
        .sclk                   (sclk                   ),
        .s_rst_n                (s_rst_n                ),
        .catcher                (catcher                ),
        .jockey_r               (jockey_r               ),
        .jockey_l               (jockey_l               ),
        .key                    (pi_flag                ),
        .direct                 (direct                 ),
        .enable                 (enable                 )
);



pwm     pwm_inst(
        .sclk                   (sclk                   ),
        .s_rst_n                (s_rst_n                ),
        .enable                 (enable                 ),
        .direct                 (direct                 ),
        .MA                     (MA                     )
);        








endmodule
module  top(

        input                   sclk                    ,  
        input                   s_rst_n                 ,

        input                   key                     ,
        input                   catcher                 ,
        input                   jockey_r                ,
        input                   jockey_l                ,


        output          [ 1:0]  MA                      
);





wire                    pi_flag                         ;
wire                    direct                          ;
wire                    enable                          ;








key     key_inst(
        .sclk                   (sclk                   ),
        .s_rst_n                (s_rst_n                ),
        .key                    (key                    ),
        .po_flag                (pi_flag                )
);

state   state_inst(
        .sclk                   (sclk                   ),
        .s_rst_n                (s_rst_n                ),
        .catcher                (catcher                ),
        .jockey_r               (jockey_r               ),
        .jockey_l               (jockey_l               ),
        .key                    (pi_flag                ),
        .direct                 (direct                 ),
        .enable                 (enable                 )
);



pwm     pwm_inst(
        .sclk                   (sclk                   ),
        .s_rst_n                (s_rst_n                ),
        .enable                 (enable                 ),
        .direct                 (direct                 ),
        .MA                     (MA                     )
);        








endmodule