def _clear(obj, ports): # noqa: B902 """ Clear stats of prbs for given [port(s)] """ port.PortPrbsCmd(obj, obj.component, ports).clear_prbs_stats()
def _disable(obj, ports): # noqa: B902 """ Disable prbs for given [port(s)] """ port.PortPrbsCmd(obj, obj.component, ports).set_prbs(False)
def _stats(obj, ports): # noqa: B902 """ Get stats of prbs for given [port(s)] """ port.PortPrbsCmd(obj, obj.component, ports).get_prbs_stats()
def _enable(obj, ports, p): # noqa: B902 """ Enable prbs for given [port(s)] """ port.PortPrbsCmd(obj, obj.component, ports).set_prbs(True, p)