09.11.2014 Views

Ethernet Technology

Ethernet Technology

Ethernet Technology

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Modulo-2 Arithmetic<br />

<br />

Example:<br />

~ binary operation without carriers/borrower<br />

(i.e., the “exclusive” logic)<br />

1111<br />

11001<br />

+ 1010<br />

11<br />

1, 0101 1001011<br />

<br />

Example: (CRC calculation )<br />

M = 1010001101<br />

P = 110101<br />

LSB<br />

FCS R = 01110<br />

T = 101000110101110<br />

If Tr = T+E (may be) & Tr/P = 0 E = 0, no error<br />

<strong>Ethernet</strong> <strong>Technology</strong> 73<br />

<strong>Ethernet</strong> <strong>Technology</strong> 74<br />

<br />

<br />

Polynomial representation<br />

• ~ k-bit block data k-terms of x i<br />

- Coefficients of F(x) the bits in the binary data<br />

- Examples:<br />

1. ‘101’ x 2 +1 = F(x) (‘0’ missing term)<br />

2. F(x) = (x 2 +1)(x 3 +x+1) = x 5 +x 2 +x+1 ‘100111’<br />

* Remark:<br />

- If an F(x) contains (x+1) as a factor,<br />

then F(1) = 0. (Why ?)<br />

<strong>Ethernet</strong> <strong>Technology</strong> 75<br />

• Notations<br />

M(x) = Message/data block polynomial<br />

P(x) = Generating polynomial (check-bit generator)<br />

(known to the Txer and Rxer) or G(x)<br />

n = the deree/order of P(x)<br />

R(x) = Remainder polynomial<br />

• CRC encoding process<br />

1. Appends n’s ‘0’ to M(x) x n M(x)<br />

2. Divide x n M(x) by P(x)<br />

<br />

<br />

<br />

3. Transmit the encoded message<br />

<br />

<br />

concatenate here Checksum (FCS)<br />

<strong>Ethernet</strong> <strong>Technology</strong> 76

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!