switch to FPGA from python