noc_async_read_one_packet_set_state

template<bool use_vc = false>
void noc_async_read_one_packet_set_state(uint64_t src_noc_addr, uint32_t size, const uint32_t vc = 0, uint8_t noc = noc_index)

Sets the stateful registers for an asynchronous read for a single packet with size <= NOC_MAX_BURST_SIZE (i.e. maximum packet size). Refer to noc_async_read_set_state for more details.

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

size

Size of data transfer in bytes

uint32_t

0..1MB

True

vc

Which VC to use for the transaction

uint32_t

0-3 (Unicast VCs)

False

noc

Which NOC to use for the transaction

uint8_t

0 or 1

False

max_page_size (template argument)

Maximum size of a single transaction in bytes

uint32_t

Any uint32_t number

False

use_vc (template argument)

Enable custom VC usage

bool

True or False

False