HDL code for the MTF7 Virtex FPGA used in OMTF trigger