1 / 14

Timepix3 Readout

Timepix3 Readout. By: Bas van der Heijden & Martin van Beuzekom. MPX3 and TPX3 readout -> SPIDR. S peedy PI xel D etector R eadout Development on a Xilinx evaluation board design a custom (small form factor) FPGA board at a later time

teal
Download Presentation

Timepix3 Readout

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Timepix3 Readout By: Bas van derHeijden & Martin van Beuzekom Nikhef

  2. MPX3 and TPX3 readout -> SPIDR • Speedy PIxelDetector Readout • Development on a Xilinx evaluation board • design a custom (small form factor) FPGA board at a later time • Aim to read out 1 Timepix3 at full (80 Mhits/s) speed, or multiple Timepix3 chips at lower speed (less links per TPX3) • Readout bandwidth at least 5 Gbits/s -> use 10 Gigabit ethernet • currently using 1 Gigabit ethernet • 10 Gbe VHDL code development started • MPX3.1 and RX readout up and running (low DAQ speed) • Re-use ‘back-end’ code for TPX3 readout Nikhef

  3. Medipix3 chipboard Xilinx ML605 development board Nikhef

  4. Timepix3 chipboard HV for sensor/ grid test fixture for diff. probe No routing TPX3 lemo00 Power supply 1.5V Test fixture 11x 150mm 69mm FMC connector By: Bas van der Heijden Nikhef

  5. Timepix3 chipboard • FMC (high pincount 8gbt’s) • Muxforselectingbetweengbt and regular IO pinsonfpga (PI2PCIE2412ZHE) • ADC & DAC for timepix I2C • Lemo’s (trig/clk/busy/?) • VDD(1.5V) VDDA(1.5V) VDDPLL(1.5) (from one DC/DC? CERN sm01c) • VDDA(3.3 efuse from FMC) • U&I monitor (ina219) • CERN rad-hard powersupply’s? • Flash for storing pixel mask (mp25p32 32Mb) • Simple bias supply for Si sensor? (max668) (12-100V) • Extra pad and connector/pad for HV bias (1000V) (thick sensor/grid+cathode) • Probing fixturesfor 8x data_out/data_in/clk_in/enable_in • No routing behind chip (allows removing/thinning of PCB for beamtest) • Chip cooling? By: Bas van der Heijden Nikhef

  6. Fast data transmission path 64MHz (recovered clock) 125MHz 156MHz MAX data rate is 5.12Gbit (80MHz*64bit@8 lanes) TPX RST TPX CLK 8x TimeStamp 14+20bits 2^34*25ns ≈ 7min Unique timestamps@40MHz Pixel data to Ethernet packet State Machine timestamp 20b FIFO 68b Depth=4097 8x36Kb EBR Data 64b Data 64b Data 68b TX BUF-FER 10GB MAC 10GB PCS Data 68b Data 64b SerDes 640Mbit Pixel word collector 48b + 20b timestamp FIFO 68b (depth=16) CLK 10MHz CLK 64MHz sop WORD MUX Data 68b Port 1 sop eop Empty Empty Empty Control word DEMUX Data 8b Data 68b eop Empty RdReq RdReq RdReq IP MUX RdReq K-char WRen XGMII • Removecontrolheader • Sendpacketontimeoutormaxsize 10G Base X Almost full Almost full RX BUF-FER eop sop Control data FIFO 64b Throttle control CPU Port n Pixel word 68b Crtl 4b Address 16b ToA 14+4b ToT 10b Coarse Timestamp20b Nikhef

  7. Fast data path summary • Add 20 bit timestamp to 48 bit pixel packets from TPX3 • data of up to 8 serial links merged into one fifo (round robin) • strip off 4 bit ctrl header in ethernet packet builder • use 4 bit ctrl header to route data (to GBE / CPU) • GBE packet transmitted when either max. length reached or when time-out (configurable) • max. collection time given by 14+20 timestamp @40 MHz -> 7 minutes Nikhef

  8. control data path 156MHz 125MHz 40/80MHz RX Statemachine Packet decoder Enable Data out Front end Data Port 1 ClkIn MUX TX BUF-FER 10GB MAC 10GB PCS 64b IP MUX XGMII 10G Base X Throttle control Veto 64b RX BUF-FER T0 sync Control signals CPU Shutter CPU Port TPulse ext_T0 & shutter Nikhef

  9. control path summary • Configuration / control via soft-core CPU (Leon) • Configuration directly from GBE also possible via Rx statemachine • Rx statemachine also for throttling (pause frames) • The Soft-CPU + firmware take care of the HW specific details • Testpulse generator • Shutter control Nikhef

  10. Throttle structure FPGA PC Timepix3 FIFO TX State-Machine MAC+PCS Network card DAQ application 10G Base X FIFO almost full Shutter Throttle control Pause frame FrontEnddisable Other detectors DAQ busy packet (continue after …) FE disablefromother detector Nikhef

  11. Hardware status + plan for next 3 months • 2 hardware engineers full time + support for PCB design • MPX3+RX readout working • 1 lane to MPX3, 1 Gbe to PC • not yet all modes are implemented/tested • further VHDL development is temporarily stopped; focus on TPX3 specific parts • Aim to have ready before TPX3 returns from fab: • Chipboard • 10 GBE (fallback to 1 GBE possible) • VHDL statemachine, interface to TPX3 • Pixel packet receiver and packet builder for 10 GBE • Later this year: • features and testing max. data throughput • custom FPGA board • tileable chipboard for MPX3 and TPX3 (2 versions) Nikhef

  12. Software status and plans • Simultaneous code development for soft-CPU in FPGA and driver library at PC side • Library (“API”) for MPX3+RX functions almost complete, being tested/debugged at the moment • Low level TPX3 calls will be added the coming months • Testprograms(“scripts”) are simply a collection of calls from the library • Calls like: “SetDACs”, “openShutter”, “ReadFrame” etc. • written in C/C++, compile before running (MS Visual Studio Express 2010, free version) • Pixel data written to disk and /or on primitive display • decoder for offline display (Root) will be provided • Additional layer of code will be added to adapt to Pixelman API • High speed DAQ program will follow later this year Nikhef

  13. Software tools • (V)HDL graphical entry tool: Ease from HDLworks • Simulation: Questasim latest version • Synthesis: Xilinx ISE version 14.x • Use of SVN • Software development: MS Visual Studio Express 2010 • free version Nikhef

  14. We would like to have/know: • Final pinout / dimensions of TPX3 for chipboard • Up to date manual (working document?) • Simulation model of TPX3 Other • S-LVDS issue? converter needed? Nikhef

More Related