pothos-zynq: refactor working