Remove compile warnings in fpga code