23
Embedding deserialisation of LHC experimental data inside LHC experimental data inside Field Programmable Gate Field Programmable Gate Array Array Speaker : T. Romanteau (projet engineering manager) Laboratoire Leprince Ringuet

Embedding deserialisation of LHC experimental data inside Field Programmable Gate Array Speaker: T. Romanteau (projet engineering manager) Laboratoire

Embed Size (px)

Citation preview

Page 1: Embedding deserialisation of LHC experimental data inside Field Programmable Gate Array Speaker: T. Romanteau (projet engineering manager) Laboratoire

Embedding deserialisation of LHC Embedding deserialisation of LHC experimental data inside experimental data inside

Field Programmable Gate ArrayField Programmable Gate Array

Speaker: T. Romanteau (projet engineering manager)

Laboratoire Leprince Ringuet

Page 2: Embedding deserialisation of LHC experimental data inside Field Programmable Gate Array Speaker: T. Romanteau (projet engineering manager) Laboratoire

07/23/2002Project Introduction2

ContributionContribution This project was made possible by a close

collaboration of LLR, CERN and Xilinx:

Ph. Busson, L. Dobrzynski, A. Karar, T. Romanteau for LLR

P. Moreira for CERN

J.L. Brelet, J.R. Macé for Xilinx France

M. Défossez for Xilinx Benelux

N.Brady, P. Clinton, M. Roche for Xilinx Design Services

Page 3: Embedding deserialisation of LHC experimental data inside Field Programmable Gate Array Speaker: T. Romanteau (projet engineering manager) Laboratoire

07/23/2002Project Introduction3

Project Project goalsgoals Verify that commercial embedded Serdes inside

FPGA chips can be used for LHC Measurement of the parameters critical for the

LHC detectors e.g. time latency, synchronization delay, BER and SEU.

Decomposed in two parallel project phases– Perform a measurement of the data transfer quality

between GOL and a commercial chip (TLKx501). Used as a reference.

– Perform a measurement of the data transfer quality between the GOL and the MGT cores embedded in the new Xilinx Virtex2Pro FPGA family.

Project Project planningplanning

Page 4: Embedding deserialisation of LHC experimental data inside Field Programmable Gate Array Speaker: T. Romanteau (projet engineering manager) Laboratoire

07/23/2002Project Introduction4

Virtex2Pro Family DeviceVirtex2Pro Family Device

10 devices Virtex2 features & fabric Higher memory / logic ratio 3K+ to 125K+ logic cells Up to 24 x 3.125 Gb/s SerDes (MGT) Up to 4 x PowerPC 405 cores

Page 5: Embedding deserialisation of LHC experimental data inside Field Programmable Gate Array Speaker: T. Romanteau (projet engineering manager) Laboratoire

07/23/2002GOL / TLKx501 and V2 Embedded Tester5

PPhase 1 : GOL / TLKx501hase 1 : GOL / TLKx501 Designed and Performed by LLR with commercial

deserialiser chip from Texas (TLKx501) Based on use of LVDS demo board provided by

Xilinx-France with embedded Virtex2 FPGA Tests performed at 1.6 Gbps Measurement of critical parameters for LHC

detectors e.g. time latency, BER and SEU First step to perform testing of an other link

solution Acquire experience with the GOL test board and

his internal test code

Page 6: Embedding deserialisation of LHC experimental data inside Field Programmable Gate Array Speaker: T. Romanteau (projet engineering manager) Laboratoire

07/23/2002GOL / TLKx501 and V2 Embedded Tester6

Constraints and ChoicesConstraints and Choices Use of coaxial wire media in first level test As no GOL or TLK behavioral model are yet

available, we use “Xilinx ILA Chipscope” tool for debugging purposes

Display result on LCD display available on “LVDS demo board”

Full hardware solution without “embedded processor” is chosen to rapidly implement platform test

Statistical measurement can be performed with external standard tool like an “oscilloscope”

Two independent clock source are used on each board. Low jitter is required

Page 7: Embedding deserialisation of LHC experimental data inside Field Programmable Gate Array Speaker: T. Romanteau (projet engineering manager) Laboratoire

07/23/2002GOL / TLKx501 and V2 Embedded Tester7

GOL / TLK Test PlatformGOL / TLK Test Platform

Page 8: Embedding deserialisation of LHC experimental data inside Field Programmable Gate Array Speaker: T. Romanteau (projet engineering manager) Laboratoire

07/23/2002GOL / TLKx501 and V2 Embedded Tester8

First resultsFirst results

Emulated SEU event from GOL board is detected No error detected after 60 hours of operation at 1.6

Gbps. In test platform the clock jitter has been characterized

Latency of the TLK2501 device was measured. After synchronization the latency stays constant but can exhibit different values.

We chose to drive the embedded tester with the recovered receiver clock. No fifo buffer required in this case.

Page 9: Embedding deserialisation of LHC experimental data inside Field Programmable Gate Array Speaker: T. Romanteau (projet engineering manager) Laboratoire

07/23/2002GOL / TLKx501 and V2 Embedded Tester9

Clock Jitter CharacterizationClock Jitter Characterization

Page 10: Embedding deserialisation of LHC experimental data inside Field Programmable Gate Array Speaker: T. Romanteau (projet engineering manager) Laboratoire

07/23/2002GOL / TLKx501 and V2 Embedded Tester10

Latency measurementLatency measurement

Page 11: Embedding deserialisation of LHC experimental data inside Field Programmable Gate Array Speaker: T. Romanteau (projet engineering manager) Laboratoire

07/23/2002GOL / TLKx501 and V2 Embedded Tester11

Integrated Logic Analyzer capabilityIntegrated Logic Analyzer capability

Page 12: Embedding deserialisation of LHC experimental data inside Field Programmable Gate Array Speaker: T. Romanteau (projet engineering manager) Laboratoire

07/23/2002GOL / TLKx501 and V2 Embedded Tester12

Phase 1Phase 1 - completion- completion A final release of the PCB with a physical

demonstrator was available by middle July This project was useful to acquire experience with

GOL device and his existing test structure.

A previously designed IP serialiser will be tested and qualified with this platform. This IP works at 800 Mbps and uses the standard FPGA fabric.

BER versus clock jitter tradeoff must be characterized

The TLK chip must be replaced to run at 800 Mbps

- future extension- future extension

Page 13: Embedding deserialisation of LHC experimental data inside Field Programmable Gate Array Speaker: T. Romanteau (projet engineering manager) Laboratoire

07/23/2002GOL / V2Pro-MGT with Embedded Tester13

PPhase 2 : GOL / V2Pro-MGThase 2 : GOL / V2Pro-MGT

Perform the necessary work to test a high speed serial transfer between the GOL device and the embedded Multi Gigabit Transceiver (MGT) included in Virtex2Pro device from XILINX

Characterize the specific timing of this kind of links and verify the compatibility with the LHC experiment requirements

LLR signed a contract with Xilinx Design Services (XDS) to create a design and perform tests based on technical requirement document provided by LLR

Page 14: Embedding deserialisation of LHC experimental data inside Field Programmable Gate Array Speaker: T. Romanteau (projet engineering manager) Laboratoire

07/23/2002GOL / V2Pro-MGT with Embedded Tester14

Why subcontracting ?Why subcontracting ? To save time by overlapping the two development

phases of the project. Base the test on the LM320 (restricted access) high

quality MGT characterization board provided by Xilinx US with embedded Virtex2Pro FPGA

For this new technology, internal Xilinx specialists can be accessed by XDS if necessary

Profit from the experience of XDS to design and manage a mixed hardware/software project

To consolidate our partnership with Xilinx on others aspect of our projects

Page 15: Embedding deserialisation of LHC experimental data inside Field Programmable Gate Array Speaker: T. Romanteau (projet engineering manager) Laboratoire

Xilinx Design ServiceXilinx Design Service Based at Dublin in Ireland, it is the European centre

for design, test and supply of FPGA components and software. 336 employees in 2002

Xilinx Design Services (XDS) team formed at July 2000 and it’s composed of 70 engineers worldwide (40 in Europe) covering hardware and software design activities for customer applications

XDS has been in involved in many innovative design projects for the customers in the telecoms and others industry sectors

They have experiment in designing high performance hardware and software and in management of projects, both large and small

Page 16: Embedding deserialisation of LHC experimental data inside Field Programmable Gate Array Speaker: T. Romanteau (projet engineering manager) Laboratoire

07/23/2002GOL / V2Pro-MGT with Embedded Tester16

Requirement Requirement In a first stage the connection between the boards

was made with high quality coaxial cable, for simplification purpose

Transfer speed between GOL and LM320 board will be tested at 0.8 and 1.6 Gbps

Measurement of critical parameters for LHC detectors e.g. time latency, resynchronization time and standard BER count

Based on use of PowerPC for processing and servicing facilities with console user interface

At the completion of the project, a test report and all the material necessary to modify the design must be available

Page 17: Embedding deserialisation of LHC experimental data inside Field Programmable Gate Array Speaker: T. Romanteau (projet engineering manager) Laboratoire

07/23/2002GOL / V2Pro-MGT with Embedded Tester17

V2PRO Design Architecture V2PRO Design Architecture

Power PcProcessor

MeasurementBlock

UART

Processor Bus

to / from RS232 Driver

SD + SD +

SD -SD -

MGT 1800 Mbits/s

Receiver

MGT 21.6 Gbits/sReceiver

Page 18: Embedding deserialisation of LHC experimental data inside Field Programmable Gate Array Speaker: T. Romanteau (projet engineering manager) Laboratoire

07/23/2002GOL / V2Pro-MGT with Embedded Tester18

GOL / LM320 Test PlatformGOL / LM320 Test Platform

Page 19: Embedding deserialisation of LHC experimental data inside Field Programmable Gate Array Speaker: T. Romanteau (projet engineering manager) Laboratoire

07/23/2002GOL / V2Pro-MGT with Embedded Tester19

PowerPC User Console InterfacePowerPC User Console Interface

Parametrical embedded test program with user console

Switching capability between test on 0.8 and 1.6 Gbps

Switching capability between different kind of test

Page 20: Embedding deserialisation of LHC experimental data inside Field Programmable Gate Array Speaker: T. Romanteau (projet engineering manager) Laboratoire

07/23/2002GOL / V2Pro-MGT with Embedded Tester20

First Results First Results No synchronization loss and BER = 0 after a 67

hours run at 1.6 Gbps and 17 hours at 0.8 Gbps The latency measured at 1.6 Gbps is bounded

between 414.4 and 434.2 ns, and between 732 and 763 ns at 0.8 Gbps. This results are compatible with the use of MGT in data link path

The MGT attempts automatically to receive a comma character after synchronization loss. If internal PLL is already locked, only one comma and 4 valid characters are needed to synchronize again

Synchronization loss can be only simulated with use of MGT serialiser

Page 21: Embedding deserialisation of LHC experimental data inside Field Programmable Gate Array Speaker: T. Romanteau (projet engineering manager) Laboratoire

07/23/2002GOL / V2Pro-MGT with Embedded Tester21

Phase 2Phase 2 - completion - completion A final release of the project with a physical

demonstrator has been available at end of August

Measure the bit-error rate and count losses of synchronization for various levels of clock jitter

Measure the impact of real LHC clock distribution scheme on this predefined setup

Implement and test a demonstrator with few links and his multi channel synchronization material

The GOL test board could be updated to introduce the capability to disable the output of frame. With this scheme, the real synchronization time can be measured

- future extension- future extension

Page 22: Embedding deserialisation of LHC experimental data inside Field Programmable Gate Array Speaker: T. Romanteau (projet engineering manager) Laboratoire

07/23/2002GOL / V2Pro-MGT with Embedded Tester22

First ConclusionsFirst Conclusions A high reliability solution can be based on use of

MGT embedded inside FPGA fabric. This device can include today up to 24 MGT

This FPGA can also include an in-line specific computing process based on use of in board PowerPC (up to 4). This could be useful and versatile on data path link of LHC detectors

Using this high integration solution can have a dramatic impact on size, complexity, number and cost of PCB data board

Use of a specific serialiser IP with low latency could be also included in a FPGA based solution

Page 23: Embedding deserialisation of LHC experimental data inside Field Programmable Gate Array Speaker: T. Romanteau (projet engineering manager) Laboratoire

07/23/2002GOL / V2Pro-MGT with Embedded Tester23

ReferencesReferences A test report of phase 2 is already available and can

be accessible on demand to : [email protected] Others useful documentation will be accessed soon

at the WEB address : http://polywww.in2p3.fr/Electronique/cms/cms_num_new/index.html

Information and documentation about Virtex2Pro and Virtex2 are available at the WEB address : http://www.xilinx.com/products/platform/

Xilinx Design Services can be accessed at the WEB address : http://www.xilinx.com/xds/index.htm

XDS present at CERN on 24, 25, 26 September. For contact : [email protected]