dtsevas By using this python code: https://git.m-labs.hk/M-Labs/artiq-zynq/issues/355#issuecomment-13514