发明名称 Checksum generation circuit and method
摘要 A circuit and method for generating a checksum for a TCP packet on the fly. A stream of 32-bit data words from a TCP packet is split into two 16-bit data word streams and separately summed using 16-bit adders. The carry-out from the adders is tied to the carry-in thereof so as to incorporate any carry bits generated into the sum. At the end of the data stream, three further summing cycles are used in order to generate the final 16-bit one's complement checksum. First, the two 16-bit data stream partial sums are added together, including any carry bit from one of the adders while the carry-out from the other adder is stored. In the second cycle the stored carry-out and the carry-out from the first cycle are added into the sum. In the third cycle, any carry bit generated in the second cycle is added to the sum so as to produce the final checksum.
申请公布号 US5663952(A) 申请公布日期 1997.09.02
申请号 US19950499484 申请日期 1995.07.07
申请人 SUN MICROSYSTEMS, INC. 发明人 GENTRY, JR., DENTON E.
分类号 G06F12/16;G06F11/10;H03M13/00;H03M13/09;H04L1/00;(IPC1-7):G06F11/10 主分类号 G06F12/16
代理机构 代理人
主权项
地址
您可能感兴趣的专利