Added support for multiple FPGAs.