Date post: | 13-Jan-2016 |
Category: |
Documents |
Upload: | anissa-phelps |
View: | 212 times |
Download: | 0 times |
1Eric CANO, CERN/EP-CMDCMS ECAL Week, July 2002CMS ECAL Week, July 2002 1Eric CANO, CERN/EP-CMD
FEDkit
FED Slink64 readout kit
Dominique Gigi, Eric Cano
(CERN EP/CMD)
CMS ECAL Week, July 2002 Eric CANO, CERN/EP-CMD 2
Topics
Generic III board FEDkit-G3 boards (sender and receiver) FEDkit software library Current status
CMS ECAL Week, July 2002 Eric CANO, CERN/EP-CMD 3
Generic III design
Generic PCI 64/66 (3.3V) designed in EP/CMD group by D. Gigi
Flexible design for Slink64 to PCI with single FPGA
Optional high speed connectors (not soldered on picture)
PMC/Slink connectors used up to 100 MHz
CMS ECAL Week, July 2002 Eric CANO, CERN/EP-CMD 4
FEDkit-G3 receiver board features
FEDkit is Slink 64 to PC memory board through LVDS cable
Generic III plus 2 daughter-boards and cable
Board DMAs data from FED Slink to PC memory
Slink backpressure enables board to avoid overflow
Based on RUWG’s specifications (http://cmsdoc.cern.ch/cms/TRIDAS/horizontal/)
CMS ECAL Week, July 2002 Eric CANO, CERN/EP-CMD 5
FED-G3 sender
No FED available for the moment
So this board “emulates” the FED
Currently only support random generation tested
But sender used as PCI master and slave design done
Test and validation (hopefully) due mid-august
PC 2
PC 1
FEDsender
Other boardPC
memory
FED receiver
PCmemory
Real FED
CMS ECAL Week, July 2002 Eric CANO, CERN/EP-CMD 6
Driver model
Driver pre allocates data blocks Blocks stored in software FIFO then pushed in board (interrupt driven) Starvation (for free buffers) protection by interrupt (software FIFO feeds
hardware FIFO on interrupt) Board pushes word count in another FIFO Driver builds event fragments Event size limited only by exhaustion of data blocks (in practice, tested up to
512kB) Event drop support to allow abortion of partially received event and
continuous flow (not tested yet) Supports user header reservation for zero-copy transmission (XDAQ)
CMS ECAL Week, July 2002 Eric CANO, CERN/EP-CMD 7
FED-G3 receiver boardSlink to LVDS adapter
Slinkconnector
Software FIFO (free blocks addresses)This FIFO has arbitrary length
Hardware FIFOFor free blocks
DATAblocks
Interrupt driven feed
Free blockFIFO of blocks in board
Internal word counter
Wor
d co
unt F
IFO
Eventfragment
FED-G3 receiver board
Host memoryHost memory
DATAblocks
CMS ECAL Week, July 2002 Eric CANO, CERN/EP-CMD 8
FEDkit receiver performance
Measurements with “infinite” source
Performance mainly limited by PCI throughput
Pure DMA Throughput 500MB/s
Fragment overhead 0.58µs
Additional block overhead 0.18µs
Test done with 4kB blocks
0
100
200
300
400
500
600
0 2048 4096 6144 8192 10240 12288 14336 16384
Event fragment sizes
Th
rou
gh
pu
t in
MB
/s
CMS ECAL Week, July 2002 Eric CANO, CERN/EP-CMD 9
User interface (API)
The FED-G3 driver called by the user in a way as simple as possible
User sets parameters (block size, block number) then starts driver
Simply get event fragments/free event fragments Finally release the driver Additional functions to handle and analyze fragments Fragment is a collection of blocks Reserved space for headers at beginning of blocks
CMS ECAL Week, July 2002 Eric CANO, CERN/EP-CMD 10
Current status and future
Receiver for single and double link (merger) tested Sender used as generator only Test software for slave and master sender over PCI in
development Event drop support to be done Successful transmission of data from Endcap Muon FED by
J.Gilmore at Ohio State University The FEDkit was integrated in XDAQ as a data source Ready to deliver to FED developers to test their Slink-64 port
(non-merge version)
CMS ECAL Week, July 2002 Eric CANO, CERN/EP-CMD 11
Conclusion
Receiver behavior fine and tested Sender partially tested Next objective complete sender tests for mid-august (no
guarantee) Software and hardware documentation, software download
– http://cern.ch/cano/fedkit– E. Cano ([email protected])
Hardware web site (schematics, etc…)– http://cmsdoc.cern.ch/~dgigi
Hardware can be ordered : – contact A. Racz ([email protected])