|
entity InputControlerControles the reception of data from the Extractor. |
The InputControler "listens" to the input of the Lvl2Processor which is connected to the output to the Extractor. If the Extractor "pushes" data to the Lvl2Processor (and in parallel to the DAQ-chain and the monitoring chain of the MIROD), the ExtractorDataValid line becomes high. With help of the other input lines the InputControler generates enable signals for various registers in order to save data for later use or in order to write Muon candidates into the CandidateSorter.
Ports:
| ExtractorDataValid | indicates that data is arriving from the Extractor. The Lvl2Processor MUST handle these data and has no possibility to stop the transfer of the ongoing event. (See Lvl2ChainBusy below.) |
| DataSent | indicates that the transfer of the whole event data in the Lvl2Processor to the Slink has been completed and the Lvl2Processor can receive a new event. |
| HeadMaker | must be active if the incoming data word is a header. |
| EndMarker | must be active if the incoming data word is the trailor of the event data. |
| Lvl2ChainBusy | is held active until the whole event has been sent to the LVL2 via the Slink and the Lvl2Processor is ready to receive a new event. The Extractor may only send a new event if this line is not active. |
| EVIDValid | indiates the EVID in the input data. |
| BCIDValid | indicates the BCID in the input data. |
| CandValid | indicates a muon candidate in the input data. |
| EventReaderStatusValid | indicates the EventReaderStatus in the input data. |
| ExtractorStatusValid | indicates the ExtractorStatus in the input data. |
| StartOutputControler | is used to start the OutputControler STM. This signal needs to remain active until the OutputControler starts, because it could be that the OutputControler cannot start immediately due to a hanging or busy Slink. The InputControler detects the start of the OutputControler when it drives the DataSent line low. |
| ReadWriteSorter | switches the CandidateSorter from read to write mode and vice-versa. |
See also: InputControlerMachine