| // THIS FILE IS AUTOGENERATED BY wb_intercon_gen |
| // ANY MANUAL CHANGES WILL BE LOST |
| module wb_interconnect |
| (input wb_clk_i, |
| input wb_rst_i, |
| input [31:0] wb_cpu0_ibus_adr_i, |
| input [31:0] wb_cpu0_ibus_dat_i, |
| input [3:0] wb_cpu0_ibus_sel_i, |
| input wb_cpu0_ibus_we_i, |
| input wb_cpu0_ibus_cyc_i, |
| input wb_cpu0_ibus_stb_i, |
| input [2:0] wb_cpu0_ibus_cti_i, |
| input [1:0] wb_cpu0_ibus_bte_i, |
| output [31:0] wb_cpu0_ibus_dat_o, |
| output wb_cpu0_ibus_ack_o, |
| output wb_cpu0_ibus_err_o, |
| output wb_cpu0_ibus_rty_o, |
| input [31:0] wb_cpu0_dbus_adr_i, |
| input [31:0] wb_cpu0_dbus_dat_i, |
| input [3:0] wb_cpu0_dbus_sel_i, |
| input wb_cpu0_dbus_we_i, |
| input wb_cpu0_dbus_cyc_i, |
| input wb_cpu0_dbus_stb_i, |
| input [2:0] wb_cpu0_dbus_cti_i, |
| input [1:0] wb_cpu0_dbus_bte_i, |
| output [31:0] wb_cpu0_dbus_dat_o, |
| output wb_cpu0_dbus_ack_o, |
| output wb_cpu0_dbus_err_o, |
| output wb_cpu0_dbus_rty_o, |
| input [31:0] wb_mgmt_adr_i, |
| input [31:0] wb_mgmt_dat_i, |
| input [3:0] wb_mgmt_sel_i, |
| input wb_mgmt_we_i, |
| input wb_mgmt_cyc_i, |
| input wb_mgmt_stb_i, |
| input [2:0] wb_mgmt_cti_i, |
| input [1:0] wb_mgmt_bte_i, |
| output [31:0] wb_mgmt_dat_o, |
| output wb_mgmt_ack_o, |
| output wb_mgmt_err_o, |
| output wb_mgmt_rty_o, |
| output [31:0] wb_timer0_adr_o, |
| output [31:0] wb_timer0_dat_o, |
| output [3:0] wb_timer0_sel_o, |
| output wb_timer0_we_o, |
| output wb_timer0_cyc_o, |
| output wb_timer0_stb_o, |
| output [2:0] wb_timer0_cti_o, |
| output [1:0] wb_timer0_bte_o, |
| input [31:0] wb_timer0_dat_i, |
| input wb_timer0_ack_i, |
| input wb_timer0_err_i, |
| input wb_timer0_rty_i, |
| output [31:0] wb_uart0_adr_o, |
| output [31:0] wb_uart0_dat_o, |
| output [3:0] wb_uart0_sel_o, |
| output wb_uart0_we_o, |
| output wb_uart0_cyc_o, |
| output wb_uart0_stb_o, |
| output [2:0] wb_uart0_cti_o, |
| output [1:0] wb_uart0_bte_o, |
| input [31:0] wb_uart0_dat_i, |
| input wb_uart0_ack_i, |
| input wb_uart0_err_i, |
| input wb_uart0_rty_i, |
| output [31:0] wb_led0_adr_o, |
| output [31:0] wb_led0_dat_o, |
| output [3:0] wb_led0_sel_o, |
| output wb_led0_we_o, |
| output wb_led0_cyc_o, |
| output wb_led0_stb_o, |
| output [2:0] wb_led0_cti_o, |
| output [1:0] wb_led0_bte_o, |
| input [31:0] wb_led0_dat_i, |
| input wb_led0_ack_i, |
| input wb_led0_err_i, |
| input wb_led0_rty_i, |
| output [31:0] wb_cpu0_rom_adr_o, |
| output [31:0] wb_cpu0_rom_dat_o, |
| output [3:0] wb_cpu0_rom_sel_o, |
| output wb_cpu0_rom_we_o, |
| output wb_cpu0_rom_cyc_o, |
| output wb_cpu0_rom_stb_o, |
| output [2:0] wb_cpu0_rom_cti_o, |
| output [1:0] wb_cpu0_rom_bte_o, |
| input [31:0] wb_cpu0_rom_dat_i, |
| input wb_cpu0_rom_ack_i, |
| input wb_cpu0_rom_err_i, |
| input wb_cpu0_rom_rty_i, |
| output [31:0] wb_cpu0_ram_adr_o, |
| output [31:0] wb_cpu0_ram_dat_o, |
| output [3:0] wb_cpu0_ram_sel_o, |
| output wb_cpu0_ram_we_o, |
| output wb_cpu0_ram_cyc_o, |
| output wb_cpu0_ram_stb_o, |
| output [2:0] wb_cpu0_ram_cti_o, |
| output [1:0] wb_cpu0_ram_bte_o, |
| input [31:0] wb_cpu0_ram_dat_i, |
| input wb_cpu0_ram_ack_i, |
| input wb_cpu0_ram_err_i, |
| input wb_cpu0_ram_rty_i); |
| |
| wire [31:0] wb_m2s_cpu0_ibus_cpu0_rom_adr; |
| wire [31:0] wb_m2s_cpu0_ibus_cpu0_rom_dat; |
| wire [3:0] wb_m2s_cpu0_ibus_cpu0_rom_sel; |
| wire wb_m2s_cpu0_ibus_cpu0_rom_we; |
| wire wb_m2s_cpu0_ibus_cpu0_rom_cyc; |
| wire wb_m2s_cpu0_ibus_cpu0_rom_stb; |
| wire [2:0] wb_m2s_cpu0_ibus_cpu0_rom_cti; |
| wire [1:0] wb_m2s_cpu0_ibus_cpu0_rom_bte; |
| wire [31:0] wb_s2m_cpu0_ibus_cpu0_rom_dat; |
| wire wb_s2m_cpu0_ibus_cpu0_rom_ack; |
| wire wb_s2m_cpu0_ibus_cpu0_rom_err; |
| wire wb_s2m_cpu0_ibus_cpu0_rom_rty; |
| wire [31:0] wb_m2s_cpu0_dbus_cpu0_rom_adr; |
| wire [31:0] wb_m2s_cpu0_dbus_cpu0_rom_dat; |
| wire [3:0] wb_m2s_cpu0_dbus_cpu0_rom_sel; |
| wire wb_m2s_cpu0_dbus_cpu0_rom_we; |
| wire wb_m2s_cpu0_dbus_cpu0_rom_cyc; |
| wire wb_m2s_cpu0_dbus_cpu0_rom_stb; |
| wire [2:0] wb_m2s_cpu0_dbus_cpu0_rom_cti; |
| wire [1:0] wb_m2s_cpu0_dbus_cpu0_rom_bte; |
| wire [31:0] wb_s2m_cpu0_dbus_cpu0_rom_dat; |
| wire wb_s2m_cpu0_dbus_cpu0_rom_ack; |
| wire wb_s2m_cpu0_dbus_cpu0_rom_err; |
| wire wb_s2m_cpu0_dbus_cpu0_rom_rty; |
| wire [31:0] wb_m2s_cpu0_dbus_cpu0_ram_adr; |
| wire [31:0] wb_m2s_cpu0_dbus_cpu0_ram_dat; |
| wire [3:0] wb_m2s_cpu0_dbus_cpu0_ram_sel; |
| wire wb_m2s_cpu0_dbus_cpu0_ram_we; |
| wire wb_m2s_cpu0_dbus_cpu0_ram_cyc; |
| wire wb_m2s_cpu0_dbus_cpu0_ram_stb; |
| wire [2:0] wb_m2s_cpu0_dbus_cpu0_ram_cti; |
| wire [1:0] wb_m2s_cpu0_dbus_cpu0_ram_bte; |
| wire [31:0] wb_s2m_cpu0_dbus_cpu0_ram_dat; |
| wire wb_s2m_cpu0_dbus_cpu0_ram_ack; |
| wire wb_s2m_cpu0_dbus_cpu0_ram_err; |
| wire wb_s2m_cpu0_dbus_cpu0_ram_rty; |
| wire [31:0] wb_m2s_cpu0_dbus_timer0_adr; |
| wire [31:0] wb_m2s_cpu0_dbus_timer0_dat; |
| wire [3:0] wb_m2s_cpu0_dbus_timer0_sel; |
| wire wb_m2s_cpu0_dbus_timer0_we; |
| wire wb_m2s_cpu0_dbus_timer0_cyc; |
| wire wb_m2s_cpu0_dbus_timer0_stb; |
| wire [2:0] wb_m2s_cpu0_dbus_timer0_cti; |
| wire [1:0] wb_m2s_cpu0_dbus_timer0_bte; |
| wire [31:0] wb_s2m_cpu0_dbus_timer0_dat; |
| wire wb_s2m_cpu0_dbus_timer0_ack; |
| wire wb_s2m_cpu0_dbus_timer0_err; |
| wire wb_s2m_cpu0_dbus_timer0_rty; |
| wire [31:0] wb_m2s_cpu0_dbus_uart0_adr; |
| wire [31:0] wb_m2s_cpu0_dbus_uart0_dat; |
| wire [3:0] wb_m2s_cpu0_dbus_uart0_sel; |
| wire wb_m2s_cpu0_dbus_uart0_we; |
| wire wb_m2s_cpu0_dbus_uart0_cyc; |
| wire wb_m2s_cpu0_dbus_uart0_stb; |
| wire [2:0] wb_m2s_cpu0_dbus_uart0_cti; |
| wire [1:0] wb_m2s_cpu0_dbus_uart0_bte; |
| wire [31:0] wb_s2m_cpu0_dbus_uart0_dat; |
| wire wb_s2m_cpu0_dbus_uart0_ack; |
| wire wb_s2m_cpu0_dbus_uart0_err; |
| wire wb_s2m_cpu0_dbus_uart0_rty; |
| wire [31:0] wb_m2s_cpu0_dbus_led0_adr; |
| wire [31:0] wb_m2s_cpu0_dbus_led0_dat; |
| wire [3:0] wb_m2s_cpu0_dbus_led0_sel; |
| wire wb_m2s_cpu0_dbus_led0_we; |
| wire wb_m2s_cpu0_dbus_led0_cyc; |
| wire wb_m2s_cpu0_dbus_led0_stb; |
| wire [2:0] wb_m2s_cpu0_dbus_led0_cti; |
| wire [1:0] wb_m2s_cpu0_dbus_led0_bte; |
| wire [31:0] wb_s2m_cpu0_dbus_led0_dat; |
| wire wb_s2m_cpu0_dbus_led0_ack; |
| wire wb_s2m_cpu0_dbus_led0_err; |
| wire wb_s2m_cpu0_dbus_led0_rty; |
| wire [31:0] wb_m2s_mgmt_cpu0_rom_adr; |
| wire [31:0] wb_m2s_mgmt_cpu0_rom_dat; |
| wire [3:0] wb_m2s_mgmt_cpu0_rom_sel; |
| wire wb_m2s_mgmt_cpu0_rom_we; |
| wire wb_m2s_mgmt_cpu0_rom_cyc; |
| wire wb_m2s_mgmt_cpu0_rom_stb; |
| wire [2:0] wb_m2s_mgmt_cpu0_rom_cti; |
| wire [1:0] wb_m2s_mgmt_cpu0_rom_bte; |
| wire [31:0] wb_s2m_mgmt_cpu0_rom_dat; |
| wire wb_s2m_mgmt_cpu0_rom_ack; |
| wire wb_s2m_mgmt_cpu0_rom_err; |
| wire wb_s2m_mgmt_cpu0_rom_rty; |
| wire [31:0] wb_m2s_mgmt_cpu0_ram_adr; |
| wire [31:0] wb_m2s_mgmt_cpu0_ram_dat; |
| wire [3:0] wb_m2s_mgmt_cpu0_ram_sel; |
| wire wb_m2s_mgmt_cpu0_ram_we; |
| wire wb_m2s_mgmt_cpu0_ram_cyc; |
| wire wb_m2s_mgmt_cpu0_ram_stb; |
| wire [2:0] wb_m2s_mgmt_cpu0_ram_cti; |
| wire [1:0] wb_m2s_mgmt_cpu0_ram_bte; |
| wire [31:0] wb_s2m_mgmt_cpu0_ram_dat; |
| wire wb_s2m_mgmt_cpu0_ram_ack; |
| wire wb_s2m_mgmt_cpu0_ram_err; |
| wire wb_s2m_mgmt_cpu0_ram_rty; |
| wire [31:0] wb_m2s_mgmt_timer0_adr; |
| wire [31:0] wb_m2s_mgmt_timer0_dat; |
| wire [3:0] wb_m2s_mgmt_timer0_sel; |
| wire wb_m2s_mgmt_timer0_we; |
| wire wb_m2s_mgmt_timer0_cyc; |
| wire wb_m2s_mgmt_timer0_stb; |
| wire [2:0] wb_m2s_mgmt_timer0_cti; |
| wire [1:0] wb_m2s_mgmt_timer0_bte; |
| wire [31:0] wb_s2m_mgmt_timer0_dat; |
| wire wb_s2m_mgmt_timer0_ack; |
| wire wb_s2m_mgmt_timer0_err; |
| wire wb_s2m_mgmt_timer0_rty; |
| wire [31:0] wb_m2s_mgmt_uart0_adr; |
| wire [31:0] wb_m2s_mgmt_uart0_dat; |
| wire [3:0] wb_m2s_mgmt_uart0_sel; |
| wire wb_m2s_mgmt_uart0_we; |
| wire wb_m2s_mgmt_uart0_cyc; |
| wire wb_m2s_mgmt_uart0_stb; |
| wire [2:0] wb_m2s_mgmt_uart0_cti; |
| wire [1:0] wb_m2s_mgmt_uart0_bte; |
| wire [31:0] wb_s2m_mgmt_uart0_dat; |
| wire wb_s2m_mgmt_uart0_ack; |
| wire wb_s2m_mgmt_uart0_err; |
| wire wb_s2m_mgmt_uart0_rty; |
| wire [31:0] wb_m2s_mgmt_led0_adr; |
| wire [31:0] wb_m2s_mgmt_led0_dat; |
| wire [3:0] wb_m2s_mgmt_led0_sel; |
| wire wb_m2s_mgmt_led0_we; |
| wire wb_m2s_mgmt_led0_cyc; |
| wire wb_m2s_mgmt_led0_stb; |
| wire [2:0] wb_m2s_mgmt_led0_cti; |
| wire [1:0] wb_m2s_mgmt_led0_bte; |
| wire [31:0] wb_s2m_mgmt_led0_dat; |
| wire wb_s2m_mgmt_led0_ack; |
| wire wb_s2m_mgmt_led0_err; |
| wire wb_s2m_mgmt_led0_rty; |
| |
| wb_mux |
| #(.num_slaves (1), |
| .MATCH_ADDR ({32'h30000000}), |
| .MATCH_MASK ({32'hfffff800})) |
| wb_mux_cpu0_ibus |
| (.wb_clk_i (wb_clk_i), |
| .wb_rst_i (wb_rst_i), |
| .wbm_adr_i (wb_cpu0_ibus_adr_i), |
| .wbm_dat_i (wb_cpu0_ibus_dat_i), |
| .wbm_sel_i (wb_cpu0_ibus_sel_i), |
| .wbm_we_i (wb_cpu0_ibus_we_i), |
| .wbm_cyc_i (wb_cpu0_ibus_cyc_i), |
| .wbm_stb_i (wb_cpu0_ibus_stb_i), |
| .wbm_cti_i (wb_cpu0_ibus_cti_i), |
| .wbm_bte_i (wb_cpu0_ibus_bte_i), |
| .wbm_dat_o (wb_cpu0_ibus_dat_o), |
| .wbm_ack_o (wb_cpu0_ibus_ack_o), |
| .wbm_err_o (wb_cpu0_ibus_err_o), |
| .wbm_rty_o (wb_cpu0_ibus_rty_o), |
| .wbs_adr_o ({wb_m2s_cpu0_ibus_cpu0_rom_adr}), |
| .wbs_dat_o ({wb_m2s_cpu0_ibus_cpu0_rom_dat}), |
| .wbs_sel_o ({wb_m2s_cpu0_ibus_cpu0_rom_sel}), |
| .wbs_we_o ({wb_m2s_cpu0_ibus_cpu0_rom_we}), |
| .wbs_cyc_o ({wb_m2s_cpu0_ibus_cpu0_rom_cyc}), |
| .wbs_stb_o ({wb_m2s_cpu0_ibus_cpu0_rom_stb}), |
| .wbs_cti_o ({wb_m2s_cpu0_ibus_cpu0_rom_cti}), |
| .wbs_bte_o ({wb_m2s_cpu0_ibus_cpu0_rom_bte}), |
| .wbs_dat_i ({wb_s2m_cpu0_ibus_cpu0_rom_dat}), |
| .wbs_ack_i ({wb_s2m_cpu0_ibus_cpu0_rom_ack}), |
| .wbs_err_i ({wb_s2m_cpu0_ibus_cpu0_rom_err}), |
| .wbs_rty_i ({wb_s2m_cpu0_ibus_cpu0_rom_rty})); |
| |
| wb_mux |
| #(.num_slaves (5), |
| .MATCH_ADDR ({32'h30000000, 32'h30003000, 32'h40000000, 32'h40001000, 32'h40002000}), |
| .MATCH_MASK ({32'hfffff800, 32'hfffff800, 32'hfffff000, 32'hfffff000, 32'hfffff000})) |
| wb_mux_cpu0_dbus |
| (.wb_clk_i (wb_clk_i), |
| .wb_rst_i (wb_rst_i), |
| .wbm_adr_i (wb_cpu0_dbus_adr_i), |
| .wbm_dat_i (wb_cpu0_dbus_dat_i), |
| .wbm_sel_i (wb_cpu0_dbus_sel_i), |
| .wbm_we_i (wb_cpu0_dbus_we_i), |
| .wbm_cyc_i (wb_cpu0_dbus_cyc_i), |
| .wbm_stb_i (wb_cpu0_dbus_stb_i), |
| .wbm_cti_i (wb_cpu0_dbus_cti_i), |
| .wbm_bte_i (wb_cpu0_dbus_bte_i), |
| .wbm_dat_o (wb_cpu0_dbus_dat_o), |
| .wbm_ack_o (wb_cpu0_dbus_ack_o), |
| .wbm_err_o (wb_cpu0_dbus_err_o), |
| .wbm_rty_o (wb_cpu0_dbus_rty_o), |
| .wbs_adr_o ({wb_m2s_cpu0_dbus_cpu0_rom_adr, wb_m2s_cpu0_dbus_cpu0_ram_adr, wb_m2s_cpu0_dbus_timer0_adr, wb_m2s_cpu0_dbus_uart0_adr, wb_m2s_cpu0_dbus_led0_adr}), |
| .wbs_dat_o ({wb_m2s_cpu0_dbus_cpu0_rom_dat, wb_m2s_cpu0_dbus_cpu0_ram_dat, wb_m2s_cpu0_dbus_timer0_dat, wb_m2s_cpu0_dbus_uart0_dat, wb_m2s_cpu0_dbus_led0_dat}), |
| .wbs_sel_o ({wb_m2s_cpu0_dbus_cpu0_rom_sel, wb_m2s_cpu0_dbus_cpu0_ram_sel, wb_m2s_cpu0_dbus_timer0_sel, wb_m2s_cpu0_dbus_uart0_sel, wb_m2s_cpu0_dbus_led0_sel}), |
| .wbs_we_o ({wb_m2s_cpu0_dbus_cpu0_rom_we, wb_m2s_cpu0_dbus_cpu0_ram_we, wb_m2s_cpu0_dbus_timer0_we, wb_m2s_cpu0_dbus_uart0_we, wb_m2s_cpu0_dbus_led0_we}), |
| .wbs_cyc_o ({wb_m2s_cpu0_dbus_cpu0_rom_cyc, wb_m2s_cpu0_dbus_cpu0_ram_cyc, wb_m2s_cpu0_dbus_timer0_cyc, wb_m2s_cpu0_dbus_uart0_cyc, wb_m2s_cpu0_dbus_led0_cyc}), |
| .wbs_stb_o ({wb_m2s_cpu0_dbus_cpu0_rom_stb, wb_m2s_cpu0_dbus_cpu0_ram_stb, wb_m2s_cpu0_dbus_timer0_stb, wb_m2s_cpu0_dbus_uart0_stb, wb_m2s_cpu0_dbus_led0_stb}), |
| .wbs_cti_o ({wb_m2s_cpu0_dbus_cpu0_rom_cti, wb_m2s_cpu0_dbus_cpu0_ram_cti, wb_m2s_cpu0_dbus_timer0_cti, wb_m2s_cpu0_dbus_uart0_cti, wb_m2s_cpu0_dbus_led0_cti}), |
| .wbs_bte_o ({wb_m2s_cpu0_dbus_cpu0_rom_bte, wb_m2s_cpu0_dbus_cpu0_ram_bte, wb_m2s_cpu0_dbus_timer0_bte, wb_m2s_cpu0_dbus_uart0_bte, wb_m2s_cpu0_dbus_led0_bte}), |
| .wbs_dat_i ({wb_s2m_cpu0_dbus_cpu0_rom_dat, wb_s2m_cpu0_dbus_cpu0_ram_dat, wb_s2m_cpu0_dbus_timer0_dat, wb_s2m_cpu0_dbus_uart0_dat, wb_s2m_cpu0_dbus_led0_dat}), |
| .wbs_ack_i ({wb_s2m_cpu0_dbus_cpu0_rom_ack, wb_s2m_cpu0_dbus_cpu0_ram_ack, wb_s2m_cpu0_dbus_timer0_ack, wb_s2m_cpu0_dbus_uart0_ack, wb_s2m_cpu0_dbus_led0_ack}), |
| .wbs_err_i ({wb_s2m_cpu0_dbus_cpu0_rom_err, wb_s2m_cpu0_dbus_cpu0_ram_err, wb_s2m_cpu0_dbus_timer0_err, wb_s2m_cpu0_dbus_uart0_err, wb_s2m_cpu0_dbus_led0_err}), |
| .wbs_rty_i ({wb_s2m_cpu0_dbus_cpu0_rom_rty, wb_s2m_cpu0_dbus_cpu0_ram_rty, wb_s2m_cpu0_dbus_timer0_rty, wb_s2m_cpu0_dbus_uart0_rty, wb_s2m_cpu0_dbus_led0_rty})); |
| |
| wb_mux |
| #(.num_slaves (5), |
| .MATCH_ADDR ({32'h30000000, 32'h30003000, 32'h40000000, 32'h40001000, 32'h40002000}), |
| .MATCH_MASK ({32'hfffff800, 32'hfffff800, 32'hfffff000, 32'hfffff000, 32'hfffff000})) |
| wb_mux_mgmt |
| (.wb_clk_i (wb_clk_i), |
| .wb_rst_i (wb_rst_i), |
| .wbm_adr_i (wb_mgmt_adr_i), |
| .wbm_dat_i (wb_mgmt_dat_i), |
| .wbm_sel_i (wb_mgmt_sel_i), |
| .wbm_we_i (wb_mgmt_we_i), |
| .wbm_cyc_i (wb_mgmt_cyc_i), |
| .wbm_stb_i (wb_mgmt_stb_i), |
| .wbm_cti_i (wb_mgmt_cti_i), |
| .wbm_bte_i (wb_mgmt_bte_i), |
| .wbm_dat_o (wb_mgmt_dat_o), |
| .wbm_ack_o (wb_mgmt_ack_o), |
| .wbm_err_o (wb_mgmt_err_o), |
| .wbm_rty_o (wb_mgmt_rty_o), |
| .wbs_adr_o ({wb_m2s_mgmt_cpu0_rom_adr, wb_m2s_mgmt_cpu0_ram_adr, wb_m2s_mgmt_timer0_adr, wb_m2s_mgmt_uart0_adr, wb_m2s_mgmt_led0_adr}), |
| .wbs_dat_o ({wb_m2s_mgmt_cpu0_rom_dat, wb_m2s_mgmt_cpu0_ram_dat, wb_m2s_mgmt_timer0_dat, wb_m2s_mgmt_uart0_dat, wb_m2s_mgmt_led0_dat}), |
| .wbs_sel_o ({wb_m2s_mgmt_cpu0_rom_sel, wb_m2s_mgmt_cpu0_ram_sel, wb_m2s_mgmt_timer0_sel, wb_m2s_mgmt_uart0_sel, wb_m2s_mgmt_led0_sel}), |
| .wbs_we_o ({wb_m2s_mgmt_cpu0_rom_we, wb_m2s_mgmt_cpu0_ram_we, wb_m2s_mgmt_timer0_we, wb_m2s_mgmt_uart0_we, wb_m2s_mgmt_led0_we}), |
| .wbs_cyc_o ({wb_m2s_mgmt_cpu0_rom_cyc, wb_m2s_mgmt_cpu0_ram_cyc, wb_m2s_mgmt_timer0_cyc, wb_m2s_mgmt_uart0_cyc, wb_m2s_mgmt_led0_cyc}), |
| .wbs_stb_o ({wb_m2s_mgmt_cpu0_rom_stb, wb_m2s_mgmt_cpu0_ram_stb, wb_m2s_mgmt_timer0_stb, wb_m2s_mgmt_uart0_stb, wb_m2s_mgmt_led0_stb}), |
| .wbs_cti_o ({wb_m2s_mgmt_cpu0_rom_cti, wb_m2s_mgmt_cpu0_ram_cti, wb_m2s_mgmt_timer0_cti, wb_m2s_mgmt_uart0_cti, wb_m2s_mgmt_led0_cti}), |
| .wbs_bte_o ({wb_m2s_mgmt_cpu0_rom_bte, wb_m2s_mgmt_cpu0_ram_bte, wb_m2s_mgmt_timer0_bte, wb_m2s_mgmt_uart0_bte, wb_m2s_mgmt_led0_bte}), |
| .wbs_dat_i ({wb_s2m_mgmt_cpu0_rom_dat, wb_s2m_mgmt_cpu0_ram_dat, wb_s2m_mgmt_timer0_dat, wb_s2m_mgmt_uart0_dat, wb_s2m_mgmt_led0_dat}), |
| .wbs_ack_i ({wb_s2m_mgmt_cpu0_rom_ack, wb_s2m_mgmt_cpu0_ram_ack, wb_s2m_mgmt_timer0_ack, wb_s2m_mgmt_uart0_ack, wb_s2m_mgmt_led0_ack}), |
| .wbs_err_i ({wb_s2m_mgmt_cpu0_rom_err, wb_s2m_mgmt_cpu0_ram_err, wb_s2m_mgmt_timer0_err, wb_s2m_mgmt_uart0_err, wb_s2m_mgmt_led0_err}), |
| .wbs_rty_i ({wb_s2m_mgmt_cpu0_rom_rty, wb_s2m_mgmt_cpu0_ram_rty, wb_s2m_mgmt_timer0_rty, wb_s2m_mgmt_uart0_rty, wb_s2m_mgmt_led0_rty})); |
| |
| wb_arbiter |
| #(.num_masters (2)) |
| wb_arbiter_timer0 |
| (.wb_clk_i (wb_clk_i), |
| .wb_rst_i (wb_rst_i), |
| .wbm_adr_i ({wb_m2s_cpu0_dbus_timer0_adr, wb_m2s_mgmt_timer0_adr}), |
| .wbm_dat_i ({wb_m2s_cpu0_dbus_timer0_dat, wb_m2s_mgmt_timer0_dat}), |
| .wbm_sel_i ({wb_m2s_cpu0_dbus_timer0_sel, wb_m2s_mgmt_timer0_sel}), |
| .wbm_we_i ({wb_m2s_cpu0_dbus_timer0_we, wb_m2s_mgmt_timer0_we}), |
| .wbm_cyc_i ({wb_m2s_cpu0_dbus_timer0_cyc, wb_m2s_mgmt_timer0_cyc}), |
| .wbm_stb_i ({wb_m2s_cpu0_dbus_timer0_stb, wb_m2s_mgmt_timer0_stb}), |
| .wbm_cti_i ({wb_m2s_cpu0_dbus_timer0_cti, wb_m2s_mgmt_timer0_cti}), |
| .wbm_bte_i ({wb_m2s_cpu0_dbus_timer0_bte, wb_m2s_mgmt_timer0_bte}), |
| .wbm_dat_o ({wb_s2m_cpu0_dbus_timer0_dat, wb_s2m_mgmt_timer0_dat}), |
| .wbm_ack_o ({wb_s2m_cpu0_dbus_timer0_ack, wb_s2m_mgmt_timer0_ack}), |
| .wbm_err_o ({wb_s2m_cpu0_dbus_timer0_err, wb_s2m_mgmt_timer0_err}), |
| .wbm_rty_o ({wb_s2m_cpu0_dbus_timer0_rty, wb_s2m_mgmt_timer0_rty}), |
| .wbs_adr_o (wb_timer0_adr_o), |
| .wbs_dat_o (wb_timer0_dat_o), |
| .wbs_sel_o (wb_timer0_sel_o), |
| .wbs_we_o (wb_timer0_we_o), |
| .wbs_cyc_o (wb_timer0_cyc_o), |
| .wbs_stb_o (wb_timer0_stb_o), |
| .wbs_cti_o (wb_timer0_cti_o), |
| .wbs_bte_o (wb_timer0_bte_o), |
| .wbs_dat_i (wb_timer0_dat_i), |
| .wbs_ack_i (wb_timer0_ack_i), |
| .wbs_err_i (wb_timer0_err_i), |
| .wbs_rty_i (wb_timer0_rty_i)); |
| |
| wb_arbiter |
| #(.num_masters (2)) |
| wb_arbiter_uart0 |
| (.wb_clk_i (wb_clk_i), |
| .wb_rst_i (wb_rst_i), |
| .wbm_adr_i ({wb_m2s_cpu0_dbus_uart0_adr, wb_m2s_mgmt_uart0_adr}), |
| .wbm_dat_i ({wb_m2s_cpu0_dbus_uart0_dat, wb_m2s_mgmt_uart0_dat}), |
| .wbm_sel_i ({wb_m2s_cpu0_dbus_uart0_sel, wb_m2s_mgmt_uart0_sel}), |
| .wbm_we_i ({wb_m2s_cpu0_dbus_uart0_we, wb_m2s_mgmt_uart0_we}), |
| .wbm_cyc_i ({wb_m2s_cpu0_dbus_uart0_cyc, wb_m2s_mgmt_uart0_cyc}), |
| .wbm_stb_i ({wb_m2s_cpu0_dbus_uart0_stb, wb_m2s_mgmt_uart0_stb}), |
| .wbm_cti_i ({wb_m2s_cpu0_dbus_uart0_cti, wb_m2s_mgmt_uart0_cti}), |
| .wbm_bte_i ({wb_m2s_cpu0_dbus_uart0_bte, wb_m2s_mgmt_uart0_bte}), |
| .wbm_dat_o ({wb_s2m_cpu0_dbus_uart0_dat, wb_s2m_mgmt_uart0_dat}), |
| .wbm_ack_o ({wb_s2m_cpu0_dbus_uart0_ack, wb_s2m_mgmt_uart0_ack}), |
| .wbm_err_o ({wb_s2m_cpu0_dbus_uart0_err, wb_s2m_mgmt_uart0_err}), |
| .wbm_rty_o ({wb_s2m_cpu0_dbus_uart0_rty, wb_s2m_mgmt_uart0_rty}), |
| .wbs_adr_o (wb_uart0_adr_o), |
| .wbs_dat_o (wb_uart0_dat_o), |
| .wbs_sel_o (wb_uart0_sel_o), |
| .wbs_we_o (wb_uart0_we_o), |
| .wbs_cyc_o (wb_uart0_cyc_o), |
| .wbs_stb_o (wb_uart0_stb_o), |
| .wbs_cti_o (wb_uart0_cti_o), |
| .wbs_bte_o (wb_uart0_bte_o), |
| .wbs_dat_i (wb_uart0_dat_i), |
| .wbs_ack_i (wb_uart0_ack_i), |
| .wbs_err_i (wb_uart0_err_i), |
| .wbs_rty_i (wb_uart0_rty_i)); |
| |
| wb_arbiter |
| #(.num_masters (2)) |
| wb_arbiter_led0 |
| (.wb_clk_i (wb_clk_i), |
| .wb_rst_i (wb_rst_i), |
| .wbm_adr_i ({wb_m2s_cpu0_dbus_led0_adr, wb_m2s_mgmt_led0_adr}), |
| .wbm_dat_i ({wb_m2s_cpu0_dbus_led0_dat, wb_m2s_mgmt_led0_dat}), |
| .wbm_sel_i ({wb_m2s_cpu0_dbus_led0_sel, wb_m2s_mgmt_led0_sel}), |
| .wbm_we_i ({wb_m2s_cpu0_dbus_led0_we, wb_m2s_mgmt_led0_we}), |
| .wbm_cyc_i ({wb_m2s_cpu0_dbus_led0_cyc, wb_m2s_mgmt_led0_cyc}), |
| .wbm_stb_i ({wb_m2s_cpu0_dbus_led0_stb, wb_m2s_mgmt_led0_stb}), |
| .wbm_cti_i ({wb_m2s_cpu0_dbus_led0_cti, wb_m2s_mgmt_led0_cti}), |
| .wbm_bte_i ({wb_m2s_cpu0_dbus_led0_bte, wb_m2s_mgmt_led0_bte}), |
| .wbm_dat_o ({wb_s2m_cpu0_dbus_led0_dat, wb_s2m_mgmt_led0_dat}), |
| .wbm_ack_o ({wb_s2m_cpu0_dbus_led0_ack, wb_s2m_mgmt_led0_ack}), |
| .wbm_err_o ({wb_s2m_cpu0_dbus_led0_err, wb_s2m_mgmt_led0_err}), |
| .wbm_rty_o ({wb_s2m_cpu0_dbus_led0_rty, wb_s2m_mgmt_led0_rty}), |
| .wbs_adr_o (wb_led0_adr_o), |
| .wbs_dat_o (wb_led0_dat_o), |
| .wbs_sel_o (wb_led0_sel_o), |
| .wbs_we_o (wb_led0_we_o), |
| .wbs_cyc_o (wb_led0_cyc_o), |
| .wbs_stb_o (wb_led0_stb_o), |
| .wbs_cti_o (wb_led0_cti_o), |
| .wbs_bte_o (wb_led0_bte_o), |
| .wbs_dat_i (wb_led0_dat_i), |
| .wbs_ack_i (wb_led0_ack_i), |
| .wbs_err_i (wb_led0_err_i), |
| .wbs_rty_i (wb_led0_rty_i)); |
| |
| wb_arbiter |
| #(.num_masters (3)) |
| wb_arbiter_cpu0_rom |
| (.wb_clk_i (wb_clk_i), |
| .wb_rst_i (wb_rst_i), |
| .wbm_adr_i ({wb_m2s_cpu0_ibus_cpu0_rom_adr, wb_m2s_cpu0_dbus_cpu0_rom_adr, wb_m2s_mgmt_cpu0_rom_adr}), |
| .wbm_dat_i ({wb_m2s_cpu0_ibus_cpu0_rom_dat, wb_m2s_cpu0_dbus_cpu0_rom_dat, wb_m2s_mgmt_cpu0_rom_dat}), |
| .wbm_sel_i ({wb_m2s_cpu0_ibus_cpu0_rom_sel, wb_m2s_cpu0_dbus_cpu0_rom_sel, wb_m2s_mgmt_cpu0_rom_sel}), |
| .wbm_we_i ({wb_m2s_cpu0_ibus_cpu0_rom_we, wb_m2s_cpu0_dbus_cpu0_rom_we, wb_m2s_mgmt_cpu0_rom_we}), |
| .wbm_cyc_i ({wb_m2s_cpu0_ibus_cpu0_rom_cyc, wb_m2s_cpu0_dbus_cpu0_rom_cyc, wb_m2s_mgmt_cpu0_rom_cyc}), |
| .wbm_stb_i ({wb_m2s_cpu0_ibus_cpu0_rom_stb, wb_m2s_cpu0_dbus_cpu0_rom_stb, wb_m2s_mgmt_cpu0_rom_stb}), |
| .wbm_cti_i ({wb_m2s_cpu0_ibus_cpu0_rom_cti, wb_m2s_cpu0_dbus_cpu0_rom_cti, wb_m2s_mgmt_cpu0_rom_cti}), |
| .wbm_bte_i ({wb_m2s_cpu0_ibus_cpu0_rom_bte, wb_m2s_cpu0_dbus_cpu0_rom_bte, wb_m2s_mgmt_cpu0_rom_bte}), |
| .wbm_dat_o ({wb_s2m_cpu0_ibus_cpu0_rom_dat, wb_s2m_cpu0_dbus_cpu0_rom_dat, wb_s2m_mgmt_cpu0_rom_dat}), |
| .wbm_ack_o ({wb_s2m_cpu0_ibus_cpu0_rom_ack, wb_s2m_cpu0_dbus_cpu0_rom_ack, wb_s2m_mgmt_cpu0_rom_ack}), |
| .wbm_err_o ({wb_s2m_cpu0_ibus_cpu0_rom_err, wb_s2m_cpu0_dbus_cpu0_rom_err, wb_s2m_mgmt_cpu0_rom_err}), |
| .wbm_rty_o ({wb_s2m_cpu0_ibus_cpu0_rom_rty, wb_s2m_cpu0_dbus_cpu0_rom_rty, wb_s2m_mgmt_cpu0_rom_rty}), |
| .wbs_adr_o (wb_cpu0_rom_adr_o), |
| .wbs_dat_o (wb_cpu0_rom_dat_o), |
| .wbs_sel_o (wb_cpu0_rom_sel_o), |
| .wbs_we_o (wb_cpu0_rom_we_o), |
| .wbs_cyc_o (wb_cpu0_rom_cyc_o), |
| .wbs_stb_o (wb_cpu0_rom_stb_o), |
| .wbs_cti_o (wb_cpu0_rom_cti_o), |
| .wbs_bte_o (wb_cpu0_rom_bte_o), |
| .wbs_dat_i (wb_cpu0_rom_dat_i), |
| .wbs_ack_i (wb_cpu0_rom_ack_i), |
| .wbs_err_i (wb_cpu0_rom_err_i), |
| .wbs_rty_i (wb_cpu0_rom_rty_i)); |
| |
| wb_arbiter |
| #(.num_masters (2)) |
| wb_arbiter_cpu0_ram |
| (.wb_clk_i (wb_clk_i), |
| .wb_rst_i (wb_rst_i), |
| .wbm_adr_i ({wb_m2s_cpu0_dbus_cpu0_ram_adr, wb_m2s_mgmt_cpu0_ram_adr}), |
| .wbm_dat_i ({wb_m2s_cpu0_dbus_cpu0_ram_dat, wb_m2s_mgmt_cpu0_ram_dat}), |
| .wbm_sel_i ({wb_m2s_cpu0_dbus_cpu0_ram_sel, wb_m2s_mgmt_cpu0_ram_sel}), |
| .wbm_we_i ({wb_m2s_cpu0_dbus_cpu0_ram_we, wb_m2s_mgmt_cpu0_ram_we}), |
| .wbm_cyc_i ({wb_m2s_cpu0_dbus_cpu0_ram_cyc, wb_m2s_mgmt_cpu0_ram_cyc}), |
| .wbm_stb_i ({wb_m2s_cpu0_dbus_cpu0_ram_stb, wb_m2s_mgmt_cpu0_ram_stb}), |
| .wbm_cti_i ({wb_m2s_cpu0_dbus_cpu0_ram_cti, wb_m2s_mgmt_cpu0_ram_cti}), |
| .wbm_bte_i ({wb_m2s_cpu0_dbus_cpu0_ram_bte, wb_m2s_mgmt_cpu0_ram_bte}), |
| .wbm_dat_o ({wb_s2m_cpu0_dbus_cpu0_ram_dat, wb_s2m_mgmt_cpu0_ram_dat}), |
| .wbm_ack_o ({wb_s2m_cpu0_dbus_cpu0_ram_ack, wb_s2m_mgmt_cpu0_ram_ack}), |
| .wbm_err_o ({wb_s2m_cpu0_dbus_cpu0_ram_err, wb_s2m_mgmt_cpu0_ram_err}), |
| .wbm_rty_o ({wb_s2m_cpu0_dbus_cpu0_ram_rty, wb_s2m_mgmt_cpu0_ram_rty}), |
| .wbs_adr_o (wb_cpu0_ram_adr_o), |
| .wbs_dat_o (wb_cpu0_ram_dat_o), |
| .wbs_sel_o (wb_cpu0_ram_sel_o), |
| .wbs_we_o (wb_cpu0_ram_we_o), |
| .wbs_cyc_o (wb_cpu0_ram_cyc_o), |
| .wbs_stb_o (wb_cpu0_ram_stb_o), |
| .wbs_cti_o (wb_cpu0_ram_cti_o), |
| .wbs_bte_o (wb_cpu0_ram_bte_o), |
| .wbs_dat_i (wb_cpu0_ram_dat_i), |
| .wbs_ack_i (wb_cpu0_ram_ack_i), |
| .wbs_err_i (wb_cpu0_ram_err_i), |
| .wbs_rty_i (wb_cpu0_ram_rty_i)); |
| |
| endmodule |