// qsys_system_mm_interconnect_0.v

// This file was auto-generated from altera_mm_interconnect_hw.tcl.  If you edit it your changes
// will probably be lost.
// 
// Generated using ACDS version 18.0 614

`timescale 1 ps / 1 ps
module qsys_system_mm_interconnect_0 (
		input  wire        clk_0_clk_clk,                                      //                                    clk_0_clk.clk
		input  wire        qsys_component_0_reset_reset_bridge_in_reset_reset, // qsys_component_0_reset_reset_bridge_in_reset.reset
		input  wire [7:0]  qsys_component_0_avalon_master_0_address,           //             qsys_component_0_avalon_master_0.address
		output wire        qsys_component_0_avalon_master_0_waitrequest,       //                                             .waitrequest
		input  wire        qsys_component_0_avalon_master_0_write,             //                                             .write
		input  wire [31:0] qsys_component_0_avalon_master_0_writedata,         //                                             .writedata
		output wire [7:0]  mm_slave_bfm_0_s0_address,                          //                            mm_slave_bfm_0_s0.address
		output wire        mm_slave_bfm_0_s0_write,                            //                                             .write
		output wire [31:0] mm_slave_bfm_0_s0_writedata                         //                                             .writedata
	);

	wire         qsys_component_0_avalon_master_0_translator_avalon_universal_master_0_waitrequest;   // qsys_component_0_avalon_master_0_agent:av_waitrequest -> qsys_component_0_avalon_master_0_translator:uav_waitrequest
	wire  [31:0] qsys_component_0_avalon_master_0_translator_avalon_universal_master_0_readdata;      // qsys_component_0_avalon_master_0_agent:av_readdata -> qsys_component_0_avalon_master_0_translator:uav_readdata
	wire         qsys_component_0_avalon_master_0_translator_avalon_universal_master_0_debugaccess;   // qsys_component_0_avalon_master_0_translator:uav_debugaccess -> qsys_component_0_avalon_master_0_agent:av_debugaccess
	wire   [9:0] qsys_component_0_avalon_master_0_translator_avalon_universal_master_0_address;       // qsys_component_0_avalon_master_0_translator:uav_address -> qsys_component_0_avalon_master_0_agent:av_address
	wire         qsys_component_0_avalon_master_0_translator_avalon_universal_master_0_read;          // qsys_component_0_avalon_master_0_translator:uav_read -> qsys_component_0_avalon_master_0_agent:av_read
	wire   [3:0] qsys_component_0_avalon_master_0_translator_avalon_universal_master_0_byteenable;    // qsys_component_0_avalon_master_0_translator:uav_byteenable -> qsys_component_0_avalon_master_0_agent:av_byteenable
	wire         qsys_component_0_avalon_master_0_translator_avalon_universal_master_0_readdatavalid; // qsys_component_0_avalon_master_0_agent:av_readdatavalid -> qsys_component_0_avalon_master_0_translator:uav_readdatavalid
	wire         qsys_component_0_avalon_master_0_translator_avalon_universal_master_0_lock;          // qsys_component_0_avalon_master_0_translator:uav_lock -> qsys_component_0_avalon_master_0_agent:av_lock
	wire         qsys_component_0_avalon_master_0_translator_avalon_universal_master_0_write;         // qsys_component_0_avalon_master_0_translator:uav_write -> qsys_component_0_avalon_master_0_agent:av_write
	wire  [31:0] qsys_component_0_avalon_master_0_translator_avalon_universal_master_0_writedata;     // qsys_component_0_avalon_master_0_translator:uav_writedata -> qsys_component_0_avalon_master_0_agent:av_writedata
	wire   [2:0] qsys_component_0_avalon_master_0_translator_avalon_universal_master_0_burstcount;    // qsys_component_0_avalon_master_0_translator:uav_burstcount -> qsys_component_0_avalon_master_0_agent:av_burstcount
	wire         rsp_mux_src_valid;                                                                   // rsp_mux:src_valid -> qsys_component_0_avalon_master_0_agent:rp_valid
	wire  [81:0] rsp_mux_src_data;                                                                    // rsp_mux:src_data -> qsys_component_0_avalon_master_0_agent:rp_data
	wire         rsp_mux_src_ready;                                                                   // qsys_component_0_avalon_master_0_agent:rp_ready -> rsp_mux:src_ready
	wire   [0:0] rsp_mux_src_channel;                                                                 // rsp_mux:src_channel -> qsys_component_0_avalon_master_0_agent:rp_channel
	wire         rsp_mux_src_startofpacket;                                                           // rsp_mux:src_startofpacket -> qsys_component_0_avalon_master_0_agent:rp_startofpacket
	wire         rsp_mux_src_endofpacket;                                                             // rsp_mux:src_endofpacket -> qsys_component_0_avalon_master_0_agent:rp_endofpacket
	wire  [31:0] mm_slave_bfm_0_s0_agent_m0_readdata;                                                 // mm_slave_bfm_0_s0_translator:uav_readdata -> mm_slave_bfm_0_s0_agent:m0_readdata
	wire         mm_slave_bfm_0_s0_agent_m0_waitrequest;                                              // mm_slave_bfm_0_s0_translator:uav_waitrequest -> mm_slave_bfm_0_s0_agent:m0_waitrequest
	wire         mm_slave_bfm_0_s0_agent_m0_debugaccess;                                              // mm_slave_bfm_0_s0_agent:m0_debugaccess -> mm_slave_bfm_0_s0_translator:uav_debugaccess
	wire   [9:0] mm_slave_bfm_0_s0_agent_m0_address;                                                  // mm_slave_bfm_0_s0_agent:m0_address -> mm_slave_bfm_0_s0_translator:uav_address
	wire   [3:0] mm_slave_bfm_0_s0_agent_m0_byteenable;                                               // mm_slave_bfm_0_s0_agent:m0_byteenable -> mm_slave_bfm_0_s0_translator:uav_byteenable
	wire         mm_slave_bfm_0_s0_agent_m0_read;                                                     // mm_slave_bfm_0_s0_agent:m0_read -> mm_slave_bfm_0_s0_translator:uav_read
	wire         mm_slave_bfm_0_s0_agent_m0_readdatavalid;                                            // mm_slave_bfm_0_s0_translator:uav_readdatavalid -> mm_slave_bfm_0_s0_agent:m0_readdatavalid
	wire         mm_slave_bfm_0_s0_agent_m0_lock;                                                     // mm_slave_bfm_0_s0_agent:m0_lock -> mm_slave_bfm_0_s0_translator:uav_lock
	wire  [31:0] mm_slave_bfm_0_s0_agent_m0_writedata;                                                // mm_slave_bfm_0_s0_agent:m0_writedata -> mm_slave_bfm_0_s0_translator:uav_writedata
	wire         mm_slave_bfm_0_s0_agent_m0_write;                                                    // mm_slave_bfm_0_s0_agent:m0_write -> mm_slave_bfm_0_s0_translator:uav_write
	wire   [2:0] mm_slave_bfm_0_s0_agent_m0_burstcount;                                               // mm_slave_bfm_0_s0_agent:m0_burstcount -> mm_slave_bfm_0_s0_translator:uav_burstcount
	wire         mm_slave_bfm_0_s0_agent_rf_source_valid;                                             // mm_slave_bfm_0_s0_agent:rf_source_valid -> mm_slave_bfm_0_s0_agent_rsp_fifo:in_valid
	wire  [82:0] mm_slave_bfm_0_s0_agent_rf_source_data;                                              // mm_slave_bfm_0_s0_agent:rf_source_data -> mm_slave_bfm_0_s0_agent_rsp_fifo:in_data
	wire         mm_slave_bfm_0_s0_agent_rf_source_ready;                                             // mm_slave_bfm_0_s0_agent_rsp_fifo:in_ready -> mm_slave_bfm_0_s0_agent:rf_source_ready
	wire         mm_slave_bfm_0_s0_agent_rf_source_startofpacket;                                     // mm_slave_bfm_0_s0_agent:rf_source_startofpacket -> mm_slave_bfm_0_s0_agent_rsp_fifo:in_startofpacket
	wire         mm_slave_bfm_0_s0_agent_rf_source_endofpacket;                                       // mm_slave_bfm_0_s0_agent:rf_source_endofpacket -> mm_slave_bfm_0_s0_agent_rsp_fifo:in_endofpacket
	wire         mm_slave_bfm_0_s0_agent_rsp_fifo_out_valid;                                          // mm_slave_bfm_0_s0_agent_rsp_fifo:out_valid -> mm_slave_bfm_0_s0_agent:rf_sink_valid
	wire  [82:0] mm_slave_bfm_0_s0_agent_rsp_fifo_out_data;                                           // mm_slave_bfm_0_s0_agent_rsp_fifo:out_data -> mm_slave_bfm_0_s0_agent:rf_sink_data
	wire         mm_slave_bfm_0_s0_agent_rsp_fifo_out_ready;                                          // mm_slave_bfm_0_s0_agent:rf_sink_ready -> mm_slave_bfm_0_s0_agent_rsp_fifo:out_ready
	wire         mm_slave_bfm_0_s0_agent_rsp_fifo_out_startofpacket;                                  // mm_slave_bfm_0_s0_agent_rsp_fifo:out_startofpacket -> mm_slave_bfm_0_s0_agent:rf_sink_startofpacket
	wire         mm_slave_bfm_0_s0_agent_rsp_fifo_out_endofpacket;                                    // mm_slave_bfm_0_s0_agent_rsp_fifo:out_endofpacket -> mm_slave_bfm_0_s0_agent:rf_sink_endofpacket
	wire         cmd_mux_src_valid;                                                                   // cmd_mux:src_valid -> mm_slave_bfm_0_s0_agent:cp_valid
	wire  [81:0] cmd_mux_src_data;                                                                    // cmd_mux:src_data -> mm_slave_bfm_0_s0_agent:cp_data
	wire         cmd_mux_src_ready;                                                                   // mm_slave_bfm_0_s0_agent:cp_ready -> cmd_mux:src_ready
	wire   [0:0] cmd_mux_src_channel;                                                                 // cmd_mux:src_channel -> mm_slave_bfm_0_s0_agent:cp_channel
	wire         cmd_mux_src_startofpacket;                                                           // cmd_mux:src_startofpacket -> mm_slave_bfm_0_s0_agent:cp_startofpacket
	wire         cmd_mux_src_endofpacket;                                                             // cmd_mux:src_endofpacket -> mm_slave_bfm_0_s0_agent:cp_endofpacket
	wire         qsys_component_0_avalon_master_0_agent_cp_valid;                                     // qsys_component_0_avalon_master_0_agent:cp_valid -> router:sink_valid
	wire  [81:0] qsys_component_0_avalon_master_0_agent_cp_data;                                      // qsys_component_0_avalon_master_0_agent:cp_data -> router:sink_data
	wire         qsys_component_0_avalon_master_0_agent_cp_ready;                                     // router:sink_ready -> qsys_component_0_avalon_master_0_agent:cp_ready
	wire         qsys_component_0_avalon_master_0_agent_cp_startofpacket;                             // qsys_component_0_avalon_master_0_agent:cp_startofpacket -> router:sink_startofpacket
	wire         qsys_component_0_avalon_master_0_agent_cp_endofpacket;                               // qsys_component_0_avalon_master_0_agent:cp_endofpacket -> router:sink_endofpacket
	wire         router_src_valid;                                                                    // router:src_valid -> cmd_demux:sink_valid
	wire  [81:0] router_src_data;                                                                     // router:src_data -> cmd_demux:sink_data
	wire         router_src_ready;                                                                    // cmd_demux:sink_ready -> router:src_ready
	wire   [0:0] router_src_channel;                                                                  // router:src_channel -> cmd_demux:sink_channel
	wire         router_src_startofpacket;                                                            // router:src_startofpacket -> cmd_demux:sink_startofpacket
	wire         router_src_endofpacket;                                                              // router:src_endofpacket -> cmd_demux:sink_endofpacket
	wire         mm_slave_bfm_0_s0_agent_rp_valid;                                                    // mm_slave_bfm_0_s0_agent:rp_valid -> router_001:sink_valid
	wire  [81:0] mm_slave_bfm_0_s0_agent_rp_data;                                                     // mm_slave_bfm_0_s0_agent:rp_data -> router_001:sink_data
	wire         mm_slave_bfm_0_s0_agent_rp_ready;                                                    // router_001:sink_ready -> mm_slave_bfm_0_s0_agent:rp_ready
	wire         mm_slave_bfm_0_s0_agent_rp_startofpacket;                                            // mm_slave_bfm_0_s0_agent:rp_startofpacket -> router_001:sink_startofpacket
	wire         mm_slave_bfm_0_s0_agent_rp_endofpacket;                                              // mm_slave_bfm_0_s0_agent:rp_endofpacket -> router_001:sink_endofpacket
	wire         router_001_src_valid;                                                                // router_001:src_valid -> rsp_demux:sink_valid
	wire  [81:0] router_001_src_data;                                                                 // router_001:src_data -> rsp_demux:sink_data
	wire         router_001_src_ready;                                                                // rsp_demux:sink_ready -> router_001:src_ready
	wire   [0:0] router_001_src_channel;                                                              // router_001:src_channel -> rsp_demux:sink_channel
	wire         router_001_src_startofpacket;                                                        // router_001:src_startofpacket -> rsp_demux:sink_startofpacket
	wire         router_001_src_endofpacket;                                                          // router_001:src_endofpacket -> rsp_demux:sink_endofpacket
	wire         cmd_demux_src0_valid;                                                                // cmd_demux:src0_valid -> cmd_mux:sink0_valid
	wire  [81:0] cmd_demux_src0_data;                                                                 // cmd_demux:src0_data -> cmd_mux:sink0_data
	wire         cmd_demux_src0_ready;                                                                // cmd_mux:sink0_ready -> cmd_demux:src0_ready
	wire   [0:0] cmd_demux_src0_channel;                                                              // cmd_demux:src0_channel -> cmd_mux:sink0_channel
	wire         cmd_demux_src0_startofpacket;                                                        // cmd_demux:src0_startofpacket -> cmd_mux:sink0_startofpacket
	wire         cmd_demux_src0_endofpacket;                                                          // cmd_demux:src0_endofpacket -> cmd_mux:sink0_endofpacket
	wire         rsp_demux_src0_valid;                                                                // rsp_demux:src0_valid -> rsp_mux:sink0_valid
	wire  [81:0] rsp_demux_src0_data;                                                                 // rsp_demux:src0_data -> rsp_mux:sink0_data
	wire         rsp_demux_src0_ready;                                                                // rsp_mux:sink0_ready -> rsp_demux:src0_ready
	wire   [0:0] rsp_demux_src0_channel;                                                              // rsp_demux:src0_channel -> rsp_mux:sink0_channel
	wire         rsp_demux_src0_startofpacket;                                                        // rsp_demux:src0_startofpacket -> rsp_mux:sink0_startofpacket
	wire         rsp_demux_src0_endofpacket;                                                          // rsp_demux:src0_endofpacket -> rsp_mux:sink0_endofpacket
	wire         mm_slave_bfm_0_s0_agent_rdata_fifo_src_valid;                                        // mm_slave_bfm_0_s0_agent:rdata_fifo_src_valid -> avalon_st_adapter:in_0_valid
	wire  [33:0] mm_slave_bfm_0_s0_agent_rdata_fifo_src_data;                                         // mm_slave_bfm_0_s0_agent:rdata_fifo_src_data -> avalon_st_adapter:in_0_data
	wire         mm_slave_bfm_0_s0_agent_rdata_fifo_src_ready;                                        // avalon_st_adapter:in_0_ready -> mm_slave_bfm_0_s0_agent:rdata_fifo_src_ready
	wire         avalon_st_adapter_out_0_valid;                                                       // avalon_st_adapter:out_0_valid -> mm_slave_bfm_0_s0_agent:rdata_fifo_sink_valid
	wire  [33:0] avalon_st_adapter_out_0_data;                                                        // avalon_st_adapter:out_0_data -> mm_slave_bfm_0_s0_agent:rdata_fifo_sink_data
	wire         avalon_st_adapter_out_0_ready;                                                       // mm_slave_bfm_0_s0_agent:rdata_fifo_sink_ready -> avalon_st_adapter:out_0_ready
	wire   [0:0] avalon_st_adapter_out_0_error;                                                       // avalon_st_adapter:out_0_error -> mm_slave_bfm_0_s0_agent:rdata_fifo_sink_error

	altera_merlin_master_translator #(
		.AV_ADDRESS_W                (8),
		.AV_DATA_W                   (32),
		.AV_BURSTCOUNT_W             (1),
		.AV_BYTEENABLE_W             (4),
		.UAV_ADDRESS_W               (10),
		.UAV_BURSTCOUNT_W            (3),
		.USE_READ                    (0),
		.USE_WRITE                   (1),
		.USE_BEGINBURSTTRANSFER      (0),
		.USE_BEGINTRANSFER           (0),
		.USE_CHIPSELECT              (0),
		.USE_BURSTCOUNT              (0),
		.USE_READDATAVALID           (0),
		.USE_WAITREQUEST             (1),
		.USE_READRESPONSE            (0),
		.USE_WRITERESPONSE           (0),
		.AV_SYMBOLS_PER_WORD         (4),
		.AV_ADDRESS_SYMBOLS          (0),
		.AV_BURSTCOUNT_SYMBOLS       (0),
		.AV_CONSTANT_BURST_BEHAVIOR  (0),
		.UAV_CONSTANT_BURST_BEHAVIOR (0),
		.AV_LINEWRAPBURSTS           (0),
		.AV_REGISTERINCOMINGSIGNALS  (0)
	) qsys_component_0_avalon_master_0_translator (
		.clk                    (clk_0_clk_clk),                                                                       //                       clk.clk
		.reset                  (qsys_component_0_reset_reset_bridge_in_reset_reset),                                  //                     reset.reset
		.uav_address            (qsys_component_0_avalon_master_0_translator_avalon_universal_master_0_address),       // avalon_universal_master_0.address
		.uav_burstcount         (qsys_component_0_avalon_master_0_translator_avalon_universal_master_0_burstcount),    //                          .burstcount
		.uav_read               (qsys_component_0_avalon_master_0_translator_avalon_universal_master_0_read),          //                          .read
		.uav_write              (qsys_component_0_avalon_master_0_translator_avalon_universal_master_0_write),         //                          .write
		.uav_waitrequest        (qsys_component_0_avalon_master_0_translator_avalon_universal_master_0_waitrequest),   //                          .waitrequest
		.uav_readdatavalid      (qsys_component_0_avalon_master_0_translator_avalon_universal_master_0_readdatavalid), //                          .readdatavalid
		.uav_byteenable         (qsys_component_0_avalon_master_0_translator_avalon_universal_master_0_byteenable),    //                          .byteenable
		.uav_readdata           (qsys_component_0_avalon_master_0_translator_avalon_universal_master_0_readdata),      //                          .readdata
		.uav_writedata          (qsys_component_0_avalon_master_0_translator_avalon_universal_master_0_writedata),     //                          .writedata
		.uav_lock               (qsys_component_0_avalon_master_0_translator_avalon_universal_master_0_lock),          //                          .lock
		.uav_debugaccess        (qsys_component_0_avalon_master_0_translator_avalon_universal_master_0_debugaccess),   //                          .debugaccess
		.av_address             (qsys_component_0_avalon_master_0_address),                                            //      avalon_anti_master_0.address
		.av_waitrequest         (qsys_component_0_avalon_master_0_waitrequest),                                        //                          .waitrequest
		.av_write               (qsys_component_0_avalon_master_0_write),                                              //                          .write
		.av_writedata           (qsys_component_0_avalon_master_0_writedata),                                          //                          .writedata
		.av_burstcount          (1'b1),                                                                                //               (terminated)
		.av_byteenable          (4'b1111),                                                                             //               (terminated)
		.av_beginbursttransfer  (1'b0),                                                                                //               (terminated)
		.av_begintransfer       (1'b0),                                                                                //               (terminated)
		.av_chipselect          (1'b0),                                                                                //               (terminated)
		.av_read                (1'b0),                                                                                //               (terminated)
		.av_readdata            (),                                                                                    //               (terminated)
		.av_readdatavalid       (),                                                                                    //               (terminated)
		.av_lock                (1'b0),                                                                                //               (terminated)
		.av_debugaccess         (1'b0),                                                                                //               (terminated)
		.uav_clken              (),                                                                                    //               (terminated)
		.av_clken               (1'b1),                                                                                //               (terminated)
		.uav_response           (2'b00),                                                                               //               (terminated)
		.av_response            (),                                                                                    //               (terminated)
		.uav_writeresponsevalid (1'b0),                                                                                //               (terminated)
		.av_writeresponsevalid  ()                                                                                     //               (terminated)
	);

	altera_merlin_slave_translator #(
		.AV_ADDRESS_W                   (8),
		.AV_DATA_W                      (32),
		.UAV_DATA_W                     (32),
		.AV_BURSTCOUNT_W                (1),
		.AV_BYTEENABLE_W                (4),
		.UAV_BYTEENABLE_W               (4),
		.UAV_ADDRESS_W                  (10),
		.UAV_BURSTCOUNT_W               (3),
		.AV_READLATENCY                 (0),
		.USE_READDATAVALID              (0),
		.USE_WAITREQUEST                (0),
		.USE_UAV_CLKEN                  (0),
		.USE_READRESPONSE               (0),
		.USE_WRITERESPONSE              (0),
		.AV_SYMBOLS_PER_WORD            (4),
		.AV_ADDRESS_SYMBOLS             (0),
		.AV_BURSTCOUNT_SYMBOLS          (0),
		.AV_CONSTANT_BURST_BEHAVIOR     (0),
		.UAV_CONSTANT_BURST_BEHAVIOR    (0),
		.AV_REQUIRE_UNALIGNED_ADDRESSES (0),
		.CHIPSELECT_THROUGH_READLATENCY (0),
		.AV_READ_WAIT_CYCLES            (1),
		.AV_WRITE_WAIT_CYCLES           (0),
		.AV_SETUP_WAIT_CYCLES           (0),
		.AV_DATA_HOLD_CYCLES            (0)
	) mm_slave_bfm_0_s0_translator (
		.clk                    (clk_0_clk_clk),                                      //                      clk.clk
		.reset                  (qsys_component_0_reset_reset_bridge_in_reset_reset), //                    reset.reset
		.uav_address            (mm_slave_bfm_0_s0_agent_m0_address),                 // avalon_universal_slave_0.address
		.uav_burstcount         (mm_slave_bfm_0_s0_agent_m0_burstcount),              //                         .burstcount
		.uav_read               (mm_slave_bfm_0_s0_agent_m0_read),                    //                         .read
		.uav_write              (mm_slave_bfm_0_s0_agent_m0_write),                   //                         .write
		.uav_waitrequest        (mm_slave_bfm_0_s0_agent_m0_waitrequest),             //                         .waitrequest
		.uav_readdatavalid      (mm_slave_bfm_0_s0_agent_m0_readdatavalid),           //                         .readdatavalid
		.uav_byteenable         (mm_slave_bfm_0_s0_agent_m0_byteenable),              //                         .byteenable
		.uav_readdata           (mm_slave_bfm_0_s0_agent_m0_readdata),                //                         .readdata
		.uav_writedata          (mm_slave_bfm_0_s0_agent_m0_writedata),               //                         .writedata
		.uav_lock               (mm_slave_bfm_0_s0_agent_m0_lock),                    //                         .lock
		.uav_debugaccess        (mm_slave_bfm_0_s0_agent_m0_debugaccess),             //                         .debugaccess
		.av_address             (mm_slave_bfm_0_s0_address),                          //      avalon_anti_slave_0.address
		.av_write               (mm_slave_bfm_0_s0_write),                            //                         .write
		.av_writedata           (mm_slave_bfm_0_s0_writedata),                        //                         .writedata
		.av_read                (),                                                   //              (terminated)
		.av_readdata            (32'b11011110101011011101111010101101),               //              (terminated)
		.av_begintransfer       (),                                                   //              (terminated)
		.av_beginbursttransfer  (),                                                   //              (terminated)
		.av_burstcount          (),                                                   //              (terminated)
		.av_byteenable          (),                                                   //              (terminated)
		.av_readdatavalid       (1'b0),                                               //              (terminated)
		.av_waitrequest         (1'b0),                                               //              (terminated)
		.av_writebyteenable     (),                                                   //              (terminated)
		.av_lock                (),                                                   //              (terminated)
		.av_chipselect          (),                                                   //              (terminated)
		.av_clken               (),                                                   //              (terminated)
		.uav_clken              (1'b0),                                               //              (terminated)
		.av_debugaccess         (),                                                   //              (terminated)
		.av_outputenable        (),                                                   //              (terminated)
		.uav_response           (),                                                   //              (terminated)
		.av_response            (2'b00),                                              //              (terminated)
		.uav_writeresponsevalid (),                                                   //              (terminated)
		.av_writeresponsevalid  (1'b0)                                                //              (terminated)
	);

	altera_merlin_master_agent #(
		.PKT_ORI_BURST_SIZE_H      (81),
		.PKT_ORI_BURST_SIZE_L      (79),
		.PKT_RESPONSE_STATUS_H     (78),
		.PKT_RESPONSE_STATUS_L     (77),
		.PKT_QOS_H                 (66),
		.PKT_QOS_L                 (66),
		.PKT_DATA_SIDEBAND_H       (64),
		.PKT_DATA_SIDEBAND_L       (64),
		.PKT_ADDR_SIDEBAND_H       (63),
		.PKT_ADDR_SIDEBAND_L       (63),
		.PKT_BURST_TYPE_H          (62),
		.PKT_BURST_TYPE_L          (61),
		.PKT_CACHE_H               (76),
		.PKT_CACHE_L               (73),
		.PKT_THREAD_ID_H           (69),
		.PKT_THREAD_ID_L           (69),
		.PKT_BURST_SIZE_H          (60),
		.PKT_BURST_SIZE_L          (58),
		.PKT_TRANS_EXCLUSIVE       (51),
		.PKT_TRANS_LOCK            (50),
		.PKT_BEGIN_BURST           (65),
		.PKT_PROTECTION_H          (72),
		.PKT_PROTECTION_L          (70),
		.PKT_BURSTWRAP_H           (57),
		.PKT_BURSTWRAP_L           (55),
		.PKT_BYTE_CNT_H            (54),
		.PKT_BYTE_CNT_L            (52),
		.PKT_ADDR_H                (45),
		.PKT_ADDR_L                (36),
		.PKT_TRANS_COMPRESSED_READ (46),
		.PKT_TRANS_POSTED          (47),
		.PKT_TRANS_WRITE           (48),
		.PKT_TRANS_READ            (49),
		.PKT_DATA_H                (31),
		.PKT_DATA_L                (0),
		.PKT_BYTEEN_H              (35),
		.PKT_BYTEEN_L              (32),
		.PKT_SRC_ID_H              (67),
		.PKT_SRC_ID_L              (67),
		.PKT_DEST_ID_H             (68),
		.PKT_DEST_ID_L             (68),
		.ST_DATA_W                 (82),
		.ST_CHANNEL_W              (1),
		.AV_BURSTCOUNT_W           (3),
		.SUPPRESS_0_BYTEEN_RSP     (0),
		.ID                        (0),
		.BURSTWRAP_VALUE           (7),
		.CACHE_VALUE               (0),
		.SECURE_ACCESS_BIT         (1),
		.USE_READRESPONSE          (0),
		.USE_WRITERESPONSE         (0)
	) qsys_component_0_avalon_master_0_agent (
		.clk                   (clk_0_clk_clk),                                                                       //       clk.clk
		.reset                 (qsys_component_0_reset_reset_bridge_in_reset_reset),                                  // clk_reset.reset
		.av_address            (qsys_component_0_avalon_master_0_translator_avalon_universal_master_0_address),       //        av.address
		.av_write              (qsys_component_0_avalon_master_0_translator_avalon_universal_master_0_write),         //          .write
		.av_read               (qsys_component_0_avalon_master_0_translator_avalon_universal_master_0_read),          //          .read
		.av_writedata          (qsys_component_0_avalon_master_0_translator_avalon_universal_master_0_writedata),     //          .writedata
		.av_readdata           (qsys_component_0_avalon_master_0_translator_avalon_universal_master_0_readdata),      //          .readdata
		.av_waitrequest        (qsys_component_0_avalon_master_0_translator_avalon_universal_master_0_waitrequest),   //          .waitrequest
		.av_readdatavalid      (qsys_component_0_avalon_master_0_translator_avalon_universal_master_0_readdatavalid), //          .readdatavalid
		.av_byteenable         (qsys_component_0_avalon_master_0_translator_avalon_universal_master_0_byteenable),    //          .byteenable
		.av_burstcount         (qsys_component_0_avalon_master_0_translator_avalon_universal_master_0_burstcount),    //          .burstcount
		.av_debugaccess        (qsys_component_0_avalon_master_0_translator_avalon_universal_master_0_debugaccess),   //          .debugaccess
		.av_lock               (qsys_component_0_avalon_master_0_translator_avalon_universal_master_0_lock),          //          .lock
		.cp_valid              (qsys_component_0_avalon_master_0_agent_cp_valid),                                     //        cp.valid
		.cp_data               (qsys_component_0_avalon_master_0_agent_cp_data),                                      //          .data
		.cp_startofpacket      (qsys_component_0_avalon_master_0_agent_cp_startofpacket),                             //          .startofpacket
		.cp_endofpacket        (qsys_component_0_avalon_master_0_agent_cp_endofpacket),                               //          .endofpacket
		.cp_ready              (qsys_component_0_avalon_master_0_agent_cp_ready),                                     //          .ready
		.rp_valid              (rsp_mux_src_valid),                                                                   //        rp.valid
		.rp_data               (rsp_mux_src_data),                                                                    //          .data
		.rp_channel            (rsp_mux_src_channel),                                                                 //          .channel
		.rp_startofpacket      (rsp_mux_src_startofpacket),                                                           //          .startofpacket
		.rp_endofpacket        (rsp_mux_src_endofpacket),                                                             //          .endofpacket
		.rp_ready              (rsp_mux_src_ready),                                                                   //          .ready
		.av_response           (),                                                                                    // (terminated)
		.av_writeresponsevalid ()                                                                                     // (terminated)
	);

	altera_merlin_slave_agent #(
		.PKT_ORI_BURST_SIZE_H      (81),
		.PKT_ORI_BURST_SIZE_L      (79),
		.PKT_RESPONSE_STATUS_H     (78),
		.PKT_RESPONSE_STATUS_L     (77),
		.PKT_BURST_SIZE_H          (60),
		.PKT_BURST_SIZE_L          (58),
		.PKT_TRANS_LOCK            (50),
		.PKT_BEGIN_BURST           (65),
		.PKT_PROTECTION_H          (72),
		.PKT_PROTECTION_L          (70),
		.PKT_BURSTWRAP_H           (57),
		.PKT_BURSTWRAP_L           (55),
		.PKT_BYTE_CNT_H            (54),
		.PKT_BYTE_CNT_L            (52),
		.PKT_ADDR_H                (45),
		.PKT_ADDR_L                (36),
		.PKT_TRANS_COMPRESSED_READ (46),
		.PKT_TRANS_POSTED          (47),
		.PKT_TRANS_WRITE           (48),
		.PKT_TRANS_READ            (49),
		.PKT_DATA_H                (31),
		.PKT_DATA_L                (0),
		.PKT_BYTEEN_H              (35),
		.PKT_BYTEEN_L              (32),
		.PKT_SRC_ID_H              (67),
		.PKT_SRC_ID_L              (67),
		.PKT_DEST_ID_H             (68),
		.PKT_DEST_ID_L             (68),
		.PKT_SYMBOL_W              (8),
		.ST_CHANNEL_W              (1),
		.ST_DATA_W                 (82),
		.AVS_BURSTCOUNT_W          (3),
		.SUPPRESS_0_BYTEEN_CMD     (0),
		.PREVENT_FIFO_OVERFLOW     (1),
		.USE_READRESPONSE          (0),
		.USE_WRITERESPONSE         (0),
		.ECC_ENABLE                (0)
	) mm_slave_bfm_0_s0_agent (
		.clk                     (clk_0_clk_clk),                                      //             clk.clk
		.reset                   (qsys_component_0_reset_reset_bridge_in_reset_reset), //       clk_reset.reset
		.m0_address              (mm_slave_bfm_0_s0_agent_m0_address),                 //              m0.address
		.m0_burstcount           (mm_slave_bfm_0_s0_agent_m0_burstcount),              //                .burstcount
		.m0_byteenable           (mm_slave_bfm_0_s0_agent_m0_byteenable),              //                .byteenable
		.m0_debugaccess          (mm_slave_bfm_0_s0_agent_m0_debugaccess),             //                .debugaccess
		.m0_lock                 (mm_slave_bfm_0_s0_agent_m0_lock),                    //                .lock
		.m0_readdata             (mm_slave_bfm_0_s0_agent_m0_readdata),                //                .readdata
		.m0_readdatavalid        (mm_slave_bfm_0_s0_agent_m0_readdatavalid),           //                .readdatavalid
		.m0_read                 (mm_slave_bfm_0_s0_agent_m0_read),                    //                .read
		.m0_waitrequest          (mm_slave_bfm_0_s0_agent_m0_waitrequest),             //                .waitrequest
		.m0_writedata            (mm_slave_bfm_0_s0_agent_m0_writedata),               //                .writedata
		.m0_write                (mm_slave_bfm_0_s0_agent_m0_write),                   //                .write
		.rp_endofpacket          (mm_slave_bfm_0_s0_agent_rp_endofpacket),             //              rp.endofpacket
		.rp_ready                (mm_slave_bfm_0_s0_agent_rp_ready),                   //                .ready
		.rp_valid                (mm_slave_bfm_0_s0_agent_rp_valid),                   //                .valid
		.rp_data                 (mm_slave_bfm_0_s0_agent_rp_data),                    //                .data
		.rp_startofpacket        (mm_slave_bfm_0_s0_agent_rp_startofpacket),           //                .startofpacket
		.cp_ready                (cmd_mux_src_ready),                                  //              cp.ready
		.cp_valid                (cmd_mux_src_valid),                                  //                .valid
		.cp_data                 (cmd_mux_src_data),                                   //                .data
		.cp_startofpacket        (cmd_mux_src_startofpacket),                          //                .startofpacket
		.cp_endofpacket          (cmd_mux_src_endofpacket),                            //                .endofpacket
		.cp_channel              (cmd_mux_src_channel),                                //                .channel
		.rf_sink_ready           (mm_slave_bfm_0_s0_agent_rsp_fifo_out_ready),         //         rf_sink.ready
		.rf_sink_valid           (mm_slave_bfm_0_s0_agent_rsp_fifo_out_valid),         //                .valid
		.rf_sink_startofpacket   (mm_slave_bfm_0_s0_agent_rsp_fifo_out_startofpacket), //                .startofpacket
		.rf_sink_endofpacket     (mm_slave_bfm_0_s0_agent_rsp_fifo_out_endofpacket),   //                .endofpacket
		.rf_sink_data            (mm_slave_bfm_0_s0_agent_rsp_fifo_out_data),          //                .data
		.rf_source_ready         (mm_slave_bfm_0_s0_agent_rf_source_ready),            //       rf_source.ready
		.rf_source_valid         (mm_slave_bfm_0_s0_agent_rf_source_valid),            //                .valid
		.rf_source_startofpacket (mm_slave_bfm_0_s0_agent_rf_source_startofpacket),    //                .startofpacket
		.rf_source_endofpacket   (mm_slave_bfm_0_s0_agent_rf_source_endofpacket),      //                .endofpacket
		.rf_source_data          (mm_slave_bfm_0_s0_agent_rf_source_data),             //                .data
		.rdata_fifo_sink_ready   (avalon_st_adapter_out_0_ready),                      // rdata_fifo_sink.ready
		.rdata_fifo_sink_valid   (avalon_st_adapter_out_0_valid),                      //                .valid
		.rdata_fifo_sink_data    (avalon_st_adapter_out_0_data),                       //                .data
		.rdata_fifo_sink_error   (avalon_st_adapter_out_0_error),                      //                .error
		.rdata_fifo_src_ready    (mm_slave_bfm_0_s0_agent_rdata_fifo_src_ready),       //  rdata_fifo_src.ready
		.rdata_fifo_src_valid    (mm_slave_bfm_0_s0_agent_rdata_fifo_src_valid),       //                .valid
		.rdata_fifo_src_data     (mm_slave_bfm_0_s0_agent_rdata_fifo_src_data),        //                .data
		.m0_response             (2'b00),                                              //     (terminated)
		.m0_writeresponsevalid   (1'b0)                                                //     (terminated)
	);

	altera_avalon_sc_fifo #(
		.SYMBOLS_PER_BEAT    (1),
		.BITS_PER_SYMBOL     (83),
		.FIFO_DEPTH          (2),
		.CHANNEL_WIDTH       (0),
		.ERROR_WIDTH         (0),
		.USE_PACKETS         (1),
		.USE_FILL_LEVEL      (0),
		.EMPTY_LATENCY       (1),
		.USE_MEMORY_BLOCKS   (0),
		.USE_STORE_FORWARD   (0),
		.USE_ALMOST_FULL_IF  (0),
		.USE_ALMOST_EMPTY_IF (0)
	) mm_slave_bfm_0_s0_agent_rsp_fifo (
		.clk               (clk_0_clk_clk),                                      //       clk.clk
		.reset             (qsys_component_0_reset_reset_bridge_in_reset_reset), // clk_reset.reset
		.in_data           (mm_slave_bfm_0_s0_agent_rf_source_data),             //        in.data
		.in_valid          (mm_slave_bfm_0_s0_agent_rf_source_valid),            //          .valid
		.in_ready          (mm_slave_bfm_0_s0_agent_rf_source_ready),            //          .ready
		.in_startofpacket  (mm_slave_bfm_0_s0_agent_rf_source_startofpacket),    //          .startofpacket
		.in_endofpacket    (mm_slave_bfm_0_s0_agent_rf_source_endofpacket),      //          .endofpacket
		.out_data          (mm_slave_bfm_0_s0_agent_rsp_fifo_out_data),          //       out.data
		.out_valid         (mm_slave_bfm_0_s0_agent_rsp_fifo_out_valid),         //          .valid
		.out_ready         (mm_slave_bfm_0_s0_agent_rsp_fifo_out_ready),         //          .ready
		.out_startofpacket (mm_slave_bfm_0_s0_agent_rsp_fifo_out_startofpacket), //          .startofpacket
		.out_endofpacket   (mm_slave_bfm_0_s0_agent_rsp_fifo_out_endofpacket),   //          .endofpacket
		.csr_address       (2'b00),                                              // (terminated)
		.csr_read          (1'b0),                                               // (terminated)
		.csr_write         (1'b0),                                               // (terminated)
		.csr_readdata      (),                                                   // (terminated)
		.csr_writedata     (32'b00000000000000000000000000000000),               // (terminated)
		.almost_full_data  (),                                                   // (terminated)
		.almost_empty_data (),                                                   // (terminated)
		.in_empty          (1'b0),                                               // (terminated)
		.out_empty         (),                                                   // (terminated)
		.in_error          (1'b0),                                               // (terminated)
		.out_error         (),                                                   // (terminated)
		.in_channel        (1'b0),                                               // (terminated)
		.out_channel       ()                                                    // (terminated)
	);

	qsys_system_mm_interconnect_0_router router (
		.sink_ready         (qsys_component_0_avalon_master_0_agent_cp_ready),         //      sink.ready
		.sink_valid         (qsys_component_0_avalon_master_0_agent_cp_valid),         //          .valid
		.sink_data          (qsys_component_0_avalon_master_0_agent_cp_data),          //          .data
		.sink_startofpacket (qsys_component_0_avalon_master_0_agent_cp_startofpacket), //          .startofpacket
		.sink_endofpacket   (qsys_component_0_avalon_master_0_agent_cp_endofpacket),   //          .endofpacket
		.clk                (clk_0_clk_clk),                                           //       clk.clk
		.reset              (qsys_component_0_reset_reset_bridge_in_reset_reset),      // clk_reset.reset
		.src_ready          (router_src_ready),                                        //       src.ready
		.src_valid          (router_src_valid),                                        //          .valid
		.src_data           (router_src_data),                                         //          .data
		.src_channel        (router_src_channel),                                      //          .channel
		.src_startofpacket  (router_src_startofpacket),                                //          .startofpacket
		.src_endofpacket    (router_src_endofpacket)                                   //          .endofpacket
	);

	qsys_system_mm_interconnect_0_router_001 router_001 (
		.sink_ready         (mm_slave_bfm_0_s0_agent_rp_ready),                   //      sink.ready
		.sink_valid         (mm_slave_bfm_0_s0_agent_rp_valid),                   //          .valid
		.sink_data          (mm_slave_bfm_0_s0_agent_rp_data),                    //          .data
		.sink_startofpacket (mm_slave_bfm_0_s0_agent_rp_startofpacket),           //          .startofpacket
		.sink_endofpacket   (mm_slave_bfm_0_s0_agent_rp_endofpacket),             //          .endofpacket
		.clk                (clk_0_clk_clk),                                      //       clk.clk
		.reset              (qsys_component_0_reset_reset_bridge_in_reset_reset), // clk_reset.reset
		.src_ready          (router_001_src_ready),                               //       src.ready
		.src_valid          (router_001_src_valid),                               //          .valid
		.src_data           (router_001_src_data),                                //          .data
		.src_channel        (router_001_src_channel),                             //          .channel
		.src_startofpacket  (router_001_src_startofpacket),                       //          .startofpacket
		.src_endofpacket    (router_001_src_endofpacket)                          //          .endofpacket
	);

	qsys_system_mm_interconnect_0_cmd_demux cmd_demux (
		.clk                (clk_0_clk_clk),                                      //       clk.clk
		.reset              (qsys_component_0_reset_reset_bridge_in_reset_reset), // clk_reset.reset
		.sink_ready         (router_src_ready),                                   //      sink.ready
		.sink_channel       (router_src_channel),                                 //          .channel
		.sink_data          (router_src_data),                                    //          .data
		.sink_startofpacket (router_src_startofpacket),                           //          .startofpacket
		.sink_endofpacket   (router_src_endofpacket),                             //          .endofpacket
		.sink_valid         (router_src_valid),                                   //          .valid
		.src0_ready         (cmd_demux_src0_ready),                               //      src0.ready
		.src0_valid         (cmd_demux_src0_valid),                               //          .valid
		.src0_data          (cmd_demux_src0_data),                                //          .data
		.src0_channel       (cmd_demux_src0_channel),                             //          .channel
		.src0_startofpacket (cmd_demux_src0_startofpacket),                       //          .startofpacket
		.src0_endofpacket   (cmd_demux_src0_endofpacket)                          //          .endofpacket
	);

	qsys_system_mm_interconnect_0_cmd_mux cmd_mux (
		.clk                 (clk_0_clk_clk),                                      //       clk.clk
		.reset               (qsys_component_0_reset_reset_bridge_in_reset_reset), // clk_reset.reset
		.src_ready           (cmd_mux_src_ready),                                  //       src.ready
		.src_valid           (cmd_mux_src_valid),                                  //          .valid
		.src_data            (cmd_mux_src_data),                                   //          .data
		.src_channel         (cmd_mux_src_channel),                                //          .channel
		.src_startofpacket   (cmd_mux_src_startofpacket),                          //          .startofpacket
		.src_endofpacket     (cmd_mux_src_endofpacket),                            //          .endofpacket
		.sink0_ready         (cmd_demux_src0_ready),                               //     sink0.ready
		.sink0_valid         (cmd_demux_src0_valid),                               //          .valid
		.sink0_channel       (cmd_demux_src0_channel),                             //          .channel
		.sink0_data          (cmd_demux_src0_data),                                //          .data
		.sink0_startofpacket (cmd_demux_src0_startofpacket),                       //          .startofpacket
		.sink0_endofpacket   (cmd_demux_src0_endofpacket)                          //          .endofpacket
	);

	qsys_system_mm_interconnect_0_cmd_demux rsp_demux (
		.clk                (clk_0_clk_clk),                                      //       clk.clk
		.reset              (qsys_component_0_reset_reset_bridge_in_reset_reset), // clk_reset.reset
		.sink_ready         (router_001_src_ready),                               //      sink.ready
		.sink_channel       (router_001_src_channel),                             //          .channel
		.sink_data          (router_001_src_data),                                //          .data
		.sink_startofpacket (router_001_src_startofpacket),                       //          .startofpacket
		.sink_endofpacket   (router_001_src_endofpacket),                         //          .endofpacket
		.sink_valid         (router_001_src_valid),                               //          .valid
		.src0_ready         (rsp_demux_src0_ready),                               //      src0.ready
		.src0_valid         (rsp_demux_src0_valid),                               //          .valid
		.src0_data          (rsp_demux_src0_data),                                //          .data
		.src0_channel       (rsp_demux_src0_channel),                             //          .channel
		.src0_startofpacket (rsp_demux_src0_startofpacket),                       //          .startofpacket
		.src0_endofpacket   (rsp_demux_src0_endofpacket)                          //          .endofpacket
	);

	qsys_system_mm_interconnect_0_rsp_mux rsp_mux (
		.clk                 (clk_0_clk_clk),                                      //       clk.clk
		.reset               (qsys_component_0_reset_reset_bridge_in_reset_reset), // clk_reset.reset
		.src_ready           (rsp_mux_src_ready),                                  //       src.ready
		.src_valid           (rsp_mux_src_valid),                                  //          .valid
		.src_data            (rsp_mux_src_data),                                   //          .data
		.src_channel         (rsp_mux_src_channel),                                //          .channel
		.src_startofpacket   (rsp_mux_src_startofpacket),                          //          .startofpacket
		.src_endofpacket     (rsp_mux_src_endofpacket),                            //          .endofpacket
		.sink0_ready         (rsp_demux_src0_ready),                               //     sink0.ready
		.sink0_valid         (rsp_demux_src0_valid),                               //          .valid
		.sink0_channel       (rsp_demux_src0_channel),                             //          .channel
		.sink0_data          (rsp_demux_src0_data),                                //          .data
		.sink0_startofpacket (rsp_demux_src0_startofpacket),                       //          .startofpacket
		.sink0_endofpacket   (rsp_demux_src0_endofpacket)                          //          .endofpacket
	);

	qsys_system_mm_interconnect_0_avalon_st_adapter #(
		.inBitsPerSymbol (34),
		.inUsePackets    (0),
		.inDataWidth     (34),
		.inChannelWidth  (0),
		.inErrorWidth    (0),
		.inUseEmptyPort  (0),
		.inUseValid      (1),
		.inUseReady      (1),
		.inReadyLatency  (0),
		.outDataWidth    (34),
		.outChannelWidth (0),
		.outErrorWidth   (1),
		.outUseEmptyPort (0),
		.outUseValid     (1),
		.outUseReady     (1),
		.outReadyLatency (0)
	) avalon_st_adapter (
		.in_clk_0_clk   (clk_0_clk_clk),                                      // in_clk_0.clk
		.in_rst_0_reset (qsys_component_0_reset_reset_bridge_in_reset_reset), // in_rst_0.reset
		.in_0_data      (mm_slave_bfm_0_s0_agent_rdata_fifo_src_data),        //     in_0.data
		.in_0_valid     (mm_slave_bfm_0_s0_agent_rdata_fifo_src_valid),       //         .valid
		.in_0_ready     (mm_slave_bfm_0_s0_agent_rdata_fifo_src_ready),       //         .ready
		.out_0_data     (avalon_st_adapter_out_0_data),                       //    out_0.data
		.out_0_valid    (avalon_st_adapter_out_0_valid),                      //         .valid
		.out_0_ready    (avalon_st_adapter_out_0_ready),                      //         .ready
		.out_0_error    (avalon_st_adapter_out_0_error)                       //         .error
	);

endmodule
