Project

General

Profile

Unpacked Event

For a simple system:

  • 1 AMC13
  • 1 FC7
  • 1 LB
  • 1 TDC enabled

The unpacked event format for this system (which has one AMC and a single payload block per event) should look like (64-bit words):

  • 1 AMC13 CDF header
  • 2 AMC13 Payload block header
  • 2 AMC header (4 32-bit words)
    • Note: Zero-Channels-Flag (1b) + last Trigger-Type (5b) are 3rd word (29:24)
  • 4 FC7 event header (8 32-bit words)
    • Note: Zero-Channels-Enabled Flag (1b) + last Trigger-Type (5b) are in 8th word (29:24)
  • 2 FC7 channel header (4 32-bit words)
  • 5 LB header (10 32-bit words)
  • 16 TDC header (32 32-bit words)
  • N/2 Hit words (for N 32-bit hit words)
  • 2 LB footer (3 32-bit words + 1 spare)
  • 0-6 0xBEEFCAFE (padding in DDR3, which works in blocks of 8 32-bit words)
  • 1 AMC trailer
  • 1 AMC13 Payload block header
  • 1 AMC13 CDF trailer

Max num hits

The max num hits in a single fill is 2016 (TDC buffer size) * 4 (num TDCs per LB) * 16 (num LBs per tracker station) * 3 (num tracker stations) = 387072.

Data rates

Board hierarchy is:

  • 1 AMC13
    • 3 FC7s / AMC13
      • 16 LBs / FC7
        • 4 TDCs / LB
          • 16 channels per TDC

So totals are:

  • 1 AMC13
  • 3 FC7s
  • 16 * 3 = 48 LBs
  • 4 * 48 = 192 TDCs
  • 192 * 16 = 3072 channels

Data sizes are:

  • 4 bytes per hit
  • 2016 hits max per TDC
  • 32 words = 128 bytes / TDC header
  • 13 words = 52 bytes / LB header + footer