ctm_src_selector
Mask CT_Dst inputs with a select vector, OR them, and register the CT_Src pulse.
select_i enables which destinations contribute; registration prevents glitches on ct_src_o.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
NUM_CT_DST | int unsigned | 4 | CT_Dst input count. |
Ports
| Name | Direction | Type | Description |
|---|---|---|---|
clk_i | input | logic | System clock. |
rst_ni | input | logic | Active-low asynchronous reset; clears ct_src_o. |
ct_dst_i | input | logic [NUM_CT_DST-1:0] | Cross-trigger pulses from every CT_Dst port, one bit per port. |
select_i | input | logic [NUM_CT_DST-1:0] | Per-destination enable mask from this CT_Src's CT_DST_SELECT field; bit i admits ct_dst_i[i] into the OR. |
ct_src_o | output | logic | OR of the selected ct_dst_i bits, registered on clk_i; one cycle of latency. |