23 use IEEE.STD_LOGIC_1164.
ALL;
26 use work.ipbus_decode_L1CaloHubRodBackplane.
all;
39 max_packet_length : std_logic_vector := x"02FF";
44 bp_width : integer := 64
49 ipb_clk: in std_logic;
50 ipb_rst: in std_logic;
52 ipb_out: out ipb_rbus;
56 pp_clock : in std_logic;
57 clk_40 : in std_logic;
58 clk_160 : in std_logic;
59 rt_clk : in std_logic;
60 backplane_control : out std_logic_vector(31 downto 0);
61 wdog_fifo_reset : in STD_LOGIC;
62 init_clk : in std_logic;
63 ck_pll_lock : in std_logic;
64 master_reset : in std_logic;
67 seq : in std_logic_vector(1 downto 0);
68 ro_status : in std_logic_vector(7 downto 0);
69 ro_user_clock : in std_logic;
71 flx_backpressure : in std_logic_vector(11 downto 0);
73 CK_INT : in STD_LOGIC;
74 SMBALERT_B : in STD_LOGIC;
75 T_WRN_B : in STD_LOGIC;
77 ttc_status : in std_logic_vector(31 downto 0);
78 ttc_fifo_level : in std_logic_vector(15 downto 0);
79 L1ID_error : in std_logic;
80 CTTC_CRC_error : in std_logic;
81 cttc_user_clk : in std_logic;
82 ttc_reg : in STD_LOGIC_VECTOR(63 DOWNTO 0);
83 ttc_reset : out std_logic;
84 TTC_fifo_rst : out std_logic;
85 hub_link_reset : out std_logic;
86 chan_enable : out STD_LOGIC_VECTOR (23 downto 0);
87 first_chan : out STD_LOGIC_vector(4 downto 0);
88 last_chan : out STD_LOGIC_vector(4 downto 0);
89 ttc_ignore : out std_logic;
90 TTC_CRC_ignore : out std_logic;
92 header_sequence : out STD_LOGIC_VECTOR (11 downto 0);
93 header_type : out STD_LOGIC_VECTOR (3 downto 0);
94 det_spec_evnt_sel : out STD_LOGIC_VECTOR (3 downto 0);
96 multichannel_busy : out std_logic;
97 combined_busy : in std_logic;
98 event_sel : out STD_LOGIC_VECTOR (1 downto 0);
99 event_count : in STD_LOGIC_VECTOR(31 DOWNTO 0);
100 orbit_count : in STD_LOGIC_VECTOR(15 DOWNTO 0);
101 event_count_reset : out std_logic;
102 orbit_count_reset : out std_logic;
103 bcn_adjustment : out std_logic_vector(11 downto 0);
104 l1id_continuity_control : out std_logic_vector(31 downto 0);
105 l1id_continuity_status : in STD_LOGIC_vector (31 downto 0);
106 l1id_local_miss : in STD_LOGIC_vector (31 downto 0);
107 l1id_ttc_miss : in STD_LOGIC_vector (31 downto 0);
108 l1id_error_count : in STD_LOGIC_vector (31 downto 0);
109 timeout_threshold : out std_logic_vector(31 downto 0);
110 repeat_counter : in STD_LOGIC_vector(31 downto 0);
111 timeout_err : in std_logic;
117 aurora_user_clk_0 : in std_logic;
118 aurora_chan_stat_0 : in std_logic_vector(31 downto 0);
119 aurora_chan_control_0 : out std_logic_vector(31 downto 0);
120 s_axis_tvalid_0 : in std_logic;
121 s_axis_tlast_0 : in std_logic;
122 tob_s_tready_0 : out std_logic;
123 s_axis_tdata_0 : in std_logic_vector(63 downto 0);
126 tob_poll_chan_0 : in std_logic;
127 tob_m_tvalid_0 : out std_logic;
128 tob_m_tlast_0 : out std_logic;
129 tob_m_tready_0 : in std_logic;
130 tob_m_tdata_0 : out std_logic_vector(63 downto 0);
131 tob_header_marker_0 : out std_logic;
132 tob_tail_marker_0 : out std_logic;
133 hdr_crc_tag_0 : out std_logic;
134 comb_error_tag_0 : out std_logic;
137 calo_poll_chan_0 : in std_logic;
138 calo_m_tvalid_0 : out std_logic;
139 calo_m_fifo_tlast_0 : out std_logic;
140 calo_m_axis_tready_0 : in std_logic;
141 calo_s_axis_tready_0 : out std_logic;
142 calo_m_axis_tdata_0 : out std_logic_vector(63 downto 0);
143 calo_header_marker_0 : out std_logic;
144 calo_tail_marker_0 : out std_logic;
147 s_axi_ufc_rx_tdata_0 : in std_logic_vector(63 downto 0);
148 s_axi_ufc_rx_tvalid_0 : in std_logic;
149 s_axi_ufc_rx_tlast_0 : in std_logic;
157 aurora_user_clk_1 : in std_logic;
158 aurora_chan_stat_1 : in std_logic_vector(31 downto 0);
159 aurora_chan_control_1 : out std_logic_vector(31 downto 0);
160 s_axis_tvalid_1 : in std_logic;
161 s_axis_tlast_1 : in std_logic;
162 tob_s_tready_1 : out std_logic;
163 s_axis_tdata_1 : in std_logic_vector(63 downto 0);
166 tob_poll_chan_1 : in std_logic;
167 tob_m_tvalid_1 : out std_logic;
168 tob_m_tlast_1 : out std_logic;
169 tob_m_tready_1 : in std_logic;
170 tob_m_tdata_1 : out std_logic_vector(63 downto 0);
171 tob_header_marker_1 : out std_logic;
172 tob_tail_marker_1 : out std_logic;
173 hdr_crc_tag_1 : out std_logic;
174 comb_error_tag_1 : out std_logic;
177 calo_poll_chan_1 : in std_logic;
178 calo_m_tvalid_1 : out std_logic;
179 calo_m_fifo_tlast_1 : out std_logic;
180 calo_m_axis_tready_1 : in std_logic;
181 calo_s_axis_tready_1 : out std_logic;
182 calo_m_axis_tdata_1 : out std_logic_vector(63 downto 0);
183 calo_header_marker_1 : out std_logic;
184 calo_tail_marker_1 : out std_logic;
187 s_axi_ufc_rx_tdata_1 : in std_logic_vector(63 downto 0);
188 s_axi_ufc_rx_tvalid_1 : in std_logic;
189 s_axi_ufc_rx_tlast_1 : in std_logic;
199 aurora_user_clk_2 : in std_logic;
200 aurora_chan_stat_2 : in std_logic_vector(31 downto 0);
201 aurora_chan_control_2 : out std_logic_vector(31 downto 0);
202 s_axis_tvalid_2 : in std_logic;
203 s_axis_tlast_2 : in std_logic;
204 tob_s_tready_2 : out std_logic;
205 s_axis_tdata_2 : in std_logic_vector(63 downto 0);
208 tob_poll_chan_2 : in std_logic;
209 tob_m_tvalid_2 : out std_logic;
210 tob_m_tlast_2 : out std_logic;
211 tob_m_tready_2 : in std_logic;
212 tob_m_tdata_2 : out std_logic_vector(63 downto 0);
213 tob_header_marker_2 : out std_logic;
214 tob_tail_marker_2 : out std_logic;
215 hdr_crc_tag_2 : out std_logic;
216 comb_error_tag_2 : out std_logic;
218 calo_poll_chan_2 : in std_logic;
219 calo_m_tvalid_2 : out std_logic;
220 calo_m_fifo_tlast_2 : out std_logic;
221 calo_m_axis_tready_2 : in std_logic;
222 calo_s_axis_tready_2 : out std_logic;
223 calo_m_axis_tdata_2 : out std_logic_vector(63 downto 0);
224 calo_header_marker_2 : out std_logic;
225 calo_tail_marker_2 : out std_logic;
228 s_axi_ufc_rx_tdata_2 : in std_logic_vector(63 downto 0);
229 s_axi_ufc_rx_tvalid_2 : in std_logic;
230 s_axi_ufc_rx_tlast_2 : in std_logic;
237 aurora_user_clk_3 : in std_logic;
238 aurora_chan_stat_3 : in std_logic_vector(31 downto 0);
239 aurora_chan_control_3 : out std_logic_vector(31 downto 0);
240 s_axis_tvalid_3 : in std_logic;
241 s_axis_tlast_3 : in std_logic;
242 tob_s_tready_3 : out std_logic;
243 s_axis_tdata_3 : in std_logic_vector(63 downto 0);
246 tob_poll_chan_3 : in std_logic;
247 tob_m_tvalid_3 : out std_logic;
248 tob_m_tlast_3 : out std_logic;
249 tob_m_tready_3 : in std_logic;
250 tob_m_tdata_3 : out std_logic_vector(63 downto 0);
251 tob_header_marker_3 : out std_logic;
252 tob_tail_marker_3 : out std_logic;
253 hdr_crc_tag_3 : out std_logic;
254 comb_error_tag_3 : out std_logic;
256 calo_poll_chan_3 : in std_logic;
257 calo_m_tvalid_3 : out std_logic;
258 calo_m_fifo_tlast_3 : out std_logic;
259 calo_m_axis_tready_3 : in std_logic;
260 calo_s_axis_tready_3 : out std_logic;
261 calo_m_axis_tdata_3 : out std_logic_vector(63 downto 0);
262 calo_header_marker_3 : out std_logic;
263 calo_tail_marker_3 : out std_logic;
266 s_axi_ufc_rx_tdata_3 : in std_logic_vector(63 downto 0);
267 s_axi_ufc_rx_tvalid_3 : in std_logic;
268 s_axi_ufc_rx_tlast_3 : in std_logic;
277 aurora_user_clk_4 : in std_logic;
278 aurora_chan_stat_4 : in std_logic_vector(31 downto 0);
279 aurora_chan_control_4 : out std_logic_vector(31 downto 0);
280 s_axis_tvalid_4 : in std_logic;
281 s_axis_tlast_4 : in std_logic;
282 tob_s_tready_4 : out std_logic;
283 s_axis_tdata_4 : in std_logic_vector(63 downto 0);
286 tob_poll_chan_4 : in std_logic;
287 tob_m_tvalid_4 : out std_logic;
288 tob_m_tlast_4 : out std_logic;
289 tob_m_tready_4 : in std_logic;
290 tob_m_tdata_4 : out std_logic_vector(63 downto 0);
291 tob_header_marker_4 : out std_logic;
292 tob_tail_marker_4 : out std_logic;
293 hdr_crc_tag_4 : out std_logic;
294 comb_error_tag_4 : out std_logic;
296 calo_poll_chan_4 : in std_logic;
297 calo_m_tvalid_4 : out std_logic;
298 calo_m_fifo_tlast_4 : out std_logic;
299 calo_m_axis_tready_4 : in std_logic;
300 calo_s_axis_tready_4 : out std_logic;
301 calo_m_axis_tdata_4 : out std_logic_vector(63 downto 0);
302 calo_header_marker_4 : out std_logic;
303 calo_tail_marker_4 : out std_logic;
306 s_axi_ufc_rx_tdata_4 : in std_logic_vector(63 downto 0);
307 s_axi_ufc_rx_tvalid_4 : in std_logic;
308 s_axi_ufc_rx_tlast_4 : in std_logic;
317 aurora_user_clk_5 : in std_logic;
318 aurora_chan_stat_5 : in std_logic_vector(31 downto 0);
319 aurora_chan_control_5 : out std_logic_vector(31 downto 0);
320 s_axis_tvalid_5 : in std_logic;
321 s_axis_tlast_5 : in std_logic;
322 tob_s_tready_5 : out std_logic;
323 s_axis_tdata_5 : in std_logic_vector(63 downto 0);
326 tob_poll_chan_5 : in std_logic;
327 tob_m_tvalid_5 : out std_logic;
328 tob_m_tlast_5 : out std_logic;
329 tob_m_tready_5 : in std_logic;
330 tob_m_tdata_5 : out std_logic_vector((bp_width-1) downto 0);
331 tob_header_marker_5 : out std_logic;
332 tob_tail_marker_5 : out std_logic;
333 hdr_crc_tag_5 : out std_logic;
334 comb_error_tag_5 : out std_logic;
336 calo_poll_chan_5 : in std_logic;
337 calo_m_tvalid_5 : out std_logic;
338 calo_m_fifo_tlast_5 : out std_logic;
339 calo_m_axis_tready_5 : in std_logic;
340 calo_s_axis_tready_5 : out std_logic;
341 calo_m_axis_tdata_5 : out std_logic_vector((bp_width-1) downto 0);
342 calo_header_marker_5 : out std_logic;
343 calo_tail_marker_5 : out std_logic;
347 s_axi_ufc_rx_tdata_5 : in std_logic_vector(63 downto 0);
348 s_axi_ufc_rx_tvalid_5 : in std_logic;
349 s_axi_ufc_rx_tlast_5 : in std_logic;
356 aurora_user_clk_6 : in std_logic;
357 aurora_chan_stat_6 : in std_logic_vector(31 downto 0);
358 aurora_chan_control_6 : out std_logic_vector(31 downto 0);
359 s_axis_tvalid_6 : in std_logic;
360 s_axis_tlast_6 : in std_logic;
361 tob_s_tready_6 : out std_logic;
362 s_axis_tdata_6 : in std_logic_vector(63 downto 0);
365 tob_poll_chan_6 : in std_logic;
366 tob_m_tvalid_6 : out std_logic;
367 tob_m_tlast_6 : out std_logic;
368 tob_m_tready_6 : in std_logic;
369 tob_m_tdata_6 : out std_logic_vector((bp_width-1) downto 0);
370 tob_header_marker_6 : out std_logic;
371 tob_tail_marker_6 : out std_logic;
372 hdr_crc_tag_6 : out std_logic;
373 comb_error_tag_6 : out std_logic;
375 calo_poll_chan_6 : in std_logic;
376 calo_m_tvalid_6 : out std_logic;
377 calo_m_fifo_tlast_6 : out std_logic;
378 calo_m_axis_tready_6 : in std_logic;
379 calo_s_axis_tready_6 : out std_logic;
380 calo_m_axis_tdata_6 : out std_logic_vector((bp_width-1) downto 0);
381 calo_header_marker_6 : out std_logic;
382 calo_tail_marker_6 : out std_logic;
386 s_axi_ufc_rx_tdata_6 : in std_logic_vector(63 downto 0);
387 s_axi_ufc_rx_tvalid_6 : in std_logic;
388 s_axi_ufc_rx_tlast_6 : in std_logic;
396 aurora_user_clk_7 : in std_logic;
397 aurora_chan_stat_7 : in std_logic_vector(31 downto 0);
398 aurora_chan_control_7 : out std_logic_vector(31 downto 0);
399 s_axis_tvalid_7 : in std_logic;
400 s_axis_tlast_7 : in std_logic;
401 tob_s_tready_7 : out std_logic;
402 s_axis_tdata_7 : in std_logic_vector(63 downto 0);
405 tob_poll_chan_7 : in std_logic;
406 tob_m_tvalid_7 : out std_logic;
407 tob_m_tlast_7 : out std_logic;
408 tob_m_tready_7 : in std_logic;
409 tob_m_tdata_7 : out std_logic_vector((bp_width-1) downto 0);
410 tob_header_marker_7 : out std_logic;
411 tob_tail_marker_7 : out std_logic;
412 hdr_crc_tag_7 : out std_logic;
413 comb_error_tag_7 : out std_logic;
415 calo_poll_chan_7 : in std_logic;
416 calo_m_tvalid_7 : out std_logic;
417 calo_m_fifo_tlast_7 : out std_logic;
418 calo_m_axis_tready_7 : in std_logic;
419 calo_s_axis_tready_7 : out std_logic;
420 calo_m_axis_tdata_7 : out std_logic_vector((bp_width-1) downto 0);
421 calo_header_marker_7 : out std_logic;
422 calo_tail_marker_7 : out std_logic;
426 s_axi_ufc_rx_tdata_7 : in std_logic_vector(63 downto 0);
427 s_axi_ufc_rx_tvalid_7 : in std_logic;
428 s_axi_ufc_rx_tlast_7 : in std_logic;
435 aurora_user_clk_8 : in std_logic;
436 aurora_chan_stat_8 : in std_logic_vector(31 downto 0);
437 aurora_chan_control_8 : out std_logic_vector(31 downto 0);
438 s_axis_tvalid_8 : in std_logic;
439 s_axis_tlast_8 : in std_logic;
440 tob_s_tready_8 : out std_logic;
441 s_axis_tdata_8 : in std_logic_vector(63 downto 0);
444 tob_poll_chan_8 : in std_logic;
445 tob_m_tvalid_8 : out std_logic;
446 tob_m_tlast_8 : out std_logic;
447 tob_m_tready_8 : in std_logic;
448 tob_m_tdata_8 : out std_logic_vector((bp_width-1) downto 0);
449 tob_header_marker_8 : out std_logic;
450 tob_tail_marker_8 : out std_logic;
451 hdr_crc_tag_8 : out std_logic;
452 comb_error_tag_8 : out std_logic;
454 calo_poll_chan_8 : in std_logic;
455 calo_m_tvalid_8 : out std_logic;
456 calo_m_fifo_tlast_8 : out std_logic;
457 calo_m_axis_tready_8 : in std_logic;
458 calo_s_axis_tready_8 : out std_logic;
459 calo_m_axis_tdata_8 : out std_logic_vector((bp_width-1) downto 0);
460 calo_header_marker_8 : out std_logic;
461 calo_tail_marker_8 : out std_logic;
464 s_axi_ufc_rx_tdata_8 : in std_logic_vector(63 downto 0);
465 s_axi_ufc_rx_tvalid_8 : in std_logic;
466 s_axi_ufc_rx_tlast_8 : in std_logic;
473 aurora_user_clk_9 : in std_logic;
474 aurora_chan_stat_9 : in std_logic_vector(31 downto 0);
475 aurora_chan_control_9 : out std_logic_vector(31 downto 0);
476 s_axis_tvalid_9 : in std_logic;
477 s_axis_tlast_9 : in std_logic;
478 tob_s_tready_9 : out std_logic;
479 s_axis_tdata_9 : in std_logic_vector(63 downto 0);
482 tob_poll_chan_9 : in std_logic;
483 tob_m_tvalid_9 : out std_logic;
484 tob_m_tlast_9 : out std_logic;
485 tob_m_tready_9 : in std_logic;
486 tob_m_tdata_9 : out std_logic_vector((bp_width-1) downto 0);
487 tob_header_marker_9 : out std_logic;
488 tob_tail_marker_9 : out std_logic;
489 hdr_crc_tag_9 : out std_logic;
490 comb_error_tag_9 : out std_logic;
492 calo_poll_chan_9 : in std_logic;
493 calo_m_tvalid_9 : out std_logic;
494 calo_m_fifo_tlast_9 : out std_logic;
495 calo_m_axis_tready_9 : in std_logic;
496 calo_s_axis_tready_9 : out std_logic;
497 calo_m_axis_tdata_9 : out std_logic_vector((bp_width-1) downto 0);
498 calo_header_marker_9 : out std_logic;
499 calo_tail_marker_9 : out std_logic;
503 s_axi_ufc_rx_tdata_9 : in std_logic_vector(63 downto 0);
504 s_axi_ufc_rx_tvalid_9 : in std_logic;
505 s_axi_ufc_rx_tlast_9 : in std_logic;
512 aurora_user_clk_10 : in std_logic;
513 aurora_chan_stat_10 : in std_logic_vector(31 downto 0);
514 aurora_chan_control_10 : out std_logic_vector(31 downto 0);
515 s_axis_tvalid_10 : in std_logic;
516 s_axis_tlast_10 : in std_logic;
517 tob_s_tready_10 : out std_logic;
518 s_axis_tdata_10 : in std_logic_vector(63 downto 0);
521 tob_poll_chan_10 : in std_logic;
522 tob_m_tvalid_10 : out std_logic;
523 tob_m_tlast_10 : out std_logic;
524 tob_m_tready_10 : in std_logic;
525 tob_m_tdata_10 : out std_logic_vector((bp_width-1) downto 0);
526 tob_header_marker_10 : out std_logic;
527 tob_tail_marker_10 : out std_logic;
528 hdr_crc_tag_10 : out std_logic;
529 comb_error_tag_10 : out std_logic;
531 calo_poll_chan_10 : in std_logic;
532 calo_m_tvalid_10 : out std_logic;
533 calo_m_fifo_tlast_10 : out std_logic;
534 calo_m_axis_tready_10 : in std_logic;
535 calo_s_axis_tready_10 : out std_logic;
536 calo_m_axis_tdata_10 : out std_logic_vector((bp_width-1) downto 0);
537 calo_header_marker_10 : out std_logic;
538 calo_tail_marker_10 : out std_logic;
541 s_axi_ufc_rx_tdata_10 : in std_logic_vector(63 downto 0);
542 s_axi_ufc_rx_tvalid_10 : in std_logic;
543 s_axi_ufc_rx_tlast_10 : in std_logic;
552 aurora_user_clk_11 : in std_logic;
553 aurora_chan_stat_11 : in std_logic_vector(31 downto 0);
554 aurora_chan_control_11 : out std_logic_vector(31 downto 0);
555 s_axis_tvalid_11 : in std_logic;
556 s_axis_tlast_11 : in std_logic;
557 tob_s_tready_11 : out std_logic;
558 s_axis_tdata_11 : in std_logic_vector(63 downto 0);
561 tob_poll_chan_11 : in std_logic;
562 tob_m_tvalid_11 : out std_logic;
563 tob_m_tlast_11 : out std_logic;
564 tob_m_tready_11 : in std_logic;
565 tob_m_tdata_11 : out std_logic_vector((bp_width-1) downto 0);
566 tob_header_marker_11 : out std_logic;
567 tob_tail_marker_11 : out std_logic;
568 hdr_crc_tag_11 : out std_logic;
569 comb_error_tag_11 : out std_logic;
571 calo_poll_chan_11 : in std_logic;
572 calo_m_tvalid_11 : out std_logic;
573 calo_m_fifo_tlast_11 : out std_logic;
574 calo_m_axis_tready_11 : in std_logic;
575 calo_s_axis_tready_11 : out std_logic;
576 calo_m_axis_tdata_11 : out std_logic_vector((bp_width-1) downto 0);
577 calo_header_marker_11 : out std_logic;
578 calo_tail_marker_11 : out std_logic;
582 s_axi_ufc_rx_tdata_11 : in std_logic_vector(63 downto 0);
583 s_axi_ufc_rx_tvalid_11 : in std_logic;
584 s_axi_ufc_rx_tlast_11 : in std_logic;
593 aurora_user_clk_12 : in std_logic;
594 aurora_chan_stat_12 : in std_logic_vector(31 downto 0);
595 aurora_chan_control_12 : out std_logic_vector(31 downto 0);
596 s_axis_tvalid_12 : in std_logic;
597 s_axis_tlast_12 : in std_logic;
598 tob_s_tready_12 : out std_logic;
599 s_axis_tdata_12 : in std_logic_vector(63 downto 0);
602 tob_poll_chan_12 : in std_logic;
603 tob_m_tvalid_12 : out std_logic;
604 tob_m_tlast_12 : out std_logic;
605 tob_m_tready_12 : in std_logic;
606 tob_m_tdata_12 : out std_logic_vector((bp_width-1) downto 0);
607 tob_header_marker_12 : out std_logic;
608 tob_tail_marker_12 : out std_logic;
609 hdr_crc_tag_12 : out std_logic;
610 comb_error_tag_12 : out std_logic;
612 calo_poll_chan_12 : in std_logic;
613 calo_m_tvalid_12 : out std_logic;
614 calo_m_fifo_tlast_12 : out std_logic;
615 calo_m_axis_tready_12 : in std_logic;
616 calo_s_axis_tready_12 : out std_logic;
617 calo_m_axis_tdata_12 : out std_logic_vector((bp_width-1) downto 0);
618 calo_header_marker_12 : out std_logic;
619 calo_tail_marker_12 : out std_logic;
623 s_axi_ufc_rx_tdata_12 : in std_logic_vector(63 downto 0);
624 s_axi_ufc_rx_tvalid_12 : in std_logic;
625 s_axi_ufc_rx_tlast_12 : in std_logic;
633 aurora_user_clk_13 : in std_logic;
634 aurora_chan_stat_13 : in std_logic_vector(31 downto 0);
635 aurora_chan_control_13 : out std_logic_vector(31 downto 0);
636 s_axis_tvalid_13 : in std_logic;
637 s_axis_tlast_13 : in std_logic;
638 tob_s_tready_13 : out std_logic;
639 s_axis_tdata_13 : in std_logic_vector(63 downto 0);
642 tob_poll_chan_13 : in std_logic;
643 tob_m_tvalid_13 : out std_logic;
644 tob_m_tlast_13 : out std_logic;
645 tob_m_tready_13 : in std_logic;
646 tob_m_tdata_13 : out std_logic_vector((bp_width-1) downto 0);
647 tob_header_marker_13 : out std_logic;
648 tob_tail_marker_13 : out std_logic;
649 hdr_crc_tag_13 : out std_logic;
650 comb_error_tag_13 : out std_logic;
652 calo_poll_chan_13 : in std_logic;
653 calo_m_tvalid_13 : out std_logic;
654 calo_m_fifo_tlast_13 : out std_logic;
655 calo_m_axis_tready_13 : in std_logic;
656 calo_s_axis_tready_13 : out std_logic;
657 calo_m_axis_tdata_13 : out std_logic_vector((bp_width-1) downto 0);
658 calo_header_marker_13 : out std_logic;
659 calo_tail_marker_13 : out std_logic;
663 s_axi_ufc_rx_tdata_13 : in std_logic_vector(63 downto 0);
664 s_axi_ufc_rx_tvalid_13 : in std_logic;
665 s_axi_ufc_rx_tlast_13 : in std_logic;
674 aurora_user_clk_14 : in std_logic;
675 aurora_chan_stat_14 : in std_logic_vector(31 downto 0);
676 aurora_chan_control_14 : out std_logic_vector(31 downto 0);
677 s_axis_tvalid_14 : in std_logic;
678 s_axis_tlast_14 : in std_logic;
679 tob_s_tready_14 : out std_logic;
680 s_axis_tdata_14 : in std_logic_vector(63 downto 0);
683 tob_poll_chan_14 : in std_logic;
684 tob_m_tvalid_14 : out std_logic;
685 tob_m_tlast_14 : out std_logic;
686 tob_m_tready_14 : in std_logic;
687 tob_m_tdata_14 : out std_logic_vector((bp_width-1) downto 0);
688 tob_header_marker_14 : out std_logic;
689 tob_tail_marker_14 : out std_logic;
690 hdr_crc_tag_14 : out std_logic;
691 comb_error_tag_14 : out std_logic;
693 calo_poll_chan_14 : in std_logic;
694 calo_m_tvalid_14 : out std_logic;
695 calo_m_fifo_tlast_14 : out std_logic;
696 calo_m_axis_tready_14 : in std_logic;
697 calo_s_axis_tready_14 : out std_logic;
698 calo_m_axis_tdata_14 : out std_logic_vector((bp_width-1) downto 0);
699 calo_header_marker_14 : out std_logic;
700 calo_tail_marker_14 : out std_logic;
704 s_axi_ufc_rx_tdata_14 : in std_logic_vector(63 downto 0);
705 s_axi_ufc_rx_tvalid_14 : in std_logic;
706 s_axi_ufc_rx_tlast_14 : in std_logic;
715 aurora_user_clk_15 : in std_logic;
716 aurora_chan_stat_15 : in std_logic_vector(31 downto 0);
717 aurora_chan_control_15 : out std_logic_vector(31 downto 0);
718 s_axis_tvalid_15 : in std_logic;
719 s_axis_tlast_15 : in std_logic;
720 tob_s_tready_15 : out std_logic;
721 s_axis_tdata_15 : in std_logic_vector(63 downto 0);
724 tob_poll_chan_15 : in std_logic;
725 tob_m_tvalid_15 : out std_logic;
726 tob_m_tlast_15 : out std_logic;
727 tob_m_tready_15 : in std_logic;
728 tob_m_tdata_15 : out std_logic_vector((bp_width-1) downto 0);
729 tob_header_marker_15 : out std_logic;
730 tob_tail_marker_15 : out std_logic;
731 hdr_crc_tag_15 : out std_logic;
732 comb_error_tag_15 : out std_logic;
734 calo_poll_chan_15 : in std_logic;
735 calo_m_tvalid_15 : out std_logic;
736 calo_m_fifo_tlast_15 : out std_logic;
737 calo_m_axis_tready_15 : in std_logic;
738 calo_s_axis_tready_15 : out std_logic;
739 calo_m_axis_tdata_15 : out std_logic_vector((bp_width-1) downto 0);
740 calo_header_marker_15 : out std_logic;
741 calo_tail_marker_15 : out std_logic;
745 s_axi_ufc_rx_tdata_15 : in std_logic_vector(63 downto 0);
746 s_axi_ufc_rx_tvalid_15 : in std_logic;
747 s_axi_ufc_rx_tlast_15 : in std_logic;
755 aurora_user_clk_16 : in std_logic;
756 aurora_chan_stat_16 : in std_logic_vector(31 downto 0);
757 aurora_chan_control_16 : out std_logic_vector(31 downto 0);
758 s_axis_tvalid_16 : in std_logic;
759 s_axis_tlast_16 : in std_logic;
760 tob_s_tready_16 : out std_logic;
761 s_axis_tdata_16 : in std_logic_vector(63 downto 0);
764 tob_poll_chan_16 : in std_logic;
765 tob_m_tvalid_16 : out std_logic;
766 tob_m_tlast_16 : out std_logic;
767 tob_m_tready_16 : in std_logic;
768 tob_m_tdata_16 : out std_logic_vector((bp_width-1) downto 0);
769 tob_header_marker_16 : out std_logic;
770 tob_tail_marker_16 : out std_logic;
771 hdr_crc_tag_16 : out std_logic;
772 comb_error_tag_16 : out std_logic;
774 calo_poll_chan_16 : in std_logic;
775 calo_m_tvalid_16 : out std_logic;
776 calo_m_fifo_tlast_16 : out std_logic;
777 calo_m_axis_tready_16 : in std_logic;
778 calo_s_axis_tready_16 : out std_logic;
779 calo_m_axis_tdata_16 : out std_logic_vector((bp_width-1) downto 0);
780 calo_header_marker_16 : out std_logic;
781 calo_tail_marker_16 : out std_logic;
784 s_axi_ufc_rx_tdata_16 : in std_logic_vector(63 downto 0);
785 s_axi_ufc_rx_tvalid_16 : in std_logic;
786 s_axi_ufc_rx_tlast_16 : in std_logic;
796 aurora_user_clk_17 : in std_logic;
797 aurora_chan_stat_17 : in std_logic_vector(31 downto 0);
798 aurora_chan_control_17 : out std_logic_vector(31 downto 0);
799 s_axis_tvalid_17 : in std_logic;
800 s_axis_tlast_17 : in std_logic;
801 tob_s_tready_17 : out std_logic;
802 s_axis_tdata_17 : in std_logic_vector(63 downto 0);
805 tob_poll_chan_17 : in std_logic;
806 tob_m_tvalid_17 : out std_logic;
807 tob_m_tlast_17 : out std_logic;
808 tob_m_tready_17 : in std_logic;
809 tob_m_tdata_17 : out std_logic_vector((bp_width-1) downto 0);
810 tob_header_marker_17 : out std_logic;
811 tob_tail_marker_17 : out std_logic;
812 hdr_crc_tag_17 : out std_logic;
813 comb_error_tag_17 : out std_logic;
815 calo_poll_chan_17 : in std_logic;
816 calo_m_tvalid_17 : out std_logic;
817 calo_m_fifo_tlast_17 : out std_logic;
818 calo_m_axis_tready_17 : in std_logic;
819 calo_s_axis_tready_17 : out std_logic;
820 calo_m_axis_tdata_17 : out std_logic_vector((bp_width-1) downto 0);
821 calo_header_marker_17 : out std_logic;
822 calo_tail_marker_17 : out std_logic;
825 s_axi_ufc_rx_tdata_17 : in std_logic_vector(63 downto 0);
826 s_axi_ufc_rx_tvalid_17 : in std_logic;
827 s_axi_ufc_rx_tlast_17 : in std_logic;
838 aurora_user_clk_18 : in std_logic;
839 aurora_chan_stat_18 : in std_logic_vector(31 downto 0);
840 aurora_chan_control_18 : out std_logic_vector(31 downto 0);
841 s_axis_tvalid_18 : in std_logic;
842 s_axis_tlast_18 : in std_logic;
843 tob_s_tready_18 : out std_logic;
844 s_axis_tdata_18 : in std_logic_vector(63 downto 0);
847 tob_poll_chan_18 : in std_logic;
848 tob_m_tvalid_18 : out std_logic;
849 tob_m_tlast_18 : out std_logic;
850 tob_m_tready_18 : in std_logic;
851 tob_m_tdata_18 : out std_logic_vector((bp_width-1) downto 0);
852 tob_header_marker_18 : out std_logic;
853 tob_tail_marker_18 : out std_logic;
854 hdr_crc_tag_18 : out std_logic;
855 comb_error_tag_18 : out std_logic;
857 calo_poll_chan_18 : in std_logic;
858 calo_m_tvalid_18 : out std_logic;
859 calo_m_fifo_tlast_18 : out std_logic;
860 calo_m_axis_tready_18 : in std_logic;
861 calo_s_axis_tready_18 : out std_logic;
862 calo_m_axis_tdata_18 : out std_logic_vector((bp_width-1) downto 0);
863 calo_header_marker_18 : out std_logic;
864 calo_tail_marker_18 : out std_logic;
867 s_axi_ufc_rx_tdata_18 : in std_logic_vector(63 downto 0);
868 s_axi_ufc_rx_tvalid_18 : in std_logic;
869 s_axi_ufc_rx_tlast_18 : in std_logic;
879 aurora_user_clk_19 : in std_logic;
880 aurora_chan_stat_19 : in std_logic_vector(31 downto 0);
881 aurora_chan_control_19 : out std_logic_vector(31 downto 0);
882 s_axis_tvalid_19 : in std_logic;
883 s_axis_tlast_19 : in std_logic;
884 tob_s_tready_19 : out std_logic;
885 s_axis_tdata_19 : in std_logic_vector(63 downto 0);
888 tob_poll_chan_19 : in std_logic;
889 tob_m_tvalid_19 : out std_logic;
890 tob_m_tlast_19 : out std_logic;
891 tob_m_tready_19 : in std_logic;
892 tob_m_tdata_19 : out std_logic_vector((bp_width-1) downto 0);
893 tob_header_marker_19 : out std_logic;
894 tob_tail_marker_19 : out std_logic;
895 hdr_crc_tag_19 : out std_logic;
896 comb_error_tag_19 : out std_logic;
898 calo_poll_chan_19 : in std_logic;
899 calo_m_tvalid_19 : out std_logic;
900 calo_m_fifo_tlast_19 : out std_logic;
901 calo_m_axis_tready_19 : in std_logic;
902 calo_s_axis_tready_19 : out std_logic;
903 calo_m_axis_tdata_19 : out std_logic_vector((bp_width-1) downto 0);
904 calo_header_marker_19 : out std_logic;
905 calo_tail_marker_19 : out std_logic;
908 s_axi_ufc_rx_tdata_19 : in std_logic_vector(63 downto 0);
909 s_axi_ufc_rx_tvalid_19 : in std_logic;
910 s_axi_ufc_rx_tlast_19 : in std_logic;
920 aurora_user_clk_20 : in std_logic;
921 aurora_chan_stat_20 : in std_logic_vector(31 downto 0);
922 aurora_chan_control_20 : out std_logic_vector(31 downto 0);
923 s_axis_tvalid_20 : in std_logic;
924 s_axis_tlast_20 : in std_logic;
925 tob_s_tready_20 : out std_logic;
926 s_axis_tdata_20 : in std_logic_vector(63 downto 0);
929 tob_poll_chan_20 : in std_logic;
930 tob_m_tvalid_20 : out std_logic;
931 tob_m_tlast_20 : out std_logic;
932 tob_m_tready_20 : in std_logic;
933 tob_m_tdata_20 : out std_logic_vector((bp_width-1) downto 0);
934 tob_header_marker_20 : out std_logic;
935 tob_tail_marker_20 : out std_logic;
936 hdr_crc_tag_20 : out std_logic;
937 comb_error_tag_20 : out std_logic;
939 calo_poll_chan_20 : in std_logic;
940 calo_m_tvalid_20 : out std_logic;
941 calo_m_fifo_tlast_20 : out std_logic;
942 calo_m_axis_tready_20 : in std_logic;
943 calo_s_axis_tready_20 : out std_logic;
944 calo_m_axis_tdata_20 : out std_logic_vector((bp_width-1) downto 0);
945 calo_header_marker_20 : out std_logic;
946 calo_tail_marker_20 : out std_logic;
949 s_axi_ufc_rx_tdata_20 : in std_logic_vector(63 downto 0);
950 s_axi_ufc_rx_tvalid_20 : in std_logic;
951 s_axi_ufc_rx_tlast_20 : in std_logic;
961 aurora_user_clk_21 : in std_logic;
962 aurora_chan_stat_21 : in std_logic_vector(31 downto 0);
963 aurora_chan_control_21 : out std_logic_vector(31 downto 0);
964 s_axis_tvalid_21 : in std_logic;
965 s_axis_tlast_21 : in std_logic;
966 tob_s_tready_21 : out std_logic;
967 s_axis_tdata_21 : in std_logic_vector(63 downto 0);
970 tob_poll_chan_21 : in std_logic;
971 tob_m_tvalid_21 : out std_logic;
972 tob_m_tlast_21 : out std_logic;
973 tob_m_tready_21 : in std_logic;
974 tob_m_tdata_21 : out std_logic_vector((bp_width-1) downto 0);
975 tob_header_marker_21 : out std_logic;
976 tob_tail_marker_21 : out std_logic;
977 hdr_crc_tag_21 : out std_logic;
978 comb_error_tag_21 : out std_logic;
980 calo_poll_chan_21 : in std_logic;
981 calo_m_tvalid_21 : out std_logic;
982 calo_m_fifo_tlast_21 : out std_logic;
983 calo_m_axis_tready_21 : in std_logic;
984 calo_s_axis_tready_21 : out std_logic;
985 calo_m_axis_tdata_21 : out std_logic_vector((bp_width-1) downto 0);
986 calo_header_marker_21 : out std_logic;
987 calo_tail_marker_21 : out std_logic;
990 s_axi_ufc_rx_tdata_21 : in std_logic_vector(63 downto 0);
991 s_axi_ufc_rx_tvalid_21 : in std_logic;
992 s_axi_ufc_rx_tlast_21 : in std_logic;
1002 aurora_user_clk_22 : in std_logic;
1003 aurora_chan_stat_22 : in std_logic_vector(31 downto 0);
1004 aurora_chan_control_22 : out std_logic_vector(31 downto 0);
1005 s_axis_tvalid_22 : in std_logic;
1006 s_axis_tlast_22 : in std_logic;
1007 tob_s_tready_22 : out std_logic;
1008 s_axis_tdata_22 : in std_logic_vector(63 downto 0);
1011 tob_poll_chan_22 : in std_logic;
1012 tob_m_tvalid_22 : out std_logic;
1013 tob_m_tlast_22 : out std_logic;
1014 tob_m_tready_22 : in std_logic;
1015 tob_m_tdata_22 : out std_logic_vector((bp_width-1) downto 0);
1016 tob_header_marker_22 : out std_logic;
1017 tob_tail_marker_22 : out std_logic;
1018 hdr_crc_tag_22 : out std_logic;
1019 comb_error_tag_22 : out std_logic;
1021 calo_poll_chan_22 : in std_logic;
1022 calo_m_tvalid_22 : out std_logic;
1023 calo_m_fifo_tlast_22 : out std_logic;
1024 calo_m_axis_tready_22 : in std_logic;
1025 calo_s_axis_tready_22 : out std_logic;
1026 calo_m_axis_tdata_22 : out std_logic_vector((bp_width-1) downto 0);
1027 calo_header_marker_22 : out std_logic;
1028 calo_tail_marker_22 : out std_logic;
1031 s_axi_ufc_rx_tdata_22 : in std_logic_vector(63 downto 0);
1032 s_axi_ufc_rx_tvalid_22 : in std_logic;
1033 s_axi_ufc_rx_tlast_22 : in std_logic;
1042 aurora_user_clk_23 : in std_logic;
1043 aurora_chan_stat_23 : in std_logic_vector(31 downto 0);
1044 aurora_chan_control_23 : out std_logic_vector(31 downto 0);
1045 s_axis_tvalid_23 : in std_logic;
1046 s_axis_tlast_23 : in std_logic;
1047 tob_s_tready_23 : out std_logic;
1048 s_axis_tdata_23 : in std_logic_vector(63 downto 0);
1051 tob_poll_chan_23 : in std_logic;
1052 tob_m_tvalid_23 : out std_logic;
1053 tob_m_tlast_23 : out std_logic;
1054 tob_m_tready_23 : in std_logic;
1055 tob_m_tdata_23 : out std_logic_vector((bp_width-1) downto 0);
1056 tob_header_marker_23 : out std_logic;
1057 tob_tail_marker_23 : out std_logic;
1058 hdr_crc_tag_23 : out std_logic;
1059 comb_error_tag_23 : out std_logic;
1061 calo_poll_chan_23 : in std_logic;
1062 calo_m_tvalid_23 : out std_logic;
1063 calo_m_fifo_tlast_23 : out std_logic;
1064 calo_m_axis_tready_23 : in std_logic;
1065 calo_s_axis_tready_23 : out std_logic;
1066 calo_m_axis_tdata_23 : out std_logic_vector((bp_width-1) downto 0);
1067 calo_header_marker_23 : out std_logic;
1068 calo_tail_marker_23 : out std_logic;
1070 s_axi_ufc_rx_tdata_23 : in std_logic_vector(63 downto 0);
1071 s_axi_ufc_rx_tvalid_23 : in std_logic;
1072 s_axi_ufc_rx_tlast_23 : in std_logic
1084 channel_num :
STD_LOGIC_VECTOR (
11 downto 0) := "
000000000000";
1085 lmem :
STD_LOGIC_VECTOR (
3 downto 0) := "
0000";
1086 max_packet_length :
STD_LOGIC_VECTOR (
15 downto 0) := x"
02FF";
1088 debug :
integer :=
1;
1089 axi_fifo :
integer :=
0;
1090 jfex :
integer :=
0;
1091 fifo_instr :
integer :=
0
1095 ipb_clk :
in std_logic;
1096 ipb_rst :
in std_logic;
1097 ipb_in :
in ipb_wbus;
1098 ipb_out :
out ipb_rbus;
1100 RESET :
in std_logic;
1101 clk_160 :
in std_logic;
1102 rt_clk :
in std_logic;
1103 pp_clock :
in std_logic;
1104 init_clk :
in std_logic;
1105 bp_reg_reset :
in std_logic;
1106 master_reset :
in std_logic;
1108 aurora_chan_stat :
in STD_LOGIC_VECTOR (
31 downto 0);
1110 tob_fifo_busy_threshold :
in STD_LOGIC_VECTOR (
15 downto 0);
1111 bulk_fifo_busy_threshold :
in STD_LOGIC_VECTOR (
15 downto 0);
1112 tob_fifo_xoff_threshold :
in STD_LOGIC_VECTOR (
15 downto 0);
1113 bulk_fifo_xoff_threshold :
in STD_LOGIC_VECTOR (
15 downto 0);
1115 time_count :
in STD_LOGIC_VECTOR (
31 downto 0);
1117 aurora_channel_control :
out STD_LOGIC_VECTOR (
31 downto 0);
1118 wdog_fifo_reset :
in STD_LOGIC;
1119 backplane_control :
in STD_LOGIC_VECTOR (
31 downto 0);
1120 chan_disable :
in std_logic;
1123 aurora_user_clk :
in std_logic;
1124 s_axis_tvalid :
in std_logic;
1125 s_axis_tlast :
in std_logic;
1126 tob_s_tready :
out std_logic;
1127 s_axis_tdata :
in std_logic_vector((bp_width
-1)
downto 0);
1130 poll_chan :
in std_logic;
1131 tob_m_tvalid :
out std_logic;
1132 tob_m_tlast :
out std_logic;
1133 tob_m_tready :
in std_logic;
1134 tob_m_tdata :
out std_logic_vector((bp_width
-1)
downto 0);
1137 tob_header_marker :
out std_logic;
1138 tob_tail_marker :
out std_logic;
1139 hdr_crc_tag :
out std_logic;
1140 comb_error_tag :
out std_logic;
1143 calo_poll_chan :
in std_logic;
1144 calo_m_tvalid :
out std_logic;
1145 calo_m_fifo_tlast :
out std_logic;
1146 calo_m_axis_tready :
in std_logic;
1147 calo_s_axis_tready :
out std_logic;
1149 calo_m_axis_tdata :
out std_logic_vector((bp_width
-1)
downto 0);
1150 calo_header_marker :
out std_logic;
1151 calo_tail_marker :
out std_logic;
1154 s_axi_ufc_rx_tdata :
in std_logic_vector(
63 downto 0);
1155 s_axi_ufc_rx_tvalid :
in std_logic;
1156 s_axi_ufc_rx_tlast :
in std_logic;
1158 channel_busy :
out std_logic;
1160 timeout_err :
in std_logic;
1168 ipb_clk:
in std_logic;
1169 ipb_rst:
in std_logic;
1170 ipb_in:
in ipb_wbus;
1171 ipb_out:
out ipb_rbus;
1173 pp_clock :
in std_logic;
1174 clk_40 :
in std_logic;
1175 clk_160 :
in std_logic;
1176 clk_125 :
in std_logic;
1177 rt_clk :
in std_logic;
1178 ck_pll_lock :
in std_logic;
1179 timer_reset :
in std_logic;
1181 CK_INT :
in STD_LOGIC;
1182 SMBALERT_B :
in STD_LOGIC;
1183 T_WRN_B :
in STD_LOGIC;
1185 channel_up :
in STD_LOGIC_VECTOR (
23 downto 0);
1186 chan_enable :
out STD_LOGIC_VECTOR (
23 downto 0);
1187 first_chan :
out STD_LOGIC_vector(
4 downto 0);
1188 last_chan :
out STD_LOGIC_vector(
4 downto 0);
1189 ro_status :
in STD_LOGIC_VECTOR (
7 downto 0);
1191 time_count :
out STD_LOGIC_VECTOR (
31 downto 0);
1192 tob_fifo_busy_threshold :
out STD_LOGIC_VECTOR (
31 downto 0);
1193 bulk_fifo_busy_threshold :
out STD_LOGIC_VECTOR (
31 downto 0);
1194 tob_fifo_xoff_threshold :
out STD_LOGIC_VECTOR (
31 downto 0);
1195 bulk_fifo_xoff_threshold :
out STD_LOGIC_VECTOR (
31 downto 0);
1196 backplane_control :
out STD_LOGIC_VECTOR (
31 downto 0);
1197 chan_disable :
out STD_LOGIC_VECTOR (
31 downto 0);
1198 combined_busy :
in std_logic;
1199 ro_user_clock :
in std_logic
1205 ipb_clk :
in std_logic;
1206 ipb_rst :
in std_logic;
1207 ipb_in :
in ipb_wbus;
1208 ipb_out :
out ipb_rbus;
1210 pp_clock :
in std_logic;
1211 clk_125 :
in std_logic;
1212 ttc_chan_stat :
in STD_LOGIC_VECTOR (
31 downto 0);
1213 ttc_fifo_level :
in STD_LOGIC_VECTOR (
15 downto 0);
1214 L1ID_error :
in std_logic;
1215 CTTC_CRC_error :
in std_logic;
1216 cttc_user_clk :
in std_logic;
1217 seq :
in STD_LOGIC_VECTOR (
1 downto 0);
1219 ttc_reset :
out std_logic;
1220 hub_link_reset :
out std_logic;
1221 ttc_ignore :
out std_logic;
1222 TTC_CRC_ignore :
out std_logic;
1223 TTC_fifo_rst :
out std_logic;
1224 header_sequence :
out STD_LOGIC_VECTOR (
11 downto 0);
1225 header_type :
out STD_LOGIC_VECTOR (
3 downto 0);
1226 det_spec_evnt_sel :
out STD_LOGIC_VECTOR (
3 downto 0);
1227 ttc_reg :
in STD_LOGIC_VECTOR(
63 DOWNTO 0);
1228 event_sel :
out STD_LOGIC_VECTOR (
2 downto 0);
1229 event_count :
in STD_LOGIC_VECTOR(
31 DOWNTO 0);
1230 orbit_count :
in STD_LOGIC_VECTOR(
15 DOWNTO 0);
1231 flx_backpressure :
in std_logic_vector(
11 downto 0);
1232 event_count_reset :
out std_logic;
1233 orbit_count_reset :
out std_logic;
1234 bcn_adjustment :
out std_logic_vector(
11 downto 0);
1236 l1id_continuity_control :
out std_logic_vector(
31 downto 0);
1237 l1id_continuity_status :
in STD_LOGIC_vector (
31 downto 0);
1238 l1id_local_miss :
in STD_LOGIC_vector (
31 downto 0);
1239 l1id_ttc_miss :
in STD_LOGIC_vector (
31 downto 0);
1240 l1id_error_count :
in STD_LOGIC_vector (
31 downto 0);
1241 timeout_threshold :
out std_logic_vector(
31 downto 0);
1242 repeat_counter :
in STD_LOGIC_vector(
31 downto 0)
1250 COMPONENT chan_map_ila
1254 probe0 :
IN STD_LOGIC_VECTOR(
23 DOWNTO 0);
1255 probe1 :
IN STD_LOGIC_VECTOR(
4 DOWNTO 0);
1256 probe2 :
IN STD_LOGIC_VECTOR(
4 DOWNTO 0)
1261 signal ipbw: ipb_wbus_array(N_SLAVES - 1 downto 0);
1262 signal ipbr: ipb_rbus_array(N_SLAVES - 1 downto 0);
1266 signal chan_enable_i : STD_LOGIC_VECTOR(23 DOWNTO 0);
1267 signal first_chan_i : STD_LOGIC_VECTOR(4 DOWNTO 0);
1268 signal last_chan_i : STD_LOGIC_VECTOR(4 DOWNTO 0);
1270 signal tob_fifo_busy_threshold : STD_LOGIC_VECTOR (31 downto 0);
1271 signal bulk_fifo_busy_threshold : STD_LOGIC_VECTOR (31 downto 0);
1272 signal tob_fifo_xoff_threshold : STD_LOGIC_VECTOR (31 downto 0);
1273 signal bulk_fifo_xoff_threshold : STD_LOGIC_VECTOR (31 downto 0);
1274 signal time_count : STD_LOGIC_VECTOR (31 downto 0);
1275 signal bp_reg_reset : std_logic;
1276 signal backplane_control_i : STD_LOGIC_VECTOR (31 downto 0);
1277 signal chan_disable : STD_LOGIC_VECTOR (31 downto 0);
1279 signal channel_busy : STD_LOGIC_VECTOR (23 downto 0);
1281 signal TTC_CRC_ignore_i : std_logic;
1282 signal det_spec_evnt_sel_i : std_logic_vector(3 downto 0);
1283 signal header_sequence_i : std_logic_vector(11 downto 0);
1284 signal header_type_i : std_logic_vector(3 downto 0);
1285 signal event_sel_i : std_logic_vector(1 downto 0);
1286 signal ttc_ignore_i : std_logic;
1287 signal TTC_fifo_rst_i : std_logic;
1288 signal BCN_adjustment_i : std_logic_vector(11 downto 0);
1289 signal l1id_continuity_control_i: std_logic_vector(31 downto 0);
1290 signal timeout_threshold_i : std_logic_vector(31 downto 0);
1292 signal event_sel_dummy : std_logic;
1298 fabric:
entity work.ipbus_fabric_sel
1301 SEL_WIDTH => IPBUS_SEL_WIDTH
)
1309 sel => ipbus_sel_L1CaloHubRodBackplane
(ipb_in.ipb_addr
),
1310 ipb_to_slaves => ipbw,
1311 ipb_from_slaves => ipbr
1315 gen_reg: if SIM=0 generate
1320 ipb_in => ipbw
(N_SLV_BP_REG_BLOCK
),
1321 ipb_out => ipbr
(N_SLV_BP_REG_BLOCK
),
1323 pp_clock => pp_clock,
1326 clk_125 => init_clk,
1328 ck_pll_lock => ck_pll_lock,
1329 timer_reset => reset,
1332 SMBALERT_B => SMBALERT_B,
1335 channel_up
(0) => aurora_chan_stat_0
(0),
1336 channel_up
(1) => aurora_chan_stat_1
(0),
1337 channel_up
(2) => aurora_chan_stat_2
(0),
1338 channel_up
(3) => aurora_chan_stat_3
(0),
1339 channel_up
(4) => aurora_chan_stat_4
(0),
1340 channel_up
(5) => aurora_chan_stat_5
(0),
1341 channel_up
(6) => aurora_chan_stat_6
(0),
1342 channel_up
(7) => aurora_chan_stat_7
(0),
1343 channel_up
(8) => aurora_chan_stat_8
(0),
1344 channel_up
(9) => aurora_chan_stat_9
(0),
1345 channel_up
(10) => aurora_chan_stat_10
(0),
1346 channel_up
(11) => aurora_chan_stat_11
(0),
1347 channel_up
(12) => aurora_chan_stat_12
(0),
1348 channel_up
(13) => aurora_chan_stat_13
(0),
1349 channel_up
(14) => aurora_chan_stat_14
(0),
1350 channel_up
(15) => aurora_chan_stat_15
(0),
1351 channel_up
(16) => aurora_chan_stat_16
(0),
1352 channel_up
(17) => aurora_chan_stat_17
(0),
1353 channel_up
(18) => aurora_chan_stat_18
(0),
1354 channel_up
(19) => aurora_chan_stat_19
(0),
1355 channel_up
(20) => aurora_chan_stat_20
(0),
1356 channel_up
(21) => aurora_chan_stat_21
(0),
1357 channel_up
(22) => aurora_chan_stat_22
(0),
1358 channel_up
(23) => aurora_chan_stat_23
(0),
1361 chan_enable => chan_enable_i,
1362 first_chan => first_chan_i,
1363 last_chan => last_chan_i,
1364 ro_status => ro_status,
1367 time_count => time_count,
1368 tob_fifo_busy_threshold => tob_fifo_busy_threshold,
1369 bulk_fifo_busy_threshold => bulk_fifo_busy_threshold,
1370 tob_fifo_xoff_threshold => tob_fifo_xoff_threshold,
1371 bulk_fifo_xoff_threshold => bulk_fifo_xoff_threshold,
1372 backplane_control => backplane_control_i,
1373 chan_disable => chan_disable,
1374 combined_busy => combined_busy,
1375 ro_user_clock => ro_user_clock
1384 chan_map_dbg: if debug=1 generate
1385 channel_map_ila : chan_map_ila
1389 probe0 => chan_enable_i,
1390 probe1 => first_chan_i,
1391 probe2 => last_chan_i
1393 end generate chan_map_dbg;
1399 ipb_in => ipbw
(N_SLV_TTC_REG_BLOCK
),
1400 ipb_out => ipbr
(N_SLV_TTC_REG_BLOCK
),
1402 pp_clock => pp_clock,
1403 clk_125 => init_clk,
1405 ttc_chan_stat => ttc_status,
1406 ttc_fifo_level => ttc_fifo_level,
1407 L1ID_error => L1ID_error,
1408 CTTC_CRC_error => CTTC_CRC_error,
1409 cttc_user_clk => cttc_user_clk,
1412 ttc_reset => ttc_reset,
1413 hub_link_reset => hub_link_reset,
1414 ttc_ignore => ttc_ignore_i,
1415 TTC_CRC_ignore => TTC_CRC_ignore_i,
1416 TTC_fifo_rst => TTC_fifo_rst_i,
1417 header_sequence => header_sequence_i,
1418 header_type => header_type_i,
1419 det_spec_evnt_sel => det_spec_evnt_sel_i,
1421 event_sel
(1 downto 0) => event_sel_i,
1422 event_sel
(2) => event_sel_dummy,
1423 event_count => event_count,
1424 orbit_count => orbit_count,
1425 flx_backpressure => flx_backpressure,
1426 event_count_reset => event_count_reset,
1427 orbit_count_reset => orbit_count_reset,
1428 bcn_adjustment => bcn_adjustment_i,
1429 l1id_continuity_control => l1id_continuity_control_i,
1430 l1id_continuity_status => l1id_continuity_status,
1431 l1id_local_miss => l1id_local_miss,
1432 l1id_ttc_miss => l1id_ttc_miss,
1433 l1id_error_count => l1id_error_count,
1434 timeout_threshold => timeout_threshold_i,
1435 repeat_counter => repeat_counter
1441 end generate gen_reg;
1444 TTC_CRC_ignore <= TTC_CRC_ignore_i;
1445 det_spec_evnt_sel <= det_spec_evnt_sel_i;
1446 header_sequence <= header_sequence_i;
1447 header_type <= header_type_i;
1448 event_sel <= event_sel_i;
1449 ttc_ignore <= ttc_ignore_i;
1450 chan_enable <= chan_enable_i;
1451 first_chan <= first_chan_i;
1452 last_chan <= last_chan_i;
1453 TTC_fifo_rst <= TTC_fifo_rst_i;
1454 BCN_adjustment <= bcn_adjustment_i;
1455 l1id_continuity_control <= l1id_continuity_control_i;
1456 timeout_threshold <= timeout_threshold_i;
1468 backplane_control <= backplane_control_i;
1469 bp_reg_reset <= backplane_control_i(1);
1473 channel_num => x"000",
1475 max_packet_length => max_packet_length,
1488 ipb_in => ipbw
(N_SLV_CHANNEL_0
),
1489 ipb_out => ipbr
(N_SLV_CHANNEL_0
),
1493 pp_clock => pp_clock,
1496 init_clk => init_clk,
1497 master_reset => master_reset,
1498 bp_reg_reset => bp_reg_reset,
1499 wdog_fifo_reset => wdog_fifo_reset,
1504 tob_fifo_busy_threshold => tob_fifo_busy_threshold
(15 downto 0),
1505 bulk_fifo_busy_threshold => bulk_fifo_busy_threshold
(15 downto 0),
1506 tob_fifo_xoff_threshold => tob_fifo_xoff_threshold
(15 downto 0),
1507 bulk_fifo_xoff_threshold => bulk_fifo_xoff_threshold
(15 downto 0),
1509 time_count => time_count,
1511 backplane_control => backplane_control,
1512 aurora_chan_stat => aurora_chan_stat_0,
1513 aurora_channel_control => aurora_chan_control_0,
1514 chan_disable => chan_disable
(0),
1515 aurora_user_clk => aurora_user_clk_0,
1516 s_axis_tvalid => s_axis_tvalid_0,
1517 s_axis_tlast => s_axis_tlast_0,
1518 tob_s_tready => tob_s_tready_0,
1519 s_axis_tdata => s_axis_tdata_0,
1522 poll_chan => tob_poll_chan_0,
1523 tob_m_tvalid => tob_m_tvalid_0,
1524 tob_m_tlast => tob_m_tlast_0,
1525 tob_m_tready => tob_m_tready_0,
1526 tob_m_tdata => tob_m_tdata_0,
1527 tob_header_marker => tob_header_marker_0,
1528 tob_tail_marker => tob_tail_marker_0,
1529 hdr_crc_tag => hdr_crc_tag_0,
1530 comb_error_tag => comb_error_tag_0,
1533 calo_poll_chan => calo_poll_chan_0,
1534 calo_m_tvalid => calo_m_tvalid_0,
1535 calo_m_fifo_tlast => calo_m_fifo_tlast_0,
1536 calo_m_axis_tready => calo_m_axis_tready_0,
1537 calo_s_axis_tready => calo_s_axis_tready_0,
1539 calo_m_axis_tdata => calo_m_axis_tdata_0,
1540 calo_header_marker => calo_header_marker_0,
1541 calo_tail_marker => calo_tail_marker_0,
1543 s_axi_ufc_rx_tdata => s_axi_ufc_rx_tdata_0,
1544 s_axi_ufc_rx_tvalid => s_axi_ufc_rx_tvalid_0,
1545 s_axi_ufc_rx_tlast => s_axi_ufc_rx_tlast_0,
1547 channel_busy => channel_busy
(0),
1549 timeout_err => timeout_err,
1558 channel_num => x"001",
1560 max_packet_length => max_packet_length,
1572 ipb_in => ipbw
(N_SLV_CHANNEL_1
),
1573 ipb_out => ipbr
(N_SLV_CHANNEL_1
),
1575 pp_clock => pp_clock,
1578 init_clk => init_clk,
1579 master_reset => master_reset,
1580 bp_reg_reset => bp_reg_reset,
1581 wdog_fifo_reset => wdog_fifo_reset,
1583 tob_fifo_busy_threshold => tob_fifo_busy_threshold
(15 downto 0),
1584 bulk_fifo_busy_threshold => bulk_fifo_busy_threshold
(15 downto 0),
1585 tob_fifo_xoff_threshold => tob_fifo_xoff_threshold
(15 downto 0),
1586 bulk_fifo_xoff_threshold => bulk_fifo_xoff_threshold
(15 downto 0),
1588 time_count => time_count,
1590 backplane_control => backplane_control,
1591 aurora_chan_stat => aurora_chan_stat_1,
1592 aurora_channel_control => aurora_chan_control_1,
1593 chan_disable => chan_disable
(1),
1594 aurora_user_clk => aurora_user_clk_1,
1595 s_axis_tvalid => s_axis_tvalid_1,
1596 s_axis_tlast => s_axis_tlast_1,
1597 tob_s_tready => tob_s_tready_1,
1598 s_axis_tdata => s_axis_tdata_1,
1601 poll_chan => tob_poll_chan_1,
1602 tob_m_tvalid => tob_m_tvalid_1,
1603 tob_m_tlast => tob_m_tlast_1,
1604 tob_m_tready => tob_m_tready_1,
1605 tob_m_tdata => tob_m_tdata_1,
1606 tob_header_marker => tob_header_marker_1,
1607 tob_tail_marker => tob_tail_marker_1,
1608 hdr_crc_tag => hdr_crc_tag_1,
1609 comb_error_tag => comb_error_tag_1,
1611 calo_poll_chan => calo_poll_chan_1,
1612 calo_m_tvalid => calo_m_tvalid_1,
1613 calo_m_fifo_tlast => calo_m_fifo_tlast_1,
1614 calo_m_axis_tready => calo_m_axis_tready_1,
1615 calo_s_axis_tready => calo_s_axis_tready_1,
1617 calo_m_axis_tdata => calo_m_axis_tdata_1,
1618 calo_header_marker => calo_header_marker_1,
1619 calo_tail_marker => calo_tail_marker_1,
1621 s_axi_ufc_rx_tdata => s_axi_ufc_rx_tdata_1,
1622 s_axi_ufc_rx_tvalid => s_axi_ufc_rx_tvalid_1,
1623 s_axi_ufc_rx_tlast => s_axi_ufc_rx_tlast_1,
1625 channel_busy => channel_busy
(1),
1634 channel_num => x"002",
1636 max_packet_length => max_packet_length,
1645 ipb_in => ipbw
(N_SLV_CHANNEL_2
),
1646 ipb_out => ipbr
(N_SLV_CHANNEL_2
),
1648 pp_clock => pp_clock,
1651 init_clk => init_clk,
1652 master_reset => master_reset,
1653 bp_reg_reset => bp_reg_reset,
1654 wdog_fifo_reset => wdog_fifo_reset,
1656 tob_fifo_busy_threshold => tob_fifo_busy_threshold
(15 downto 0),
1657 bulk_fifo_busy_threshold => bulk_fifo_busy_threshold
(15 downto 0),
1658 tob_fifo_xoff_threshold => tob_fifo_xoff_threshold
(15 downto 0),
1659 bulk_fifo_xoff_threshold => bulk_fifo_xoff_threshold
(15 downto 0),
1661 time_count => time_count,
1663 backplane_control => backplane_control,
1664 aurora_chan_stat => aurora_chan_stat_2,
1665 aurora_channel_control => aurora_chan_control_2,
1666 chan_disable => chan_disable
(2),
1667 aurora_user_clk => aurora_user_clk_2,
1668 s_axis_tvalid => s_axis_tvalid_2,
1669 s_axis_tlast => s_axis_tlast_2,
1670 tob_s_tready => tob_s_tready_2,
1671 s_axis_tdata => s_axis_tdata_2,
1674 poll_chan => tob_poll_chan_2,
1675 tob_m_tvalid => tob_m_tvalid_2,
1676 tob_m_tlast => tob_m_tlast_2,
1677 tob_m_tready => tob_m_tready_2,
1678 tob_m_tdata => tob_m_tdata_2,
1679 tob_header_marker => tob_header_marker_2,
1680 tob_tail_marker => tob_tail_marker_2,
1681 hdr_crc_tag => hdr_crc_tag_2,
1682 comb_error_tag => comb_error_tag_2,
1684 calo_poll_chan => calo_poll_chan_2,
1685 calo_m_tvalid => calo_m_tvalid_2,
1686 calo_m_fifo_tlast => calo_m_fifo_tlast_2,
1687 calo_m_axis_tready => calo_m_axis_tready_2,
1688 calo_s_axis_tready => calo_s_axis_tready_2,
1690 calo_m_axis_tdata => calo_m_axis_tdata_2,
1691 calo_header_marker => calo_header_marker_2,
1692 calo_tail_marker => calo_tail_marker_2,
1694 s_axi_ufc_rx_tdata => s_axi_ufc_rx_tdata_2,
1695 s_axi_ufc_rx_tvalid => s_axi_ufc_rx_tvalid_2,
1696 s_axi_ufc_rx_tlast => s_axi_ufc_rx_tlast_2,
1698 channel_busy => channel_busy
(2),
1708 channel_num => x"003",
1710 max_packet_length => max_packet_length,
1720 ipb_in => ipbw
(N_SLV_CHANNEL_3
),
1721 ipb_out => ipbr
(N_SLV_CHANNEL_3
),
1723 pp_clock => pp_clock,
1726 init_clk => init_clk,
1727 master_reset => master_reset,
1728 bp_reg_reset => bp_reg_reset,
1729 wdog_fifo_reset => wdog_fifo_reset,
1731 tob_fifo_busy_threshold => tob_fifo_busy_threshold
(15 downto 0),
1732 bulk_fifo_busy_threshold => bulk_fifo_busy_threshold
(15 downto 0),
1733 tob_fifo_xoff_threshold => tob_fifo_xoff_threshold
(15 downto 0),
1734 bulk_fifo_xoff_threshold => bulk_fifo_xoff_threshold
(15 downto 0),
1736 time_count => time_count,
1738 backplane_control => backplane_control,
1739 aurora_chan_stat => aurora_chan_stat_3,
1740 aurora_channel_control => aurora_chan_control_3,
1741 chan_disable => chan_disable
(3),
1742 aurora_user_clk => aurora_user_clk_3,
1743 s_axis_tvalid => s_axis_tvalid_3,
1744 s_axis_tlast => s_axis_tlast_3,
1745 tob_s_tready => tob_s_tready_3,
1746 s_axis_tdata => s_axis_tdata_3,
1749 poll_chan => tob_poll_chan_3,
1750 tob_m_tvalid => tob_m_tvalid_3,
1751 tob_m_tlast => tob_m_tlast_3,
1752 tob_m_tready => tob_m_tready_3,
1753 tob_m_tdata => tob_m_tdata_3,
1754 tob_header_marker => tob_header_marker_3,
1755 tob_tail_marker => tob_tail_marker_3,
1756 hdr_crc_tag => hdr_crc_tag_3,
1757 comb_error_tag => comb_error_tag_3,
1759 calo_poll_chan => calo_poll_chan_3,
1760 calo_m_tvalid => calo_m_tvalid_3,
1761 calo_m_fifo_tlast => calo_m_fifo_tlast_3,
1762 calo_m_axis_tready => calo_m_axis_tready_3,
1763 calo_s_axis_tready => calo_s_axis_tready_3,
1765 calo_m_axis_tdata => calo_m_axis_tdata_3,
1766 calo_header_marker => calo_header_marker_3,
1767 calo_tail_marker => calo_tail_marker_3,
1769 s_axi_ufc_rx_tdata => s_axi_ufc_rx_tdata_3,
1770 s_axi_ufc_rx_tvalid => s_axi_ufc_rx_tvalid_3,
1771 s_axi_ufc_rx_tlast => s_axi_ufc_rx_tlast_3,
1773 channel_busy => channel_busy
(3),
1780 channel_num => x"004",
1782 max_packet_length => max_packet_length,
1792 ipb_in => ipbw
(N_SLV_CHANNEL_4
),
1793 ipb_out => ipbr
(N_SLV_CHANNEL_4
),
1795 pp_clock => pp_clock,
1798 init_clk => init_clk,
1799 master_reset => master_reset,
1800 bp_reg_reset => bp_reg_reset,
1801 wdog_fifo_reset => wdog_fifo_reset,
1803 tob_fifo_busy_threshold => tob_fifo_busy_threshold
(15 downto 0),
1804 bulk_fifo_busy_threshold => bulk_fifo_busy_threshold
(15 downto 0),
1805 tob_fifo_xoff_threshold => tob_fifo_xoff_threshold
(15 downto 0),
1806 bulk_fifo_xoff_threshold => bulk_fifo_xoff_threshold
(15 downto 0),
1808 time_count => time_count,
1810 backplane_control => backplane_control,
1811 aurora_chan_stat => aurora_chan_stat_4,
1812 aurora_channel_control => aurora_chan_control_4,
1813 chan_disable => chan_disable
(4),
1814 aurora_user_clk => aurora_user_clk_4,
1815 s_axis_tvalid => s_axis_tvalid_4,
1816 s_axis_tlast => s_axis_tlast_4,
1817 tob_s_tready => tob_s_tready_4,
1818 s_axis_tdata => s_axis_tdata_4,
1821 poll_chan => tob_poll_chan_4,
1822 tob_m_tvalid => tob_m_tvalid_4,
1823 tob_m_tlast => tob_m_tlast_4,
1824 tob_m_tready => tob_m_tready_4,
1825 tob_m_tdata => tob_m_tdata_4,
1826 tob_header_marker => tob_header_marker_4,
1827 tob_tail_marker => tob_tail_marker_4,
1828 hdr_crc_tag => hdr_crc_tag_4,
1829 comb_error_tag => comb_error_tag_4,
1831 calo_poll_chan => calo_poll_chan_4,
1832 calo_m_tvalid => calo_m_tvalid_4,
1833 calo_m_fifo_tlast => calo_m_fifo_tlast_4,
1834 calo_m_axis_tready => calo_m_axis_tready_4,
1835 calo_s_axis_tready => calo_s_axis_tready_4,
1837 calo_m_axis_tdata => calo_m_axis_tdata_4,
1838 calo_header_marker => calo_header_marker_4,
1839 calo_tail_marker => calo_tail_marker_4,
1841 s_axi_ufc_rx_tdata => s_axi_ufc_rx_tdata_4,
1842 s_axi_ufc_rx_tvalid => s_axi_ufc_rx_tvalid_4,
1843 s_axi_ufc_rx_tlast => s_axi_ufc_rx_tlast_4,
1845 channel_busy => channel_busy
(4),
1853 channel_num => x"005",
1855 max_packet_length => max_packet_length,
1864 ipb_in => ipbw
(N_SLV_CHANNEL_5
),
1865 ipb_out => ipbr
(N_SLV_CHANNEL_5
),
1867 pp_clock => pp_clock,
1870 init_clk => init_clk,
1871 master_reset => master_reset,
1872 bp_reg_reset => bp_reg_reset,
1873 wdog_fifo_reset => wdog_fifo_reset,
1875 tob_fifo_busy_threshold => tob_fifo_busy_threshold
(15 downto 0),
1876 bulk_fifo_busy_threshold => bulk_fifo_busy_threshold
(15 downto 0),
1877 tob_fifo_xoff_threshold => tob_fifo_xoff_threshold
(15 downto 0),
1878 bulk_fifo_xoff_threshold => bulk_fifo_xoff_threshold
(15 downto 0),
1880 time_count => time_count,
1882 backplane_control => backplane_control,
1883 aurora_chan_stat => aurora_chan_stat_5,
1884 aurora_channel_control => aurora_chan_control_5,
1885 chan_disable => chan_disable
(5),
1886 aurora_user_clk => aurora_user_clk_5,
1887 s_axis_tvalid => s_axis_tvalid_5,
1888 s_axis_tlast => s_axis_tlast_5,
1889 tob_s_tready => tob_s_tready_5,
1890 s_axis_tdata => s_axis_tdata_5,
1893 poll_chan => tob_poll_chan_5,
1894 tob_m_tvalid => tob_m_tvalid_5,
1895 tob_m_tlast => tob_m_tlast_5,
1896 tob_m_tready => tob_m_tready_5,
1897 tob_m_tdata => tob_m_tdata_5,
1898 tob_header_marker => tob_header_marker_5,
1899 tob_tail_marker => tob_tail_marker_5,
1900 hdr_crc_tag => hdr_crc_tag_5,
1901 comb_error_tag => comb_error_tag_5,
1903 calo_poll_chan => calo_poll_chan_5,
1904 calo_m_tvalid => calo_m_tvalid_5,
1905 calo_m_fifo_tlast => calo_m_fifo_tlast_5,
1906 calo_m_axis_tready => calo_m_axis_tready_5,
1907 calo_s_axis_tready => calo_s_axis_tready_5,
1909 calo_m_axis_tdata => calo_m_axis_tdata_5,
1910 calo_header_marker => calo_header_marker_5,
1911 calo_tail_marker => calo_tail_marker_5,
1913 s_axi_ufc_rx_tdata => s_axi_ufc_rx_tdata_5,
1914 s_axi_ufc_rx_tvalid => s_axi_ufc_rx_tvalid_5,
1915 s_axi_ufc_rx_tlast => s_axi_ufc_rx_tlast_5,
1917 channel_busy => channel_busy
(5),
1928 channel_num => x"006",
1930 max_packet_length => max_packet_length,
1939 ipb_in => ipbw
(N_SLV_CHANNEL_6
),
1940 ipb_out => ipbr
(N_SLV_CHANNEL_6
),
1942 pp_clock => pp_clock,
1945 init_clk => init_clk,
1946 master_reset => master_reset,
1947 bp_reg_reset => bp_reg_reset,
1948 wdog_fifo_reset => wdog_fifo_reset,
1950 tob_fifo_busy_threshold => tob_fifo_busy_threshold
(15 downto 0),
1951 bulk_fifo_busy_threshold => bulk_fifo_busy_threshold
(15 downto 0),
1952 tob_fifo_xoff_threshold => tob_fifo_xoff_threshold
(15 downto 0),
1953 bulk_fifo_xoff_threshold => bulk_fifo_xoff_threshold
(15 downto 0),
1955 time_count => time_count,
1957 backplane_control => backplane_control,
1958 aurora_chan_stat => aurora_chan_stat_6,
1959 aurora_channel_control => aurora_chan_control_6,
1960 chan_disable => chan_disable
(6),
1961 aurora_user_clk => aurora_user_clk_6,
1962 s_axis_tvalid => s_axis_tvalid_6,
1963 s_axis_tlast => s_axis_tlast_6,
1964 tob_s_tready => tob_s_tready_6,
1965 s_axis_tdata => s_axis_tdata_6,
1968 poll_chan => tob_poll_chan_6,
1969 tob_m_tvalid => tob_m_tvalid_6,
1970 tob_m_tlast => tob_m_tlast_6,
1971 tob_m_tready => tob_m_tready_6,
1972 tob_m_tdata => tob_m_tdata_6,
1973 tob_header_marker => tob_header_marker_6,
1974 tob_tail_marker => tob_tail_marker_6,
1975 hdr_crc_tag => hdr_crc_tag_6,
1976 comb_error_tag => comb_error_tag_6,
1978 calo_poll_chan => calo_poll_chan_6,
1979 calo_m_tvalid => calo_m_tvalid_6,
1980 calo_m_fifo_tlast => calo_m_fifo_tlast_6,
1981 calo_m_axis_tready => calo_m_axis_tready_6,
1982 calo_s_axis_tready => calo_s_axis_tready_6,
1984 calo_m_axis_tdata => calo_m_axis_tdata_6,
1985 calo_header_marker => calo_header_marker_6,
1986 calo_tail_marker => calo_tail_marker_6,
1988 s_axi_ufc_rx_tdata => s_axi_ufc_rx_tdata_6,
1989 s_axi_ufc_rx_tvalid => s_axi_ufc_rx_tvalid_6,
1990 s_axi_ufc_rx_tlast => s_axi_ufc_rx_tlast_6,
1992 channel_busy => channel_busy
(6),
2003 channel_num => x"007",
2005 max_packet_length => max_packet_length,
2014 ipb_in => ipbw
(N_SLV_CHANNEL_7
),
2015 ipb_out => ipbr
(N_SLV_CHANNEL_7
),
2017 pp_clock => pp_clock,
2020 init_clk => init_clk,
2021 master_reset => master_reset,
2022 bp_reg_reset => bp_reg_reset,
2023 wdog_fifo_reset => wdog_fifo_reset,
2025 tob_fifo_busy_threshold => tob_fifo_busy_threshold
(15 downto 0),
2026 bulk_fifo_busy_threshold => bulk_fifo_busy_threshold
(15 downto 0),
2027 tob_fifo_xoff_threshold => tob_fifo_xoff_threshold
(15 downto 0),
2028 bulk_fifo_xoff_threshold => bulk_fifo_xoff_threshold
(15 downto 0),
2030 time_count => time_count,
2032 backplane_control => backplane_control,
2033 aurora_chan_stat => aurora_chan_stat_7,
2034 aurora_channel_control => aurora_chan_control_7,
2035 chan_disable => chan_disable
(7),
2036 aurora_user_clk => aurora_user_clk_7,
2037 s_axis_tvalid => s_axis_tvalid_7,
2038 s_axis_tlast => s_axis_tlast_7,
2039 tob_s_tready => tob_s_tready_7,
2040 s_axis_tdata => s_axis_tdata_7,
2043 poll_chan => tob_poll_chan_7,
2044 tob_m_tvalid => tob_m_tvalid_7,
2045 tob_m_tlast => tob_m_tlast_7,
2046 tob_m_tready => tob_m_tready_7,
2047 tob_m_tdata => tob_m_tdata_7,
2048 tob_header_marker => tob_header_marker_7,
2049 tob_tail_marker => tob_tail_marker_7,
2050 hdr_crc_tag => hdr_crc_tag_7,
2051 comb_error_tag => comb_error_tag_7,
2053 calo_poll_chan => calo_poll_chan_7,
2054 calo_m_tvalid => calo_m_tvalid_7,
2055 calo_m_fifo_tlast => calo_m_fifo_tlast_7,
2056 calo_m_axis_tready => calo_m_axis_tready_7,
2057 calo_s_axis_tready => calo_s_axis_tready_7,
2059 calo_m_axis_tdata => calo_m_axis_tdata_7,
2060 calo_header_marker => calo_header_marker_7,
2061 calo_tail_marker => calo_tail_marker_7,
2063 s_axi_ufc_rx_tdata => s_axi_ufc_rx_tdata_7,
2064 s_axi_ufc_rx_tvalid => s_axi_ufc_rx_tvalid_7,
2065 s_axi_ufc_rx_tlast => s_axi_ufc_rx_tlast_7,
2067 channel_busy => channel_busy
(7),
2077 channel_num => x"008",
2079 max_packet_length => max_packet_length,
2088 ipb_in => ipbw
(N_SLV_CHANNEL_8
),
2089 ipb_out => ipbr
(N_SLV_CHANNEL_8
),
2091 pp_clock => pp_clock,
2094 init_clk => init_clk,
2095 master_reset => master_reset,
2096 bp_reg_reset => bp_reg_reset,
2097 wdog_fifo_reset => wdog_fifo_reset,
2100 tob_fifo_busy_threshold => tob_fifo_busy_threshold
(15 downto 0),
2101 bulk_fifo_busy_threshold => bulk_fifo_busy_threshold
(15 downto 0),
2102 tob_fifo_xoff_threshold => tob_fifo_xoff_threshold
(15 downto 0),
2103 bulk_fifo_xoff_threshold => bulk_fifo_xoff_threshold
(15 downto 0),
2105 time_count => time_count,
2107 backplane_control => backplane_control,
2108 aurora_chan_stat => aurora_chan_stat_8,
2109 aurora_channel_control => aurora_chan_control_8,
2110 chan_disable => chan_disable
(8),
2111 aurora_user_clk => aurora_user_clk_8,
2112 s_axis_tvalid => s_axis_tvalid_8,
2113 s_axis_tlast => s_axis_tlast_8,
2114 tob_s_tready => tob_s_tready_8,
2115 s_axis_tdata => s_axis_tdata_8,
2118 poll_chan => tob_poll_chan_8,
2119 tob_m_tvalid => tob_m_tvalid_8,
2120 tob_m_tlast => tob_m_tlast_8,
2121 tob_m_tready => tob_m_tready_8,
2122 tob_m_tdata => tob_m_tdata_8,
2123 tob_header_marker => tob_header_marker_8,
2124 tob_tail_marker => tob_tail_marker_8,
2125 hdr_crc_tag => hdr_crc_tag_8,
2126 comb_error_tag => comb_error_tag_8,
2128 calo_poll_chan => calo_poll_chan_8,
2129 calo_m_tvalid => calo_m_tvalid_8,
2130 calo_m_fifo_tlast => calo_m_fifo_tlast_8,
2131 calo_m_axis_tready => calo_m_axis_tready_8,
2132 calo_s_axis_tready => calo_s_axis_tready_8,
2134 calo_m_axis_tdata => calo_m_axis_tdata_8,
2135 calo_header_marker => calo_header_marker_8,
2136 calo_tail_marker => calo_tail_marker_8,
2138 s_axi_ufc_rx_tdata => s_axi_ufc_rx_tdata_8,
2139 s_axi_ufc_rx_tvalid => s_axi_ufc_rx_tvalid_8,
2140 s_axi_ufc_rx_tlast => s_axi_ufc_rx_tlast_8,
2142 channel_busy => channel_busy
(8),
2152 channel_num => x"009",
2154 max_packet_length => max_packet_length,
2163 ipb_in => ipbw
(N_SLV_CHANNEL_9
),
2164 ipb_out => ipbr
(N_SLV_CHANNEL_9
),
2166 pp_clock => pp_clock,
2169 init_clk => init_clk,
2170 master_reset => master_reset,
2171 bp_reg_reset => bp_reg_reset,
2172 wdog_fifo_reset => wdog_fifo_reset,
2175 tob_fifo_busy_threshold => tob_fifo_busy_threshold
(15 downto 0),
2176 bulk_fifo_busy_threshold => bulk_fifo_busy_threshold
(15 downto 0),
2177 tob_fifo_xoff_threshold => tob_fifo_xoff_threshold
(15 downto 0),
2178 bulk_fifo_xoff_threshold => bulk_fifo_xoff_threshold
(15 downto 0),
2180 time_count => time_count,
2182 backplane_control => backplane_control,
2183 aurora_chan_stat => aurora_chan_stat_9,
2184 aurora_channel_control => aurora_chan_control_9,
2185 chan_disable => chan_disable
(9),
2186 aurora_user_clk => aurora_user_clk_9,
2187 s_axis_tvalid => s_axis_tvalid_9,
2188 s_axis_tlast => s_axis_tlast_9,
2189 tob_s_tready => tob_s_tready_9,
2190 s_axis_tdata => s_axis_tdata_9,
2193 poll_chan => tob_poll_chan_9,
2194 tob_m_tvalid => tob_m_tvalid_9,
2195 tob_m_tlast => tob_m_tlast_9,
2196 tob_m_tready => tob_m_tready_9,
2197 tob_m_tdata => tob_m_tdata_9,
2198 tob_header_marker => tob_header_marker_9,
2199 tob_tail_marker => tob_tail_marker_9,
2200 hdr_crc_tag => hdr_crc_tag_9,
2201 comb_error_tag => comb_error_tag_9,
2203 calo_poll_chan => calo_poll_chan_9,
2204 calo_m_tvalid => calo_m_tvalid_9,
2205 calo_m_fifo_tlast => calo_m_fifo_tlast_9,
2206 calo_m_axis_tready => calo_m_axis_tready_9,
2207 calo_s_axis_tready => calo_s_axis_tready_9,
2209 calo_m_axis_tdata => calo_m_axis_tdata_9,
2210 calo_header_marker => calo_header_marker_9,
2211 calo_tail_marker => calo_tail_marker_9,
2213 s_axi_ufc_rx_tdata => s_axi_ufc_rx_tdata_9,
2214 s_axi_ufc_rx_tvalid => s_axi_ufc_rx_tvalid_9,
2215 s_axi_ufc_rx_tlast => s_axi_ufc_rx_tlast_9,
2217 channel_busy => channel_busy
(9),
2228 channel_num => x"00A",
2230 max_packet_length => max_packet_length,
2239 ipb_in => ipbw
(N_SLV_CHANNEL_10
),
2240 ipb_out => ipbr
(N_SLV_CHANNEL_10
),
2242 pp_clock => pp_clock,
2245 init_clk => init_clk,
2246 master_reset => master_reset,
2247 bp_reg_reset => bp_reg_reset,
2248 wdog_fifo_reset => wdog_fifo_reset,
2250 tob_fifo_busy_threshold => tob_fifo_busy_threshold
(15 downto 0),
2251 bulk_fifo_busy_threshold => bulk_fifo_busy_threshold
(15 downto 0),
2252 tob_fifo_xoff_threshold => tob_fifo_xoff_threshold
(15 downto 0),
2253 bulk_fifo_xoff_threshold => bulk_fifo_xoff_threshold
(15 downto 0),
2255 time_count => time_count,
2257 backplane_control => backplane_control,
2258 aurora_chan_stat => aurora_chan_stat_10,
2259 aurora_channel_control => aurora_chan_control_10,
2260 chan_disable => chan_disable
(10),
2261 aurora_user_clk => aurora_user_clk_10,
2262 s_axis_tvalid => s_axis_tvalid_10,
2263 s_axis_tlast => s_axis_tlast_10,
2264 tob_s_tready => tob_s_tready_10,
2265 s_axis_tdata => s_axis_tdata_10,
2268 poll_chan => tob_poll_chan_10,
2269 tob_m_tvalid => tob_m_tvalid_10,
2270 tob_m_tlast => tob_m_tlast_10,
2271 tob_m_tready => tob_m_tready_10,
2272 tob_m_tdata => tob_m_tdata_10,
2273 tob_header_marker => tob_header_marker_10,
2274 tob_tail_marker => tob_tail_marker_10,
2275 hdr_crc_tag => hdr_crc_tag_10,
2276 comb_error_tag => comb_error_tag_10,
2278 calo_poll_chan => calo_poll_chan_10,
2279 calo_m_tvalid => calo_m_tvalid_10,
2280 calo_m_fifo_tlast => calo_m_fifo_tlast_10,
2281 calo_m_axis_tready => calo_m_axis_tready_10,
2282 calo_s_axis_tready => calo_s_axis_tready_10,
2284 calo_m_axis_tdata => calo_m_axis_tdata_10,
2285 calo_header_marker => calo_header_marker_10,
2286 calo_tail_marker => calo_tail_marker_10,
2288 s_axi_ufc_rx_tdata => s_axi_ufc_rx_tdata_10,
2289 s_axi_ufc_rx_tvalid => s_axi_ufc_rx_tvalid_10,
2290 s_axi_ufc_rx_tlast => s_axi_ufc_rx_tlast_10,
2292 channel_busy => channel_busy
(10),
2300 channel_num => x"00B",
2302 max_packet_length => max_packet_length,
2311 ipb_in => ipbw
(N_SLV_CHANNEL_11
),
2312 ipb_out => ipbr
(N_SLV_CHANNEL_11
),
2314 pp_clock => pp_clock,
2317 init_clk => init_clk,
2318 master_reset => master_reset,
2319 bp_reg_reset => bp_reg_reset,
2320 wdog_fifo_reset => wdog_fifo_reset,
2322 tob_fifo_busy_threshold => tob_fifo_busy_threshold
(15 downto 0),
2323 bulk_fifo_busy_threshold => bulk_fifo_busy_threshold
(15 downto 0),
2324 tob_fifo_xoff_threshold => tob_fifo_xoff_threshold
(15 downto 0),
2325 bulk_fifo_xoff_threshold => bulk_fifo_xoff_threshold
(15 downto 0),
2327 time_count => time_count,
2329 backplane_control => backplane_control,
2330 aurora_chan_stat => aurora_chan_stat_11,
2331 aurora_channel_control => aurora_chan_control_11,
2332 chan_disable => chan_disable
(11),
2333 aurora_user_clk => aurora_user_clk_11,
2334 s_axis_tvalid => s_axis_tvalid_11,
2335 s_axis_tlast => s_axis_tlast_11,
2336 tob_s_tready => tob_s_tready_11,
2337 s_axis_tdata => s_axis_tdata_11,
2340 poll_chan => tob_poll_chan_11,
2341 tob_m_tvalid => tob_m_tvalid_11,
2342 tob_m_tlast => tob_m_tlast_11,
2343 tob_m_tready => tob_m_tready_11,
2344 tob_m_tdata => tob_m_tdata_11,
2345 tob_header_marker => tob_header_marker_11,
2346 tob_tail_marker => tob_tail_marker_11,
2347 hdr_crc_tag => hdr_crc_tag_11,
2348 comb_error_tag => comb_error_tag_11,
2350 calo_poll_chan => calo_poll_chan_11,
2351 calo_m_tvalid => calo_m_tvalid_11,
2352 calo_m_fifo_tlast => calo_m_fifo_tlast_11,
2353 calo_m_axis_tready => calo_m_axis_tready_11,
2354 calo_s_axis_tready => calo_s_axis_tready_11,
2356 calo_m_axis_tdata => calo_m_axis_tdata_11,
2357 calo_header_marker => calo_header_marker_11,
2358 calo_tail_marker => calo_tail_marker_11,
2360 s_axi_ufc_rx_tdata => s_axi_ufc_rx_tdata_11,
2361 s_axi_ufc_rx_tvalid => s_axi_ufc_rx_tvalid_11,
2362 s_axi_ufc_rx_tlast => s_axi_ufc_rx_tlast_11,
2364 channel_busy => channel_busy
(11),
2372 gen_jfex_chan: if jfex=1 generate
2377 channel_num => x"00C",
2379 max_packet_length => max_packet_length,
2388 ipb_in => ipbw
(N_SLV_CHANNEL_12
),
2389 ipb_out => ipbr
(N_SLV_CHANNEL_12
),
2391 pp_clock => pp_clock,
2394 init_clk => init_clk,
2395 master_reset => master_reset,
2396 bp_reg_reset => bp_reg_reset,
2397 wdog_fifo_reset => wdog_fifo_reset,
2399 tob_fifo_busy_threshold => tob_fifo_busy_threshold
(15 downto 0),
2400 bulk_fifo_busy_threshold => bulk_fifo_busy_threshold
(15 downto 0),
2401 tob_fifo_xoff_threshold => tob_fifo_xoff_threshold
(15 downto 0),
2402 bulk_fifo_xoff_threshold => bulk_fifo_xoff_threshold
(15 downto 0),
2404 time_count => time_count,
2406 backplane_control => backplane_control,
2407 aurora_chan_stat => aurora_chan_stat_12,
2408 aurora_channel_control => aurora_chan_control_12,
2409 chan_disable => chan_disable
(12),
2410 aurora_user_clk => aurora_user_clk_12,
2411 s_axis_tvalid => s_axis_tvalid_12,
2412 s_axis_tlast => s_axis_tlast_12,
2413 tob_s_tready => tob_s_tready_12,
2414 s_axis_tdata => s_axis_tdata_12,
2417 poll_chan => tob_poll_chan_12,
2418 tob_m_tvalid => tob_m_tvalid_12,
2419 tob_m_tlast => tob_m_tlast_12,
2420 tob_m_tready => tob_m_tready_12,
2421 tob_m_tdata => tob_m_tdata_12,
2422 tob_header_marker => tob_header_marker_12,
2423 tob_tail_marker => tob_tail_marker_12,
2424 hdr_crc_tag => hdr_crc_tag_12,
2425 comb_error_tag => comb_error_tag_12,
2427 calo_poll_chan => calo_poll_chan_12,
2428 calo_m_tvalid => calo_m_tvalid_12,
2429 calo_m_fifo_tlast => calo_m_fifo_tlast_12,
2430 calo_m_axis_tready => calo_m_axis_tready_12,
2431 calo_s_axis_tready => calo_s_axis_tready_12,
2433 calo_m_axis_tdata => calo_m_axis_tdata_12,
2434 calo_header_marker => calo_header_marker_12,
2435 calo_tail_marker => calo_tail_marker_12,
2437 s_axi_ufc_rx_tdata => s_axi_ufc_rx_tdata_12,
2438 s_axi_ufc_rx_tvalid => s_axi_ufc_rx_tvalid_12,
2439 s_axi_ufc_rx_tlast => s_axi_ufc_rx_tlast_12,
2441 channel_busy => channel_busy
(12),
2442 timeout_err => timeout_err,
2451 channel_num => x"00D",
2453 max_packet_length => max_packet_length,
2462 ipb_in => ipbw
(N_SLV_CHANNEL_13
),
2463 ipb_out => ipbr
(N_SLV_CHANNEL_13
),
2465 pp_clock => pp_clock,
2468 init_clk => init_clk,
2469 master_reset => master_reset,
2470 bp_reg_reset => bp_reg_reset,
2471 wdog_fifo_reset => wdog_fifo_reset,
2473 tob_fifo_busy_threshold => tob_fifo_busy_threshold
(15 downto 0),
2474 bulk_fifo_busy_threshold => bulk_fifo_busy_threshold
(15 downto 0),
2475 tob_fifo_xoff_threshold => tob_fifo_xoff_threshold
(15 downto 0),
2476 bulk_fifo_xoff_threshold => bulk_fifo_xoff_threshold
(15 downto 0),
2478 time_count => time_count,
2480 backplane_control => backplane_control,
2481 aurora_chan_stat => aurora_chan_stat_13,
2482 aurora_channel_control => aurora_chan_control_13,
2483 chan_disable => chan_disable
(13),
2484 aurora_user_clk => aurora_user_clk_13,
2485 s_axis_tvalid => s_axis_tvalid_13,
2486 s_axis_tlast => s_axis_tlast_13,
2487 tob_s_tready => tob_s_tready_13,
2488 s_axis_tdata => s_axis_tdata_13,
2491 poll_chan => tob_poll_chan_13,
2492 tob_m_tvalid => tob_m_tvalid_13,
2493 tob_m_tlast => tob_m_tlast_13,
2494 tob_m_tready => tob_m_tready_13,
2495 tob_m_tdata => tob_m_tdata_13,
2496 tob_header_marker => tob_header_marker_13,
2497 tob_tail_marker => tob_tail_marker_13,
2498 hdr_crc_tag => hdr_crc_tag_13,
2499 comb_error_tag => comb_error_tag_13,
2501 calo_poll_chan => calo_poll_chan_13,
2502 calo_m_tvalid => calo_m_tvalid_13,
2503 calo_m_fifo_tlast => calo_m_fifo_tlast_13,
2504 calo_m_axis_tready => calo_m_axis_tready_13,
2505 calo_s_axis_tready => calo_s_axis_tready_13,
2507 calo_m_axis_tdata => calo_m_axis_tdata_13,
2508 calo_header_marker => calo_header_marker_13,
2509 calo_tail_marker => calo_tail_marker_13,
2511 s_axi_ufc_rx_tdata => s_axi_ufc_rx_tdata_13,
2512 s_axi_ufc_rx_tvalid => s_axi_ufc_rx_tvalid_13,
2513 s_axi_ufc_rx_tlast => s_axi_ufc_rx_tlast_13,
2515 channel_busy => channel_busy
(13),
2524 channel_num => x"00E",
2526 max_packet_length => max_packet_length,
2535 ipb_in => ipbw
(N_SLV_CHANNEL_14
),
2536 ipb_out => ipbr
(N_SLV_CHANNEL_14
),
2538 pp_clock => pp_clock,
2541 init_clk => init_clk,
2542 master_reset => master_reset,
2543 bp_reg_reset => bp_reg_reset,
2544 wdog_fifo_reset => wdog_fifo_reset,
2546 tob_fifo_busy_threshold => tob_fifo_busy_threshold
(15 downto 0),
2547 bulk_fifo_busy_threshold => bulk_fifo_busy_threshold
(15 downto 0),
2548 tob_fifo_xoff_threshold => tob_fifo_xoff_threshold
(15 downto 0),
2549 bulk_fifo_xoff_threshold => bulk_fifo_xoff_threshold
(15 downto 0),
2551 time_count => time_count,
2553 backplane_control => backplane_control,
2554 aurora_chan_stat => aurora_chan_stat_14,
2555 aurora_channel_control => aurora_chan_control_14,
2556 chan_disable => chan_disable
(14),
2557 aurora_user_clk => aurora_user_clk_14,
2558 s_axis_tvalid => s_axis_tvalid_14,
2559 s_axis_tlast => s_axis_tlast_14,
2560 tob_s_tready => tob_s_tready_14,
2561 s_axis_tdata => s_axis_tdata_14,
2564 poll_chan => tob_poll_chan_14,
2565 tob_m_tvalid => tob_m_tvalid_14,
2566 tob_m_tlast => tob_m_tlast_14,
2567 tob_m_tready => tob_m_tready_14,
2568 tob_m_tdata => tob_m_tdata_14,
2569 tob_header_marker => tob_header_marker_14,
2570 tob_tail_marker => tob_tail_marker_14,
2571 hdr_crc_tag => hdr_crc_tag_14,
2572 comb_error_tag => comb_error_tag_14,
2574 calo_poll_chan => calo_poll_chan_14,
2575 calo_m_tvalid => calo_m_tvalid_14,
2576 calo_m_fifo_tlast => calo_m_fifo_tlast_14,
2577 calo_m_axis_tready => calo_m_axis_tready_14,
2578 calo_s_axis_tready => calo_s_axis_tready_14,
2580 calo_m_axis_tdata => calo_m_axis_tdata_14,
2581 calo_header_marker => calo_header_marker_14,
2582 calo_tail_marker => calo_tail_marker_14,
2584 s_axi_ufc_rx_tdata => s_axi_ufc_rx_tdata_14,
2585 s_axi_ufc_rx_tvalid => s_axi_ufc_rx_tvalid_14,
2586 s_axi_ufc_rx_tlast => s_axi_ufc_rx_tlast_14,
2589 channel_busy => channel_busy
(14),
2600 channel_num => x"00F",
2602 max_packet_length => max_packet_length,
2611 ipb_in => ipbw
(N_SLV_CHANNEL_15
),
2612 ipb_out => ipbr
(N_SLV_CHANNEL_15
),
2614 pp_clock => pp_clock,
2617 init_clk => init_clk,
2618 master_reset => master_reset,
2619 bp_reg_reset => bp_reg_reset,
2620 wdog_fifo_reset => wdog_fifo_reset,
2622 tob_fifo_busy_threshold => tob_fifo_busy_threshold
(15 downto 0),
2623 bulk_fifo_busy_threshold => bulk_fifo_busy_threshold
(15 downto 0),
2624 tob_fifo_xoff_threshold => tob_fifo_xoff_threshold
(15 downto 0),
2625 bulk_fifo_xoff_threshold => bulk_fifo_xoff_threshold
(15 downto 0),
2627 time_count => time_count,
2629 backplane_control => backplane_control,
2630 aurora_chan_stat => aurora_chan_stat_15,
2631 aurora_channel_control => aurora_chan_control_15,
2632 chan_disable => chan_disable
(15),
2633 aurora_user_clk => aurora_user_clk_15,
2634 s_axis_tvalid => s_axis_tvalid_15,
2635 s_axis_tlast => s_axis_tlast_15,
2636 tob_s_tready => tob_s_tready_15,
2637 s_axis_tdata => s_axis_tdata_15,
2640 poll_chan => tob_poll_chan_15,
2641 tob_m_tvalid => tob_m_tvalid_15,
2642 tob_m_tlast => tob_m_tlast_15,
2643 tob_m_tready => tob_m_tready_15,
2644 tob_m_tdata => tob_m_tdata_15,
2645 tob_header_marker => tob_header_marker_15,
2646 tob_tail_marker => tob_tail_marker_15,
2647 hdr_crc_tag => hdr_crc_tag_15,
2648 comb_error_tag => comb_error_tag_15,
2650 calo_poll_chan => calo_poll_chan_15,
2651 calo_m_tvalid => calo_m_tvalid_15,
2652 calo_m_fifo_tlast => calo_m_fifo_tlast_15,
2653 calo_m_axis_tready => calo_m_axis_tready_15,
2654 calo_s_axis_tready => calo_s_axis_tready_15,
2656 calo_m_axis_tdata => calo_m_axis_tdata_15,
2657 calo_header_marker => calo_header_marker_15,
2658 calo_tail_marker => calo_tail_marker_15,
2660 s_axi_ufc_rx_tdata => s_axi_ufc_rx_tdata_15,
2661 s_axi_ufc_rx_tvalid => s_axi_ufc_rx_tvalid_15,
2662 s_axi_ufc_rx_tlast => s_axi_ufc_rx_tlast_15,
2664 channel_busy => channel_busy
(15),
2676 channel_num => x"010",
2678 max_packet_length => max_packet_length,
2687 ipb_in => ipbw
(N_SLV_CHANNEL_16
),
2688 ipb_out => ipbr
(N_SLV_CHANNEL_16
),
2690 pp_clock => pp_clock,
2693 init_clk => init_clk,
2694 master_reset => master_reset,
2695 bp_reg_reset => bp_reg_reset,
2696 wdog_fifo_reset => wdog_fifo_reset,
2698 tob_fifo_busy_threshold => tob_fifo_busy_threshold
(15 downto 0),
2699 bulk_fifo_busy_threshold => bulk_fifo_busy_threshold
(15 downto 0),
2700 tob_fifo_xoff_threshold => tob_fifo_xoff_threshold
(15 downto 0),
2701 bulk_fifo_xoff_threshold => bulk_fifo_xoff_threshold
(15 downto 0),
2703 time_count => time_count,
2705 backplane_control => backplane_control,
2706 aurora_chan_stat => aurora_chan_stat_16,
2707 aurora_channel_control => aurora_chan_control_16,
2708 chan_disable => chan_disable
(16),
2709 aurora_user_clk => aurora_user_clk_16,
2710 s_axis_tvalid => s_axis_tvalid_16,
2711 s_axis_tlast => s_axis_tlast_16,
2712 tob_s_tready => tob_s_tready_16,
2713 s_axis_tdata => s_axis_tdata_16,
2716 poll_chan => tob_poll_chan_16,
2717 tob_m_tvalid => tob_m_tvalid_16,
2718 tob_m_tlast => tob_m_tlast_16,
2719 tob_m_tready => tob_m_tready_16,
2720 tob_m_tdata => tob_m_tdata_16,
2721 tob_header_marker => tob_header_marker_16,
2722 tob_tail_marker => tob_tail_marker_16,
2723 hdr_crc_tag => hdr_crc_tag_16,
2724 comb_error_tag => comb_error_tag_16,
2726 calo_poll_chan => calo_poll_chan_16,
2727 calo_m_tvalid => calo_m_tvalid_16,
2728 calo_m_fifo_tlast => calo_m_fifo_tlast_16,
2729 calo_m_axis_tready => calo_m_axis_tready_16,
2730 calo_s_axis_tready => calo_s_axis_tready_16,
2732 calo_m_axis_tdata => calo_m_axis_tdata_16,
2733 calo_header_marker => calo_header_marker_16,
2734 calo_tail_marker => calo_tail_marker_16,
2736 s_axi_ufc_rx_tdata => s_axi_ufc_rx_tdata_16,
2737 s_axi_ufc_rx_tvalid => s_axi_ufc_rx_tvalid_16,
2738 s_axi_ufc_rx_tlast => s_axi_ufc_rx_tlast_16,
2740 channel_busy => channel_busy
(16),
2756 channel_num => x"011",
2758 max_packet_length => max_packet_length,
2767 ipb_in => ipbw
(N_SLV_CHANNEL_17
),
2768 ipb_out => ipbr
(N_SLV_CHANNEL_17
),
2770 pp_clock => pp_clock,
2773 init_clk => init_clk,
2774 master_reset => master_reset,
2775 bp_reg_reset => bp_reg_reset,
2776 wdog_fifo_reset => wdog_fifo_reset,
2778 tob_fifo_busy_threshold => tob_fifo_busy_threshold
(15 downto 0),
2779 bulk_fifo_busy_threshold => bulk_fifo_busy_threshold
(15 downto 0),
2780 tob_fifo_xoff_threshold => tob_fifo_xoff_threshold
(15 downto 0),
2781 bulk_fifo_xoff_threshold => bulk_fifo_xoff_threshold
(15 downto 0),
2783 time_count => time_count,
2785 backplane_control => backplane_control,
2786 aurora_chan_stat => aurora_chan_stat_17,
2787 aurora_channel_control => aurora_chan_control_17,
2788 chan_disable => chan_disable
(17),
2789 aurora_user_clk => aurora_user_clk_17,
2790 s_axis_tvalid => s_axis_tvalid_17,
2791 s_axis_tlast => s_axis_tlast_17,
2792 tob_s_tready => tob_s_tready_17,
2793 s_axis_tdata => s_axis_tdata_17,
2796 poll_chan => tob_poll_chan_17,
2797 tob_m_tvalid => tob_m_tvalid_17,
2798 tob_m_tlast => tob_m_tlast_17,
2799 tob_m_tready => tob_m_tready_17,
2800 tob_m_tdata => tob_m_tdata_17,
2801 tob_header_marker => tob_header_marker_17,
2802 tob_tail_marker => tob_tail_marker_17,
2803 hdr_crc_tag => hdr_crc_tag_17,
2804 comb_error_tag => comb_error_tag_17,
2806 calo_poll_chan => calo_poll_chan_17,
2807 calo_m_tvalid => calo_m_tvalid_17,
2808 calo_m_fifo_tlast => calo_m_fifo_tlast_17,
2809 calo_m_axis_tready => calo_m_axis_tready_17,
2810 calo_s_axis_tready => calo_s_axis_tready_17,
2812 calo_m_axis_tdata => calo_m_axis_tdata_17,
2813 calo_header_marker => calo_header_marker_17,
2814 calo_tail_marker => calo_tail_marker_17,
2816 s_axi_ufc_rx_tdata => s_axi_ufc_rx_tdata_17,
2817 s_axi_ufc_rx_tvalid => s_axi_ufc_rx_tvalid_17,
2818 s_axi_ufc_rx_tlast => s_axi_ufc_rx_tlast_17,
2820 channel_busy => channel_busy
(17),
2832 channel_num => x"012",
2834 max_packet_length => max_packet_length,
2843 ipb_in => ipbw
(N_SLV_CHANNEL_18
),
2844 ipb_out => ipbr
(N_SLV_CHANNEL_18
),
2846 pp_clock => pp_clock,
2847 init_clk => init_clk,
2850 master_reset => master_reset,
2851 bp_reg_reset => bp_reg_reset,
2852 wdog_fifo_reset => wdog_fifo_reset,
2854 tob_fifo_busy_threshold => tob_fifo_busy_threshold
(15 downto 0),
2855 bulk_fifo_busy_threshold => bulk_fifo_busy_threshold
(15 downto 0),
2856 tob_fifo_xoff_threshold => tob_fifo_xoff_threshold
(15 downto 0),
2857 bulk_fifo_xoff_threshold => bulk_fifo_xoff_threshold
(15 downto 0),
2859 time_count => time_count,
2861 backplane_control => backplane_control,
2862 aurora_chan_stat => aurora_chan_stat_18,
2863 aurora_channel_control => aurora_chan_control_18,
2864 chan_disable => chan_disable
(18),
2865 aurora_user_clk => aurora_user_clk_18,
2866 s_axis_tvalid => s_axis_tvalid_18,
2867 s_axis_tlast => s_axis_tlast_18,
2868 tob_s_tready => tob_s_tready_18,
2869 s_axis_tdata => s_axis_tdata_18,
2872 poll_chan => tob_poll_chan_18,
2873 tob_m_tvalid => tob_m_tvalid_18,
2874 tob_m_tlast => tob_m_tlast_18,
2875 tob_m_tready => tob_m_tready_18,
2876 tob_m_tdata => tob_m_tdata_18,
2877 tob_header_marker => tob_header_marker_18,
2878 tob_tail_marker => tob_tail_marker_18,
2879 hdr_crc_tag => hdr_crc_tag_18,
2880 comb_error_tag => comb_error_tag_18,
2882 calo_poll_chan => calo_poll_chan_18,
2883 calo_m_tvalid => calo_m_tvalid_18,
2884 calo_m_fifo_tlast => calo_m_fifo_tlast_18,
2885 calo_m_axis_tready => calo_m_axis_tready_18,
2886 calo_s_axis_tready => calo_s_axis_tready_18,
2888 calo_m_axis_tdata => calo_m_axis_tdata_18,
2889 calo_header_marker => calo_header_marker_18,
2890 calo_tail_marker => calo_tail_marker_18,
2892 s_axi_ufc_rx_tdata => s_axi_ufc_rx_tdata_18,
2893 s_axi_ufc_rx_tvalid => s_axi_ufc_rx_tvalid_18,
2894 s_axi_ufc_rx_tlast => s_axi_ufc_rx_tlast_18,
2896 channel_busy => channel_busy
(18),
2906 channel_num => x"013",
2908 max_packet_length => max_packet_length,
2917 ipb_in => ipbw
(N_SLV_CHANNEL_19
),
2918 ipb_out => ipbr
(N_SLV_CHANNEL_19
),
2920 pp_clock => pp_clock,
2921 init_clk => init_clk,
2924 master_reset => master_reset,
2925 bp_reg_reset => bp_reg_reset,
2926 wdog_fifo_reset => wdog_fifo_reset,
2928 tob_fifo_busy_threshold => tob_fifo_busy_threshold
(15 downto 0),
2929 bulk_fifo_busy_threshold => bulk_fifo_busy_threshold
(15 downto 0),
2930 tob_fifo_xoff_threshold => tob_fifo_xoff_threshold
(15 downto 0),
2931 bulk_fifo_xoff_threshold => bulk_fifo_xoff_threshold
(15 downto 0),
2933 time_count => time_count,
2935 backplane_control => backplane_control,
2936 aurora_chan_stat => aurora_chan_stat_19,
2937 aurora_channel_control => aurora_chan_control_19,
2938 chan_disable => chan_disable
(19),
2939 aurora_user_clk => aurora_user_clk_19,
2940 s_axis_tvalid => s_axis_tvalid_19,
2941 s_axis_tlast => s_axis_tlast_19,
2942 tob_s_tready => tob_s_tready_19,
2943 s_axis_tdata => s_axis_tdata_19,
2946 poll_chan => tob_poll_chan_19,
2947 tob_m_tvalid => tob_m_tvalid_19,
2948 tob_m_tlast => tob_m_tlast_19,
2949 tob_m_tready => tob_m_tready_19,
2950 tob_m_tdata => tob_m_tdata_19,
2951 tob_header_marker => tob_header_marker_19,
2952 tob_tail_marker => tob_tail_marker_19,
2953 hdr_crc_tag => hdr_crc_tag_19,
2954 comb_error_tag => comb_error_tag_19,
2956 calo_poll_chan => calo_poll_chan_19,
2957 calo_m_tvalid => calo_m_tvalid_19,
2958 calo_m_fifo_tlast => calo_m_fifo_tlast_19,
2959 calo_m_axis_tready => calo_m_axis_tready_19,
2960 calo_s_axis_tready => calo_s_axis_tready_19,
2962 calo_m_axis_tdata => calo_m_axis_tdata_19,
2963 calo_header_marker => calo_header_marker_19,
2964 calo_tail_marker => calo_tail_marker_19,
2966 s_axi_ufc_rx_tdata => s_axi_ufc_rx_tdata_19,
2967 s_axi_ufc_rx_tvalid => s_axi_ufc_rx_tvalid_19,
2968 s_axi_ufc_rx_tlast => s_axi_ufc_rx_tlast_19,
2970 channel_busy => channel_busy
(19),
2981 channel_num => x"014",
2983 max_packet_length => max_packet_length,
2992 ipb_in => ipbw
(N_SLV_CHANNEL_20
),
2993 ipb_out => ipbr
(N_SLV_CHANNEL_20
),
2995 pp_clock => pp_clock,
2998 init_clk => init_clk,
2999 master_reset => master_reset,
3000 bp_reg_reset => bp_reg_reset,
3001 wdog_fifo_reset => wdog_fifo_reset,
3004 tob_fifo_busy_threshold => tob_fifo_busy_threshold
(15 downto 0),
3005 bulk_fifo_busy_threshold => bulk_fifo_busy_threshold
(15 downto 0),
3006 tob_fifo_xoff_threshold => tob_fifo_xoff_threshold
(15 downto 0),
3007 bulk_fifo_xoff_threshold => bulk_fifo_xoff_threshold
(15 downto 0),
3009 time_count => time_count,
3011 backplane_control => backplane_control,
3012 aurora_chan_stat => aurora_chan_stat_20,
3013 aurora_channel_control => aurora_chan_control_20,
3014 chan_disable => chan_disable
(20),
3015 aurora_user_clk => aurora_user_clk_20,
3016 s_axis_tvalid => s_axis_tvalid_20,
3017 s_axis_tlast => s_axis_tlast_20,
3018 tob_s_tready => tob_s_tready_20,
3019 s_axis_tdata => s_axis_tdata_20,
3022 poll_chan => tob_poll_chan_20,
3023 tob_m_tvalid => tob_m_tvalid_20,
3024 tob_m_tlast => tob_m_tlast_20,
3025 tob_m_tready => tob_m_tready_20,
3026 tob_m_tdata => tob_m_tdata_20,
3027 tob_header_marker => tob_header_marker_20,
3028 tob_tail_marker => tob_tail_marker_20,
3029 hdr_crc_tag => hdr_crc_tag_20,
3030 comb_error_tag => comb_error_tag_20,
3032 calo_poll_chan => calo_poll_chan_20,
3033 calo_m_tvalid => calo_m_tvalid_20,
3034 calo_m_fifo_tlast => calo_m_fifo_tlast_20,
3035 calo_m_axis_tready => calo_m_axis_tready_20,
3036 calo_s_axis_tready => calo_s_axis_tready_20,
3038 calo_m_axis_tdata => calo_m_axis_tdata_20,
3039 calo_header_marker => calo_header_marker_20,
3040 calo_tail_marker => calo_tail_marker_20,
3042 s_axi_ufc_rx_tdata => s_axi_ufc_rx_tdata_20,
3043 s_axi_ufc_rx_tvalid => s_axi_ufc_rx_tvalid_20,
3044 s_axi_ufc_rx_tlast => s_axi_ufc_rx_tlast_20,
3046 channel_busy => channel_busy
(20),
3057 channel_num => x"015",
3059 max_packet_length => max_packet_length,
3067 ipb_in => ipbw
(N_SLV_CHANNEL_21
),
3068 ipb_out => ipbr
(N_SLV_CHANNEL_21
),
3070 pp_clock => pp_clock,
3073 init_clk => init_clk,
3074 master_reset => master_reset,
3075 bp_reg_reset => bp_reg_reset,
3076 wdog_fifo_reset => wdog_fifo_reset,
3078 tob_fifo_busy_threshold => tob_fifo_busy_threshold
(15 downto 0),
3079 bulk_fifo_busy_threshold => bulk_fifo_busy_threshold
(15 downto 0),
3080 tob_fifo_xoff_threshold => tob_fifo_xoff_threshold
(15 downto 0),
3081 bulk_fifo_xoff_threshold => bulk_fifo_xoff_threshold
(15 downto 0),
3083 time_count => time_count,
3085 backplane_control => backplane_control,
3086 aurora_chan_stat => aurora_chan_stat_21,
3087 aurora_channel_control => aurora_chan_control_21,
3088 chan_disable => chan_disable
(21),
3089 aurora_user_clk => aurora_user_clk_21,
3090 s_axis_tvalid => s_axis_tvalid_21,
3091 s_axis_tlast => s_axis_tlast_21,
3092 tob_s_tready => tob_s_tready_21,
3093 s_axis_tdata => s_axis_tdata_21,
3096 poll_chan => tob_poll_chan_21,
3097 tob_m_tvalid => tob_m_tvalid_21,
3098 tob_m_tlast => tob_m_tlast_21,
3099 tob_m_tready => tob_m_tready_21,
3100 tob_m_tdata => tob_m_tdata_21,
3101 tob_header_marker => tob_header_marker_21,
3102 tob_tail_marker => tob_tail_marker_21,
3103 hdr_crc_tag => hdr_crc_tag_21,
3104 comb_error_tag => comb_error_tag_21,
3106 calo_poll_chan => calo_poll_chan_21,
3107 calo_m_tvalid => calo_m_tvalid_21,
3108 calo_m_fifo_tlast => calo_m_fifo_tlast_21,
3109 calo_m_axis_tready => calo_m_axis_tready_21,
3110 calo_s_axis_tready => calo_s_axis_tready_21,
3112 calo_m_axis_tdata => calo_m_axis_tdata_21,
3113 calo_header_marker => calo_header_marker_21,
3114 calo_tail_marker => calo_tail_marker_21,
3116 s_axi_ufc_rx_tdata => s_axi_ufc_rx_tdata_21,
3117 s_axi_ufc_rx_tvalid => s_axi_ufc_rx_tvalid_21,
3118 s_axi_ufc_rx_tlast => s_axi_ufc_rx_tlast_21,
3120 channel_busy => channel_busy
(21),
3131 channel_num => x"016",
3133 max_packet_length => max_packet_length,
3141 ipb_in => ipbw
(N_SLV_CHANNEL_22
),
3142 ipb_out => ipbr
(N_SLV_CHANNEL_22
),
3144 pp_clock => pp_clock,
3147 init_clk => init_clk,
3148 master_reset => master_reset,
3149 bp_reg_reset => bp_reg_reset,
3150 wdog_fifo_reset => wdog_fifo_reset,
3152 tob_fifo_busy_threshold => tob_fifo_busy_threshold
(15 downto 0),
3153 bulk_fifo_busy_threshold => bulk_fifo_busy_threshold
(15 downto 0),
3154 tob_fifo_xoff_threshold => tob_fifo_xoff_threshold
(15 downto 0),
3155 bulk_fifo_xoff_threshold => bulk_fifo_xoff_threshold
(15 downto 0),
3157 time_count => time_count,
3159 backplane_control => backplane_control,
3160 aurora_chan_stat => aurora_chan_stat_22,
3161 aurora_channel_control => aurora_chan_control_22,
3162 chan_disable => chan_disable
(22),
3163 aurora_user_clk => aurora_user_clk_22,
3164 s_axis_tvalid => s_axis_tvalid_22,
3165 s_axis_tlast => s_axis_tlast_22,
3166 tob_s_tready => tob_s_tready_22,
3167 s_axis_tdata => s_axis_tdata_22,
3170 poll_chan => tob_poll_chan_22,
3171 tob_m_tvalid => tob_m_tvalid_22,
3172 tob_m_tlast => tob_m_tlast_22,
3173 tob_m_tready => tob_m_tready_22,
3174 tob_m_tdata => tob_m_tdata_22,
3175 tob_header_marker => tob_header_marker_22,
3176 tob_tail_marker => tob_tail_marker_22,
3177 hdr_crc_tag => hdr_crc_tag_22,
3178 comb_error_tag => comb_error_tag_22,
3180 calo_poll_chan => calo_poll_chan_22,
3181 calo_m_tvalid => calo_m_tvalid_22,
3182 calo_m_fifo_tlast => calo_m_fifo_tlast_22,
3183 calo_m_axis_tready => calo_m_axis_tready_22,
3184 calo_s_axis_tready => calo_s_axis_tready_22,
3186 calo_m_axis_tdata => calo_m_axis_tdata_22,
3187 calo_header_marker => calo_header_marker_22,
3188 calo_tail_marker => calo_tail_marker_22,
3190 s_axi_ufc_rx_tdata => s_axi_ufc_rx_tdata_22,
3191 s_axi_ufc_rx_tvalid => s_axi_ufc_rx_tvalid_22,
3192 s_axi_ufc_rx_tlast => s_axi_ufc_rx_tlast_22,
3194 channel_busy => channel_busy
(22),
3205 channel_num => x"017",
3207 max_packet_length => max_packet_length,
3215 ipb_in => ipbw
(N_SLV_CHANNEL_23
),
3216 ipb_out => ipbr
(N_SLV_CHANNEL_23
),
3218 pp_clock => pp_clock,
3221 init_clk => init_clk,
3222 master_reset => master_reset,
3223 bp_reg_reset => bp_reg_reset,
3224 wdog_fifo_reset => wdog_fifo_reset,
3226 tob_fifo_busy_threshold => tob_fifo_busy_threshold
(15 downto 0),
3227 bulk_fifo_busy_threshold => bulk_fifo_busy_threshold
(15 downto 0),
3228 tob_fifo_xoff_threshold => tob_fifo_xoff_threshold
(15 downto 0),
3229 bulk_fifo_xoff_threshold => bulk_fifo_xoff_threshold
(15 downto 0),
3231 time_count => time_count,
3233 backplane_control => backplane_control,
3234 aurora_chan_stat => aurora_chan_stat_23,
3235 aurora_channel_control => aurora_chan_control_23,
3236 chan_disable => chan_disable
(23),
3237 aurora_user_clk => aurora_user_clk_23,
3238 s_axis_tvalid => s_axis_tvalid_23,
3239 s_axis_tlast => s_axis_tlast_23,
3240 tob_s_tready => tob_s_tready_23,
3241 s_axis_tdata => s_axis_tdata_23,
3244 poll_chan => tob_poll_chan_23,
3245 tob_m_tvalid => tob_m_tvalid_23,
3246 tob_m_tlast => tob_m_tlast_23,
3247 tob_m_tready => tob_m_tready_23,
3248 tob_m_tdata => tob_m_tdata_23,
3249 tob_header_marker => tob_header_marker_23,
3250 tob_tail_marker => tob_tail_marker_23,
3251 hdr_crc_tag => hdr_crc_tag_23,
3252 comb_error_tag => comb_error_tag_23,
3254 calo_poll_chan => calo_poll_chan_23,
3255 calo_m_tvalid => calo_m_tvalid_23,
3256 calo_m_fifo_tlast => calo_m_fifo_tlast_23,
3257 calo_m_axis_tready => calo_m_axis_tready_23,
3258 calo_s_axis_tready => calo_s_axis_tready_23,
3260 calo_m_axis_tdata => calo_m_axis_tdata_23,
3261 calo_header_marker => calo_header_marker_23,
3262 calo_tail_marker => calo_tail_marker_23,
3264 s_axi_ufc_rx_tdata => s_axi_ufc_rx_tdata_23,
3265 s_axi_ufc_rx_tvalid => s_axi_ufc_rx_tvalid_23,
3266 s_axi_ufc_rx_tlast => s_axi_ufc_rx_tlast_23,
3268 channel_busy => channel_busy
(23),
3274 end generate gen_jfex_chan;
3276 gen_efex_chan: if jfex=0 generate
3278 channel_busy(23 downto 12) <= (others => '0');
3280 end generate gen_efex_chan;
3282 multichannel_busy <= OR channel_busy;
--------------------------------------------------- Backplane Control Bus bit Definitions -----------...