Generic packet properties – Teledyne LeCroy Automation API for IBTrainer Software Ver.2.0 User Manual

Page 158

Advertising
background image

Properties and Programmatic Settings

Packet Properties

4-12

CATC IBTrainer InfiniBand Exerciser API Reference

Generic Packet Properties

Packet properties consist of pure packet properties as well as header
and payload settings necessary to make up an InfiniBand packet.

Table 12 Property List (Generic Portion)

Property Name

Range

Default

Description

IGP_InterPacketDelayOffset

0 - 3

0

Inter Packet Delay (before this packet). The real
value ‘d’ for the delay is calculated using the
following formula:
d = offset + 8

exponent

- 1

IGP_InterPacketDelayExponent

0 - 7

0

See property above.

IGP_Repeat

0 - 3

0

Defines the repeat counter to be taken for this
packet. A value of 0 means a fix repeat value of 1.
All other repeat counter values can be set as
generator properties.

IGP_InsertError

0 – 6

0 = no
error

Code for the error to be inserted at the end of the
packet. For a detailed list of error codes see error
list (next table).

IGP_BadICRC

0 – 1

Create bad ICRC.

IGP_BadVCRC

0 – 1

Create bad VCRC.

IGP_IgnoreCredit

0 – 1

Ignore Credit status (send anyway).

IGP_AutoCalculatePSN

0 - 1

1

Calculate the PSN automatically starting with a
generic start value out of a register.

IGP_PayloadSize

0 - 4096 0

Payload Size in Bytes.

IGP_UsePRBS

0 - 1

0

Use PRBS instead of programmed payload.

IGP_WaitTriggerIn

0 - 1

0

Wait for trigger in.

IGP_AssertTriggerOut

0 – 1

0

Assert trigger out (at beginning of packet before
inter packet delay starts).

IGP_WaitStep

0 - 1

0

Wait for a TransmitStep event (puts a packet on
hold until the user issues a TransmitStep call or a
pattern term asserts this signal, which allows
waiting for software controlled acknowledges or
specific external events (via pattern term).

Advertising