get_noc_addr

std::uint64_t get_noc_addr(std::uint32_t noc_x, std::uint32_t noc_y, std::uint32_t addr, uint8_t noc = noc_index)

Get an encoding for a noc address which contains core and L1 address.

Return value: uint64_t

Argument

Description

Data type

Valid range

required

noc_x

Physical x coordinate of core

uint32_t

WH: 0-9, BH: 0-16

True

noc_y

Physical y coordinate of core

uint32_t

WH: 0-11, BH: 0-11

True

addr

Address in local L1 memory

uint32_t

0..1MB

True

noc

Which NOC to use for the transaction

uint8_t

0 or 1

False