IP for encoder FIFO