8201, 8202, 8203, 8204 Acceleration Processor Data Sheet, DS-0157-05
Page 98
Exar Confidential
The Valid bit in the CMD_IDX[14:0] field informs the host software that the corresponding
command has finished and indicates that there are valid entries in the result ring. The value
of the Valid bit toggles every time the result ring is completely used, i.e., the 820x write
pointer has wrapped the ring. For example, for the first pass through the result ring the
value of the Valid bit indicating valid entries is one. After the 820x’s write pointer wraps
Table 3-5. GZIP Decode Error Table
Error Code
Bits
Code Definition
6-bit
signed
Value
Comment
0X_XXXX
No error
0 -31
11_1111
SYS_GENERAL_ERROR
-1
Not used.
11_1110
SYS_BAD_MAGIC_NUMBER
-2
Incorrect magic number
11_1101
SYS_BAD_GZIP_HEADER
-3
Bad compression mode or flags
11_1100
SYS_BAD_FILE_NAME
-4
Extra length greater than file length
11_1011
SYS_BAD_FCOMMENT
-5
Extra length greater than file length
11_1010
SYS_BAD_EXTRA
-6
Extra length greater than file length
11_1001
SYS_BAD_LENDIS
-7
Bad length or distance
11_1000
SYS_STC_INVALID_SYMBOL
-8
Static, invalid OP field
11_0111
SYS_STC_INVALID_DISTAN
CE
-9
Static, invalid OP field
11_0110
SYS_STO_LEN_MISMATCH
-10
STORED LEN (bypass mode) does not
match NLEN
11_0101
SYS_BAD_BLOCK_TYPE
-11
Block type 3 detected
11_0100
SYS_BAD_NO_DYN_SUPP
-12
Attempt dynamic frame with no support.
Only valid for cores built without dynamic
support.
11_0011
SYS_DYN_NO_LAST_LENGT
H
-13
No last length in dynamic mode
11_0010
SYS_DYN_NLEN_OR_NDIST
-14
NLEN > MAXLCODES or
NDIST > MAXDCODES
11_0001
SYS_DYN_INVALID_CODE_L
EN
-15
Invalid code lengths
11_0000
STS_DYN_TOO_MANY_LENG
TH
-16
Invalid code lengths
10_1111
STS_DYN_INVALID_CODE_L
EN
-17
Not used
10_1110
STS_DYN_TOO_MANY_LENS
-18
Not used
10_1101
STS_DYN_OVER_SUBSCRIBE
D
-19
Oversubscribed set of lengths
10_1100
STS_DYN_INCOMPLETE_SET
-20
Incomplete set of lengths
10_1011
STS_DYN_ENOUGH_NOT_EN
OUGH
-21
Not enough space for dynamic table
10_1010
STS_DYN_UNEXPECTED_EN
D_OF_STREAM
-22
No more data present in stream
10_1001 to
10_0000
Not defined
-23 to -
32
Not used