noc_async_read_with_state

template<bool inc_num_issued = true>
void noc_async_read_with_state(uint32_t src_local_l1_addr, uint32_t dst_local_l1_addr, uint32_t size, uint8_t noc = noc_index)

Initiates an asynchronous read from a specified source node located at NOC coordinates (x,y) at a local address (encoded as a uint64_t using get_noc_addr function). This function must be preceded by a call to noc_async_read_set_state. This function is used to issue the actual read request after the state has been set up. noc_async_read can be used instead if the state preservation is not needed. Also, see noc_async_read_barrier.

Return value: None

Argument Description

src_local_l1_addr Address in local L1 memory on source core

dst_local_l1_addr Address in local L1 memory on destination core

size Size of data transfer in bytes

noc Which NOC to use for the transaction

inc_num_issued (template argument) Whether issued read counter should be increment