def METHOD_NAME(nwords):
    pt = PacketInterface("s2m", nwords*8)
    pr = PacketInterface("m2s", nwords*8)
    ts = Signal(64)
    dut = ClockDomainsRenamer({"rtio_rx": "sys"})(
        RTPacketRepeater(
            SimpleNamespace(coarse_ts=ts),
            SimpleNamespace(
                rx_rt_frame=pt.frame, rx_rt_data=pt.data,
                tx_rt_frame=pr.frame, tx_rt_data=pr.data)))
    return pt, pr, ts, dut