Added type signatures to properly pass (64 bit) pointers for *data. Send/recv was failing in driver when a truncated address was passed. This probably could affect any 64 bit system depending on where memory was allocated, though only saw it on x64 Ubuntu 14.04.
Not sure about passing *fpga, but set it to a pointer anyway.
Changed to truncating division to support python 3. Normal Division in python 3 returns a float which could cause problems.
Added type signatures to properly pass (64 bit) pointers for *data. Send/recv was failing in driver when a truncated address was passed. This probably could affect any 64 bit system depending on where memory was allocated, though only saw it on x64 Ubuntu 14.04.
Not sure about passing *fpga, but set it to a pointer anyway.
Changed to truncating division to support python 3. Normal Division in python 3 returns a float which could cause problems.