rtio-nmigen/artiq/gateware/rtio/cri.py