# Presentation: 738118

## L2 Status

- James T. Linnemann
- MSU
- PMG
- September 20, 2001

## Alpha

- First Production:	    4-6 fully work;  break/fix about 1/week
**Second Production:**
- Pre-production boards work
- DMA fixes incorporated in layout
- Learned can successfully replace CIA BGA  (better than unreliable socket!)
- new supplier for raw boards, better assembly (failures diagnosed; site visits)
- 11 more being built now:  5-7 arrive Sep 26; remainder Oct 5
- PIO to Alpha not working (firmware)		early October
- Need 15 for nominal system (+7 for test stand)
- concentrate on 1 Alpha/crate first—OK for low rate
- Add processors to meet throughput demands as available
- Beta replacement:
- prototype December ‘01, production Summer ‘02

## MBTworkhorse I/O card

- cards in hand
- Before install: stable SCL firmware 		**Sept/Oct **
- firmware all written; being debugged (good turnaround)
**Scl_init sequence;     L1, L2 busy (easier)**
- Multi-card broadcast: need testing at FNAL
- 128 bit fanout	needs testing at FNAL with Edmunds: Oct
- Some marginal timing being chased
- Results write to Global:  needs to be re-integrated
- tweaking output amplitude
- Monitoring functions: need to test at FNAL

**Notes:**
In roughly descending order of amount of work—but monitoring and doc could be pretty big

## FIC: G-link receiver(all crates but muon)

- FPGA code being tweaked
- Some vme problems remain
- commissioning modes only; progress being made
- G-link data problems fixed (tested BER < E-10)
- Need pin reassignment for monitoring FPGA
- Will swap for faster chip (socketed)
- FPGA compiler problems probably resolved
- Fermilab/ESE support for commissioning
- Met last week with Saclay experts
- Consult on design; fixed 3 dead channels

## L2 Muon Cards

**CIC** (L2Mu input card)     installed; inputs cabled
**SLIC** (L2 Mu processor card)	  ready to cable up
- Algorithms being downloaded already
**SFO** (fanout):            all but 2 at Fermi
- Needed by Muon system, and test stand
- Very useful for commissioning
- May have other uses during running
- All cards work in most important modes
- For one mode, have to hand-select cards
- Only need 2 working in 1:12 fanout mode
- Investigating why only half do, but half of 25 is plenty
*why error rate different in Nebraska?*

## Miscellaneous Interface Hardware

- 16 to 128 bit mux add-on to MBT (UMd)
- Returns L2 trigger mask to L2HWFW 	**Sep/Oct**
- L1HWFW to L2 Global (via FIC) (MSU)
- Optical Split: L1 trigger mask        	          **Aug/Oct**** **
- dummy content: fixed + event ID
- Monitoring of Alphas by L1 Scalers (MSU)
- Passive cable formatting card 	**	****Oct**

## CommissioningAt Last

- L1SCL-MBT-Alpha-VBD-L3 milestone met
- One channel “data”, real frame software, in MCH
*Need to verify format from SAM*
- Muon system has seen real inputs-CIC-SLIC
- L1	format needs correction
- Scint	format OK	but L2&timing interfere: **errors**
- MDT	format OK
- PDT	unformatted: October?
**Current tests:**
- SCL_INIT for MBT-Alpha   (for permanent MCH running)
- Add 2nd channel of data (FIC-MBT-Alpha-VBD-L3)
- real algorithms into SLIC; timing		Fwd Mu already
- Muon: 2nd or 3rd input:  CIC-SLIC-MBT-Alpha-VBD-L3
- One event pushed through STT prototype vertical slice
- FRC, STC, TFC:  CTT roads, SMT clusters, fit

## Summary

- Commissioning is underway in earnest
- Some real inputs—need more to do physics
- Mu, cal, ctt, cps is probable order
- Most hardware in hand
- Remaining alphas soon, I hope
- Final cabling in October
- Firmware written; commissioning it now
- MBT, Alpha, FIC
- Crucial scale-up tests in coming weeks
- All hardware in crates
- Multiple inputs
- Algorithm downloads coming
- Muon: started last week; continue thru shutdown
- code running in simulator already

## Arrival of L2 Inputs

- When inputs **steadily** available  (subset**, full**)
- L1 Trigger Mask to Global 	(August**, October**)
- Cal				(September?**, November?**)
- Muon
- Trigger (L2 software not tested)	(June, **November**)
- Detector			(August,**October?)**
- CTT,CPS			(October,**November**)
- FPS			(November,**December**)
- COOR programming 		September?

## Online Software Plans

****Event data flow 			       late Aug
- Worker with filter code	             	Sept
- Multi-alpha (as available)			Oct/Nov
- interrupts for speed as needed		Dec/Jan
- Coor script downloading via TCC: Late Sept
- Till then, configure from hand-edited file
- Online and in TSIM
- Data Flow Monitoring test		Sept/Oct
- Errorlogger to screen/S.E.S.	    	Oct/Dec?
- Global + Preprocessor			Oct-Nov
- FILTERING! (if have enough inputs...)
- Verification: online vs. TSIM
- 1st version running now; 	testing data capture
- Needs pretty good data to be useful	Oct/Nov?