FPGA code for the Vitec card