コード例 #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()
コード例 #2
0
 def _disable(obj, ports):  # noqa: B902
     """ Disable prbs for given [port(s)] """
     port.PortPrbsCmd(obj, obj.component, ports).set_prbs(False)
コード例 #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()
コード例 #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)