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

Data type

Valid range

required

src_local_l1_addr

Address in local L1 memory on source core

uint32_t

0..1MB

True

dst_local_l1_addr

Address in local L1 memory on destination core

uint32_t

0..1MB

True

size

Size of data transfer in bytes

uint32_t

0..1MB

True

noc

Which NOC to use for the transaction

uint8_t

0 or 1

False

inc_num_issued (template argument)

Whether issued read counter should be increment

uint32_t

Any uint32_t number

False