get_noc_addr_from_bank_id
-
template<bool DRAM>
uint64_t get_noc_addr_from_bank_id(uint32_t bank_id, uint32_t bank_address_offset, uint8_t noc = noc_index)
-
Get an encoding for a noc address using DRAM/L1 bank id. Uses addrgen tables to convert bank_ids to physical NOC coordinates
Return value: uint64_t
Argument Description
bank_id DRAM/L1 bank id
bank_address_offset DRAM/L1 bank address offset
noc Which NOC to use for the transaction
DRAM (template argument) Signifies if address is from DRAM or L1