conceptual design for sr/spacosta/cms/srsp_aug01.pdf · ½ strip * 8 24 120 ½ strip label clct...

15
USCMS Trigger Meeting, August 2001 Darin Acosta 1 Conceptual Design for SR/SP Conceptual Design for SR/SP Topics: L Board Layout L Bit counts and data serialization L Memory architecture (PNPI) L SP to Verilog Translation (Madorsky) L DDU plans

Upload: others

Post on 24-Sep-2020

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Conceptual Design for SR/SPacosta/cms/srsp_aug01.pdf · ½ Strip * 8 24 120 ½ strip label CLCT pattern * 4 12 75 Pattern number without 4/6, 5/6, 6/6 L/R bend * 1 3 15 Sign bit for

USCMS Trigger Meeting, August 2001 Darin Acosta1

Conceptual Design for SR/SPConceptual Design for SR/SP

Topics:

è Board Layoutè Bit counts and data serializationè Memory architecture (PNPI)è SP to Verilog Translation (Madorsky)è DDU plans

Page 2: Conceptual Design for SR/SPacosta/cms/srsp_aug01.pdf · ½ Strip * 8 24 120 ½ strip label CLCT pattern * 4 12 75 Pattern number without 4/6, 5/6, 6/6 L/R bend * 1 3 15 Sign bit for

USCMS Trigger Meeting, August 2001 Darin Acosta2

Possible Single Crate SolutionPossible Single Crate Solution

SR /

SP

SR /

SP

SR /

SP

SR /

SP

SR /

SP

SR /

SP

SR /

SP

SR /

SP

SR /

SP

SR /

SP

SR /

SP

SR /

SP

CC

B/M

S

BIT

3 C

ontr

olle

r

• Total latency: ~ 20Bx (from input of SR/SP card to output of CCB/MS card) • Power consumption: ~ 500W per crate • 17 optical connections per SR/SP card (15 - from endcap, 2 – from/to barrel) • Custom backplane for SR/SPs < > CCB/MS connection

SR/SP Card (3 Sector Receivers +

Sector Processor) (60° sector)

CCB/MS Card (CCB +

Muon Sorter)

To Global Trigger

From TTC

From MPC (chamber 4)

From MPC (chamber 3)

From MPC (chamber 2)

From MPC (chamber 1B)

From MPC (chamber 1A)

From / To Barrel

Track-Finder crate (1.6 Gbits/s optical links)

15

Page 3: Conceptual Design for SR/SPacosta/cms/srsp_aug01.pdf · ½ Strip * 8 24 120 ½ strip label CLCT pattern * 4 12 75 Pattern number without 4/6, 5/6, 6/6 L/R bend * 1 3 15 Sign bit for

USCMS Trigger Meeting, August 2001 Darin Acosta3

Merged SR/SPMerged SR/SP

From MPC (chamber 4)

From MPC (chamber 3)

From MPC (chamber 2)

From MPC (chamber 1C)

From Clock and Control

Board

To Muon Sorter

Small Form Factor

Transceivers Deserializer

Chips Front

FPGAs

Memory Look-up Tables

Sector Processor

FPGA chip

Pt-assignment

LUTs

VME Interface

From MPC (chamber 1B)

~45 SRAM chips 80 MHz speed

1 April 2001

From MPC (chamber 1A)

To/From Barrel

Input: 528 bits/sector/b.x. Output: 60 bits/sector/b.x.

To CSC DAQ

From trigger primitives

15 trigger links, 1 DAQ 45 SRAM

Page 4: Conceptual Design for SR/SPacosta/cms/srsp_aug01.pdf · ½ Strip * 8 24 120 ½ strip label CLCT pattern * 4 12 75 Pattern number without 4/6, 5/6, 6/6 L/R bend * 1 3 15 Sign bit for

USCMS Trigger Meeting, August 2001 Darin Acosta4

Salient FeaturesSalient FeaturesBi-Directional Optical LinksèSince we have both transmitters and receivers in the optical

connection, this allows the option to send data as well as receiveè Makes testing much easierp One board sends data to other, or even itself through links

SR memory set for each muon stub è No muon multiplexing means shortest latency

SP chip on a mezzanine boardè Decouples board development from FPGA technologyè Makes upgrades easier

DT fan-out on transition boardè Deliver all possibly needed signals to backplane connectorè Settle transmission technology, connector type, connector

count on transition board at a later date

Page 5: Conceptual Design for SR/SPacosta/cms/srsp_aug01.pdf · ½ Strip * 8 24 120 ½ strip label CLCT pattern * 4 12 75 Pattern number without 4/6, 5/6, 6/6 L/R bend * 1 3 15 Sign bit for

USCMS Trigger Meeting, August 2001 Darin Acosta5

Signal Bits / stub Bits / 3 stubs (1 MPC)

Bits / 15 stubs (ME1–ME4)

Description

½ Strip * 8 24 120 ½ strip label CLCT pattern *

4 12 75 Pattern number without 4/6, 5/6, 6/6

L/R bend * 1 3 15 Sign bit for pattern Quality * 3 9 45 Computed by TMB Wire group 7 21 105 Wire group label Accelerator µ 1 3 15 Straight wire pattern CSC i.d. 4 12 60 Chamber label in

subsector BXN 2 6 30 2 LSB of BXN Valid pattern 1 3 15 Must be set for above

to apply Spare 1 3 15 Total: 32 96 480 (240 bits at 80 MHz)

è Muon Port Cards deliver 15 track stubs each BX via optical

èDT Track-Finder delivers 2 track stubs each BX via LVDS

SR/SP InputsSR/SP Inputs

Signal Bits / stub Bits / 2 stubs (MB1: 60°)

Description

φ 12 24 Azimuth coordinate φb 5 10 φ bend angle

Quality 3 6 Computed by TMB BXN 2 4 2 LSB of BXN

Synch/Calib 1 2 DT Special Mode Muon Flag 1 2 2nd muon of previous BX

Total: 24 48

Sent on first frame

Reduced from 5

Needed for frame info

Page 6: Conceptual Design for SR/SPacosta/cms/srsp_aug01.pdf · ½ Strip * 8 24 120 ½ strip label CLCT pattern * 4 12 75 Pattern number without 4/6, 5/6, 6/6 L/R bend * 1 3 15 Sign bit for

USCMS Trigger Meeting, August 2001 Darin Acosta6

SR/SP OutputsSR/SP Outputsè 6 track stubs are delivered to DT Track-Finder each BX

(delivered at 40 MHz to transition board)

è 3 muons per SP are delivered to Muon Sorter via GTLP backplane

Signal Bits / stub Bits / 2 stubs (ME1: 20°)

Bits / 6 stubs (ME1: 60°)

Bits / 6 stubs @ 80 MHz

Description

φ 12 24 72 36 Azimuth coordinate

η 1 2 6 3 DT/CSC region flag

Quality 3 6 18 9 Computed by TMB

BXN – 2 6 3 2 LSB of BXN

16 34 102 51 Total

Signal Bits / µ Bits / 3 µ (1 SP)

Bits / 36 µ (12 SP)

Description

φ 5 15 180 Azimuth coordinate η 5 15 180 Pseudorapidity

Rank * 7 21 252 5 bits pT + 2 bits quality

Sign * 1 3 36 BXN * – 2 24 2 LSB of BXN Error * – 1 12 Spare * 1 3 12 Total: 19 60 720 (360 bits at 80 MHz)

Sent on first frame

Page 7: Conceptual Design for SR/SPacosta/cms/srsp_aug01.pdf · ½ Strip * 8 24 120 ½ strip label CLCT pattern * 4 12 75 Pattern number without 4/6, 5/6, 6/6 L/R bend * 1 3 15 Sign bit for

USCMS Trigger Meeting, August 2001 Darin Acosta7

SR/SP Internal DataflowSR/SP Internal Dataflowè Data delivered from SR to SP

Signal Bits / stub Bits / 6 stubs (ME1)

Bits / 15 stubs (ME1–ME4)

Description

φ 12 72 180 Azimuth coordinate φb 5 30 75 φ bend angle η 6 36 90 Pseudorapidity

Accelerator µ 1 6 15 η bend angle Front/Rear * 1 6 6 ME1 chamber

stagger CSC ghost * – 4 4 2 stubs in same

ME1 CSC Quality 3 18 45 Computed by TMB Total: 28 172 415 (sent at 80 MHz)

ME1 only

Page 8: Conceptual Design for SR/SPacosta/cms/srsp_aug01.pdf · ½ Strip * 8 24 120 ½ strip label CLCT pattern * 4 12 75 Pattern number without 4/6, 5/6, 6/6 L/R bend * 1 3 15 Sign bit for

USCMS Trigger Meeting, August 2001 Darin Acosta8

Old SR Memory SchemeOld SR Memory Scheme

Now in TMB

Page 9: Conceptual Design for SR/SPacosta/cms/srsp_aug01.pdf · ½ Strip * 8 24 120 ½ strip label CLCT pattern * 4 12 75 Pattern number without 4/6, 5/6, 6/6 L/R bend * 1 3 15 Sign bit for

USCMS Trigger Meeting, August 2001 Darin Acosta9

New SR Memory SchemeNew SR Memory Scheme

ALCTWG 5

ALCTWG 5

Local φ LUT 128K×16

½ Strip 8 Pattern 4 Quality 3 L/R Bend 1 Muon # 1

10 φlocal

6 φb, local

Global φ LUT (CSC) 1M×12

φlocal 10

CSCID 4 12 φCSC

Muon # 1

Global φ LUT (DT) 1M×12

φlocal 10

CSCID 4 12 φDT

Muon # 1

Global η LUT (CSC) 1M×11

ALCTWG 7 CSCID 4 6 ηCSC φb, local 6

Muon # 1

φlocal 2 5 φb,CSC

0.5 BX 0.5 BX

Frame 1 Frame 2

Same memory with 24 output bits

Don’t need “muon #” if not multiplexing muons

Page 10: Conceptual Design for SR/SPacosta/cms/srsp_aug01.pdf · ½ Strip * 8 24 120 ½ strip label CLCT pattern * 4 12 75 Pattern number without 4/6, 5/6, 6/6 L/R bend * 1 3 15 Sign bit for

USCMS Trigger Meeting, August 2001 Darin Acosta10

Discussion of SR Memory (1)Discussion of SR Memory (1)Data Frames: è Data arrives off links @ 80 MHzè The proposed framing scheme implies no latency lossp First LUT operates on first frame only

(but must reduce CLCT pattern label by 1 bit)è This frame definition must be applied in the TMB where the

data is generated and first serialized (i.e. before MPC) to avoid latency penalty

Memories:è LUT for DT only applies to ME1è Chip count is 3 per stub, down from 6 originallyè Increased memory size to 0.5M (okay for synch. SRAM)è “Muon #” only applies if more than one stub in a BX is sent

through same memory

Page 11: Conceptual Design for SR/SPacosta/cms/srsp_aug01.pdf · ½ Strip * 8 24 120 ½ strip label CLCT pattern * 4 12 75 Pattern number without 4/6, 5/6, 6/6 L/R bend * 1 3 15 Sign bit for

USCMS Trigger Meeting, August 2001 Darin Acosta11

Discussion of SR Memory (2)Discussion of SR Memory (2)One memory set per stub:è 15×3 = 45 chipsè 1 BX latencyè 415 signals to SP

First SR had 36 chips and 1 BX latency

Memory choices:è synch SRAM clocked at 160 MHz (tested to this frequency)è Flow Through SRAM clocked at 80 MHz (see PNPI)

Page 12: Conceptual Design for SR/SPacosta/cms/srsp_aug01.pdf · ½ Strip * 8 24 120 ½ strip label CLCT pattern * 4 12 75 Pattern number without 4/6, 5/6, 6/6 L/R bend * 1 3 15 Sign bit for

USCMS Trigger Meeting, August 2001 Darin Acosta12

Muon 1 Rank LUT 4M×8

∆φ12 8

Sign 1

η 4 F/R 1

∆φ23 4

Mode 4

Rank1 7

Muon 2 Rank LUT 4M×8

∆φ12 8

Sign 1 η 4

F/R 1

∆φ23 4

Mode 4

Rank2 7

Muon 3 Rank LUT 4M×8

∆φ12 8

Sign 1

η 4 F/R 1

∆φ23 4

Mode 4

Rank3 7

OE

OE

OE

Sign1, Sign2, Sign3, BXN, Error 9

φ1, φ2, φ3 15

η1, η2, η3 15

SP FPGA

30 GTLP backplane

SP Memory SchemeSP Memory Scheme

è Must serialize to fit data on backplaneè No latency penalty for

serialization if Rank sent first to Muon Sorterè SP FPGA contains tri-state

buffers and generates enable for memories

80 MHz

Frame 1

Frame 2

Added F/R bit to improve PTresolution

∆φ23 could be replaced by φb

Page 13: Conceptual Design for SR/SPacosta/cms/srsp_aug01.pdf · ½ Strip * 8 24 120 ½ strip label CLCT pattern * 4 12 75 Pattern number without 4/6, 5/6, 6/6 L/R bend * 1 3 15 Sign bit for

USCMS Trigger Meeting, August 2001 Darin Acosta13

SP to SP to Verilog Verilog translationtranslationWhat we said last time:

Will overhaul some of the SP software/firmware to facilitate changes to bothè Have SW algorithms match Verilog/Schematics betterè Have SW read same HW LUTs (it already generates them)

Plan to test next SP design even before construction!è Add utilities to write ORCA data into Xilinx simulator format and

to compare simulator output to ORCAè Gives us a head start on validating logic designè Will allow us to focus on HW debugging rather than SW

debugging when testing the next prototype

This is now done! Latency: 12 → 5 BX (See Madorsky)

Page 14: Conceptual Design for SR/SPacosta/cms/srsp_aug01.pdf · ½ Strip * 8 24 120 ½ strip label CLCT pattern * 4 12 75 Pattern number without 4/6, 5/6, 6/6 L/R bend * 1 3 15 Sign bit for

USCMS Trigger Meeting, August 2001 Darin Acosta14

CSC TF DAQ PlansCSC TF DAQ PlansSend input of SR and output of SP to DAQ stream for diagnostics

Track-Finder DAQ acts as additional DDU for EMU system è Plan to use existing DDU design by OSUp OSU has decided to use T.I. Chip for serializationp 12 SP fiber connections fits well into 15 planned for DDUp (Don’t even need separate links as ours are bi-directional)

Next step is to have Lev work with OSU (Jason Gilmore) to learn their designè Check bandwidth and buffer limitationsè Understand how to format our dataè Design buffers and readout on SR/SP

Page 15: Conceptual Design for SR/SPacosta/cms/srsp_aug01.pdf · ½ Strip * 8 24 120 ½ strip label CLCT pattern * 4 12 75 Pattern number without 4/6, 5/6, 6/6 L/R bend * 1 3 15 Sign bit for

USCMS Trigger Meeting, August 2001 Darin Acosta15

Mirror CSC DAQ Path Mirror CSC DAQ Path

OSU now plans 20°slices to equalize bandwidth

× 36

DDU SLINK + 1 (2?)12 optical fibers

Sector Processors send L1 data

CSC DDU designed by Ohio State Univ.15 optical fibers