beautypg.com

5 corrupt_shp_framing, Corrupt_shp_framing – Teledyne LeCroy Voyager Exerciser Generation Script Language Manual User Manual

Page 155

background image

Teledyne LeCroy

Voyager USB 3.0 Exerciser Generation Script Language Reference Manual

146


12.1.5 CORRUPT_SHP_FRAMING

(Offset in the Register Area: 0x0124)
This command forces the link layer to send Header Packet with one invalid symbol in SHP framing
sequence. Any symbol of the framing sequence can be selected (using Bitmap field) to be replaced by
specified symbol (K and 8b fields). All the other details are just similar to Error! Reference source not
ound.
.

MSB

LSB

8b

K

US

R

Reserved

Bitmap

31

30

29

28

27

26

25

24

23

22

21

20

19

18

17

16

Count

Reserved

ONC

E

Reserved

INF

EN

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0


Bit Location

Register Description

Attributes

0

EN
0: Disable (stop error injection), 1: Enable (run error
injection)
This bit will be cleared automatically when the INF bit is not
set and the Count value is reached down to zero.

RW

1

INF
0: Run the command for the number of times specified in the
Count field, 1: Run the command for infinite times until the
EN bit is set.

RW

3:2

Reserved, filled by 0

RO

4

ONCE
This bit shows that the error has been injected at least once
from the last time EN has been set. It will be cleared
whenever a value 1 is written to EN.

RO

7:5

Reserved, filled by 0

RO

15:8

Count
Number of times the error should be injected if the MODE is
1. When read, it shows number of times remained yet to
finish the requested count.

RW

19:16

Bitmap
This field determines which symbols in the framing
sequence should be corrupted. Bit 16 corresponds to first
framing symbol in the sequence and bit 19 corresponds to
EPF. SW should always write a non-zero value into this
field, otherwise, it will not inject any error.

RW

21:20

Reserved, filled by 0

RO

22

USR
1: Use user-defined pattern
0: Use default pattern

RW

23

K
0: D-Code, 1: K-Code

RW

31:24

8b
8-bit code of substituting pattern

RW