
  input sg_idle0_2;
  input sg_idle0_3;
  input [0:0]s2mm_ch_tailpntr_updated;
  input s2mm_desc_flush;
  input [1:0]ch_mm2s_ftch_active;
  input use_crntdesc_reg;
  input use_crntdesc_reg_0;
  input use_crntdesc_reg_1;
  input \GEN_CH1_FETCH.MM2S_GEN[1].service_ch_mm2s_i2_reg[1] ;
  input \GEN_CH1_FETCH.MM2S_GEN[1].service_ch_mm2s_i2_reg[1]_0 ;
  input p_1_out__0;
  input [0:0]E;
  input [31:0]D;
  input [0:0]\fetch_address_i_reg[0] ;
  input [31:0]\fetch_address_i_reg[31]_0 ;
  input [0:0]\fetch_address_i_reg[0]_0 ;
  input [31:0]\fetch_address_i_reg[31]_1 ;

  wire [0:0]CO;
  wire [31:0]D;
  wire [0:0]E;
  wire \GEN_CH1_FETCH.MM2S_GEN[1].service_ch_mm2s_i2_reg[1] ;
  wire \GEN_CH1_FETCH.MM2S_GEN[1].service_ch_mm2s_i2_reg[1]_0 ;
  wire [0:0]\GEN_DESC_REG_FOR_SG.taildesc_lsb_i2_reg[30] ;
  wire [0:0]\GEN_DESC_REG_FOR_SG.taildesc_lsb_i2_reg[30]_0 ;
  wire [1:0]S;
  wire [51:0]ch_mm2s_fetch_address;
  wire [1:0]ch_mm2s_ftch_active;
  wire [0:0]ch_mm2s_sg_idle;
  wire [0:0]ch_s2mm_sg_idle;
  wire [0:0]\fetch_address_i_reg[0] ;
  wire [0:0]\fetch_address_i_reg[0]_0 ;
  wire [25:0]\fetch_address_i_reg[31] ;
  wire [31:0]\fetch_address_i_reg[31]_0 ;
  wire [31:0]\fetch_address_i_reg[31]_1 ;
  wire m_axi_sg_aresetn;
  wire [1:0]mm2s_ch_dmacr;
  wire [1:0]mm2s_ch_tailpntr_updated;
  wire mm2s_desc_flush;
  wire p_1_out__0;
  wire queue_sinit1;
  wire [0:0]s2mm_ch_dmacr;
  wire [0:0]s2mm_ch_tailpntr_updated;
  wire s2mm_desc_flush;
  wire s_axi_aclk;
  wire [0:0]service_ch_mm2s_i;
  wire sg_idle0;
  wire sg_idle0_2;
  wire sg_idle0_3;
  wire [1:0]sg_idle1_carry__0;
  wire [1:0]sg_idle1_carry__0_0;
  wire [3:0]sg_idle1_carry__1;
  wire [3:0]sg_idle1_carry__1_0;
  wire [3:0]sg_idle1_carry__1_1;
  wire [2:0]sg_idle_i_2;
  wire [2:0]sg_idle_i_2__0;
  wire [2:0]sg_idle_i_2__1;
  wire [0:0]sg_idle_reg;
  wire use_crntdesc;
  wire use_crntdesc_0;
  wire use_crntdesc_1;
  wire use_crntdesc_reg;
  wire use_crntdesc_reg_0;
  wire use_crntdesc_reg_1;

  zed_bench_axi_mcdma_0_0_axi_msg_channel_pntr \GEN_PNTR_FOR_CH1.GEN_PNTR_FOR_CHANNEL[0].MM2S_CH_PNTR 
       (.CO(CO),
        .D(D),
        .E(E),
        .S(S),
        .ch_mm2s_fetch_address(ch_mm2s_fetch_address[25:0]),
        .ch_mm2s_ftch_active(ch_mm2s_ftch_active[0]),
        .m_axi_sg_aresetn(m_axi_sg_aresetn),
        .mm2s_ch_dmacr(mm2s_ch_dmacr[0]),
        .mm2s_ch_tailpntr_updated(mm2s_ch_tailpntr_updated[0]),
        .mm2s_desc_flush(mm2s_desc_flush),
        .queue_sinit1(queue_sinit1),
        .s_axi_aclk(s_axi_aclk),
        .sg_idle0(sg_idle0),
        .sg_idle1_carry__1_0(sg_idle1_carry__1),
        .sg_idle_i_2(sg_idle_i_2),
        .sg_idle_reg_0(sg_idle_reg),
        .use_crntdesc(use_crntdesc),
        .use_crntdesc_reg_0(use_crntdesc_reg));
  zed_bench_axi_mcdma_0_0_axi_msg_channel_pntr_89 \GEN_PNTR_FOR_CH1.GEN_PNTR_FOR_CHANNEL[1].MM2S_CH_PNTR 
       (.\GEN_CH1_FETCH.MM2S_GEN[1].service_ch_mm2s_i2_reg[1] (\GEN_CH1_FETCH.MM2S_GEN[1].service_ch_mm2s_i2_reg[1] ),
        .\GEN_CH1_FETCH.MM2S_GEN[1].service_ch_mm2s_i2_reg[1]_0 (\GEN_CH1_FETCH.MM2S_GEN[1].service_ch_mm2s_i2_reg[1]_0 ),
        .\GEN_DESC_REG_FOR_SG.taildesc_lsb_i2_reg[30] (\GEN_DESC_REG_FOR_SG.taildesc_lsb_i2_reg[30] ),
        .ch_mm2s_fetch_address(ch_mm2s_fetch_address[51:26]),
        .ch_mm2s_ftch_active(ch_mm2s_ftch_active[1]),
        .ch_mm2s_sg_idle(ch_mm2s_sg_idle),
        .\fetch_address_i_reg[0]_0 (\fetch_address_i_reg[0] ),
        .\fetch_address_i_reg[31]_0 (\fetch_address_i_reg[31]_0 ),
        .m_axi_sg_aresetn(m_axi_sg_aresetn),
        .mm2s_ch_dmacr(mm2s_ch_dmacr[1]),
        .mm2s_ch_tailpntr_updated(mm2s_ch_tailpntr_updated[1]),
        .mm2s_desc_flush(mm2s_desc_flush),
        .p_1_out__0(p_1_out__0),
        .queue_sinit1(queue_sinit1),
        .s_axi_aclk(s_axi_aclk),
        .service_ch_mm2s_i(service_ch_mm2s_i),
        .sg_idle0_2(sg_idle0_2),
        .sg_idle1_carry__0_0(sg_idle1_carry__0),
        .sg_idle1_carry__1_0(sg_idle1_carry__1_0),
        .sg_idle_i_2__0(sg_idle_i_2__0),
        .use_crntdesc_0(use_crntdesc_0),
        .use_crntdesc_reg_0(use_crntdesc_reg));
  zed_bench_axi_mcdma_0_0_axi_msg_channel_pntr_90 \GEN_PNTR_FOR_CH2.GEN_PNTR_FOR_CHANNEL[0].S2MM_CH_PNTR 
       (.\GEN_DESC_REG_FOR_SG.taildesc_lsb_i2_reg[30] (\GEN_DESC_REG_FOR_SG.taildesc_lsb_i2_reg[30]_0 ),
        .ch_s2mm_sg_idle(ch_s2mm_sg_idle),
        .\fetch_address_i_reg[0]_0 (\fetch_address_i_reg[0]_0 ),
        .\fetch_address_i_reg[31]_0 (\fetch_address_i_reg[31] ),
        .\fetch_address_i_reg[31]_1 (\fetch_address_i_reg[31]_1 ),
        .m_axi_sg_aresetn(m_axi_sg_aresetn),
        .queue_sinit1(queue_sinit1),
        .s2mm_ch_dmacr(s2mm_ch_dmacr),
        .s2mm_ch_tailpntr_updated(s2mm_ch_tailpntr_updated),
        .s2mm_desc_flush(s2mm_desc_flush),
        .s_axi_aclk(s_axi_aclk),
        .sg_idle0_3(sg_idle0_3),
        .sg_idle1_carry__0_0(sg_idle1_carry__0_0),
        .sg_idle1_carry__1_0(sg_idle1_carry__1_1),
        .sg_idle_i_2__1(sg_idle_i_2__1),
        .use_crntdesc_1(use_crntdesc_1),
        .use_crntdesc_reg_0(use_crntdesc_reg_0),
        .use_crntdesc_reg_1(use_crntdesc_reg_1));
endmodule

(* ORIG_REF_NAME = "axi_msg_ftch_q_mngr" *) 
module zed_bench_axi_mcdma_0_0_axi_msg_ftch_q_mngr
   (D,
    doutb,
    writing_lsb_reg,
    p_5_out,
    writing_lsb_reg_0,
    m_axis_s2mm_ftch_id,
    \GEN_NO_UPR_MSB_NXTDESC.mm2s_nxtdesc_wren_reg_0 ,
    \GEN_NO_UPR_MSB_NXTDESC.s2mm_nxtdesc_wren_reg_0 ,
    valid_reg,
    \intg_f_reg[0] ,
    \bmg_count_reg[1] ,
    curdesc_tvalid_reg,
    Q,
    m_axi_sg_rvalid_0,
    \fetch_word_shift_reg[2]_0 ,
    \dmacr_i_reg[0] ,
    \bmg_count_reg[4] ,
    \bmg_count_reg[3] ,
    \dmacr_i_reg[0]_0 ,
    service_ch_s2mm_i,
    \fetch_word_count_reg[2]_0 ,
    \bmg_count_reg[0] ,
    \intg_f_reg[4] ,
    packet_in_progress_reg,
    valid1_reg,
    p_22_out,
    \GEN_DESC_UPDT_QUEUE.s2mm_pending_pntr_updt_reg ,
    p_19_out,
    ftch_shftenbl,
    \m_axis_ftch_id_reg[1] ,
    \m_axis_ftch_id_reg[1]_0 ,
    \m_axis_ftch_id_reg[0] ,
    \GEN_ASYNC_RESET.scndry_resetn_reg ,
    \gen_wr_a.gen_word_narrow.mem_reg ,
    \nxtdesc_reg[31]_0 ,
    \GEN_STALE_DESC_CHECK.ftch_stale_desc_reg_0 ,
    s_axi_aclk,
    wea,
    dina,
    enb,
    m_axis_s2mm_ftch_tready,
    queue_sinit_0,
    queue_sinit1,
    curdesc_tdata13_out,
    curdesc_tvalid_reg_0,
    curdesc_tdata13_out_0,
    number,
    curdesc_tvalid_reg_1,
    \intg_reg[4] ,
    s2mm_axis_channel,
    E,
    \rdaddr_int_reg[8] ,
    valid_reg_0,
    valid1_reg_0,
    out,
    writing_msb_reg,
    \gen_wr_a.gen_word_narrow.mem_reg_0 ,
    m_axi_sg_rdata,
    \wraddr_int_reg[8] ,
    \wraddr_int_reg[8]_0 ,
    m_axi_sg_rvalid,
    \wraddr_int_reg[8]_1 ,
    \bmg_count_reg[4]_0 ,
    ch_s2mm_ftch_active,
    \curdesc_tdata_reg[6] ,
    \curdesc_tdata_reg[6]_0 ,
    ftch_cmnd_wr,
    \GEN_NO_UPR_MSB_NXTDESC.s2mm_nxtdesc_wren_reg_1 ,
    \rdaddr_int_reg[8]_0 ,
    \rdaddr_int_reg[5] ,
    mm2s_desc_flush,
    mm2s_ch_dmacr,
    p_78_out,
    p_1_out__0,
    \GEN_CH1_FETCH.MM2S_GEN[0].ch_mm2s_ftch_idle[0]_i_2 ,
    \GEN_CH1_FETCH.MM2S_GEN[0].ch_mm2s_ftch_idle[0]_i_2_0 ,
    \GEN_CH1_FETCH.MM2S_GEN[0].ch_mm2s_ftch_idle[0]_i_2_1 ,
    service_ch_s2mm_i2,
    \GEN_CH1_FETCH.MM2S_GEN[0].service_ch_mm2s_i2_reg[0] ,
    p_38_out,
    s2mm_ch_dmacr,
    ch_s2mm_sg_idle,
    s2mm_desc_flush,
    ftch_cmnd_data,
    m_axi_sg_aresetn,
    p_23_out,
    mm2s_dmacr,
    queue_more,
    xb_fifo_full,
    mm2s_pending_ptr_updt,
    mm2s_new_curdesc_wren_i_reg,
    s2mm_pending_pntr_updt,
    mm2s_new_curdesc_wren_mngr,
    \fetch_word_shift_reg[0]_0 ,
    \intg_f_reg[4]_0 ,
    \intg_reg[4]_0 ,
    \m_axis_ftch_id_reg[1]_1 ,
    \curdesc_tdata_reg[31] ,
    \curdesc_tdata_reg[31]_0 ,
    \fetch_word_shift_reg[1]_0 ,
    \bmg_count_reg[4]_1 ,
    \bmg_count_reg[4]_2 ,
    \bmg_count_reg[4]_3 ,
    \rdaddr_int_reg[8]_1 );
  output [31:0]D;
  output [32:0]doutb;
  output writing_lsb_reg;
  output p_5_out;
  output writing_lsb_reg_0;
  output [0:0]m_axis_s2mm_ftch_id;
  output \GEN_NO_UPR_MSB_NXTDESC.mm2s_nxtdesc_wren_reg_0 ;
  output \GEN_NO_UPR_MSB_NXTDESC.s2mm_nxtdesc_wren_reg_0 ;
  output valid_reg;
  output \intg_f_reg[0] ;
  output \bmg_count_reg[1] ;
  output [0:0]curdesc_tvalid_reg;
  output [1:0]Q;
  output m_axi_sg_rvalid_0;
  output \fetch_word_shift_reg[2]_0 ;
  output [0:0]\dmacr_i_reg[0] ;
  output \bmg_count_reg[4] ;
  output \bmg_count_reg[3] ;
  output \dmacr_i_reg[0]_0 ;
  output [0:0]service_ch_s2mm_i;
  output \fetch_word_count_reg[2]_0 ;
  output \bmg_count_reg[0] ;
  output [1:0]\intg_f_reg[4] ;
  output packet_in_progress_reg;
  output [0:0]valid1_reg;
  output p_22_out;
  output \GEN_DESC_UPDT_QUEUE.s2mm_pending_pntr_updt_reg ;
  output p_19_out;
  output ftch_shftenbl;
  output \m_axis_ftch_id_reg[1] ;
  output [1:0]\m_axis_ftch_id_reg[1]_0 ;
  output \m_axis_ftch_id_reg[0] ;
  output [0:0]\GEN_ASYNC_RESET.scndry_resetn_reg ;
  output [0:0]\gen_wr_a.gen_word_narrow.mem_reg ;
  output [31:0]\nxtdesc_reg[31]_0 ;
  output \GEN_STALE_DESC_CHECK.ftch_stale_desc_reg_0 ;
  input s_axi_aclk;
  input [0:0]wea;
  input [5:0]dina;
  input enb;
  input m_axis_s2mm_ftch_tready;
  input queue_sinit_0;
  input queue_sinit1;
  input curdesc_tdata13_out;
  input curdesc_tvalid_reg_0;
  input curdesc_tdata13_out_0;
  input [0:0]number;
  input curdesc_tvalid_reg_1;
  input \intg_reg[4] ;
  input [0:0]s2mm_axis_channel;
  input [0:0]E;
  input [0:0]\rdaddr_int_reg[8] ;
  input valid_reg_0;
  input valid1_reg_0;
  input out;
  input writing_msb_reg;
  input \gen_wr_a.gen_word_narrow.mem_reg_0 ;
  input [31:0]m_axi_sg_rdata;
  input [0:0]\wraddr_int_reg[8] ;
  input [0:0]\wraddr_int_reg[8]_0 ;
  input m_axi_sg_rvalid;
  input \wraddr_int_reg[8]_1 ;
  input [0:0]\bmg_count_reg[4]_0 ;
  input [0:0]ch_s2mm_ftch_active;
  input [0:0]\curdesc_tdata_reg[6] ;
  input \curdesc_tdata_reg[6]_0 ;
  input ftch_cmnd_wr;
  input \GEN_NO_UPR_MSB_NXTDESC.s2mm_nxtdesc_wren_reg_1 ;
  input \rdaddr_int_reg[8]_0 ;
  input \rdaddr_int_reg[5] ;
  input mm2s_desc_flush;
  input [1:0]mm2s_ch_dmacr;
  input p_78_out;
  input p_1_out__0;
  input [0:0]\GEN_CH1_FETCH.MM2S_GEN[0].ch_mm2s_ftch_idle[0]_i_2 ;
  input [0:0]\GEN_CH1_FETCH.MM2S_GEN[0].ch_mm2s_ftch_idle[0]_i_2_0 ;
  input \GEN_CH1_FETCH.MM2S_GEN[0].ch_mm2s_ftch_idle[0]_i_2_1 ;
  input [0:0]service_ch_s2mm_i2;
  input [0:0]\GEN_CH1_FETCH.MM2S_GEN[0].service_ch_mm2s_i2_reg[0] ;
  input p_38_out;
  input [0:0]s2mm_ch_dmacr;
  input [0:0]ch_s2mm_sg_idle;
  input s2mm_desc_flush;
  input [0:0]ftch_cmnd_data;
  input m_axi_sg_aresetn;
  input p_23_out;
  input [0:0]mm2s_dmacr;
  input queue_more;
  input xb_fifo_full;
  input mm2s_pending_ptr_updt;
  input mm2s_new_curdesc_wren_i_reg;
  input s2mm_pending_pntr_updt;
  input mm2s_new_curdesc_wren_mngr;
  input \fetch_word_shift_reg[0]_0 ;
  input [1:0]\intg_f_reg[4]_0 ;
  input [1:0]\intg_reg[4]_0 ;
  input [1:0]\m_axis_ftch_id_reg[1]_1 ;
  input [25:0]\curdesc_tdata_reg[31] ;
  input [25:0]\curdesc_tdata_reg[31]_0 ;
  input [0:0]\fetch_word_shift_reg[1]_0 ;
  input [0:0]\bmg_count_reg[4]_1 ;
  input [0:0]\bmg_count_reg[4]_2 ;
  input [0:0]\bmg_count_reg[4]_3 ;
  input [0:0]\rdaddr_int_reg[8]_1 ;

  wire [31:0]D;
  wire [0:0]E;
  wire [0:0]\GEN_ASYNC_RESET.scndry_resetn_reg ;
  wire [0:0]\GEN_CH1_FETCH.MM2S_GEN[0].ch_mm2s_ftch_idle[0]_i_2 ;
  wire [0:0]\GEN_CH1_FETCH.MM2S_GEN[0].ch_mm2s_ftch_idle[0]_i_2_0 ;
  wire \GEN_CH1_FETCH.MM2S_GEN[0].ch_mm2s_ftch_idle[0]_i_2_1 ;
  wire [0:0]\GEN_CH1_FETCH.MM2S_GEN[0].service_ch_mm2s_i2_reg[0] ;
  wire \GEN_DESC_UPDT_QUEUE.s2mm_pending_pntr_updt_reg ;
  wire \GEN_MM2S_FTCH_Q_IF.FTCH_QUEUE_I_n_54 ;
  wire \GEN_NO_UPR_MSB_NXTDESC.mm2s_nxtdesc_wren_reg_0 ;
  wire \GEN_NO_UPR_MSB_NXTDESC.s2mm_nxtdesc_wren_reg_0 ;
  wire \GEN_NO_UPR_MSB_NXTDESC.s2mm_nxtdesc_wren_reg_1 ;
  wire \GEN_STALE_DESC_CHECK.ftch_stale_desc_i_2_n_0 ;
  wire \GEN_STALE_DESC_CHECK.ftch_stale_desc_i_3_n_0 ;
  wire \GEN_STALE_DESC_CHECK.ftch_stale_desc_reg_0 ;
  wire [1:0]Q;
  wire \bmg_count_reg[0] ;
  wire \bmg_count_reg[1] ;
  wire \bmg_count_reg[3] ;
  wire \bmg_count_reg[4] ;
  wire [0:0]\bmg_count_reg[4]_0 ;
  wire [0:0]\bmg_count_reg[4]_1 ;
  wire [0:0]\bmg_count_reg[4]_2 ;
  wire [0:0]\bmg_count_reg[4]_3 ;
  wire ch2_writing_curdesc;
  wire [0:0]ch_s2mm_ftch_active;
  wi