noc_async_write_page
-
template<typename AddrGen, bool enable_noc_tracing = true, bool posted = false>
void noc_async_write_page(const uint32_t id, const AddrGen &addrgen, uint32_t src_local_l1_addr, uint32_t size = 0, uint32_t offset = 0, uint8_t noc = noc_index)
-
Initiates an asynchronous write for a single packet with transaction size and destination location determined by the AddrGen object. This function is the generic implementation that can be used with any address generator that provides the get_noc_addr method and either a page_size or a log_base_2_of_page_size member variable. It is designed to be flexible and can be used with various address generators. Note that providing the size argument is optional, and if provided, it will override the default page size of the address generator.
Return value: None
Argument Description
id Page id
addrgen Address generator object
src_local_l1_addr Address in local L1 memory
size Size of data in bytes
offset Custom address offset
noc Which NOC to use for the transaction
AddrGen (template parameter) Address generator class
enable_noc_tracing (template parameter) NOC tracing enable
posted (template parameter) Whether the write is posted (i.e. no ack required)