This is an old revision of the document!
One main idea is to keep the possibility to replace the Master FPGA with an LpGBT chip on the final design So we need to use:
It is responsible of all communication, synchronisation and data formatting
The underlying protocol is provided by the CERN IP
The message structure is the following:
The message structure is the following:
No documentation, expected special data with 32 bits encoded (see CIC doc)
The GBT firmware should handle BC0 and RESYNC commands:
It should be simple but the GBT interface is not trivial.
We need to implement the block getting the BC0 from the start of the window and propagating back a BUSY. One line is also dedicated for RESYNC (no firmware)
There is also a TRIGGER
line that should be connected to one TDC channel, but no firmware is needed
It's being implemented by Shirley, 3 separated sockets mechanism
Each socket should have a block to decode incoming data to register and a block to encode outgoing buffer (packet structure)
Additional debug port , firmware can be inherited from SDHCAL (ILC) DIF boards