TOP FW Gemba Meeting
→
Pacific/Honolulu
Description
https://speakapp.link/to/L3mdFg
Tommy Lam
TOP Firmware Gemba Meeting — Minutes (6 Oct 2026)
First meeting of the series; chaired by T. Lam. Attendees included K. Yoshihara, T. Lam, S. Kohani, V. Shebalin, M. Bessner, M. Andrew, V. Savinov and K. Arai.
1. Removing the channel-pair "doubling" (Tommy)
- Context: to cut ROPC CPU load, the IRSX currently reports hits per channel pair (0|1, 2|3, 4|5, 6|7), so both channels of a pair are read out. Matt confirmed that the IRSX trigger pulse width can distinguish even-only, odd-only and both, and previous developers (Luca, Kurtis) left comments and VHDL for this.
- Plan: revive the width-detection path (IrsXWidthDetect → IrsXScaler/Sequencer → IrsXSingle) with a testbench for each step, then validate on the UH test bench. In parallel, build a lookup table of IRSX bias settings vs. trigger width on Matt's IRSX test board, and confirm the settings are consistent on the UH test bench and at KEK.
- Status: a testbench for IrsXWidthDetect shows the logic works; register-mapping typos in the interface control were fixed. Work is in a private GitLab repo before going into SVN; deployment to be coordinated with Vasily. The IRSX test board still needs to be set up.
- Request (Shahab): keep the doubling available as a mode (e.g., a register switch), since the pedestal method below relies on it. Agreed.
2. ROPC pedestal waveform trigger (Shahab)
- Goal: compute pedestals on the ROPC from waveforms sent through the normal data path, with triggering moved from the PS to slow control (the PL is too complicated). About 500 waveforms are needed for each of ~490 windows.
- Replicating the PS method (hundreds of trigger commands per window) does not work from slow control — the UH system errors out after many trigger commands.
- Option A — long trigger window per window (lookback scan): slow, scales with the number of boardstacks, needs tuning per system and the analog threshold turned off. Workable at UH (one boardstack), impractical at KEK.
- Option B (preferred) — random pulser, triggered on the pulse, even/odd scan: pulse the even channels (~100k pulses), reject them by pulse height and use the paired odd channels' empty waveforms; then swap. Time is nearly independent of the number of boardstacks. The ROPC module will be made independent of the trigger arrangement.
- Pulser routing: which channel receives the pulse is a boardstack register (default channel 0), not a property of the pulser, so the even/odd scan should also work at UH. Martin to send Shahab the pulser commands.
- Time: ~100k pulses per pass should take a few minutes, acceptable since pedestals do not need frequent updates.
- Why not keep the PS pedestals? (Vasily): Shahab — sending waveforms through the normal data path avoids the corruption seen in the current pedestal readout, and removes this function from the PS.
- Vasily asked Shahab to check the new pedestal format (with sample number) and the disabled header byte-swapping; Shahab has added both to the ROPC code but not yet checked them. The current script will need updating for the new format.
- Crosstalk (Keisuke): the large pulse on even channels may leak into the paired odd channel and bias the pedestal. Shahab: crosstalk is small enough to pass the usual rejection cut, but not zero. Check: compare the new pedestals with those the PS computes on the same boardstack — a systematic shift, or a wider distribution, would indicate crosstalk.
3. Other
- Pittsburgh (Vladimir, Kimika): no report yet. Open items before data taking resumes: understanding the loss of front-end connections at the end of June, and redesigning the firmware to combine time-aligned information from different boardstacks of the same slot.
- DAQ session, 14 Oct: Yamada-san asked for a TOP feature-extraction / ROPC CPU update. Shahab will prepare it; Tommy or Vasily to send him one or two firmware slides beforehand. Shahab will also ask Yamada-san about his ROPC work.
- Meeting frequency: at least monthly or every other week during the shutdown, more often once beam returns. Next meeting next week, same time (before B2GM); Tommy will set up the Indico.
- B2GM TOP parallel sessions: Keisuke raised that the Sunday evening slot (~20:30 JST) is hard for people traveling and that weekday sessions would be preferable; he will not attend B2GM this time. Martin explained the choice: a hybrid session when most people are at KEK, avoiding the week before B2GM (when few are on site) and the B2GM week itself (after the TOP plenary talk, and conflicts on every day). Martin offered a US-friendly meeting next week if needed.
Action items
| Item | Owner |
|---|---|
| Revive trigger-width path with testbenches; keep a doubling mode (register switch) | Tommy |
| Set up IRSX test board; bias vs. width lookup table | Matt / Tommy |
| Send pulser channel-control commands to Shahab | Martin |
| Finish ROPC pedestal module; test even/odd pulser scan (UH and KEK) | Shahab |
| Compare new pedestals with PS pedestals for crosstalk bias | Shahab |
| Check new pedestal format and header byte-swap; update script | Shahab |
| 1–2 firmware slides for the 14 Oct DAQ session | Tommy or Vasily → Shahab |
| Indico for next week's meeting | Tommy |
There are minutes attached to this event.
Show them.