
R01UH0336EJ0102 Rev.1.02
Page 379 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 11 Data CRC Function A (DCRA)
11.2 Functional Overview
Features
summary
The data CRC function A can be used to verify or generate CRC protected
data streams of arbitrary length and different bit widths.
• 32-bit Ethernet CRC (04C11DB7
H
)
(X
32
+ X
26
+ X
23
+ X
22
+ X
16
+ X
12
+ X
11
+ X
10
+ X
8
+ X
7
+ X
5
+ X
4
+ X
2
+ X
1
+ 1)
XOR of the result for the generated CRC code and FFFFFFFF
H
• 16-bit CCITT CRC (1021
H
)
(X
16
+ X
12
+ X
5
+ 1)
XOR of the result for the generated CRC code and 0000
H
• CRC generation to an arbitrary data block length
• After initialization of the CRC input register, every write access to the CRC
input register generates a new CRC according to the chosen polynomial
and the result is stored in the CRC data register.
Calculation result (DCRAnCOUT)
Shift register
Input data (DCRAnCIN)
(for 8-bit effective bit width)
31
30
29 28
27
26 25
24
23 22
21
20
19 18 1716
15 141312 1110
9
8 7 6
5 4 3 2 1 0
5 4 3 2 1 0
7 6
: EXOR
Calculation result (DCRAnCOUT)
Shift register
15 141312
1110 9 8 7 6 5
4 3 2 1 0
Input data (DCRAnCIN)
(for 8-bit effective bit width)
5 4 3 2 1 0
7 6
: EXOR