08-27-2016 05:23 AM
hi all .
I'm trying to generate crc code from sting of data.
for that reason i generated this hard ware based xilinx app note and this site :
https://www.ghsi.de/CRC/
but when i test this HDL design with this ethernet frame i get different result
this is ethernet frame from fpga4fun :
http://www.fpga4fun.com/10BASE-T2.html
55 55 55 55 55 55 55 D5 00 10 A4 7B EA 80 00 12 34 56 78 90 08 00 45 00 00 2E B3 FE 00 00 80 11 05 40 C0 A8 00 2C C0 A8 00 04 04 00 04 00 00 1A 2D E8 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 B3 31 88 1B
" B3 31 88 1B " => this is true crc code.
but i get this :"42 76 f0 4e"
i just shift data string in LFSR.
where is wrong??
08-27-2016 12:20 PM
please help guide me guys ...
I'm waiting
08-28-2016 06:08 PM
You might be waiting a long time if you expect forum posters to be able to work out the faults in your logic from just a big string of hex digits.
Please check the following:
Perhaps your answer is in there somewhere.
Allan