noc_async_read_set_state

void noc_async_read_set_state(uint64_t src_noc_addr, uint8_t noc = noc_index)

Sets the stateful registers for 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 is used to set up the state for noc_async_read_with_state, which will issue the actual read request. noc_async_read can be used instead if the state preservation is not needed. Also, see noc_async_read_barrier.

The source node can be either a DRAM bank, a Tensix core or a PCIe controller.

Return value: None

Argument

Description

Data type

Valid range

required

src_noc_addr

Encoding of the source NOC location (x,y)+address

uint64_t

Results of get_noc_addr calls

True

noc

Which NOC to use for the transaction

uint8_t

0 or 1

False