|
entity PhaseMonitorPhase monitor: monitors at what phase the input changes for all 4 muons. |
The Input are 5 samples of an input bit of each muon sampled at 6.25 ns intervals. The monitor counts the signal changes of each of the first four samples with respect to the following (earlier in time) sample over the period of an orbit.
If any signal change occurs at a certain position, a bit in the Phase Monitor Status Register is set. These bits are cleared upon VME-read of the status register.
Signal changes are also counter over the period of a orbit. At every bunch counter reset, the counter states are shifted to registers for readout and the counters are cleared.