Esempio n. 1
0
 def _clear(obj, ports):  # noqa: B902
     """ Clear stats of prbs for given [port(s)] """
     port.PortPrbsCmd(obj, obj.component, ports).clear_prbs_stats()
Esempio n. 2
0
 def _disable(obj, ports):  # noqa: B902
     """ Disable prbs for given [port(s)] """
     port.PortPrbsCmd(obj, obj.component, ports).set_prbs(False)
Esempio n. 3
0
    def _stats(obj, ports):  # noqa: B902
        """ Get stats of prbs for given [port(s)] """

        port.PortPrbsCmd(obj, obj.component, ports).get_prbs_stats()
Esempio n. 4
0
 def _enable(obj, ports, p):  # noqa: B902
     """ Enable prbs for given [port(s)] """
     port.PortPrbsCmd(obj, obj.component, ports).set_prbs(True, p)