tuesday september 18thcalice_meeting @ cambridge1 gdcc “next replacement of the lda” franck...

17
Tuesday September 18th CALICE_meeting @ Cambridg e 1 GDCC “next replacement of the LDA” Franck GASTALDI

Upload: lester-richard

Post on 20-Jan-2016

217 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Tuesday September 18thCALICE_meeting @ Cambridge1 GDCC “next replacement of the LDA” Franck GASTALDI

Tuesday September 18th CALICE_meeting @ Cambridge 1

GDCC“next replacement of the LDA”

Franck GASTALDI

Page 2: Tuesday September 18thCALICE_meeting @ Cambridge1 GDCC “next replacement of the LDA” Franck GASTALDI

Tuesday September 18th CALICE_meeting @ Cambridge 2

Outline

• Overview of the DAQ• The story of the LDA

– The Firmware– The Board– Feedback after the last test beam

• The GDCC project– Status of the current work– Planning

• Conclusion

Page 3: Tuesday September 18thCALICE_meeting @ Cambridge1 GDCC “next replacement of the LDA” Franck GASTALDI

Tuesday September 18th CALICE_meeting @ Cambridge 3

Overview

Machineclock 5 MHz

DIFs ASUsDAQ2 PC

DCC

Clock& Control

Digital (Config, Control, Data, Trigger, Busy) over HDMIClock & Trig, Busy over HDMI

LDA

Ethernet network

card

LDA

DCC

×10 ⋮×9

Optique GigEDebug USB

.

.

External Trigger

DCC = Data Concentrator Card CCC = Clock & Control CardLDA = Link Data Agregator DIF = Detector Interface

Page 4: Tuesday September 18thCALICE_meeting @ Cambridge1 GDCC “next replacement of the LDA” Franck GASTALDI

Tuesday September 18th CALICE_meeting @ Cambridge 4

The story of the LDA

Page 5: Tuesday September 18thCALICE_meeting @ Cambridge1 GDCC “next replacement of the LDA” Franck GASTALDI

Tuesday September 18th CALICE_meeting @ Cambridge 5

The Firmware

Xilinx

IP

GEMAC

Several

state machines to manage

and extract datas from

and to the DIFs

DIFsLinks

From LDA(contain ser-des, 8b/10b

Block,protocol management for the DIF packets)

Ethernet

CCC interface

LDA is divided in 4 main functions

• Ethernet interface : Xilinx specific, black box for the user and cannot be maintained.

• Intermediate interface : Packets manager, can be re-used, but difficulty to do the reverse engineering.

• DIFs interface : Protocol & Link management, “good enough” knowledge of code for re-use… but need for improvement for the next FPGA family.

• CCC interface : Distribution of clock and trigger, detection of busy, RamFull, selection of some fast_commands

To

DIF

Page 6: Tuesday September 18thCALICE_meeting @ Cambridge1 GDCC “next replacement of the LDA” Franck GASTALDI

Tuesday September 18th CALICE_meeting @ Cambridge 6

The Board

• LDA is a board with several mezzanines– Clock connection from the CCC– Ethernet connection– HDMI connection

Page 7: Tuesday September 18thCALICE_meeting @ Cambridge1 GDCC “next replacement of the LDA” Franck GASTALDI

Tuesday September 18th CALICE_meeting @ Cambridge 7

LDA on experimental site

example for DHCAL

Rails have been installed to maintain the LDAexample for ECAL

Put up on the chassis

Page 8: Tuesday September 18thCALICE_meeting @ Cambridge1 GDCC “next replacement of the LDA” Franck GASTALDI

Tuesday September 18th CALICE_meeting @ Cambridge 8

Feedback after the last test beam and our experience of this board

• The board :– Not a standard size format– Problem with the grounding and shielding– Only few channels works correctly on each board

(difference from a board to another one)

• The firmware :– GEMAC Xilinx IP core obsolete

• Mandatory to use the old Xilinx software ISE11

– Difficulty to maintain the main part of firmware

Page 9: Tuesday September 18thCALICE_meeting @ Cambridge1 GDCC “next replacement of the LDA” Franck GASTALDI

Tuesday September 18th CALICE_meeting @ Cambridge 9

Towards a new board The GDCC

(prototyping step)

Page 10: Tuesday September 18thCALICE_meeting @ Cambridge1 GDCC “next replacement of the LDA” Franck GASTALDI

Tuesday September 18th CALICE_meeting @ Cambridge 10

GDCC firmware

Gemac

lithe

Homemade

(from xilinx reference design)

Totally free

Some parts from

LDA & DCC

Main

Interface

With some modifications and

improvements

DIFsLinks

From LDA(With improvements

in the future)

Ethernet

T

O

D

I

F

CCC interface

We do not change the main architecture compared with the LDA.

Only the code is slightly modified.

• Re-using some blocks from LDA and DCC

• Replace the GEMAC IP core by a free module with the same behavior

• Replace some blocks for an easiest maintenance and future evolution

• CCC function manages the fast command and busy, clock and trigger are managed by the hardware

Page 11: Tuesday September 18thCALICE_meeting @ Cambridge1 GDCC “next replacement of the LDA” Franck GASTALDI

Tuesday September 18th CALICE_meeting @ Cambridge 11

Firmware architecture (In work)

GMACStream

“Homemade”

RXarbiter

TXarbiter

GDCCpacket

DIFData pkt

Fast CMDpkt

DIFInterface Module

(ser-des,8b/10b)

pktwrapper

Others pkt(udp,…)

Optional, in preparation

Internal register

Databuffer to DIFmodule

Databuffer

from DIFmodule

GDCC datageneratorfor tests

Upstream connection

Downstream connection

Loopback connection Re-used from LDA and DCC

Must be simulated and

tested on board

Control connection

In work

Page 12: Tuesday September 18thCALICE_meeting @ Cambridge1 GDCC “next replacement of the LDA” Franck GASTALDI

Tuesday September 18th CALICE_meeting @ Cambridge 12

Firmware tests

The firmware is tested on Xilinx Spartan 6 evaluation board.

Setup put in place since June

• Commands have been received correctly

• The link to the DIF is locked

• The status can be read

Page 13: Tuesday September 18thCALICE_meeting @ Cambridge1 GDCC “next replacement of the LDA” Franck GASTALDI

Tuesday September 18th CALICE_meeting @ Cambridge 13

GDCC hardware architecture

Spartan 6XC6SLX75

VME Multidrop Jtagdevice

(SCANSTA112)

USB2(FTDI2232)

Fiber or copper Gigabit Ethernet

(Marvell 88E111)DDR2 - SDRAM

(Micron DDR2 MT47H64M16)

HDMI Connection

on mezzanine Board

DIF & CCC

SAMTEC

CONNECTOR

FMC connector(type LPC for mezzanine)

GDCC is powered by VME connector

Dark blue : design based on LDA and DCC but with a reliable connection for the mezzanine. Clock and trigger are distributed by the mezzanine.

Light blue : Physical layer device for Ethernet connection

Red : new part, foreseen but optional

• VME : minimum access foreseen (8 bits data, 16 bits address, 1 IRQ, no arbitration)

• Jtag device for download FPGA : multidrop Jtag access (foreseen to access several boards in remote and the ability to remove a board from the system and retain access to the remaining boards).

• FMC connector : possibility to connect mezzanine board with FMC standard

• DDR2

• nota : USB device can be used to download the FPGA

Page 14: Tuesday September 18thCALICE_meeting @ Cambridge1 GDCC “next replacement of the LDA” Franck GASTALDI

Tuesday September 18th CALICE_meeting @ Cambridge 14

GDCC Board integration

VME rail

Samtec connector

J1 connector

HDMI

Ethernet & usb

SEAM series

SEAF series

Design of a board with a VME size : Board to board solution

FMC connector

Page 15: Tuesday September 18thCALICE_meeting @ Cambridge1 GDCC “next replacement of the LDA” Franck GASTALDI

Tuesday September 18th CALICE_meeting @ Cambridge 15

GDCC Layout

Mezzanine

12 layers

Size : 233 x 52.8 mm

Thickness : 1.81 mm

GDCC

12 layers

Size : 233 x 106.66 mm

Thickness : 1.81 mm

DIF HDMI * 6

CCC HDMI

Additional Samtec connector

Foreseen to plug mini-mezzanine board and to test different kind of connectors

Page 16: Tuesday September 18thCALICE_meeting @ Cambridge1 GDCC “next replacement of the LDA” Franck GASTALDI

Tuesday September 18th CALICE_meeting @ Cambridge 16

Cost estimation (for 3 boards : prototype part)

• Estimated time of manufacture : 20 days for the PCB, 5 days for the cabling, 20 days for supplying of components.The production of prototypes takes 2 months maximum– Per board (GDCC main)

• Board :430 €• Cabling : 600 €• Tools : 310 €• Component : ~293 €• Total : 1633 €

– Per board (mezzanine)• Board : 385 €• Cabling : 465€• Tools : 310 €• Component : ~178 €• Total : 1338 €

• TOTAL GDCC : 2971 € /board

Page 17: Tuesday September 18thCALICE_meeting @ Cambridge1 GDCC “next replacement of the LDA” Franck GASTALDI

Tuesday September 18th CALICE_meeting @ Cambridge 17

Conclusion

• 3 boards will be launch in production this week– We hope to receive the boards in November

• Tests will be organized in several steps– Check the hardware part : FPGA download, clock and

trigger distribution, etc…– Firmware tests in LDA mode

• Long term tests– Tests of USB and Jtag devices– Less priority : VME, DDR2 (no written vhdl code for

now)• GDCC will not available before April 2013

– If there is not a significant problem