Ethernet.....10 POINTS for PROVING CRC...........CALCULATION

Status
Not open for further replies.

Guru59

Full Member level 4
Joined
Jul 10, 2006
Messages
217
Helped
7
Reputation
14
Reaction score
3
Trophy points
1,298
Activity points
2,812
What is the exact procedure to calculate CRC

The following is a frame used in RX Block of OPENCORE 10G
data[0] = 32'h04030201;
data[1] = 32'h02020605;
data[2] = 32'h06050403;
data[3] = 32'h55AA2E00;
data[4] = 32'hAA55AA55;
data[5] = 32'h55AA55AA;
data[6] = 32'hAA55AA55;
data[7] = 32'h55AA55AA;
data[8] = 32'hAA55AA55;
data[9] = 32'h55AA55AA;
data[10] = 32'hAA55AA55;
data[11] = 32'h55AA55AA;
data[12] = 32'hAA55AA55;
data[13] = 32'h55AA55AA;
data[14] = 32'hAA55AA55;

crc = 32'hF620480D

The CRC given is from the Opencore People..........
As i try to calculate the CRC it is coming differently..............
i used the following Code for calculating CRC........
i have used CRC with input width of 8 as well 32 as well 64...............

I Desperately Need your Help.................

Thanks
 

Re: Ethernet.....10 POINTS for PROVING CRC...........CALCULA

There is loads of documentation regarding CRC32 calculation on the web... these guys provide a tool that generates your function in VHDL ...

https://www.easics.com/webtools/crctool

Regards,
-Maestor
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…