def METHOD_NAME(self, pads):
    self.cpu_params.update(
        i_SWDITMS  = pads.tms,
        i_TDI      = pads.tdi,
        o_TDO      = pads.tdo,
        o_nTDOEN   = Open(),
        i_nTRST    = pads.ntrst,
        i_SWCLKTCK = pads.tck,
        o_JTAGNSW  = Open(),  # Indicates debug mode, JTAG or SWD
        o_JTAGTOP  = Open(),  # ?
        o_SWDO     = Open(),  # TODO
        o_SWDOEN   = Open(),  # TODO
    )