High-speed torus interconnect on FPGAs