ADSP-BF537 Blackfin Processor Hardware Reference
8-73
Ethernet MAC
The 32-bit CRC register is initialized to all 1s. Then each input bit is pro-
cessed as follows: first, the register is shifted left one place, shifting in a
zero and shifting out the former MSB. The bit just shifted out is XORed
with the current input bit, yielding the feedback bit. If this feedback bit is
a 1, then the shift register contents are XORed with the generator polyno-
mial value:
0x04C1 1BD7 = 0000 0100 1100 0001 0001 1101 1011 0111
Following this procedure, the CRC-32 for the MAC address is calculated.
See
The resulting six MSBs are 101001 = 0x29 = 41 decimal. The hash bin
enable bit for this address is then bit 41 – 32 = 9 of the
EMAC_HASHHI
register.
Table 8-11. CRC-32 Calculation
Bit
Number
Input Bit MSB Bit
Feedback
Bit
Next CRC Shift Register
Start
1111 1111 1111 1111 1111 1111 1111 1111
0
1
1
0
1111 1111 1111 1111 1111 1111 1111 1110
1
0
1
1
1111 1011 0011 1110 1110 0010 0100 1011
2
0
1
1
1111 0010 1011 1100 1101 1001 0010 0001
3
0
1
1
1110 0001 1011 1000 1010 1111 1111 0101
4
0
1
1
1100 0111 1011 0000 0100 0010 0101 1101
5
0
1
1
1000 1011 1010 0001 1001 1001 0000 1101
6
0
1
1
0001 0011 1000 0010 0010 1111 1010 1101
7
0
0
0
0010 0111 0000 0100 0101 1111 0101 1010
...
46
0
1
1
1101 0011 1001 0111 1111 0100 0100 1001
47
1
1
0
1010 0111 0010 1111 1110 1000 1001 0010
Summary of Contents for Blackfin ADSP-BF537
Page 42: ...Contents xlii ADSP BF537 Blackfin Processor Hardware Reference ...
Page 90: ...Development Tools 1 32 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 138: ...Programming Examples 4 26 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 340: ...SDC Programming Examples 6 84 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 606: ...Programming Examples 9 94 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 660: ...Programming Examples 10 54 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 720: ...Electrical Specifications 11 60 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 840: ...Programming Examples 13 42 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 876: ...Programming Examples 14 36 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 938: ...Programming Examples 15 62 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 958: ...Programming Examples 17 12 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 986: ...Programming Examples 18 28 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 1162: ...G 26 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 1218: ...Index I 56 ADSP BF537 Blackfin Processor Hardware Reference ...