Uploading MuPix11 configuration
The configuration data is first written to FiFos on the FPGA There is one FiFo per MuPix11 channel, each can hold up to 4kB (1020 32bit words)
A state machine alternating reads out these FiFos and transmits the contents to the connected MuPix11. Meaning: sending 1 word from FiFo 1, sending 1 word from FiFo 2, sending 1 word from FiFo 3, ... sending 1 word from FiFo 1, aso
If a FiFo is empty, 0's are send by the state machine instead of a data word. When all FiFos are empty, the state machine returns to its idle state.
To optimize the timing required for configuring multiple MuPix11 the following procedure should be followed:
- fill all FiFos with a maximum of 1020 32bit words each
- Tell the state machine to transmit the data further to the MuPix11 chips
- repeat 1. + 2. until all configuration data is transmitted
The current implementation (from my POV) is pretty shitty and needs improvment!!