PP_PRBSTYPE#

code: 378

# set
<module-index>/<port-index> PP_PRBSTYPE <prbs_inserted_type> <polynomial> <invert> <statistics_mode>

# get
<module-index>/<port-index> PP_PRBSTYPE ?

Description#

Defines the PRBS type used when the interface is in PRBS mode.

Actions#

set, get

Parameters#

  1. prbs_inserted_type`: byte, specifying where the PRBS is inserted

  • CAUI_VIRTUAL = 0

  • PHY_LINE = 1

  • PHY_HOST = 2

  • TCVR = 3

  1. polynomial: byte, specifying which PRBS that is used

  • PRBS7 = 0

  • PRBS9 = 1

  • PRBS11 = 2

  • PRBS15 = 3

  • PRBS23 = 4

  • PRBS31 = 5

  • PRBS58 = 6

  • PRBS49 = 7

  • PRBS10 = 8

  • PRBS20 = 9

  • PRBS13 = 10

  • SSPRQ  = 24

  • SQUARE_WAVE = 25

  1. invert: byte, specifying if the PRBS is inverted

  • NON_INVERTED = 0

  • INVERTED = 1

  1. statistics_mode: byte, specifying PRBS statistics mode, accumulative or for last second

  • ACCUMULATIVE = 0

  • PERSECOND = 1

Example#

# set
input:  0/1 PP_PRBSTYPE CAUI_VIRTUAL PRBS7 NON_INVERTED ACCUMULATIVE
output: <OK>

# get
input:  0/1 PP_PRBSTYPE ?
output: 0/1 PP_PRBSTYPE CAUI_VIRTUAL PRBS7 NON_INVERTED ACCUMULATIVE