Typedef idx_t

typedef logic [$clog2(NoRegs)-1:0] idx_t;