Download presentation
Presentation is loading. Please wait.
Published byBrendan McDonald Modified over 8 years ago
1
.1PXL READOUT STAR PXL READOUT requirement and one solution Xiangming Sun
2
.2PXL READOUT STAR Outline Requirements for event readout mode One solution for Event readout mode
3
.3PXL READOUT STAR Rrequirement for event readout mode 40 sensors per readout board( Each sensor has 2 LVDS pairs. 80 LVDS pairs in 160MHz). sensor digitizes signal and records hit address in on-chip memory, then transfer hit address serially. trigger is STAR DAQ1000(about 1KHz). DDL working at 40MB/s in average. requirement : mass terminition board xilinx V6 RDO SIU/DDL DAQ PC
4
.4PXL READOUT STAR Data rate for 1 sector 1 second 1000 triggers 1 second 1000 triggers 3 outer and 1 inner 3X150+500=1000 words 3 outer and 1 inner 3X150+500=1000 words 1 ladder 10 sensors 1 ladder 10 sensors 1000X1000X10=10M words=40 Mbyte/S
5
.5PXL READOUT STAR What is the data looks like for 1 sensor Data is sent in serial. We have 40 sensors for each sector
6
.6PXL READOUT STAR Input and output for FPAG for 1 sector 40 sensors:80 channels in 160 MHz Event data block input output 1K Hz trigger
7
.7PXL READOUT STAR One solution Data is buffered in FPGA Event format Event mode Readout structure for one sector Data modified Readout mechanism exceptions
8
8PXL READOUT STAR Data is buffered in FPGA DAQ policy: 1 trigger per event DDL peak speed(2Gb/s) is lower than data generation peak speed(12.8Gb/s). TPC can buffer 8 triggers when DDL is not available. PIXEL should buffer >=8 trigges frame1 frame2 frame3 Trigger timeEvent data
9
.9PXL READOUT STAR Event format 9 For sector header ender Data block For ladder1 Data block For ladder2 Data block For ladder3 Data block For ladder4 Header token Trigger info system status temperature Firmware version Hardware ID ……. 10 words reserved Block startData length … Hit address end token sensor ID is encoded in four unused bits
10
.10PXL READOUT STAR Ladder#1Ladder#2Ladder#3Ladder#4 Event Builder #1 (head token added) Event Builder #2 Event Builder #3 Event Builder #4 (end token added) Event fifo SIU Event mode Readout structure for one sector
11
11PXL Sensor and RDO review – 06/23/2010 STAR 11 Data modified
12
12PXL READOUT STAR 12 chip ID and row token row token chip ID
13
.13PXL READOUT STAR Event Builder Serial to parallel conv … 10 sensors data memory Trigger time memory start frame memory Builder state machine To eventfifo circular buffer Sensor 1 output1 output2
14
.14PXL READOUT STAR Serial to parallel converter Serial to parallel conv … 10 sensors data memory Serial-to-parallel converter 1,convert 160MHz 1 bit data to 10MHz 16bit parallel data. 2, add sensor ID into the data. Data memory scans Serial-to-parallel converter one by one every 10 ns(100MHz). It starts from sensor 1 and go back to sensor 1 after reaching sensor 10. From sensor1 From sensor2 From sensor… From sensor10 From sensor… From sensor1 Sensor 1 output1 output2
15
.15PXL READOUT STAR Circular buffers data memory Trigger time memory start frame memory frame counter when trigger comes index of start frame memory index of data memory for the first frame index of data memory for the second frame 64K words 512 words trigger token and buffer full frame1 frame2
16
.16PXL READOUT STAR Data check out data memory Trigger time memory start frame memory frame1 frame2 get trigger time and start frame index get buffer index for 2 frames Check out region where hit address bigger than trigger time for frame1 and smaller for frame2 Release unused memory.
17
17PXL READOUT STAR Buffering capability 19K words/trigger (684kb).( buffer length in chip is assumed to be 500 words and 150 word for inner and outer ladder ). threshold are set in Serial-to-parallel converter to control the max addresses coming from each sensor.
18
18PXL READOUT STAR exceptions Sensor overflows Data memory overflows Start frame memory overflows Trigger time memory overflows
19
19PXL READOUT STAR Firmware Architecture Event readout IOdelay Slow control JTAG Ladder interface Main configuration usbddl Jtag to sensor TCD Sensor outputTemperature latchup clk
20
20PXL READOUT STAR event readout Architecture mg stpc eb trc Mux (40X20)-(40) switch (32X8)-(32) ef SIU marker(1) & frame counter(10) switch (32X2)-(32) 66Mhz sensor output trigger Mg:marker generater Stpc:serial to parallel converter Trc:trigger controller & readout controller Eb:event buffer Lb:ladder buffer Ef:event fifo stpc eb...20......8... stpc eb Mux (40X20)-(40) switch (32X8)-(32) stpc eb...20......8... 200Mhz valid(8) & data(32) valid(1) data(32) eb_busy(1) 200Mhz 10Mhz 200Mhz trigger enable(8) & trigger time(10)
21
21PXL READOUT STAR Stpc:serial to parallel converter sr tltl time decoder& buffer sr tl...8... trigger time(10) valid data(32) trigger enable(8) trigger enable(1) Sr: shift register Tl: trigger logic
22
22PXL READOUT STAR trigger controller & readout controller Circular buffer(8 in depth) Trigger trigger enable(8) & trigger time(10) Readout controller Switch control Readout trigger addresstrigger address TCD
23
23PXL READOUT STAR
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.