NXGE_INT_MAX_LDG
endldg = NXGE_INT_MAX_LDG;
uint16_t ldg[NXGE_INT_MAX_LDG];
#define LDG_VALID(n) (n < NXGE_INT_MAX_LDG)