Title: The MROD
1The MROD
- The Read Out Driver for the ATLAS Muon Precision
Chambers
Marcello Barisonzi, Henk Boterenbrood, Peter
Jansweijer, Gerard Kieft, Jos Vermeulen NIKHEF,
Amsterdam Adriaan König,Thei Wijnen NIKHEF and
Univ. of Nijmegen, Nijmegen
2Contents
- MROD System Overview
- MROD-0 Feasibility Study
- MROD-1 Prototype
- First Results
- Conclusions Outlook
3ATLAS MDT Muon Detector 300.000 Drift Tubes
1200 MDT Chambers 200 Towers of 6 Chambers
4System Overview
Chamber
Tower
CSM
24 ch. TDC
MROD
CSM-Link
18 x
(GOL)
24 ch. TDC
6 x
160 MBytes/s S-Link to ROB
24 ch. TDC
CSM-Link
(GOL)
) http//proj-gol.web.cern.ch/proj-gol
5CSM Functionality
40 Mbit/s Data/Clock from TDC
CSM
Serial to Parallel Clock Domain Separator
?1 Gbit/s
Separator
18 x
40 Mbit/s Data/Clock from TDC
(GOL)
Serial to Parallel Clock Domain Separator
1 Start bit 32 Data bits 1 Parity bit 2
Stop bits 36 bits _at_ 25 ns 900 ns
1 Separator word (S) 18 TDC data words 19
words in 900 ns ? 85 MB/s
6MROD Functionality
Separator word
Check (do not store)
TDC0, word 1
Build events in a partitioned memory from TDC
data fragments
(tdc 1) 000000
Skip (do not store)
time
TDC2, word 4
TDC3, word 2
Separator word
TDC0, word 1
TDC1, word 3
TDC2, word 5
TDC3, word 3
TDC2, word 3
Separator word
TDC1, word 2
TDC2, word 2
(tdc 0) 000000
TDC1, word 1
TDC2, word 1
TDC3, word 1
TDC3, word 0
TDC2, word 0
TDC1, word 0
TDC0, word 0
7MROD Form Factor
- 9 U VME board (single slot), 6 CSM Inputs, 1
S-Link Output - Optionally 2 extra CSM Inputs with extension
board to - accommodate some special towers with gt 6
chambers - CSM Input Interfaces integrated on main board
- 1 MROD Crate (Sub rack) contains
- 12 MRODs (12 ? Segments)
- Up to 4 MROD extension boards
- 1 Crate Master with Ethernet Interface (ROD
Crate DAQ) - 1 TIM TTC-Rx Interface Module (incl. ROD
Busy) -
- _at_ 192 towers 192/12 16 MROD Crates (1 per ?
Sector) -
8MROD Crate
DAQ / DCS
ROD Busy
Network
ROB
ROB
VME-bus
TIM-bus
ROD CrateDAQ
MROD
MROD
total ... 12 x
TIM (TTCrx Interface)
6 CSMs
6 CSMs
From TTC system
One MROD Crate services 12 towers (one full ?
sector). In total 16 crates will be required for
all MDT chambers. Some MRODs may have 7 or 8
input links via slave MROD input cards.
9MROD Throughput
MROD
MROD-in
MROD-out
MROD-in
S-Link
MROD-in
Average 5 hits per TDC header trailer 7
words/event Per tower of 6 chambers max. 88 TDCs
7 ? 600 words/event ( 2.4 kB/event) Worst case
est. _at_ 100 kHz L1A rate ? 240 MB/s per
MROD Calculation based on actual tower layout
(J.Chapman) max. rate lt 60 MB/s per MROD
10MROD-0 Feasibility Study
MROD
CSM
MROD-in
CSM
MROD-in
MROD-out
CSM
MROD-in
ROB
MROD-in
CSM
MROD-in
CSM
MROD-in
CSM
11(SHARC-I)
12MROD-0 Prototype
sorted TDC-data over SHARC Link
MROD-in
MROD-out
SHASLINK
MCRUSH
13MROD-0 Input Channel
MCRUSH
1 MB ZBT Memory
Input
FIFO
Output
Tetris Register
FIFO
Control
SHARC
6 Sharc links _at_ 40 MB/s each
Data FIFO
Length FIFO
FPGA
Control/Status Error signaling
14MROD-0 Output Channel
SHaSLINK
PCI bus
SHARC
PCI 9054
6 SHARC Links _at_ 40 MB/s each
Altera 10K10A
S-Link max. _at_ 160 MB/s
15MROD-0 Emulation Hardware
MROD-0
sorted merged TDC-data
sorted TDC-data
TDC-data
ROBSIM
SHASLINK
CRUSH SHASLINK
MCRUSH
MROD-out
MROD-in (3x)
CSMSIM
SHASLINK
0
2
1
3
0
0
1
3
fragment lengths
Module type
xxxxx
S-Link
optionally double/triple MROD-in output
thus simulating 2 or 3 MROD-ins
SHARC-links
event fragment lengths via SHARC-link
simulates future MROD-1 functionality
16 MROD
MRODOUT
ROBSIM
CSMSIM
MRODIN
17MROD-0 Performance Study Results
MROD
MRODOUT
ROBSIM
CSMSIM
MRODIN
18MROD-0 Performance Study Results
MROD
MRODOUT
ROBSIM
CSMSIM
MRODIN
19MROD-0 Performance Study Results
MROD
MRODOUT
ROBSIM
CSMSIM
MRODIN
20MROD-0 Performance Study Results
MROD
MRODOUT
ROBSIM
CSMSIM
MRODIN
21MROD-0 Performance Analysis
- Measured event rate for single output SHARC-I _at_
40 MHz with 2 and 3 emulated CSM inputs maximum
event rates of 70 and 50 kHz respectively are
measured. - MROD-1 will use the SHARC-II _at_ 80 MHz both the
processing speed and the bandwidth increase
proportionately ? event rate ? 100 kHz ? - ? use 2 SHARC-II processors for MROD-out.
22MROD-1Prototype
Memory
FPGA
SHARC
VME64x
FPGA
Memory
SHARC (2x)
Sharc Links
3x (in total)
Memory
FPGA
TTC Interface
SHARC
FPGA
Memory
23SHARC-II
24- The ADSP-21060 and the ADSP-21160 SHARCs
- 40 MHz / 80 ? 100 MHz CPU (SIMD mode)
- 512 KB / 512 KB internal memory
- 6 x 40 / 80 ? 100 MB/s links. Throughput of all
links simultaneously - is 160 / 480 ? 600 (?) MB/s, without disturbing
the CPU. - No handshaking on links, but hardware XON-XOFF
protocol, - 10 / 14 DMA channels
- Support for bus arbitration at max. 6 SHARCs
can be connected to a common - bus without glue logic. Each SHARC can access
the internal memories of each other - SHARC. The SHARCs also provide support for a
so-called host interface, which can - act as an additional master on the common bus.
- Fast interrupt servicing due to the presence of
shadow registers
25MROD-1 Form Factor
- 9 U VME boards, 2 units wide
- 1 S-Link output on daughter board
- 6 GOL inputs on daughter boards
- SHARC II (ADSP21160) DSPs
- (3 for input, 2 for output processing)
- Altera APEX FPGAs, 200k gates
- TIM bus over special P3 back plane
- VME64x interface
-
GOL daughter boards
Input
Input
S-Link daughter board
Input
Output
Motherboard
26MROD-out Board
27MROD-in Board
28MROD-1 Prototype Status
- Fully functional MROD-1 modules exist
- 7 MROD-in and 3 MROD-out boards have all been
extensively tested, also in conjunction with
simulated data via the input link. - Software to boot the SHARCs via the VME bus and a
run-time environment providing file and terminal
I/O via a server program under both the LynxOS
and Linux operating systems on the VME processor
is available.
29MROD-1 Prototype Status (Contd.)
- Current MROD-1 SHARC software is largely ported
from the MROD-0 prototype. Further development of
this code is required. - This process is hampered by a compiler which is
not fully reliable, in particular when it comes
to optimization which in turn is very important
to obtain good performance. - Transition to SHARC-II DSPs has not always been
completely straightforward work-arounds have
been implemented. See example below .
30MROD power-up modification
31First MROD-1 Results
- Preliminary single channel tests with a CSM
simulator show a sustainable 125 kHz event rate
with 18 simulated TDCs with five 32-bit words per
event. - Equivalent of 45 MBytes/sec.
- Rate of 125 kHz appears to be limited by the
input (i.e. the CSM simulator) rather than by the
MROD-1 itself. This is being investigated.
32Conclusions Outlook
- The first MROD-1 test results are in line with
the MROD-0 results and the SHARC-I to SHARC-II
extrapolation. - Results are encouraging. Improvements still
possible. More tests need and will be done. - Development of a GOL receiver card to connect to
the CSM is well underway. - System integration tests with both the CSM and
the DAQ-1 and ROD CRATE DAQ follow soon. - Application in NIKHEF local Cosmic Ray Test Stand.