def METHOD_NAME(self, target, args):
    self.mux_interface = iface = target.multiplexer.claim_interface(self, args)
    iface.add_subtarget(JTAGOpenOCDSubtarget(
        pads=iface.get_pads(args, pins=self.__pins),
        out_fifo=iface.get_out_fifo(),
        in_fifo=iface.get_in_fifo(),
        period_cyc=int(target.sys_clk_freq // (args.frequency * 1000)),
    ))