FPGA multiple cores optimized