E N D
router_busy = ((n_of_triggers_in_l1_fifo >= 7 ) | //max. 8 events in linkrx busy | //digital_pilot busy logic linkrx_busy | //busy_mcm, ev_fifo_full, event_desc_full, fatal_error dpm_full_flag | //only when Router is in sample mode nearly_full_address_counter_fifo_sa | //only when Router is in sample mode busy_set_by_vme | //busy flag set via VME ~ttcready | // TTCrx chip is not operational ~locked_qpll); // QPLL is not operational linkrx_busy = ((busy_mcm) | //busy coming from Digital Pilot chip / 4 events in multi event buffer / no error / reset Dpi and reset_data_pixel and reset_router (event_fifo_full) | //fifo for event is full – linkRx / more than 7 events in rx card / no error / reset rx_card and reset_router (event_desc_full) | //fifo for event desc. Is full – linkRx / more than 7 events in rx card / no error / reset rx_card and reset_router fatal_error) ; fatal_error = (idle_violation) | //idle violation flag coming from Digital Pilot chip / L2 received but no corresponding L1 / fatal error / reset DPI and reset_data_pixel and reset_router (busy_violation) | // busy violation flag coming from Digital Pilot chip / 1 L1 received although module busy / fatal error / reset DPI and reset_data_pixel and reset_router (fifo_read_overflow_reg]) | //pixel_fifo _overflow flag for read – linkRx / fatal error in pixel_fifo// reset rx_card and reset_router (fifo_write_overflow_reg]) | //pixel_fifo overflow flag for write – linkRx/ fatal error in pixel_fifo// reset rx_card and reset_router (pixel_fifo_full_reg) | //pixel fifo full flag – linkRx/fatal error in pixel_fifo// reset rx_card and reset_router (event_fifo_read_overflow) | // event fifo overflow flag for read – linkRx/fatal error in event_fifo/ reset rx_card and reset_router (event_fifo_write_overflow) | // event fifo overflow flag for write – linkRx/ more than 8 events in rxcard/fatal error / reset rx_card and reset_router (event_desc_full_violation) | //event desc full flag - linkRx/ more than 8 events in rxcard/fatal error / reset rx_card and reset_router (dpm_full); //dpm full flag – linkR/fatal_error/ reset rx_card and reset_router