10ge wan phy: physical medium attachment...
TRANSCRIPT
![Page 1: 10GE WAN PHY: Physical Medium Attachment (PMA)grouper.ieee.org/groups/802/3/ae/public/mar00/figueira_1_0300.pdf · • Transmit PMA Frame — PMA framing of octet stream — Scrambling](https://reader038.vdocuments.pub/reader038/viewer/2022110223/5ababc847f8b9a76038be236/html5/thumbnails/1.jpg)
V1.0
10GE WAN PHY:Physical Medium Attachment (PMA)
Nortel NetworksLucent (Bell Labs)Lucent MicroelectronicsLevel One/IntelJuniper NetworksAMCCPMC SierraLantern CommunicationsVitesse
Norival Figueira, Paul Bottorff, David Martin,Tim Armstrong, Bijan Raahemi …………………..Enrique Hernandez-Valencia ……………………..Nevin Jones ……………………………………….Pankaj Kumar ……………………………………….Bjørn Liencres ……………………………………….Tom Palkert ……………………………………….Iain Verigin, Stuart Robinson, Tom Alexander ...Nader Vijeh ……………………………………….Frederick Weniger .…………………………………
IEEE 802.3 Meeting, AlbuquerqueMarch 6-10, 2000
![Page 2: 10GE WAN PHY: Physical Medium Attachment (PMA)grouper.ieee.org/groups/802/3/ae/public/mar00/figueira_1_0300.pdf · • Transmit PMA Frame — PMA framing of octet stream — Scrambling](https://reader038.vdocuments.pub/reader038/viewer/2022110223/5ababc847f8b9a76038be236/html5/thumbnails/2.jpg)
10GE WAN PHY: PMA, March 2000- 1
Based on Posted Document
• “Proposal for a 10 Gigabit Ethernet WAN PHY”
—http://grouper.ieee.org/groups/802/3/10G_study/public/nov99/figueira_2_1199.pdf
![Page 3: 10GE WAN PHY: Physical Medium Attachment (PMA)grouper.ieee.org/groups/802/3/ae/public/mar00/figueira_1_0300.pdf · • Transmit PMA Frame — PMA framing of octet stream — Scrambling](https://reader038.vdocuments.pub/reader038/viewer/2022110223/5ababc847f8b9a76038be236/html5/thumbnails/3.jpg)
10GE WAN PHY: PMA, March 2000- 2
Agenda
• PMA/PMD interface— PCS/PMA interface is conceptual
• PMA frame and overheads
• PMA framing functions— Transmit and Receive PMA frame
• PMA frame synchronization process
• x7+ x6 +1 frame-synchronous scrambler
![Page 4: 10GE WAN PHY: Physical Medium Attachment (PMA)grouper.ieee.org/groups/802/3/ae/public/mar00/figueira_1_0300.pdf · • Transmit PMA Frame — PMA framing of octet stream — Scrambling](https://reader038.vdocuments.pub/reader038/viewer/2022110223/5ababc847f8b9a76038be236/html5/thumbnails/4.jpg)
10GE WAN PHY: PMA, March 2000- 3
Functional Block Diagram
PMA
PCS
ReceiveTransmit
ConceptualInterface
312.5 MTXD<31:0>/s
622.08 M tx_bit<15:0>/s
10GMII
MDI
RXC<3:0>RX_CLK
RXD<31:0>
RECEIVE
Flowcontrol
tx_bit<15:0> rx_bit<15:0>
rx_controlrx_datatx_controltx_data
TXC<3:0>
TXD<31:0>10GTX_CLK
TRANSMIT
RECEIVE PMA FrameTRANSMIT PMA Frame
PMD
![Page 5: 10GE WAN PHY: Physical Medium Attachment (PMA)grouper.ieee.org/groups/802/3/ae/public/mar00/figueira_1_0300.pdf · • Transmit PMA Frame — PMA framing of octet stream — Scrambling](https://reader038.vdocuments.pub/reader038/viewer/2022110223/5ababc847f8b9a76038be236/html5/thumbnails/5.jpg)
10GE WAN PHY: PMA, March 2000- 4
Possibly Better Terminology
PCS 2
PCS 1
ReceiveTransmit
ConceptualInterface
312.5 MTXD<31:0>/s
622.08 M tx_bit<15:0>/s
10GMII
MDI
RXC<3:0>RX_CLK
RXD<31:0>
RECEIVE
Flowcontrol
tx_bit<15:0>
TRANSMIT PMA Frame
rx_bit<15:0>
rx_controlrx_datatx_data
TXC<3:0>
TXD<31:0>10GTX_CLK
PMA/PMD
tx_control
TRANSMIT
RECEIVE PMA Frame
![Page 6: 10GE WAN PHY: Physical Medium Attachment (PMA)grouper.ieee.org/groups/802/3/ae/public/mar00/figueira_1_0300.pdf · • Transmit PMA Frame — PMA framing of octet stream — Scrambling](https://reader038.vdocuments.pub/reader038/viewer/2022110223/5ababc847f8b9a76038be236/html5/thumbnails/6.jpg)
10GE WAN PHY: PMA, March 2000- 5
PMA Interfaces
• PCS/PMA ⇒⇒⇒⇒ conceptual interface
• PMD interface— tx_bit<15:0>
– 16-bit vector representing two octets received from the PMA– transitions synchronously with tx_bit_clk
— tx_bit_clk– 622.08 MHz clock generated by the PMA
— rx_bit<15:0>– Most recently received 16 bits (MSB first) from the MDI. It is a
continuous and unaligned sequence of octets– transitions synchronously with rx_bit_clk
— rx_bit_clk– 622.08 MHz clock generated by the PMD
— all LVDS
![Page 7: 10GE WAN PHY: Physical Medium Attachment (PMA)grouper.ieee.org/groups/802/3/ae/public/mar00/figueira_1_0300.pdf · • Transmit PMA Frame — PMA framing of octet stream — Scrambling](https://reader038.vdocuments.pub/reader038/viewer/2022110223/5ababc847f8b9a76038be236/html5/thumbnails/7.jpg)
10GE WAN PHY: PMA, March 2000- 6
PMA/PMD Interface
PMDPMD
015
tx_bit<15:0>
1
tx_bit_clk
622.08 MHz
PMA(Conceptual view)
015
rx_bit<15:0> rx_bit_clk
622.08 MHz
16-bit word 16-bit word
Serialized octets(MSB first)
Serialized octets(MSB first)
1
Transmit process Receive process
ReceiveTransmit
MDI
![Page 8: 10GE WAN PHY: Physical Medium Attachment (PMA)grouper.ieee.org/groups/802/3/ae/public/mar00/figueira_1_0300.pdf · • Transmit PMA Frame — PMA framing of octet stream — Scrambling](https://reader038.vdocuments.pub/reader038/viewer/2022110223/5ababc847f8b9a76038be236/html5/thumbnails/8.jpg)
10GE WAN PHY: PMA, March 2000- 7
PMA Framing Functions
• Transmit PMA Frame— PMA framing of octet stream
— Scrambling of PMA frames using the x7+x6+1 frame-synchronousscrambler
— Transmission of resulting data stream to the PMD sublayer– depends on the PMD interface
![Page 9: 10GE WAN PHY: Physical Medium Attachment (PMA)grouper.ieee.org/groups/802/3/ae/public/mar00/figueira_1_0300.pdf · • Transmit PMA Frame — PMA framing of octet stream — Scrambling](https://reader038.vdocuments.pub/reader038/viewer/2022110223/5ababc847f8b9a76038be236/html5/thumbnails/9.jpg)
10GE WAN PHY: PMA, March 2000- 8
PMA Framing Functions (cont.)
• Receive PMA Frame— Receiving of data stream from PMD sublayer
– depends on PMD interface
— PMA frame synchronization and octet delineation
— Descrambling of PMA frames with the x7+x6+1 frame-synchronousscrambler
![Page 10: 10GE WAN PHY: Physical Medium Attachment (PMA)grouper.ieee.org/groups/802/3/ae/public/mar00/figueira_1_0300.pdf · • Transmit PMA Frame — PMA framing of octet stream — Scrambling](https://reader038.vdocuments.pub/reader038/viewer/2022110223/5ababc847f8b9a76038be236/html5/thumbnails/10.jpg)
10GE WAN PHY: PMA, March 2000- 9
1 1664063
576 octets
PMA Frame
(STS-192c) Envelope CapacityTransportOverhead
(STS-192c) SPE
PCS data stream
Path Overhead column
Payload CapacityFixedStuff
17280 octets
9 ro
ws
packet
IDLE
IDLE IDLE
packetIDLE
PMA Frame = STS-192c Frame
9 ro
ws
16704 octets
STS-192c = Synchronous Transport Signal – level 192, c = concatenatedSPE = Synchronous Payload Envelope
Line
Section
FixedStuff
![Page 11: 10GE WAN PHY: Physical Medium Attachment (PMA)grouper.ieee.org/groups/802/3/ae/public/mar00/figueira_1_0300.pdf · • Transmit PMA Frame — PMA framing of octet stream — Scrambling](https://reader038.vdocuments.pub/reader038/viewer/2022110223/5ababc847f8b9a76038be236/html5/thumbnails/11.jpg)
10GE WAN PHY: PMA, March 2000- 10
SPE Position
SPE
Start of SPE
17280 columns
9 ro
ws
9 ro
ws
125
µs
TransportOverhead
TransportOverhead
Pat
h O
verh
ead
pointer
![Page 12: 10GE WAN PHY: Physical Medium Attachment (PMA)grouper.ieee.org/groups/802/3/ae/public/mar00/figueira_1_0300.pdf · • Transmit PMA Frame — PMA framing of octet stream — Scrambling](https://reader038.vdocuments.pub/reader038/viewer/2022110223/5ababc847f8b9a76038be236/html5/thumbnails/12.jpg)
10GE WAN PHY: PMA, March 2000- 11
Octet Transmission Order
• Top to bottom, row-by-row, left to right
Envelope Capacity
PMA frame
TransportOverhead
1
2
![Page 13: 10GE WAN PHY: Physical Medium Attachment (PMA)grouper.ieee.org/groups/802/3/ae/public/mar00/figueira_1_0300.pdf · • Transmit PMA Frame — PMA framing of octet stream — Scrambling](https://reader038.vdocuments.pub/reader038/viewer/2022110223/5ababc847f8b9a76038be236/html5/thumbnails/13.jpg)
10GE WAN PHY: PMA, March 2000- 12
Overhead Layers
PMA FramePMA Frame
Payload
Path
Line
Section
Mappayload and
Path Overheadinto SPE
Map SPE andLine Overheadinto PMA frame
MapSection Overhead
into PMA frame
Payload
![Page 14: 10GE WAN PHY: Physical Medium Attachment (PMA)grouper.ieee.org/groups/802/3/ae/public/mar00/figueira_1_0300.pdf · • Transmit PMA Frame — PMA framing of octet stream — Scrambling](https://reader038.vdocuments.pub/reader038/viewer/2022110223/5ababc847f8b9a76038be236/html5/thumbnails/14.jpg)
10GE WAN PHY: PMA, March 2000- 13
Transport Overhead
SectionOverhead
LineOverhead
A1 A1 A1 A2 A2 A2 J0 Z0 Z0
B1
H1 H1 H1 H2 H2 H2 H3 H3 H3
K2K1
S1
1 2 3 1 2 3 1 2 3
A1
H1
192
A2
H2
192
Z0
H3
192STS-1#
1 2 3 192 193 194 195 384 385 386 387 576Column#
= Undefined overhead octets (set to zero)
= Defined overhead octets (B2, E1-2, F1, D1-12, M1, Z1-2), unused by 10GE WAN PHY (set to zero)
... ... ...
... ... ...
... ... ...
provisionedcalculated fixed value
![Page 15: 10GE WAN PHY: Physical Medium Attachment (PMA)grouper.ieee.org/groups/802/3/ae/public/mar00/figueira_1_0300.pdf · • Transmit PMA Frame — PMA framing of octet stream — Scrambling](https://reader038.vdocuments.pub/reader038/viewer/2022110223/5ababc847f8b9a76038be236/html5/thumbnails/15.jpg)
10GE WAN PHY: PMA, March 2000- 14
Section Overhead: A1 and A2
• “Framing octets”
• Used by the PMA frame synchronization process todetermine where octets and the PMA frame start— Transition from A1 to A2 octets is used for synchronization
• Fixed value:— A1 = 11110110
— A2 = 00101000
Envelope Capacity
PMA frame
A1…A1A2…A2...
TransportOverhead
Transition from A1 to A2
![Page 16: 10GE WAN PHY: Physical Medium Attachment (PMA)grouper.ieee.org/groups/802/3/ae/public/mar00/figueira_1_0300.pdf · • Transmit PMA Frame — PMA framing of octet stream — Scrambling](https://reader038.vdocuments.pub/reader038/viewer/2022110223/5ababc847f8b9a76038be236/html5/thumbnails/16.jpg)
10GE WAN PHY: PMA, March 2000- 15
Section Overhead: J0 and Z0
• J0 (“Section Trace”)— Allows a receiver to verify its continued connection to the intended
transmitter
— Provisioned Value– When no value is provisioned, J0 shall be set to 00000001
• Z0 (‘Section Growth”)— Fixed value: 11001100
![Page 17: 10GE WAN PHY: Physical Medium Attachment (PMA)grouper.ieee.org/groups/802/3/ae/public/mar00/figueira_1_0300.pdf · • Transmit PMA Frame — PMA framing of octet stream — Scrambling](https://reader038.vdocuments.pub/reader038/viewer/2022110223/5ababc847f8b9a76038be236/html5/thumbnails/17.jpg)
10GE WAN PHY: PMA, March 2000- 16
Section Overhead: B1
• “Section BIP-8”
• Used as a Section errormonitoring function
• Calculated value:
— BIP-8 code (using even parity)over all the bits of the lasttransmitted PMA frame afterscrambling
01234567
B1
Even parity over the bit 7 ofall the octets of the PMA frame
NOTE
BIP-8 (Bit-Interleaved Parity-8) with evenparity: The ith bit of the code provides evenparity over the ith bit of all the covered octets.
BIP-8of the bit sequence 11110000 00001111is 11111111.
![Page 18: 10GE WAN PHY: Physical Medium Attachment (PMA)grouper.ieee.org/groups/802/3/ae/public/mar00/figueira_1_0300.pdf · • Transmit PMA Frame — PMA framing of octet stream — Scrambling](https://reader038.vdocuments.pub/reader038/viewer/2022110223/5ababc847f8b9a76038be236/html5/thumbnails/18.jpg)
10GE WAN PHY: PMA, March 2000- 17
Line Overhead: H1 and H2
• “Payload Pointer”— Allows the SPE to be dynamically aligned within the
Envelope Capacity
• Values:— All H1 octets after the first one are set to the fixed value 10010011
— All H2 octets after the first one are set to the fixed value 11111111
H1 H1 H1 H2 H2 H2
1 2 3 1 2 3
H1
192
H2
192STS-1#
... ...
... ...
All set to 10010011 All set to 11111111
![Page 19: 10GE WAN PHY: Physical Medium Attachment (PMA)grouper.ieee.org/groups/802/3/ae/public/mar00/figueira_1_0300.pdf · • Transmit PMA Frame — PMA framing of octet stream — Scrambling](https://reader038.vdocuments.pub/reader038/viewer/2022110223/5ababc847f8b9a76038be236/html5/thumbnails/19.jpg)
10GE WAN PHY: PMA, March 2000- 18
Line Overhead: H1 and H2 (cont.)
• First H1 and H2— 16-bit word containing an NDF field and a 10-bit STS pointer in the
range of 0 to 782
— Fixed values:– 10GE WAN PHY transmits H1 = 01100010 and H2 = 00001010,
i.e., “normal” STS pointer = 522
— Receiver 10GE WAN PHY shall be able to process arbitrary NDFand STS pointer values (which may be changed by a transportnetwork)
01234567 01234567
I I I I ID D D D D
First H1 First H2
NDF (new data flag) field0110 = normal pointer1001 = set new pointer
10-bit STS pointer value
I = increment bit, D = decrement bit
NDF
![Page 20: 10GE WAN PHY: Physical Medium Attachment (PMA)grouper.ieee.org/groups/802/3/ae/public/mar00/figueira_1_0300.pdf · • Transmit PMA Frame — PMA framing of octet stream — Scrambling](https://reader038.vdocuments.pub/reader038/viewer/2022110223/5ababc847f8b9a76038be236/html5/thumbnails/20.jpg)
10GE WAN PHY: PMA, March 2000- 19
Line Overhead: H1/H2 and SPE Position
SPE
– H1–Start of SPE
17280 columns
9 ro
ws
9 ro
ws
125
µs
TransportOverhead
TransportOverhead
Pat
h O
verh
ead
10-bit pointer(first H1 and H2)
0 1 2 ...
522 523
782
192 octets (not to scale)
– H2 – – H3 –
– H1– – H2 – – H3 –
![Page 21: 10GE WAN PHY: Physical Medium Attachment (PMA)grouper.ieee.org/groups/802/3/ae/public/mar00/figueira_1_0300.pdf · • Transmit PMA Frame — PMA framing of octet stream — Scrambling](https://reader038.vdocuments.pub/reader038/viewer/2022110223/5ababc847f8b9a76038be236/html5/thumbnails/21.jpg)
10GE WAN PHY: PMA, March 2000- 20
Line Overhead: H3
• “Pointer Action Bytes”
• Used for SPE frequency justification— Allows LTE to have slightly different clocks at the receiver and
transmitter paths
• Content:— Carries 192 extra SPE octets in the event of a “negative pointer
adjustment,” i.e., which may be required when the receiver clock isfaster than the transmitter clock
— Set to zero when not used
PMA frame
TransportOverhead
– H1 – – H3 –
Negative pointer adjustment(additional 192 octets for transmission)
Envelope Capacity– H2 –
![Page 22: 10GE WAN PHY: Physical Medium Attachment (PMA)grouper.ieee.org/groups/802/3/ae/public/mar00/figueira_1_0300.pdf · • Transmit PMA Frame — PMA framing of octet stream — Scrambling](https://reader038.vdocuments.pub/reader038/viewer/2022110223/5ababc847f8b9a76038be236/html5/thumbnails/22.jpg)
10GE WAN PHY: PMA, March 2000- 21
Line Overhead: K1, K2, and S1
• K1 and K2— Fixed values: K1 = 00000001, K2 = 00010000
– K1 and K2 are used on the protection line for automatic protectionswitching signaling. Above settings indicate a working channelrather than the protection channel.
• S1— Fixed value: 00001111
– Indicates quality clock information to receiver. Above settingindicates “don’t use for synchronization”
![Page 23: 10GE WAN PHY: Physical Medium Attachment (PMA)grouper.ieee.org/groups/802/3/ae/public/mar00/figueira_1_0300.pdf · • Transmit PMA Frame — PMA framing of octet stream — Scrambling](https://reader038.vdocuments.pub/reader038/viewer/2022110223/5ababc847f8b9a76038be236/html5/thumbnails/23.jpg)
10GE WAN PHY: PMA, March 2000- 22
Path Overhead and “Fixed Stuff”
J1
B3
C2
G1
PathOverhead
calculated
fixed value
Defined overheadoctets (F2, H4,Z3-5), unused by10GE WAN PHY(set to zero)
Fixed Stuff63 columns
...
“Fixed Stuff” columnsprovide compatibilitywith SONET/SDHbyte-interleaving andconcatenation rules(set to zero)
9 ro
ws
![Page 24: 10GE WAN PHY: Physical Medium Attachment (PMA)grouper.ieee.org/groups/802/3/ae/public/mar00/figueira_1_0300.pdf · • Transmit PMA Frame — PMA framing of octet stream — Scrambling](https://reader038.vdocuments.pub/reader038/viewer/2022110223/5ababc847f8b9a76038be236/html5/thumbnails/24.jpg)
10GE WAN PHY: PMA, March 2000- 23
Path Overhead: J1, B3, and C2
• J1 (“Path Trace”)— Fixed value: 00000000
• B3 (“Path BIP-8”)— Used as a Path error monitoring function
— Calculated value: BIP-8 code (using even parity) over all the octets ofthe last transmitted SPE before (x7+x6+1) scrambling
• C2 (“Path Signal Label”)— Identifies the contents of the STS SPE (i.e., 10GE WAN PHY)
— Fixed value: 00011010 (provisional value assigned to 10 GE)
![Page 25: 10GE WAN PHY: Physical Medium Attachment (PMA)grouper.ieee.org/groups/802/3/ae/public/mar00/figueira_1_0300.pdf · • Transmit PMA Frame — PMA framing of octet stream — Scrambling](https://reader038.vdocuments.pub/reader038/viewer/2022110223/5ababc847f8b9a76038be236/html5/thumbnails/25.jpg)
10GE WAN PHY: PMA, March 2000- 24
Path Overhead: G1
• “Path Status”
— Conveys the Path terminatingstatus and performance back tothe transmitter (i.e., a PTE)
• Calculated value:
— REI-P field = number of bit errorsdetected with the B3 octet of thelast received SPE
— RDI-P field = Detected defects onthe received signal (values are TBD)– Propose to support:
Loss of Packet Delineation (LPD-P)Loss of Pointer (LOS-P)Payload Mismatch (PLM-P)
REI-P = Path Remote Error IndicationRDI-P = Path Remote Defect Indication
01234567
REI-P RDI-P 0
G1
REI-P field0000 to 1000 = 0 to 8 errorswhen received, 1xx1 = 0 errors
![Page 26: 10GE WAN PHY: Physical Medium Attachment (PMA)grouper.ieee.org/groups/802/3/ae/public/mar00/figueira_1_0300.pdf · • Transmit PMA Frame — PMA framing of octet stream — Scrambling](https://reader038.vdocuments.pub/reader038/viewer/2022110223/5ababc847f8b9a76038be236/html5/thumbnails/26.jpg)
10GE WAN PHY: PMA, March 2000- 25
• Functional View
• PMA frame formation (stages)
— (1) Path Overhead and fixed stuffcolumns
— (2) Line Overhead
— (3) Section Overhead
— (4) Scramble with x7+x6+1 (firstrow of Section Overhead, i.e.,A1/A2, J0, and Z0, is notscrambled)
— (5) 16-bit words are transmitted toPMD (depends on PMD interface)
Reference Diagram: Transmit PMA FramePMA Service Interface
Path OverheadFixed stuff
tx_control tx_data
PMD Service Interface
Tra
nsm
it P
MA
Fra
me
+
B3 (BIP-8)
SPE
+
+
Line Overhead
x7+x6+1scrambler
B1 (BIP-8)
FlowControl
for next SPE
FromReceiveprocess(for G1)
Section Overhead
tx_bit<15:0>tx_bit_clk
116-bit word assembly
Inhibit scramblingfirst row of Section OH
for next frame
![Page 27: 10GE WAN PHY: Physical Medium Attachment (PMA)grouper.ieee.org/groups/802/3/ae/public/mar00/figueira_1_0300.pdf · • Transmit PMA Frame — PMA framing of octet stream — Scrambling](https://reader038.vdocuments.pub/reader038/viewer/2022110223/5ababc847f8b9a76038be236/html5/thumbnails/27.jpg)
10GE WAN PHY: PMA, March 2000- 26
• Functional View
• PMA frame processing (stages)
— (1) “Serialize” received PMDsignal
— (2) PMA frame synchronizationand octet delineation
— (3) Descramble with x7+x6+1 (firstrow of Section Overhead is notdescrambled)
— (4) Extract Section Overhead,Line Overhead, Path Overhead,Fixed Stuff columns
— (5) Remaining octets = payload
Reference Diagram: Receive PMA FramePMA Service Interface
rx_data
PMD Service Interface
Re
ceiv
e P
MA
Fra
me
PMA frameSynchronization
Flow Control
rx_bit<15:0> rx_bit_clk1
“Serializer”
1
x7+x6+1Descrambler
-Path Overhead
Fixed stuffColumns
Section Overhead
Line Overhead
rx_control
To Transmitprocess(for G1)
Look for A1/A2transition
inhibit descrambling offirst row of Section
Overhead
![Page 28: 10GE WAN PHY: Physical Medium Attachment (PMA)grouper.ieee.org/groups/802/3/ae/public/mar00/figueira_1_0300.pdf · • Transmit PMA Frame — PMA framing of octet stream — Scrambling](https://reader038.vdocuments.pub/reader038/viewer/2022110223/5ababc847f8b9a76038be236/html5/thumbnails/28.jpg)
10GE WAN PHY: PMA, March 2000- 27
Reference Diagram
622.08Mbaud
PMD Service Interface
Re
ceiv
e P
MA
Fra
me
PMA frameSynchronization
Flow Control
rx_bit<15:0> rx_bit_clk1
“Serializer”
1
x7+x6+1Descrambler
-Path Overhead
Fixed stuffColumns
Section Overhead
Line Overhead
Look for A1/A2transition
PMA Service InterfacePMA Service Interface
Path OverheadFixed stuff
PMD Service Interface
Tra
nsm
it P
MA
Fra
me
+
for next frame
B3 (BIP-8)
SPE
+
+
Line Overhead
x7+x6+1scrambler
FlowControl
for next SPE
tx_bit<15:0>tx_bit_clk
116-bit word assembly
Informationrequired to
calculate G1
Informationrequired to
calculate G1
Section Overhead
Inhibit scramblingfirst row of Section OH
B1 (BIP-8)
tx_control tx_dataConceptual
Interface rx_data rx_control
inhibit descrambling offirst row of Section
Overhead
![Page 29: 10GE WAN PHY: Physical Medium Attachment (PMA)grouper.ieee.org/groups/802/3/ae/public/mar00/figueira_1_0300.pdf · • Transmit PMA Frame — PMA framing of octet stream — Scrambling](https://reader038.vdocuments.pub/reader038/viewer/2022110223/5ababc847f8b9a76038be236/html5/thumbnails/29.jpg)
10GE WAN PHY: PMA, March 2000- 28
PMA Frame Synchronization
• Uses A1/A2 transition (i.e., frame marker) for frameand octet delineation
• Looks for the A1/A2 framing pattern consistently— Expects it to appear once every 155520 octets
(155520 = length of the PMA frame)
— When the framing pattern appears in the right place enough times,correct frame synchronization is assumed
A1…A1 A2…A2 J0Z0…Z0
Envelope CapacityTransportOverhead
notscrambled
A1/A2 transition (frame marker)
![Page 30: 10GE WAN PHY: Physical Medium Attachment (PMA)grouper.ieee.org/groups/802/3/ae/public/mar00/figueira_1_0300.pdf · • Transmit PMA Frame — PMA framing of octet stream — Scrambling](https://reader038.vdocuments.pub/reader038/viewer/2022110223/5ababc847f8b9a76038be236/html5/thumbnails/30.jpg)
10GE WAN PHY: PMA, March 2000- 29
PMA Frame Synchronization (cont.)
• Posted document— Provides a set of rules to be satisfied by a PMA frame
synchronization process
— Does not provide specific details on how a PMA framesynchronization process works
— Does not imply any specific implementation. Any PMA frame syncprocedure that complies with the defined set of rules is acceptable
• This presentation shows the state diagram of a framesynchronization processes similar to the ones used intypical OC-192 equipment
![Page 31: 10GE WAN PHY: Physical Medium Attachment (PMA)grouper.ieee.org/groups/802/3/ae/public/mar00/figueira_1_0300.pdf · • Transmit PMA Frame — PMA framing of octet stream — Scrambling](https://reader038.vdocuments.pub/reader038/viewer/2022110223/5ababc847f8b9a76038be236/html5/thumbnails/31.jpg)
10GE WAN PHY: PMA, March 2000- 30
START[bit by bit]
PMA Frame Sync: START Statebegin
A1_ALIGN
• Initial state
• Searches bit by bit for icorrect A1 octets
• Moves to A1_ALIGN stateon an exact match
[octet by octet]
Did not findi correct A1s
i correctA1s
![Page 32: 10GE WAN PHY: Physical Medium Attachment (PMA)grouper.ieee.org/groups/802/3/ae/public/mar00/figueira_1_0300.pdf · • Transmit PMA Frame — PMA framing of octet stream — Scrambling](https://reader038.vdocuments.pub/reader038/viewer/2022110223/5ababc847f8b9a76038be236/html5/thumbnails/32.jpg)
10GE WAN PHY: PMA, March 2000- 31
i correctA1s
START[bit by bit]
PMA Frame Sync: A1_ALIGN Statebegin
A1_ALIGN[octet by octet]
PRESYNC[octet by octet]
• Confirms byte alignment
• Moves to PRESYNC state on atleast j correct A1 octets followed byk correct A2 octets
• Moves to START state if pattern isnot found
Pattern notfound
Did not findi correct A1s
≥ j correct A1s followedby k correct A2s
![Page 33: 10GE WAN PHY: Physical Medium Attachment (PMA)grouper.ieee.org/groups/802/3/ae/public/mar00/figueira_1_0300.pdf · • Transmit PMA Frame — PMA framing of octet stream — Scrambling](https://reader038.vdocuments.pub/reader038/viewer/2022110223/5ababc847f8b9a76038be236/html5/thumbnails/33.jpg)
10GE WAN PHY: PMA, March 2000- 32
Pattern notfound
START[bit by bit]
PMA Frame Sync: PRESYNC Statebegin
A1_ALIGN[octet by octet]
SYNC[frame by frame]
PRESYNC[octet by octet]
Did not findi correct A1s
i correctA1s
≥ j correct A1s followedby k correct A2s
n correct A1/A2transition patterns
Incorrect A1/A2 transition pattern
• Checks frame for correct A1/A2transition pattern at correct place
• Moves to SYNC state on “n”correct A1/A2 transition patterns
• Moves to START state on anincorrect A1/A2 transition pattern
![Page 34: 10GE WAN PHY: Physical Medium Attachment (PMA)grouper.ieee.org/groups/802/3/ae/public/mar00/figueira_1_0300.pdf · • Transmit PMA Frame — PMA framing of octet stream — Scrambling](https://reader038.vdocuments.pub/reader038/viewer/2022110223/5ababc847f8b9a76038be236/html5/thumbnails/34.jpg)
10GE WAN PHY: PMA, March 2000- 33
START[bit by bit]
PMA Frame Sync: SYNC Statebegin
A1_ALIGN[octet by octet]
SYNC[frame by frame]
m consecutive incorrect A1/A2transition patterns
Correct A1/A2 transitionpattern or < m consecutive
incorrect transitions
PRESYNC[octet by octet]
Did not findi correct A1s
i correctA1s
n correct A1/A2transition patterns
Incorrect A1/A2 transition pattern
Pattern notfound
≥ j correct A1s followedby k correct A2s
• Checks frame for A1/A2transition pattern at correctplace
• Moves to START state with“m” consecutive frameswith incorrect A1/A2transition patterns
![Page 35: 10GE WAN PHY: Physical Medium Attachment (PMA)grouper.ieee.org/groups/802/3/ae/public/mar00/figueira_1_0300.pdf · • Transmit PMA Frame — PMA framing of octet stream — Scrambling](https://reader038.vdocuments.pub/reader038/viewer/2022110223/5ababc847f8b9a76038be236/html5/thumbnails/35.jpg)
10GE WAN PHY: PMA, March 2000- 34
Did not findi correct A1s
START[bit by bit]
PMA Frame Sync: State Diagrambegin
i correctA1s
A1_ALIGN[octet by octet]
SYNC[frame by frame]
PRESYNC[octet by octet]
n correct A1/A2transition patterns
Incorrect A1/A2 transition pattern
Pattern notfound
≥ j correct A1s followedby k correct A2s
m consecutive incorrect A1/A2transition patterns
Correct A1/A2 transitionpattern or < m consecutive
incorrect transitions
![Page 36: 10GE WAN PHY: Physical Medium Attachment (PMA)grouper.ieee.org/groups/802/3/ae/public/mar00/figueira_1_0300.pdf · • Transmit PMA Frame — PMA framing of octet stream — Scrambling](https://reader038.vdocuments.pub/reader038/viewer/2022110223/5ababc847f8b9a76038be236/html5/thumbnails/36.jpg)
10GE WAN PHY: PMA, March 2000- 35
PMA Frame Sync. Performance
• Example for m = 4, A1/A2 transition pattern = 2 A1/A2s— Probability of frame loss ≈ 1.049 × 106 × BER4
= 1.049 ×××× 10-42 (@ BER = 10-12)
— Average interval to frame loss– ≈ 3.7 x 1030 years (@ BER = 10-12)
(> estimated age of observable universe, i.e., ~ 1010 years)
• More robust implementations are possible, e.g., see— “10GE WAN PHY Delineation Performance”
— http://grouper.ieee.org/groups/802/3/10G_study/public/email_attach/delineation_perf.doc
![Page 37: 10GE WAN PHY: Physical Medium Attachment (PMA)grouper.ieee.org/groups/802/3/ae/public/mar00/figueira_1_0300.pdf · • Transmit PMA Frame — PMA framing of octet stream — Scrambling](https://reader038.vdocuments.pub/reader038/viewer/2022110223/5ababc847f8b9a76038be236/html5/thumbnails/37.jpg)
10GE WAN PHY: PMA, March 2000- 36
x7+x6+1 Frame-Synchronous Scrambler
• Purpose— Assures that the optical interface signal has an adequate
number of transitions for line rate clock recovery at the receiver
• Scrambles— All the octets of the “PMA frame” with the exception of the
first row of the transport overhead
• State is periodically resynchronized— Scrambler state is reset to 1111111 on the most-significant
bit of the octet following the last Z0 octet
![Page 38: 10GE WAN PHY: Physical Medium Attachment (PMA)grouper.ieee.org/groups/802/3/ae/public/mar00/figueira_1_0300.pdf · • Transmit PMA Frame — PMA framing of octet stream — Scrambling](https://reader038.vdocuments.pub/reader038/viewer/2022110223/5ababc847f8b9a76038be236/html5/thumbnails/38.jpg)
10GE WAN PHY: PMA, March 2000- 37
Use of x7+x6+1 Scrambler
Scrambled
A1…A1A2…A2J0Z0…Z0
Reset scrambler state to 1111111
Envelope Capacity
PMA frame
TransportOverhead
Not scrambled
![Page 39: 10GE WAN PHY: Physical Medium Attachment (PMA)grouper.ieee.org/groups/802/3/ae/public/mar00/figueira_1_0300.pdf · • Transmit PMA Frame — PMA framing of octet stream — Scrambling](https://reader038.vdocuments.pub/reader038/viewer/2022110223/5ababc847f8b9a76038be236/html5/thumbnails/39.jpg)
10GE WAN PHY: PMA, March 2000- 38
x7+x6+1 Scrambler/Descrambler
D
C S
Q D
C S
Q D
C S
Q D
C S
QD
C S
Q D
C S
Q D
C S
Q
Reset to 1111111
Clock
XOR
XOR
7-bit shift register
Descrambled/scrambledbit stream
Scrambled/descrambled
bit stream(Functional Diagram)
Scrambler/descrambler state = content of the 7-bit shift register
![Page 40: 10GE WAN PHY: Physical Medium Attachment (PMA)grouper.ieee.org/groups/802/3/ae/public/mar00/figueira_1_0300.pdf · • Transmit PMA Frame — PMA framing of octet stream — Scrambling](https://reader038.vdocuments.pub/reader038/viewer/2022110223/5ababc847f8b9a76038be236/html5/thumbnails/40.jpg)
10GE WAN PHY: PMA, March 2000- 39
Bit Order of Scrambling/Descrambling
• Most significant bit (LSB) first
1
Octets
Octets
x7 + x6 + 1Scrambler/Descrambler
x7 + x6 + 1Scrambler/Descrambler
01234567
01234567 1
(Functional diagram)
![Page 41: 10GE WAN PHY: Physical Medium Attachment (PMA)grouper.ieee.org/groups/802/3/ae/public/mar00/figueira_1_0300.pdf · • Transmit PMA Frame — PMA framing of octet stream — Scrambling](https://reader038.vdocuments.pub/reader038/viewer/2022110223/5ababc847f8b9a76038be236/html5/thumbnails/41.jpg)
10GE WAN PHY: PMA, March 2000- 40
Summary
• PMA/PMD interface— 16-bit LVDS
• PMA frame and overheads— Described proposed minimum set of overheads
• PMA framing functions— Described Transmit and Receive PMA frame processes
• PMA frame synchronization process— Described a typical frame synchronization process
• x7+ x6 +1 frame-synchronous scrambler— Described functional diagram and resynchronization scheme