change memory in fap to fpga version.