mods for XUPV5 FPGA