data/full_repos/permissive/463481430/RTL/periph/periph_top.v
1: b"%Error: data/full_repos/permissive/463481430/RTL/periph/periph_top.v:42: Cannot find file containing module: 'USART2RIB'\nUSART2RIB u_USART2RIB(\n^~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/463481430/RTL/periph,data/full_repos/permissive/463481430/USART2RIB\n             data/full_repos/permissive/463481430/RTL/periph,data/full_repos/permissive/463481430/USART2RIB.v\n             data/full_repos/permissive/463481430/RTL/periph,data/full_repos/permissive/463481430/USART2RIB.sv\n             USART2RIB\n             USART2RIB.v\n             USART2RIB.sv\n             obj_dir/USART2RIB\n             obj_dir/USART2RIB.v\n             obj_dir/USART2RIB.sv\n%Error: data/full_repos/permissive/463481430/RTL/periph/periph_top.v:72: Cannot find file containing module: 'TIMER2RIB'\nTIMER2RIB u_TIMER2RIB(\n^~~~~~~~~\n%Error: data/full_repos/permissive/463481430/RTL/periph/periph_top.v:91: Cannot find file containing module: 'SLAVE_SEL'\nSLAVE_SEL#(\n^~~~~~~~~\n%Error: Exiting due to 3 error(s)\n"
module PERIPH_TOP(
    input wire i_clk,
    input wire i_rstn,

    input wire[31:0] i_ribm_addr,
    input wire i_ribm_wrcs,
    input wire[3:0] i_ribm_mask,
    input wire[31:0] i_ribm_wdata,
    output wire[31:0] o_ribm_rdata,

    input wire i_ribm_req, 
    output wire o_ribm_gnt, 
    output wire o_ribm_rsp, 
    input wire i_ribm_rdy,


    input wire i_io_rx,
    output wire o_io_tx
);


wire[31:0] usart_rib_addr;
wire usart_rib_wrcs;
wire[3:0] usart_rib_mask;
wire[31:0] usart_rib_wdata;
wire[31:0] usart_rib_rdata;
wire usart_rib_req;
wire usart_rib_gnt;
wire usart_rib_rsp;
wire usart_rib_rdy;


USART2RIB u_USART2RIB(
    .i_clk        ( i_clk        ),
    .i_rstn       ( i_rstn       ),

    .i_ribs_addr  ( usart_rib_addr  ),
    .i_ribs_wrcs  ( usart_rib_wrcs  ),
    .i_ribs_mask  ( usart_rib_mask  ),
    .i_ribs_wdata ( usart_rib_wdata ),
    .o_ribs_rdata ( usart_rib_rdata ),
    .i_ribs_req   ( usart_rib_req   ),
    .o_ribs_gnt   ( usart_rib_gnt   ),
    .o_ribs_rsp   ( usart_rib_rsp   ),
    .i_ribs_rdy   ( usart_rib_rdy   ),

    .i_rx         ( i_io_rx         ),
    .o_tx         ( o_io_tx         )
);


wire[31:0] timer_ribs_addr;
wire timer_ribs_wrcs;
wire[3:0] timer_ribs_mask;
wire[31:0] timer_ribs_wdata;
wire[31:0] timer_ribs_rdata;
wire timer_ribs_req;
wire timer_ribs_gnt;
wire timer_ribs_rsp;
wire timer_ribs_rdy;


TIMER2RIB u_TIMER2RIB(
    .i_clk        ( i_clk        ),
    .i_rstn       ( i_rstn       ),

    .i_ribs_addr  ( timer_ribs_addr  ),
    .i_ribs_wrcs  ( timer_ribs_wrcs  ),
    .i_ribs_mask  ( timer_ribs_mask  ),
    .i_ribs_wdata ( timer_ribs_wdata ),
    .o_ribs_rdata ( timer_ribs_rdata ),
    .i_ribs_req   ( timer_ribs_req   ),
    .o_ribs_gnt   ( timer_ribs_gnt   ),
    .o_ribs_rsp   ( timer_ribs_rsp   ),
    .i_ribs_rdy   ( timer_ribs_rdy   )
);





SLAVE_SEL#(
    .slaves       ( 2 )
)u_SLAVE_SEL(
    .i_clk        ( i_clk        ),
    .i_rstn       ( i_rstn       ),
    
    .i_slave_mask ( {8'hf2,8'hf1} ),

    .i_ribm_addr  ( i_ribm_addr  ),
    .i_ribm_wrcs  ( i_ribm_wrcs  ),
    .i_ribm_mask  ( i_ribm_mask  ),
    .i_ribm_wdata ( i_ribm_wdata ),
    .o_ribm_rdata ( o_ribm_rdata ),
    .i_ribm_req   ( i_ribm_req   ),
    .o_ribm_gnt   ( o_ribm_gnt   ),
    .o_ribm_rsp   ( o_ribm_rsp   ),
    .i_ribm_rdy   ( i_ribm_rdy   ),

    .o_ribs_addr  ( {timer_ribs_addr ,usart_rib_addr}  ),
    .o_ribs_wrcs  ( {timer_ribs_wrcs ,usart_rib_wrcs}  ),
    .o_ribs_mask  ( {timer_ribs_mask ,usart_rib_mask}  ),
    .o_ribs_wdata ( {timer_ribs_wdata,usart_rib_wdata} ),
    .i_ribs_rdata ( {timer_ribs_rdata,usart_rib_rdata} ),
    .o_ribs_req   ( {timer_ribs_req  ,usart_rib_req}   ),
    .i_ribs_gnt   ( {timer_ribs_gnt  ,usart_rib_gnt}   ),
    .i_ribs_rsp   ( {timer_ribs_rsp  ,usart_rib_rsp}   ),
    .o_ribs_rdy   ( {timer_ribs_rdy  ,usart_rib_rdy}   ),

    .o_ribd_addr  (   ),
    .o_ribd_wrcs  (   ),
    .o_ribd_mask  (   ),
    .o_ribd_wdata (  ),
    .i_ribd_rdata ( 32'b0 ),
    .o_ribd_req   (    ),
    .i_ribd_gnt   ( 1'b0   ),
    .i_ribd_rsp   ( 1'b0   ),
    .o_ribd_rdy   (    )
);












endmodule
module PERIPH_TOP(
    input wire i_clk,
    input wire i_rstn,

    input wire[31:0] i_ribm_addr,
    input wire i_ribm_wrcs,
    input wire[3:0] i_ribm_mask,
    input wire[31:0] i_ribm_wdata,
    output wire[31:0] o_ribm_rdata,

    input wire i_ribm_req, 
    output wire o_ribm_gnt, 
    output wire o_ribm_rsp, 
    input wire i_ribm_rdy,


    input wire i_io_rx,
    output wire o_io_tx
);



wire[31:0] usart_rib_addr;
wire usart_rib_wrcs;
wire[3:0] usart_rib_mask;
wire[31:0] usart_rib_wdata;
wire[31:0] usart_rib_rdata;
wire usart_rib_req;
wire usart_rib_gnt;
wire usart_rib_rsp;
wire usart_rib_rdy;


USART2RIB u_USART2RIB(
    .i_clk        ( i_clk        ),
    .i_rstn       ( i_rstn       ),

    .i_ribs_addr  ( usart_rib_addr  ),
    .i_ribs_wrcs  ( usart_rib_wrcs  ),
    .i_ribs_mask  ( usart_rib_mask  ),
    .i_ribs_wdata ( usart_rib_wdata ),
    .o_ribs_rdata ( usart_rib_rdata ),
    .i_ribs_req   ( usart_rib_req   ),
    .o_ribs_gnt   ( usart_rib_gnt   ),
    .o_ribs_rsp   ( usart_rib_rsp   ),
    .i_ribs_rdy   ( usart_rib_rdy   ),

    .i_rx         ( i_io_rx         ),
    .o_tx         ( o_io_tx         )
);


wire[31:0] timer_ribs_addr;
wire timer_ribs_wrcs;
wire[3:0] timer_ribs_mask;
wire[31:0] timer_ribs_wdata;
wire[31:0] timer_ribs_rdata;
wire timer_ribs_req;
wire timer_ribs_gnt;
wire timer_ribs_rsp;
wire timer_ribs_rdy;


TIMER2RIB u_TIMER2RIB(
    .i_clk        ( i_clk        ),
    .i_rstn       ( i_rstn       ),

    .i_ribs_addr  ( timer_ribs_addr  ),
    .i_ribs_wrcs  ( timer_ribs_wrcs  ),
    .i_ribs_mask  ( timer_ribs_mask  ),
    .i_ribs_wdata ( timer_ribs_wdata ),
    .o_ribs_rdata ( timer_ribs_rdata ),
    .i_ribs_req   ( timer_ribs_req   ),
    .o_ribs_gnt   ( timer_ribs_gnt   ),
    .o_ribs_rsp   ( timer_ribs_rsp   ),
    .i_ribs_rdy   ( timer_ribs_rdy   )
);





SLAVE_SEL#(
    .slaves       ( 2 )
)u_SLAVE_SEL(
    .i_clk        ( i_clk        ),
    .i_rstn       ( i_rstn       ),
    
    .i_slave_mask ( {8'hf2,8'hf1} ),

    .i_ribm_addr  ( i_ribm_addr  ),
    .i_ribm_wrcs  ( i_ribm_wrcs  ),
    .i_ribm_mask  ( i_ribm_mask  ),
    .i_ribm_wdata ( i_ribm_wdata ),
    .o_ribm_rdata ( o_ribm_rdata ),
    .i_ribm_req   ( i_ribm_req   ),
    .o_ribm_gnt   ( o_ribm_gnt   ),
    .o_ribm_rsp   ( o_ribm_rsp   ),
    .i_ribm_rdy   ( i_ribm_rdy   ),

    .o_ribs_addr  ( {timer_ribs_addr ,usart_rib_addr}  ),
    .o_ribs_wrcs  ( {timer_ribs_wrcs ,usart_rib_wrcs}  ),
    .o_ribs_mask  ( {timer_ribs_mask ,usart_rib_mask}  ),
    .o_ribs_wdata ( {timer_ribs_wdata,usart_rib_wdata} ),
    .i_ribs_rdata ( {timer_ribs_rdata,usart_rib_rdata} ),
    .o_ribs_req   ( {timer_ribs_req  ,usart_rib_req}   ),
    .i_ribs_gnt   ( {timer_ribs_gnt  ,usart_rib_gnt}   ),
    .i_ribs_rsp   ( {timer_ribs_rsp  ,usart_rib_rsp}   ),
    .o_ribs_rdy   ( {timer_ribs_rdy  ,usart_rib_rdy}   ),

    .o_ribd_addr  (   ),
    .o_ribd_wrcs  (   ),
    .o_ribd_mask  (   ),
    .o_ribd_wdata (  ),
    .i_ribd_rdata ( 32'b0 ),
    .o_ribd_req   (    ),
    .i_ribd_gnt   ( 1'b0   ),
    .i_ribd_rsp   ( 1'b0   ),
    .o_ribd_rdy   (    )
);












endmodule