![]() |
Belle II KLM Scint Firmware
1
|
### PedFetchQueue Begins pedestal fetching with same asic/chan priority as ShiftOutWindow. If other bus us using PedestalFetcher, this module waits for it's turn. If ThresholdCheck is finished, the internal channel mask is updated with the new channel mask.If this happens while this module is waiting for it's turn to use PedestalFetcher, then it goes back and checks the mask again so as to not fetch pedestals for an unhit channel. More...
Entities | |
Behavioral | architecture |
Libraries | |
IEEE | |
work |
Use Clauses | |
STD_LOGIC_1164 | |
NUMERIC_STD | |
STD_LOGIC_MISC | |
STD_LOGIC_UNSIGNED | |
klm_scint_pkg | Package <klm_scint_pkg> |
Ports | |
clk | in STD_logic |
rst | in STD_logic |
ena | in std_logic := ' 0 ' |
busy | out std_logic := ' 0 ' |
ch_mask | in slv15 ( 4 downto 0 ) := ( others = > ( others = > ' 0 ' ) ) |
new_mask | in slv15 ( 4 downto 0 ) := ( others = > ( others = > ' 0 ' ) ) |
thr_chk_busy | in std_logic := ' 0 ' |
fetch_ena | out std_logic := ' 0 ' |
fetch_ack | in std_logic := ' 0 ' |
asic_addr | out std_logic_vector ( 2 downto 0 ) := ( others = > ' 0 ' ) |
chan_addr | out std_logic_vector ( 3 downto 0 ) := ( others = > ' 0 ' ) |
### PedFetchQueue
Begins pedestal fetching with same asic/chan priority as ShiftOutWindow. If other bus us using PedestalFetcher, this module waits for it's turn. If ThresholdCheck is finished, the internal channel mask is updated with the new channel mask.
If this happens while this module is waiting for it's turn to use PedestalFetcher, then it goes back and checks the mask again so as to not fetch pedestals for an unhit channel.
Definition at line 21 of file PedFetchQueue.vhd.