A few notes on Altera transceivers

Slides:



Advertisements
Similar presentations
DUAL-OUTPUT HOLA FIRMWARE AND TESTS Anton Kapliy Mel Shochet Fukun Tang Daping Weng.
Advertisements

Finite State Machines (FSMs)
State-machine structure (Mealy)
PeterJ Slide 1 Sep 4, B/10B Coding 64B/66B Coding 1.Transmission Systems 2.8B/10B Coding 3.64B/66B Coding 4.CIP Demonstrator Test Setup.
Data Link Protocols(HDLC & PPP). Data Link Protocols The set of specifications used to implement the DLL. DLL Protocols Synchronous Protocols Character-oriented.
CS 151 Digital Systems Design Lecture 25 State Reduction and Assignment.
DUAL-OUTPUT HOLA MAY 2011 STATUS Anton Kapliy Mel Shochet Fukun Tang.
CSCI 4550/8556 Computer Networks Comer, Chapter 7: Packets, Frames, And Error Detection.
Long distance communication Multiplexing  Allow multiple signals to travel through one medium  Types Frequency division multiplexing Synchronous time.
1 Physical Layer: Data Encoding & Transmission. 2 Network Interface Card (NIC) LL in part, PL in total are implemented in NIC –Ethernet card, card,
Circuit Switching (a) Circuit switching. (b) Packet switching.
Contemporary Logic Design Finite State Machine Design © R.H. Katz Transparency No Chapter #8: Finite State Machine Design Finite State.
Spring 2002EECS150 - Lec15-seq2 Page 1 EECS150 - Digital Design Lecture 15 - Sequential Circuits II (Finite State Machines revisited) March 14, 2002 John.
Transmission Modes Different ways of characterizing the transmission.
Data Communications Chapter 6 The Data Communications Interface.
ENGIN112 L25: State Reduction and Assignment October 31, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 25 State Reduction and Assignment.
Improving Networks Worldwide. UNH InterOperability Lab Serial Attached SCSI (SAS) Clause 6.
Review for Exam 3 LC3 control State Graphs
CS 640: Introduction to Computer Networks Aditya Akella Lecture 5 - Encoding and Data Link Basics.
PeterJ Slide 1 Sep 4, B/10B Coding 64B/66B Coding 1.Transmission Systems 2.8B/10B Coding 3.64B/66B Coding 4.CIP Demonstrator Test Setup.
Universal Synchronous/Asynchronous Receiver/Transmitter (USART)
CS3502: Data and Computer Networks DATA LINK LAYER - 1.
ECS 152A 4. Communications Techniques. Asynchronous and Synchronous Transmission Timing problems require a mechanism to synchronize the transmitter and.
Chapter 7 - Packets, Frames and Error Detection 1. Concepts of Packets 2. Motivation for Packet Switching 3. Framing 4. Frame Formats 5. Transmission Errors.
CSC 335 Data Communications and Networking
DLD Lecture 26 Finite State Machine Design Procedure.
Data Link and Flow Control Networks and Protocols Prepared by: TGK First Prepared on: Last Modified on: Quality checked by: Copyright 2009 Asia Pacific.
1 Chapter 7 Switching, Packets, Frames, Parity, Checksums, and CRCs.
Unit 1 Lecture 4.
1/30/ :20 PM1 Chapter 6 ─ Digital Data Communication Techniques CSE 3213 Fall 2011.
1 Business Telecommunications Data and Computer Communications Chapter 6 The Data Communications Interface.
Data and Computer Communications Eighth & Ninth Edition by William Stallings Chapter 6 – Digital Data Communications Techniques.
Building A Network: Cost Effective Resource Sharing
Data Link Layer 1. 2 Single-bit error 3 Multiple-bit error 4.
Network Layer Lecture Network Layer Design Issues.
Ch. 6 Digital Data Communication Techniques. 6.1Asynchronous & Synchronous Transmission Asynchronous Transmission: transmission in which each information.
Combinational Logic Design
Status and Plans for Xilinx Development
1 HOLA status – February 2011 ● What's been done: ● Firmware for Cyclone IV FPGA for Tang's board – Emulation of TLK2501 transmission protocol – Flow control.
Serial Communications
William Stallings Data and Computer Communications
Serial mode of data transfer
REGISTER TRANSFER LANGUAGE (RTL)
Chapter #6: Sequential Logic Design
Data Communication Networks
OCR AS Level F451: Data transmission
EKT 221 : Digital 2 COUNTERS.
EET 1131 Unit 6 Exclusive-OR and Exclusive-NOR Gates
Pemrosesan Data Tersebar
Sequential Circuit - Counter -
ECE 448 Lecture 6 Finite State Machines State Diagrams vs. Algorithmic State Machine (ASM) Charts.
William Stallings Data and Computer Communications 7th Edition
DIGITAL DATA COMMUNICATION TECHNIQUES
Serial Communication Interface: Using 8251
Lecture Part A Combinational Logic Design & Flip Flop
Chapter 3 The Data Link Layer.
Sequential circuit design
Chapter 5 Peer-to-Peer Protocols and Data Link Layer
Sequential circuit design
Lecture 17 Logistics Last lecture Today HW5 due on Wednesday
Measuring propagation delay over a coded serial communication channel using FPGAs P.P.M. Jansweijer, H.Z. Peek October 15, 2009 VLVnT-09 Athens.
Building A Network: Cost Effective Resource Sharing
Lecture 17 Logistics Last lecture Today HW5 due on Wednesday
New DCM, FEMDCM DCM jobs DCM upgrade path
MPC–SP Synchronization
Switching, Packets, Frames, Parity, Checksums, and CRCs
Chapter 5 Peer-to-Peer Protocols and Data Link Layer
Lecture 4 Peer-to-Peer Protocols and Data Link Layer
Serial Communications
William Stallings Data and Computer Communications
Presentation transcript:

A few notes on Altera transceivers Anton Kapliy January 2011

Transceiver datapath Circled in RED: 8b/10b encoder/decoder and CDR unit. 8b/10b is required to maintain high transition density in the received data stream. It also provides a basic error detection mechanism – see next page. Since comma always appears in LSB byte, we can also use it to establish byte order Lock byte boundary by detecting a 10-bit comma character from TLK2501

8b/10b 256 8-bit characters => 1024 10-bit characters Larger 10-bit phase space => Select mappings with {5/5,6/4,4/6} bit parity E.g, 0011001111 – 6/4, sent if “RD-” Every 6/4 or 4/6 has a complement: E.g, 1100110000 – 4/6, sent if “RD+” To maintain overall DC balance and uniform transition density, RD+ and RD- alternate Error detection: unused 10-bit code OR disparity violation.

TLK2501 synchronization TLK2501 only synchronizes on this comma In order to guarantee that K28.5 commas with correct disparity are received by TLK synchronization circuit, the first IDLE must be selected judiciously depending on running disparity. If a wrong IDLE is sent (e.g., /I2/ after RD+ or /I1/ after RD-), TLK receiver will assert error on received data.

ALTGX 8b/10b limitation 8b/10b encoder does not provide running disparity, so we can't send the correct IDLE (from one of Altera implementation guides) Altera has an 8b/10b megafunction that support 16b/20b cascading, but it is not free

8b/10b logic implementation 8b/10b map is usually implemented as a complex network of gates. This was the subject of a 1984 patent from IBM. 16b/20b implementation is the subject of more recent patents (2007) A simpler option is a MRAM-based lookup table for the entire mapping. But this would take up ~10% of Cyclone IV resources.

Alternative lookup-based solution ALTGX provides optional interface to force running disparity to an arbitrary value data[8] Flip LUT (MRAM) Tells whether the encoded version of this 8bit word would flip running disparity disparity_flipped clk Given 16-bit data from LSC core, the upper and lower 8 bits are simultaneously sent to two flip LUTs. One clock later, we receive corresponding disparity_flipped bits. Together with running disparity in the end of last 16-bit data block, they tell us: Disparity encoding for upper and lowe 8 bits of current word Running disparity in the end of transmission of current 16-bit word

Transceiver reset sequence Transmission is easy: just need PLL to lock Reception is more complicated. In the end, we wait for CDR's to lock

Operation with missing FTK link? Prevent LSC initialization / operation if FTK receive line is missing Have a switch on the board to choose whether we allow FTK-less operation or not Have a separate version of firmware for operation with/without FTK Have a ~millisecond delay to see if FTK receiver CDR is locked; if not – continue operation without FTK.