TT Zephyr Platforms 18.11.99
Tenstorrent Firmware
Loading...
Searching...
No Matches
noc.h File Reference
#include <stdint.h>

Go to the source code of this file.

Macros

#define NOC_H_INCLUDED
#define NUM_NOCS   2
#define NOC_X_SIZE   17
#define NOC_Y_SIZE   12
#define NIU_CFG_0_AXI_SLAVE_ENABLE   15
#define NOC0_X_TO_NOC1(x)
#define NOC0_Y_TO_NOC1(y)

Functions

uint64_t NiuRegsBase (uint8_t px, uint8_t py, uint8_t noc_id)
uint64_t OverlayRegsBase (uint8_t px, uint8_t py)
uint8_t PhysXToNoc (uint8_t px, uint8_t noc_id)
uint8_t PhysYToNoc (uint8_t py, uint8_t noc_id)
uint8_t NocToPhysX (uint8_t nx, uint8_t noc_id)
uint8_t NocToPhysY (uint8_t ny, uint8_t noc_id)
uint8_t TensixPhysXToNoc (uint8_t px, uint8_t noc_id)
uint8_t TensixPhysYToNoc (uint8_t py, uint8_t noc_id)
uint8_t NocToTensixPhysX (uint8_t x, uint8_t noc_id)
void GetGddrNocCoords (uint8_t gddr_inst, uint8_t noc2axi_port, uint8_t noc_id, uint8_t *x, uint8_t *y)
void GetEthNocCoords (uint8_t eth_inst, uint8_t noc_id, uint8_t *x, uint8_t *y)
void GetSerdesNocCoords (uint8_t serdes_inst, uint8_t noc_id, uint8_t *x, uint8_t *y)

Macro Definition Documentation

◆ NIU_CFG_0_AXI_SLAVE_ENABLE

#define NIU_CFG_0_AXI_SLAVE_ENABLE   15

◆ NOC0_X_TO_NOC1

#define NOC0_X_TO_NOC1 ( x)
Value:
(NOC_X_SIZE - (x) - 1)
#define NOC_X_SIZE
Definition noc.h:12

◆ NOC0_Y_TO_NOC1

#define NOC0_Y_TO_NOC1 ( y)
Value:
(NOC_Y_SIZE - (y) - 1)
#define NOC_Y_SIZE
Definition noc.h:13

◆ NOC_H_INCLUDED

#define NOC_H_INCLUDED

◆ NOC_X_SIZE

#define NOC_X_SIZE   17

◆ NOC_Y_SIZE

#define NOC_Y_SIZE   12

◆ NUM_NOCS

#define NUM_NOCS   2

Function Documentation

◆ GetEthNocCoords()

void GetEthNocCoords ( uint8_t eth_inst,
uint8_t noc_id,
uint8_t * x,
uint8_t * y )

◆ GetGddrNocCoords()

void GetGddrNocCoords ( uint8_t gddr_inst,
uint8_t noc2axi_port,
uint8_t noc_id,
uint8_t * x,
uint8_t * y )

◆ GetSerdesNocCoords()

void GetSerdesNocCoords ( uint8_t serdes_inst,
uint8_t noc_id,
uint8_t * x,
uint8_t * y )

◆ NiuRegsBase()

uint64_t NiuRegsBase ( uint8_t px,
uint8_t py,
uint8_t noc_id )

◆ NocToPhysX()

uint8_t NocToPhysX ( uint8_t nx,
uint8_t noc_id )

◆ NocToPhysY()

uint8_t NocToPhysY ( uint8_t ny,
uint8_t noc_id )

◆ NocToTensixPhysX()

uint8_t NocToTensixPhysX ( uint8_t x,
uint8_t noc_id )

◆ OverlayRegsBase()

uint64_t OverlayRegsBase ( uint8_t px,
uint8_t py )

◆ PhysXToNoc()

uint8_t PhysXToNoc ( uint8_t px,
uint8_t noc_id )

◆ PhysYToNoc()

uint8_t PhysYToNoc ( uint8_t py,
uint8_t noc_id )

◆ TensixPhysXToNoc()

uint8_t TensixPhysXToNoc ( uint8_t px,
uint8_t noc_id )

◆ TensixPhysYToNoc()

uint8_t TensixPhysYToNoc ( uint8_t py,
uint8_t noc_id )