PEC_VAL

code: 1680

# set
<module-index>/<port-index> PEC_VAL [<custom_distribution_index>] <linear> <symmetric> <entry_count> <data_x>

# get
<module-index>/<port-index> PEC_VAL [<custom_distribution_index>] ?

Description

Definition of custom distribution. Custom distributions can be defined for latency with 1024 entries and for non-latency impairments with 512 entries. Each port will maintain a list of defined custom distributions, identified by an CUST_ID. (Range: 1 - 40).

Actions

set, get

Parameters

  1. linear: byte, defines the way the FPGA RAM content is played out

  • OFF = 0

  • ON = 1

  1. symmetric: byte, reserved for future use, must be set to 0.

  • OFF = 0

  • ON = 1

  1. entry_count: integer, defines the number of entries in data_x (allowed value: 512,1024). For Latency, 1024 entries are used, and for rest, 512 entries are used.

  2. data_x: long integer list, array size equals to entry_count, holds values to be filled in the RAM memory.

Example

# set
input:  0/1 PEC_VAL [0] OFF OFF 2 0 1
output: <OK>

# get
input:  0/1 PEC_VAL [0] ?
output: 0/1 PEC_VAL [0] OFF OFF 2 0 1