genlib/fifo: add replace command to sync FIFO