[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: CRC (was Re: [f-cpu] F-CPU architecture...)



hi !

Kim Enkovaara wrote:

the most usual CRC32 implementation is the Ethernet one, it is used almost everywhere.
Now i wonder how it could handle more than 1 or 2 bytes per cycle (the memory paths
are certainly faster than that).

Ethernet CRC common but there are few other common ones also. Parallel implementations are quite fast, 64bit at a time ethernet crc is about 6 level deep xor-network

wow !

that contains about 1500 2-input xor gates (rough estimates from memory). 6 levels of xor gates is about 6*70ps at 0.13u, add some wire delay and you still get quite respectable speed :) And CRC calculation can be pipelined if needed, but that is little more difficult. The single cycle xor-network is quite trivial and well known in the literature.

thank you for the info !

and how would this work with wider data ? like 128 and 256 bits wide ?

--Kim

YG

*************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxx with
unsubscribe f-cpu       in the body. http://f-cpu.seul.org/