Presentation is loading. Please wait.

Presentation is loading. Please wait.

TELL40 VELO time ordering Pablo Vázquez, Jan Buytaert, Karol Hennessy, Marco Gersabeck, Pablo Rodríguez P. Vazquez (U. Santiago)112/12/2013.

Similar presentations


Presentation on theme: "TELL40 VELO time ordering Pablo Vázquez, Jan Buytaert, Karol Hennessy, Marco Gersabeck, Pablo Rodríguez P. Vazquez (U. Santiago)112/12/2013."— Presentation transcript:

1 TELL40 VELO time ordering Pablo Vázquez, Jan Buytaert, Karol Hennessy, Marco Gersabeck, Pablo Rodríguez P. Vazquez (U. Santiago)112/12/2013

2 Time ordering Packet(34b)=ASIC(4b)+SuperpixelAddress(13b)+BCID(9b)+Hitpattern(8b) Data packets arrive to the TELL40 disordered in time Time ordering = grouping of packets by 9bit BCID value Grouping is done in 2 steps: – Router  based on 4-bits of BCID (MSB or LSB, see later) – Memory storage  remaining 5-bits BCID 12/12/2013P. Vazquez (U. Santiago)2  Goal of this talk Decoding routing memory Data processing “Standard LHCb” “VELO”

3 4-bit BCID VELO packet router Non blocking scheme using internal memory (FIFO’s) Different number of input links considered: – 16 @160 MHz (320) for a half (full) module as described in the TDR – 10 @320 MHz for a full module, when reducing optical links 2 architectures under study: – “Cascade” of 1-bit router elements. Each element routes packets based on 1-bit – “crossbar” : single stage N x 2 M ports routes packets based on all bits Use of altera library megafunctions: lpm_scfifo, lpm_compare... 12/12/2013P. Vazquez (U. Santiago)3

4 1-bit router elements 12/12/2013P. Vazquez (U. Santiago)4 Data 0 w0 Out 0 Out 1 r0 r1 If (BID[i]=0) Write FlipFlop0 else Write FlipFlop1 Data 0 Data 1 w0 w1 If (BID[i]=0) Write FIFO_00 else Write FIFO_01 Out 0 Out 1 r0 r1 If (BID[i]=0) Write FIFO_10 else Write FIFO_11 More Full? More Full? 2x2 router element uses 4 fifos while 1x1 router element doesn’t use fifos

5 10x16 router with “1-bit router elements” 12/12/2013P. Vazquez (U. Santiago)5 xxxx xxx1 xxx0 2x2 port 1-bit router xx11 xx01 1x2 port 1-bit router 1111 0000

6 FPGA resources and max speed Several configurations compiled for the actual device: altera stratix V 5SGXEA7N3F45C2 Router can run @ 320 MHz with 1-5% of resources with a cross-sectional bandwidth 1.6-2.6 higher than required (2G pakets/s peak for full module) 12/12/2013P. Vazquez (U. Santiago)6 In x Out links16x16 (TDR)10x16 (Optimized) Fifo depth (words)512 Logic utilization (in ALMs)3,582 ( 2 % )2,722 ( 1 % ) Total registers38394305 Total block memory bits58,920 ( < 1 % )1,274,940 ( 2% ) M20K blocks128 ( 5 % )84 ( 3 % ) Fmax 85ºC (MHz)340361 Bandwidth links x 320MHz (G packet/s)5.123.2

7 Simulation Generate simulated input data using the known distribution of the event size and latency (see next slides) Aim: the dependency of packet loss vs fifo depth and routing strategy (MSB vs LSB bits) – Aim: data packet loss << 0.1%? Every 34-bit FIFO is allocated on a M20K memory block => optimal is 512 x 40bit. Could be extended We will start simulating the 10x16 @320 MHz case 12/12/2013P. Vazquez (U. Santiago)7

8 Event size distribution The 20 inputs of a full module are below 40% of peak packet rate capacity 12/12/2013P. Vazquez (U. Santiago)8 Data from Martin van Beuzekom At the input of router @320 MHz Links 1-8mean 0.37 pkt/clk Links 9-12 mean 0.31 pkt/clk Link 13,14mean 0.25 pkt/clk Link 15,16mean 0.30 pkt/clk Link 17,18mean 0.26 pkt/clk Link 19,20mean 0.16 pkt/clk

9 Simulation latency Packets arrive at the tell40 with variable latency: Routing with the MSB bits generates data rate peaks 10 times higher than routing with LSB bits – increases packet loss probability (but maybe still acceptable), – but is nicer for MEP: consecutive events are stored in the same memory – Maybe better suited for data- processing (idle time between peaks) 12/12/2013P. Vazquez (U. Santiago)9

10 Summary TELL40 VELO router block has been investigated Compilation of designs based on 1-bit router elements shows that with 1-5% of FPGA resources, the router can handle easily the required bandwidth Simulations with self-generated data will show the packet loss (with respect to fifo depth and MSB/LSB routing strategy) 12/12/2013P. Vazquez (U. Santiago)10

11 backup 12/12/2013P. Vazquez (U. Santiago)11

12 10x16 router 1 stage 12/12/2013P. Vazquez (U. Santiago)12 Data 0 Data 9 w0 w9 Out 0 Out 15 r0 r15


Download ppt "TELL40 VELO time ordering Pablo Vázquez, Jan Buytaert, Karol Hennessy, Marco Gersabeck, Pablo Rodríguez P. Vazquez (U. Santiago)112/12/2013."

Similar presentations


Ads by Google