Block TEST_CHECK


General

Function Generation of the test sequence
Modification 1
Version 1.0
ID 0x1B
 

Register

Number Name Description

  Constant

0 BLOCK_ID 0xX01A  The ID of the control block
1 BLOCK_VER 0x0100  Version of the control block
2      
3      
4      
5      
6      
7      
   Operations register
8 TEST_CHECK_CTRL  Control of the TEST_CHECK
9 TEST_CHECK_SIZE  Size of the data block
0x0A TEST_CHECK_ERR_ADR  Word address in a result memory
0x0B    
0x0C    
0x0D    
0x0E    
0x0F    

 Direct registers

0x10 TEST_CHECK_BL_RD  The number of received data block
0x11 TEST_CHECK_BL_OK  The number of correct data block
0x12 TEST_CHECK_BL_ERROR  The number of failure data block
0x13 TEST_CHECK_TOTAL_ERROR  The total number of errors
0x14 TEST_CHECK_ERROR_DATA  Word from a result memory
0x15    
0x16    
0x17    
0x18    
0x19    
0x1A    
0x1B    
0x1C    
0x1D    
0x1E    
0x1F    

Description

Block TEST_CHECK is designed to test the test sequence.

The algorithm works:

The test sequence is a set of data blocks.
The block size is specified multiple of the size of 4 kilobytes
(512 words by 64 bits)
The first 64-bit word in the block contains the signature and serial number:

Contents of the block depends on its number in the sequence.

The contents of the data block:

 

Description of the register

BLOCK_ID

 Bit Name Description
11..0 ID  The ID of the control block
15..12 MOD  Number of modification

 

BLOCK_VER

 Bit Name Description
7..0 V0  Field V0
15..8 V1  Field V1

Version: V1.V0

TEST_CHECK_CTRL

 Bit Name Description
0 RESET 1 - reset
3..1 -
4 -
5 START 1 - enable
6 -
7 FIX_MODE 1 - fixed data block type
11..8 BLOCK_MODE Number of type data block at FIX_MODE=1
15..12 -

 

 

TEST_CHECK_SIZE

 Bit Name Description
15..0 SIZE Size of data block

Size of a block is specified in units of 4 kilobytes. A value of 1 corresponds to a block size of 4 kilobytes.

 

TEST_CHECK_BL_RD

 Bit Name Description
31..0 CNT  The number of received data block

 

 

 TEST_CHECK_BL_OK

 Bit Name Description
31..0 CNT  The number of correct data block

 

Регистр TEST_CHECK_BL_ERROR

 Bit Name Description
31..0 CNT  The number of failure data block

 

 

TEST_CHECK_TOTAL_ERROR

 Bit Name Description
31..0 CNT  The total number of errors

 

 

TEST_CHECK_ERROR_ADR

 Bit Name Description
3..0 ADR_WORD Word address
7..4 NUM_ERROR Number of error
15..8 -

Register contains the address to access the result memory.

Format word in the result memory

ADR_WORD Name Description
0 DATA_IN[15..0]  Word received from the test sequence
1 DATA_IN[31..16]
2 DATA_IN[47..32]
3 DATA_IN[63..48]
4 DATA_EXPECT[15..0]  Expected word in the test sequence
5 DATA_EXPECT[31..16]
6 DATA_EXPECT[47..32]
7 DATA_EXPECT[63..48]
8 ADR[15..0]  Address within the data block
9 ADR[31..16]
10 BLOCK[15..0]  Block number
11 BLOCK[31..16]

 

 

TEST_CHECK_ERROR_DATA

 Bit Name Description
15..0 DATA  Word from a result memory

 

 

Version history

1.0 10.11.2011 Basic version