13.07.2015 Views

PCI Express Base Specification v1.0 - 2002.pdf

PCI Express Base Specification v1.0 - 2002.pdf

PCI Express Base Specification v1.0 - 2002.pdf

SHOW MORE
SHOW LESS
  • No tags were found...

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

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

<strong>PCI</strong> EXPRESS BASE SPECIFICATION, REV. 1.0• Each TLP is assigned a 12 bit sequence number when it is accepted from theTransmit side of Transaction LayeroUpon acceptance of the TLP from the Transaction Layer, the packetsequence number is applied to the TLP by:• prepending the 12 bit value in NEXT_TRANSMIT_SEQ to the TLP• prepending four Reserved bits to the TLP, preceding the sequencenumber (see Figure 3-12)o If the equation:(NEXT_TRANSMIT_SEQ – ACKD_SEQ) mod 4096 >= 2048is true, the Transmitter must cease accepting TLPs from the Transaction Layeruntil the equation is no longer trueo Following the application of NEXT_TRANSMIT_SEQ to a TLP acceptedfrom the Transmit side of Transaction Layer, NXT_TRANSMIT_SEQ isincremented:NEXT_TRANSMIT_SEQ := (NEXT_TRANSMIT_SEQ + 1) mod 4096+0 +1 +2 +37 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1ReservedTLP Sequence Number[TLP Header]OM13787Figure 3-13: TLP Following Application of Sequence Number and Reserved Bits• TLP data integrity is protected during transfer between Data Link Layers using a 32bLCRC• The LCRC value is calculated using the following algorithm (see Figure 3-14)o The polynomial used has coefficients expressed as 04C1 1DB7ho The seed value (initial value for LCRC storage registers) is FFFF FFFFho The LCRC is calculated using the TLP following sequence numberapplication (see Figure 3-13)o LCRC calculation starts with bit 0 of Byte 0 (bit 8 of the TLP sequencenumber) and proceeds from bit 0 to bit 7 of each successive Byte.• Note that LCRC calculation uses all bits of the TLP, regardless offield type, including reserved fieldso The result of the LCRC calculation is complemented, and the complementedresult bits are mapped into the 32b LCRC field as shown in Table 3-3.132

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

Saved successfully!

Ooh no, something went wrong!