data/full_repos/permissive/451970862/rtl/soc/c101_soc_top.v
1: b"%Error: data/full_repos/permissive/451970862/rtl/soc/c101_soc_top.v:162: Cannot find file containing module: 'rst_n_sync'\nrst_n_sync u_rst_n_sync(\n^~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/451970862/rtl/soc,data/full_repos/permissive/451970862/rst_n_sync\n             data/full_repos/permissive/451970862/rtl/soc,data/full_repos/permissive/451970862/rst_n_sync.v\n             data/full_repos/permissive/451970862/rtl/soc,data/full_repos/permissive/451970862/rst_n_sync.sv\n             rst_n_sync\n             rst_n_sync.v\n             rst_n_sync.sv\n             obj_dir/rst_n_sync\n             obj_dir/rst_n_sync.v\n             obj_dir/rst_n_sync.sv\n%Error: data/full_repos/permissive/451970862/rtl/soc/c101_soc_top.v:168: Cannot find file containing module: 'bus'\nbus u_bus(\n^~~\n%Error: data/full_repos/permissive/451970862/rtl/soc/c101_soc_top.v:260: Cannot find file containing module: 'core_c1_top'\ncore_c1_top u_core_c1_top(\n^~~~~~~~~~~\n%Error: data/full_repos/permissive/451970862/rtl/soc/c101_soc_top.v:313: Cannot find file containing module: 'sb_ram_wrapper'\nsb_ram_wrapper u_imem (\n^~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/451970862/rtl/soc/c101_soc_top.v:338: Cannot find file containing module: 'sb_ram_wrapper'\nsb_ram_wrapper u_dmem (\n^~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/451970862/rtl/soc/c101_soc_top.v:362: Cannot find file containing module: 'gpio'\ngpio u_gpioa(\n^~~~\n%Error: data/full_repos/permissive/451970862/rtl/soc/c101_soc_top.v:390: Cannot find file containing module: 'gpio'\ngpio u_gpiob(\n^~~~\n%Error: Exiting due to 7 error(s)\n"
module c101_soc_top(

  input           clk,
  input           rst_n_async,

  input   [15:0]  gpioa_i,
  input   [15:0]  gpiob_i,
  output  [15:0]  gpioa_o,
  output  [15:0]  gpiob_o
);


wire          rst_n;




wire          sb_arvalid_m0;
wire          sb_arready_m0;
wire  [31:0]  sb_araddr_m0;

wire          sb_rvalid_m0;
wire          sb_rready_m0;
wire   [31:0] sb_rdata_m0;

wire          sb_wvalid_m0;
wire          sb_wready_m0;
wire  [31:0]  sb_waddr_m0;
wire  [31:0]  sb_wdata_m0;
wire  [3:0]   sb_wstrb_m0;

wire          sb_bvalid_m0;
wire          sb_bready_m0;
wire          sb_bresp_m0;




wire         sb_arvalid_m1;
wire         sb_arready_m1;
wire [31:0]  sb_araddr_m1;

wire         sb_rvalid_m1;
wire         sb_rready_m1;
wire [31:0]  sb_rdata_m1;

wire         sb_wvalid_m1;
wire         sb_wready_m1;
wire [31:0]  sb_waddr_m1;
wire [31:0]  sb_wdata_m1;
wire [3:0]   sb_wstrb_m1;

wire         sb_bvalid_m1;
wire         sb_bready_m1;
wire         sb_bresp_m1;




wire          sb_arvalid_s0;
wire          sb_arready_s0;
wire  [31:0]  sb_araddr_s0;

wire          sb_rvalid_s0;
wire          sb_rready_s0;
wire  [31:0]  sb_rdata_s0;

wire          sb_wvalid_s0;
wire          sb_wready_s0;
wire  [31:0]  sb_waddr_s0;
wire  [31:0]  sb_wdata_s0;
wire  [3:0]   sb_wstrb_s0;

wire          sb_bvalid_s0;
wire          sb_bready_s0;
wire          sb_bresp_s0;




wire          sb_arvalid_s1;
wire          sb_arready_s1;
wire  [31:0]  sb_araddr_s1;

wire          sb_rvalid_s1;
wire          sb_rready_s1;
wire  [31:0]  sb_rdata_s1;

wire          sb_wvalid_s1;
wire          sb_wready_s1;
wire  [31:0]  sb_waddr_s1;
wire  [31:0]  sb_wdata_s1;
wire  [3:0]   sb_wstrb_s1;

wire          sb_bvalid_s1;
wire          sb_bready_s1;
wire          sb_bresp_s1;




wire          sb_arvalid_s2;
wire          sb_arready_s2;
wire  [31:0]  sb_araddr_s2;

wire          sb_rvalid_s2;
wire          sb_rready_s2;
wire  [31:0]  sb_rdata_s2;

wire          sb_wvalid_s2;
wire          sb_wready_s2;
wire  [31:0]  sb_waddr_s2;
wire  [31:0]  sb_wdata_s2;
wire  [3:0]   sb_wstrb_s2;

wire          sb_bvalid_s2;
wire          sb_bready_s2;
wire          sb_bresp_s2;




wire          sb_arvalid_s3;
wire          sb_arready_s3;
wire  [31:0]  sb_araddr_s3;

wire          sb_rvalid_s3;
wire          sb_rready_s3;
wire  [31:0]  sb_rdata_s3;

wire          sb_wvalid_s3;
wire          sb_wready_s3;
wire  [31:0]  sb_waddr_s3;
wire  [31:0]  sb_wdata_s3;
wire  [3:0]   sb_wstrb_s3;

wire          sb_bvalid_s3;
wire          sb_bready_s3;
wire          sb_bresp_s3;






rst_n_sync u_rst_n_sync(
  .clk(clk),
  .rst_n_async(rst_n_async),
  .rst_n_sync(rst_n)
);

bus u_bus(
  .clk(clk),
  .rst_n(rst_n),
  .sb_arvalid_m0(sb_arvalid_m0),
  .sb_arready_m0(sb_arready_m0),
  .sb_araddr_m0(sb_araddr_m0),
  .sb_rvalid_m0(sb_rvalid_m0),
  .sb_rready_m0(sb_rready_m0),
  .sb_rdata_m0(sb_rdata_m0),
  .sb_wvalid_m0(sb_wvalid_m0),
  .sb_wready_m0(sb_wready_m0),
  .sb_waddr_m0(sb_waddr_m0),
  .sb_wdata_m0(sb_wdata_m0),
  .sb_wstrb_m0(sb_wstrb_m0),
  .sb_bvalid_m0(sb_bvalid_m0),
  .sb_bready_m0(sb_bready_m0),
  .sb_bresp_m0(sb_bresp_m0),
  .sb_arvalid_m1(sb_arvalid_m1),
  .sb_arready_m1(sb_arready_m1),
  .sb_araddr_m1(sb_araddr_m1),
  .sb_rvalid_m1(sb_rvalid_m1),
  .sb_rready_m1(sb_rready_m1),
  .sb_rdata_m1(sb_rdata_m1),
  .sb_wvalid_m1(sb_wvalid_m1),
  .sb_wready_m1(sb_wready_m1),
  .sb_waddr_m1(sb_waddr_m1),
  .sb_wdata_m1(sb_wdata_m1),
  .sb_wstrb_m1(sb_wstrb_m1),
  .sb_bvalid_m1(sb_bvalid_m1),
  .sb_bready_m1(sb_bready_m1),
  .sb_bresp_m1(sb_bresp_m1),
  .sb_arvalid_s0(sb_arvalid_s0),
  .sb_arready_s0(sb_arready_s0),
  .sb_araddr_s0(sb_araddr_s0),
  .sb_rvalid_s0(sb_rvalid_s0),
  .sb_rready_s0(sb_rready_s0),
  .sb_rdata_s0(sb_rdata_s0),
  .sb_wvalid_s0(sb_wvalid_s0),
  .sb_wready_s0(sb_wready_s0),
  .sb_waddr_s0(sb_waddr_s0),
  .sb_wdata_s0(sb_wdata_s0),
  .sb_wstrb_s0(sb_wstrb_s0),
  .sb_bvalid_s0(sb_bvalid_s0),
  .sb_bready_s0(sb_bready_s0),
  .sb_bresp_s0(sb_bresp_s0),
  .sb_arvalid_s1(sb_arvalid_s1),
  .sb_arready_s1(sb_arready_s1),
  .sb_araddr_s1(sb_araddr_s1),
  .sb_rvalid_s1(sb_rvalid_s1),
  .sb_rready_s1(sb_rready_s1),
  .sb_rdata_s1(sb_rdata_s1),
  .sb_wvalid_s1(sb_wvalid_s1),
  .sb_wready_s1(sb_wready_s1),
  .sb_waddr_s1(sb_waddr_s1),
  .sb_wdata_s1(sb_wdata_s1),
  .sb_wstrb_s1(sb_wstrb_s1),
  .sb_bvalid_s1(sb_bvalid_s1),
  .sb_bready_s1(sb_bready_s1),
  .sb_bresp_s1(sb_bresp_s1),
  .sb_arvalid_s2(sb_arvalid_s2),
  .sb_arready_s2(sb_arready_s2),
  .sb_araddr_s2(sb_araddr_s2),
  .sb_rvalid_s2(sb_rvalid_s2),
  .sb_rready_s2(sb_rready_s2),
  .sb_rdata_s2(sb_rdata_s2),
  .sb_wvalid_s2(sb_wvalid_s2),
  .sb_wready_s2(sb_wready_s2),
  .sb_waddr_s2(sb_waddr_s2),
  .sb_wdata_s2(sb_wdata_s2),
  .sb_wstrb_s2(sb_wstrb_s2),
  .sb_bvalid_s2(sb_bvalid_s2),
  .sb_bready_s2(sb_bready_s2),
  .sb_bresp_s2(sb_bresp_s2),
  .sb_arvalid_s3(sb_arvalid_s3),
  .sb_arready_s3(sb_arready_s3),
  .sb_araddr_s3(sb_araddr_s3),
  .sb_rvalid_s3(sb_rvalid_s3),
  .sb_rready_s3(sb_rready_s3),
  .sb_rdata_s3(sb_rdata_s3),
  .sb_wvalid_s3(sb_wvalid_s3),
  .sb_wready_s3(sb_wready_s3),
  .sb_waddr_s3(sb_waddr_s3),
  .sb_wdata_s3(sb_wdata_s3),
  .sb_wstrb_s3(sb_wstrb_s3),
  .sb_bvalid_s3(sb_bvalid_s3),
  .sb_bready_s3(sb_bready_s3),
  .sb_bresp_s3(sb_bresp_s3)
);




core_c1_top u_core_c1_top(





.sb_arvalid_m0(sb_arvalid_m0),
.sb_arready_m0(sb_arready_m0),
.sb_araddr_m0(sb_araddr_m0),

.sb_rvalid_m0(sb_rvalid_m0),
.sb_rready_m0(sb_rready_m0),
.sb_rdata_m0(sb_rdata_m0),

.sb_wvalid_m0(sb_wvalid_m0),
.sb_wready_m0(sb_wready_m0),
.sb_waddr_m0(sb_waddr_m0),
.sb_wdata_m0(sb_wdata_m0),
.sb_wstrb_m0(sb_wstrb_m0),

.sb_bvalid_m0(sb_bvalid_m0),
.sb_bready_m0(sb_bready_m0),
.sb_bresp_m0(sb_bresp_m0),





.sb_arvalid_m1(sb_arvalid_m1),
.sb_arready_m1(sb_arready_m1),
.sb_araddr_m1(sb_araddr_m1),

.sb_rvalid_m1(sb_rvalid_m1),
.sb_rready_m1(sb_rready_m1),
.sb_rdata_m1(sb_rdata_m1),

.sb_wvalid_m1(sb_wvalid_m1),
.sb_wready_m1(sb_wready_m1),
.sb_waddr_m1(sb_waddr_m1),
.sb_wdata_m1(sb_wdata_m1),
.sb_wstrb_m1(sb_wstrb_m1),

.sb_bvalid_m1(sb_bvalid_m1),
.sb_bready_m1(sb_bready_m1),
.sb_bresp_m1(sb_bresp_m1),

.plic_intr(1'b0),

.clk(clk),
.rst_n(rst_n)

);

sb_ram_wrapper u_imem (

.sb_clk(clk),
.sb_rst_n(rst_n),

.sb_arvalid(sb_arvalid_s0),
.sb_arready(sb_arready_s0),
.sb_araddr(sb_araddr_s0),

.sb_rvalid(sb_rvalid_s0),
.sb_rready(sb_rready_s0),
.sb_rdata(sb_rdata_s0),

.sb_wvalid(sb_wvalid_s0),
.sb_wready(sb_wready_s0),
.sb_waddr(sb_waddr_s0),
.sb_wdata(sb_wdata_s0),
.sb_wstrb(sb_wstrb_s0),

.sb_bvalid(sb_bvalid_s0),
.sb_bready(sb_bready_s0),
.sb_bresp(sb_bresp_s0)
);


sb_ram_wrapper u_dmem (

.sb_clk(clk),
.sb_rst_n(rst_n),

.sb_arvalid(sb_arvalid_s1),
.sb_arready(sb_arready_s1),
.sb_araddr(sb_araddr_s1),

.sb_rvalid(sb_rvalid_s1),
.sb_rready(sb_rready_s1),
.sb_rdata(sb_rdata_s1),

.sb_wvalid(sb_wvalid_s1),
.sb_wready(sb_wready_s1),
.sb_waddr(sb_waddr_s1),
.sb_wdata(sb_wdata_s1),
.sb_wstrb(sb_wstrb_s1),

.sb_bvalid(sb_bvalid_s1),
.sb_bready(sb_bready_s1),
.sb_bresp(sb_bresp_s1)
);

gpio u_gpioa(

.sb_clk(clk),
.sb_rst_n(rst_n),

.sb_arvalid(sb_arvalid_s2),
.sb_arready(sb_arready_s2),
.sb_araddr(sb_araddr_s2),

.sb_rvalid(sb_rvalid_s2),
.sb_rready(sb_rready_s2),
.sb_rdata(sb_rdata_s2),

.sb_wvalid(sb_wvalid_s2),
.sb_wready(sb_wready_s2),
.sb_waddr(sb_waddr_s2),
.sb_wdata(sb_wdata_s2),
.sb_wstrb(sb_wstrb_s2),

.sb_bvalid(sb_bvalid_s2),
.sb_bready(sb_bready_s2),
.sb_bresp(sb_bresp_s2),

.gpio_i(gpioa_i),
.gpio_o(gpioa_o)

);

gpio u_gpiob(

.sb_clk(clk),
.sb_rst_n(rst_n),

.sb_arvalid(sb_arvalid_s3),
.sb_arready(sb_arready_s3),
.sb_araddr(sb_araddr_s3),

.sb_rvalid(sb_rvalid_s3),
.sb_rready(sb_rready_s3),
.sb_rdata(sb_rdata_s3),

.sb_wvalid(sb_wvalid_s3),
.sb_wready(sb_wready_s3),
.sb_waddr(sb_waddr_s3),
.sb_wdata(sb_wdata_s3),
.sb_wstrb(sb_wstrb_s3),

.sb_bvalid(sb_bvalid_s3),
.sb_bready(sb_bready_s3),
.sb_bresp(sb_bresp_s3),

.gpio_i(gpiob_i),
.gpio_o(gpiob_o)

);


endmodule
module c101_soc_top(

  input           clk,
  input           rst_n_async,

  input   [15:0]  gpioa_i,
  input   [15:0]  gpiob_i,
  output  [15:0]  gpioa_o,
  output  [15:0]  gpiob_o
);



wire          rst_n;




wire          sb_arvalid_m0;
wire          sb_arready_m0;
wire  [31:0]  sb_araddr_m0;

wire          sb_rvalid_m0;
wire          sb_rready_m0;
wire   [31:0] sb_rdata_m0;

wire          sb_wvalid_m0;
wire          sb_wready_m0;
wire  [31:0]  sb_waddr_m0;
wire  [31:0]  sb_wdata_m0;
wire  [3:0]   sb_wstrb_m0;

wire          sb_bvalid_m0;
wire          sb_bready_m0;
wire          sb_bresp_m0;




wire         sb_arvalid_m1;
wire         sb_arready_m1;
wire [31:0]  sb_araddr_m1;

wire         sb_rvalid_m1;
wire         sb_rready_m1;
wire [31:0]  sb_rdata_m1;

wire         sb_wvalid_m1;
wire         sb_wready_m1;
wire [31:0]  sb_waddr_m1;
wire [31:0]  sb_wdata_m1;
wire [3:0]   sb_wstrb_m1;

wire         sb_bvalid_m1;
wire         sb_bready_m1;
wire         sb_bresp_m1;




wire          sb_arvalid_s0;
wire          sb_arready_s0;
wire  [31:0]  sb_araddr_s0;

wire          sb_rvalid_s0;
wire          sb_rready_s0;
wire  [31:0]  sb_rdata_s0;

wire          sb_wvalid_s0;
wire          sb_wready_s0;
wire  [31:0]  sb_waddr_s0;
wire  [31:0]  sb_wdata_s0;
wire  [3:0]   sb_wstrb_s0;

wire          sb_bvalid_s0;
wire          sb_bready_s0;
wire          sb_bresp_s0;




wire          sb_arvalid_s1;
wire          sb_arready_s1;
wire  [31:0]  sb_araddr_s1;

wire          sb_rvalid_s1;
wire          sb_rready_s1;
wire  [31:0]  sb_rdata_s1;

wire          sb_wvalid_s1;
wire          sb_wready_s1;
wire  [31:0]  sb_waddr_s1;
wire  [31:0]  sb_wdata_s1;
wire  [3:0]   sb_wstrb_s1;

wire          sb_bvalid_s1;
wire          sb_bready_s1;
wire          sb_bresp_s1;




wire          sb_arvalid_s2;
wire          sb_arready_s2;
wire  [31:0]  sb_araddr_s2;

wire          sb_rvalid_s2;
wire          sb_rready_s2;
wire  [31:0]  sb_rdata_s2;

wire          sb_wvalid_s2;
wire          sb_wready_s2;
wire  [31:0]  sb_waddr_s2;
wire  [31:0]  sb_wdata_s2;
wire  [3:0]   sb_wstrb_s2;

wire          sb_bvalid_s2;
wire          sb_bready_s2;
wire          sb_bresp_s2;




wire          sb_arvalid_s3;
wire          sb_arready_s3;
wire  [31:0]  sb_araddr_s3;

wire          sb_rvalid_s3;
wire          sb_rready_s3;
wire  [31:0]  sb_rdata_s3;

wire          sb_wvalid_s3;
wire          sb_wready_s3;
wire  [31:0]  sb_waddr_s3;
wire  [31:0]  sb_wdata_s3;
wire  [3:0]   sb_wstrb_s3;

wire          sb_bvalid_s3;
wire          sb_bready_s3;
wire          sb_bresp_s3;






rst_n_sync u_rst_n_sync(
  .clk(clk),
  .rst_n_async(rst_n_async),
  .rst_n_sync(rst_n)
);

bus u_bus(
  .clk(clk),
  .rst_n(rst_n),
  .sb_arvalid_m0(sb_arvalid_m0),
  .sb_arready_m0(sb_arready_m0),
  .sb_araddr_m0(sb_araddr_m0),
  .sb_rvalid_m0(sb_rvalid_m0),
  .sb_rready_m0(sb_rready_m0),
  .sb_rdata_m0(sb_rdata_m0),
  .sb_wvalid_m0(sb_wvalid_m0),
  .sb_wready_m0(sb_wready_m0),
  .sb_waddr_m0(sb_waddr_m0),
  .sb_wdata_m0(sb_wdata_m0),
  .sb_wstrb_m0(sb_wstrb_m0),
  .sb_bvalid_m0(sb_bvalid_m0),
  .sb_bready_m0(sb_bready_m0),
  .sb_bresp_m0(sb_bresp_m0),
  .sb_arvalid_m1(sb_arvalid_m1),
  .sb_arready_m1(sb_arready_m1),
  .sb_araddr_m1(sb_araddr_m1),
  .sb_rvalid_m1(sb_rvalid_m1),
  .sb_rready_m1(sb_rready_m1),
  .sb_rdata_m1(sb_rdata_m1),
  .sb_wvalid_m1(sb_wvalid_m1),
  .sb_wready_m1(sb_wready_m1),
  .sb_waddr_m1(sb_waddr_m1),
  .sb_wdata_m1(sb_wdata_m1),
  .sb_wstrb_m1(sb_wstrb_m1),
  .sb_bvalid_m1(sb_bvalid_m1),
  .sb_bready_m1(sb_bready_m1),
  .sb_bresp_m1(sb_bresp_m1),
  .sb_arvalid_s0(sb_arvalid_s0),
  .sb_arready_s0(sb_arready_s0),
  .sb_araddr_s0(sb_araddr_s0),
  .sb_rvalid_s0(sb_rvalid_s0),
  .sb_rready_s0(sb_rready_s0),
  .sb_rdata_s0(sb_rdata_s0),
  .sb_wvalid_s0(sb_wvalid_s0),
  .sb_wready_s0(sb_wready_s0),
  .sb_waddr_s0(sb_waddr_s0),
  .sb_wdata_s0(sb_wdata_s0),
  .sb_wstrb_s0(sb_wstrb_s0),
  .sb_bvalid_s0(sb_bvalid_s0),
  .sb_bready_s0(sb_bready_s0),
  .sb_bresp_s0(sb_bresp_s0),
  .sb_arvalid_s1(sb_arvalid_s1),
  .sb_arready_s1(sb_arready_s1),
  .sb_araddr_s1(sb_araddr_s1),
  .sb_rvalid_s1(sb_rvalid_s1),
  .sb_rready_s1(sb_rready_s1),
  .sb_rdata_s1(sb_rdata_s1),
  .sb_wvalid_s1(sb_wvalid_s1),
  .sb_wready_s1(sb_wready_s1),
  .sb_waddr_s1(sb_waddr_s1),
  .sb_wdata_s1(sb_wdata_s1),
  .sb_wstrb_s1(sb_wstrb_s1),
  .sb_bvalid_s1(sb_bvalid_s1),
  .sb_bready_s1(sb_bready_s1),
  .sb_bresp_s1(sb_bresp_s1),
  .sb_arvalid_s2(sb_arvalid_s2),
  .sb_arready_s2(sb_arready_s2),
  .sb_araddr_s2(sb_araddr_s2),
  .sb_rvalid_s2(sb_rvalid_s2),
  .sb_rready_s2(sb_rready_s2),
  .sb_rdata_s2(sb_rdata_s2),
  .sb_wvalid_s2(sb_wvalid_s2),
  .sb_wready_s2(sb_wready_s2),
  .sb_waddr_s2(sb_waddr_s2),
  .sb_wdata_s2(sb_wdata_s2),
  .sb_wstrb_s2(sb_wstrb_s2),
  .sb_bvalid_s2(sb_bvalid_s2),
  .sb_bready_s2(sb_bready_s2),
  .sb_bresp_s2(sb_bresp_s2),
  .sb_arvalid_s3(sb_arvalid_s3),
  .sb_arready_s3(sb_arready_s3),
  .sb_araddr_s3(sb_araddr_s3),
  .sb_rvalid_s3(sb_rvalid_s3),
  .sb_rready_s3(sb_rready_s3),
  .sb_rdata_s3(sb_rdata_s3),
  .sb_wvalid_s3(sb_wvalid_s3),
  .sb_wready_s3(sb_wready_s3),
  .sb_waddr_s3(sb_waddr_s3),
  .sb_wdata_s3(sb_wdata_s3),
  .sb_wstrb_s3(sb_wstrb_s3),
  .sb_bvalid_s3(sb_bvalid_s3),
  .sb_bready_s3(sb_bready_s3),
  .sb_bresp_s3(sb_bresp_s3)
);




core_c1_top u_core_c1_top(





.sb_arvalid_m0(sb_arvalid_m0),
.sb_arready_m0(sb_arready_m0),
.sb_araddr_m0(sb_araddr_m0),

.sb_rvalid_m0(sb_rvalid_m0),
.sb_rready_m0(sb_rready_m0),
.sb_rdata_m0(sb_rdata_m0),

.sb_wvalid_m0(sb_wvalid_m0),
.sb_wready_m0(sb_wready_m0),
.sb_waddr_m0(sb_waddr_m0),
.sb_wdata_m0(sb_wdata_m0),
.sb_wstrb_m0(sb_wstrb_m0),

.sb_bvalid_m0(sb_bvalid_m0),
.sb_bready_m0(sb_bready_m0),
.sb_bresp_m0(sb_bresp_m0),





.sb_arvalid_m1(sb_arvalid_m1),
.sb_arready_m1(sb_arready_m1),
.sb_araddr_m1(sb_araddr_m1),

.sb_rvalid_m1(sb_rvalid_m1),
.sb_rready_m1(sb_rready_m1),
.sb_rdata_m1(sb_rdata_m1),

.sb_wvalid_m1(sb_wvalid_m1),
.sb_wready_m1(sb_wready_m1),
.sb_waddr_m1(sb_waddr_m1),
.sb_wdata_m1(sb_wdata_m1),
.sb_wstrb_m1(sb_wstrb_m1),

.sb_bvalid_m1(sb_bvalid_m1),
.sb_bready_m1(sb_bready_m1),
.sb_bresp_m1(sb_bresp_m1),

.plic_intr(1'b0),

.clk(clk),
.rst_n(rst_n)

);

sb_ram_wrapper u_imem (

.sb_clk(clk),
.sb_rst_n(rst_n),

.sb_arvalid(sb_arvalid_s0),
.sb_arready(sb_arready_s0),
.sb_araddr(sb_araddr_s0),

.sb_rvalid(sb_rvalid_s0),
.sb_rready(sb_rready_s0),
.sb_rdata(sb_rdata_s0),

.sb_wvalid(sb_wvalid_s0),
.sb_wready(sb_wready_s0),
.sb_waddr(sb_waddr_s0),
.sb_wdata(sb_wdata_s0),
.sb_wstrb(sb_wstrb_s0),

.sb_bvalid(sb_bvalid_s0),
.sb_bready(sb_bready_s0),
.sb_bresp(sb_bresp_s0)
);


sb_ram_wrapper u_dmem (

.sb_clk(clk),
.sb_rst_n(rst_n),

.sb_arvalid(sb_arvalid_s1),
.sb_arready(sb_arready_s1),
.sb_araddr(sb_araddr_s1),

.sb_rvalid(sb_rvalid_s1),
.sb_rready(sb_rready_s1),
.sb_rdata(sb_rdata_s1),

.sb_wvalid(sb_wvalid_s1),
.sb_wready(sb_wready_s1),
.sb_waddr(sb_waddr_s1),
.sb_wdata(sb_wdata_s1),
.sb_wstrb(sb_wstrb_s1),

.sb_bvalid(sb_bvalid_s1),
.sb_bready(sb_bready_s1),
.sb_bresp(sb_bresp_s1)
);

gpio u_gpioa(

.sb_clk(clk),
.sb_rst_n(rst_n),

.sb_arvalid(sb_arvalid_s2),
.sb_arready(sb_arready_s2),
.sb_araddr(sb_araddr_s2),

.sb_rvalid(sb_rvalid_s2),
.sb_rready(sb_rready_s2),
.sb_rdata(sb_rdata_s2),

.sb_wvalid(sb_wvalid_s2),
.sb_wready(sb_wready_s2),
.sb_waddr(sb_waddr_s2),
.sb_wdata(sb_wdata_s2),
.sb_wstrb(sb_wstrb_s2),

.sb_bvalid(sb_bvalid_s2),
.sb_bready(sb_bready_s2),
.sb_bresp(sb_bresp_s2),

.gpio_i(gpioa_i),
.gpio_o(gpioa_o)

);

gpio u_gpiob(

.sb_clk(clk),
.sb_rst_n(rst_n),

.sb_arvalid(sb_arvalid_s3),
.sb_arready(sb_arready_s3),
.sb_araddr(sb_araddr_s3),

.sb_rvalid(sb_rvalid_s3),
.sb_rready(sb_rready_s3),
.sb_rdata(sb_rdata_s3),

.sb_wvalid(sb_wvalid_s3),
.sb_wready(sb_wready_s3),
.sb_waddr(sb_waddr_s3),
.sb_wdata(sb_wdata_s3),
.sb_wstrb(sb_wstrb_s3),

.sb_bvalid(sb_bvalid_s3),
.sb_bready(sb_bready_s3),
.sb_bresp(sb_bresp_s3),

.gpio_i(gpiob_i),
.gpio_o(gpiob_o)

);


endmodule