
8201, 8202, 8203, 8204 Acceleration Processor Data Sheet, DS-0157-05
Page 68
Exar Confidential
Table 3-2. PAD_AG[3:0] Field Decoding
Encode/
Decode
ESP
PAD_AG
[3:0]
Description
Encode
0
0000
Padding value is 0 - 255.
For example, if 5 bytes are required to pad out to modulo 8, 5 bytes
will be inserted, the padding will be 00, 01, 02, 03, 04.
0001
Padding value 1 - 255 - 0.
For example, If padding 256 bytes, the padding will be 1, 2, 3, ...
255, 0.
0010
Padding with same value, the value is the number of bytes inserted.
For example, If 5 bytes are required to pad out to modulo 8, 5
bytes will be inserted, the padding will be 05, 05, 05, 05, 05.
0011
Padding will be all zeroes.
For example, If 5 bytes are required to pad out to modulo 8, 5
bytes will be inserted, the padding will be 00, 00, 00, 00, 00.
0100
Padding with number of bytes minus one inserted.
For example, If 5 bytes are required to pad out to modulo 8, 5
bytes will be inserted, the padding will be 04, 04, 04, 04, 04.
1000
Padding value 0 - 255, with pad length field.
For example, If 5 bytes are required to pad out to modulo 8, 5
bytes will be inserted, the padding will be 00, 01, 02, 03, 04.
1001
Padding value 1 - 255 - 0, with pad length field.
For example, If 5 bytes are required to pad out to modulo 8, 5
bytes will be inserted, the padding will be 01, 02, 03, 04, 04.
1010
Padding with same value, the value is the number of bytes inserted,
with pad length field.
For example, If 5 bytes are required to pad out to modulo 8, 5
bytes will be inserted, the padding will be 05, 05, 05, 05, 05.
1011
Padding with all zero, with pad length field.
For example, If 5 bytes are required to pad out to modulo 8, 5
bytes will be inserted, the padding will be 00, 00, 00, 00, 04.
1100
Padding with number of bytes inserted minus 1, with pad length
field.
For example, If 5 bytes are required to pad out to modulo 8, 5
bytes will be inserted, the padding will be 04, 04, 04, 04, 04.
All
others
Reserved.