const_logic_0;
            else
                if ((((ap_sig_ioackin_CUDma_WREADY = ap_const_logic_1) and (ap_const_logic_1 = ap_CS_fsm_state34)) or ((ap_const_boolean_0 = ap_block_pp0_stage0_11001) and (ap_enable_reg_pp0_iter2 = ap_const_logic_1) and (ap_reg_pp0_iter1_tmp_32_reg_1151 = ap_const_lv1_1)))) then 
                    ap_reg_ioackin_CUDma_WREADY <= ap_const_logic_0;
                elsif ((((ap_const_logic_1 = CUDma_WREADY) and (ap_const_logic_1 = ap_CS_fsm_state34)) or ((ap_const_boolean_0 = ap_block_pp0_stage0_01001) and (ap_const_logic_1 = CUDma_WREADY) and (ap_enable_reg_pp0_iter2 = ap_const_logic_1) and (ap_reg_pp0_iter1_tmp_32_reg_1151 = ap_const_lv1_1)))) then 
                    ap_reg_ioackin_CUDma_WREADY <= ap_const_logic_1;
                end if; 
            end if;
        end if;
    end process;


    SlotOffset_n_reg_288_assign_proc : process (ap_clk)
    begin
        if (ap_clk'event and ap_clk = '1') then
            if ((not(((ap_const_logic_0 = CUDma_BVALID) and (bit_reg_994 = ap_const_lv1_1))) and (ap_const_logic_1 = ap_CS_fsm_state39))) then 
                SlotOffset_n_reg_288 <= SlotOffset_n_1_fu_913_p2;
            elsif ((ap_const_logic_1 = ap_CS_fsm_state2)) then 
                SlotOffset_n_reg_288 <= ap_const_lv32_0;
            end if; 
        end if;
    end process;

    i_reg_300_assign_proc : process (ap_clk)
    begin
        if (ap_clk'event and ap_clk = '1') then
            if ((not(((ap_const_logic_0 = CUDma_BVALID) and (bit_reg_994 = ap_const_lv1_1))) and (ap_const_logic_1 = ap_CS_fsm_state39))) then 
                i_reg_300 <= i_1_reg_989;
            elsif ((ap_const_logic_1 = ap_CS_fsm_state2)) then 
                i_reg_300 <= ap_const_lv8_0;
            end if; 
        end if;
    end process;

    idxloopcount_fu_158_assign_proc : process (ap_clk)
    begin
        if (ap_clk'event and ap_clk = '1') then
            if (((ap_sig_ioackin_CUDma_AWREADY = ap_const_logic_1) and (ap_const_logic_1 = ap_CS_fsm_state33))) then 
                idxloopcount_fu_158 <= idxloopcount_4_reg_1092;
            elsif (((ap_start = ap_const_logic_1) and (ap_const_logic_1 = ap_CS_fsm_state1))) then 
                idxloopcount_fu_158 <= ap_const_lv8_0;
            end if; 
        end if;
    end process;

    j_reg_311_assign_proc : process (ap_clk)
    begin
        if (ap_clk'event and ap_clk = '1') then
            if ((ap_const_logic_1 = ap_CS_fsm_state21)) then 
                j_reg_311 <= j_1_reg_1072;
            elsif ((ap_const_logic_1 = ap_CS_fsm_state19)) then 
                j_reg_311 <= ap_const_lv3_0;
            end if; 
        end if;
    end process;

    k_reg_322_assign_proc : process (ap_clk)
    begin
        if (ap_clk'event and ap_clk = '1') then
            if (((idxbit_fu_803_p1 = ap_const_lv1_0) and (ap_const_logic_1 = ap_CS_fsm_state22) and (tmp_17_fu_762_p2 = ap_const_lv1_1))) then 
                k_reg_322 <= k_1_fu_767_p2;
            elsif ((not(((ap_const_logic_0 = CQDma_RVALID) and (tmp_9_fu_545_p2 = ap_const_lv1_1))) and (ap_coŶSPA30g񈚬