![]() |
eFEX firmware
1.7.3
ATLAS l1-calo - electron and tau feature extraction firmware for eFEX boards
|
External data-types and functions. More...
Package Body >> AlgoDataTypesFunctions | |
| AlgoInput | to_AlgoInput ( X: in Algo2DInput ) |
| Algo2DInput | to_Algo2DInput ( Y: in AlgoInput ) |
| std_logic_vector | to_LogicVector ( Y: in AlgoInput , Z: in std_logic_vector( 11 downto 0) ) |
| AlgoInput | to_AlgoInput ( X: in std_logic_vector ) |
| std_logic_vector | to_BCN ( X: in std_logic_vector ) |
| std_logic_vector | to_LogicVector ( Y: in AlgoOutput ) |
| AlgoOutput | to_AlgoOutput ( X: in std_logic_vector ) |
| AlgoXOutput | to_AlgoXOutput ( X: in std_logic_vector ) |
| std_logic_vector | to_LogicVector ( Y: in AlgoTriggerObject ) |
| std_logic_vector | to_LogicVector2 ( Y: in AlgoXTriggerObject ) |
| AlgoTriggerObject | to_AlgoTriggerObject ( X: in std_logic_vector ) |
| AlgoTriggerObjects | to_AlgoTriggerObjects ( X: in AlgoOutput ) |
Libraries | |
| IEEE | |
Use Clauses | |
| STD_LOGIC_1164 | |
| NUMERIC_STD | |
Constants | |
| INPUT_DATA_WIDTH | integer := 10 |
| INPUT_COLUMNS | integer := 6 |
| INPUT_ROWS | integer := 10 |
| INPUT_TOWERS | integer := INPUT_ROWS* INPUT_COLUMNS |
| LAYER0 | integer := 1 |
| LAYER1 | integer := 4 |
| LAYER2 | integer := 4 |
| LAYER3 | integer := 1 |
| HADRON | integer := 1 |
| LAYERS | integer := LAYER0+ LAYER1+ LAYER2+ LAYER3+ HADRON |
| OUT_XTOB_WIDTH | integer := 64 |
| OUT_TOB_WIDTH | integer := 32 |
| OUTPUT_TOBS | integer := 8 |
| ZERO_ALGO_WORD | AlgoWord := ( others = > ' 0 ' ) |
| ZERO_ALGO_TOWER | AlgoTower := ( Layer0 = > ( ( others = > ( others = > ' 0 ' ) ) ) , Layer1 = > ( ( others = > ( others = > ' 0 ' ) ) ) , Layer2 = > ( ( others = > ( others = > ' 0 ' ) ) ) , Layer3 = > ( ( others = > ( others = > ' 0 ' ) ) ) , Hadron = > ( ( others = > ( others = > ' 0 ' ) ) ) ) |
| An AlgoTower filled with zeroes. | |
| ZERO_ALGO_INPUT | AlgoInput := ( others = > ( others = > ZERO_ALGO_TOWER ) ) |
| ZERO_ALGO_TRIGGER_OBJECT | AlgoTriggerObject := ( others = > ' 0 ' ) |
| ZERO_ALGO_XTRIGGER_OBJECT | AlgoXTriggerObject := ( others = > ' 0 ' ) |
Types | |
| BCID_array | ( 59 downto 0 ) BCID_t |
| AlgoWords | array ( natural range <> ) of AlgoWord |
| External arra of AlgoWord. | |
| AlgoLayer0 | ( LAYER0- 1 downto 0 ) AlgoWord |
| External layer 0 array: dimension 1. | |
| AlgoLayer1 | ( LAYER1- 1 downto 0 ) AlgoWord |
| External layer 1 array: dimension 4. | |
| AlgoLayer2 | ( LAYER2- 1 downto 0 ) AlgoWord |
| External layer 2 array: dimension 4. | |
| AlgoLayer3 | ( LAYER3- 1 downto 0 ) AlgoWord |
| External layer 3 array: dimension 1. | |
| AlgoHadron | ( HADRON- 1 downto 0 ) AlgoWord |
| External hadronic layer array: dimension 1. | |
| AlgoColumn | ( INPUT_ROWS- 1 downto 0 ) AlgoTower |
| Algorithm Phi column. | |
| Algo2DInput | ( INPUT_COLUMNS- 1 downto 0 , INPUT_ROWS- 1 downto 0 ) AlgoTower |
| Algorithm 2D INPUT port. | |
| AlgoInput | ( INPUT_COLUMNS- 1 downto 0 ) AlgoColumn |
| Algorithm INPUT port. | |
| AlgoTriggerObjects | array ( natural range <> ) of AlgoTriggerObject |
| Algorithm OUTPUT port. | |
| AlgoXTriggerObjects | array ( natural range <> ) of AlgoXTriggerObject |
| AlgoOutput | ( OUTPUT_TOBS- 1 downto 0 ) AlgoTriggerObject |
| Algorithm OUTPUT port. | |
| AlgoXOutput | ( OUTPUT_TOBS- 1 downto 0 ) AlgoXTriggerObject |
| Algorithm XOUTPUT port. | |
Subtypes | |
| BCID_t | std_logic_vector ( 6 downto 0 ) |
| AlgoWord | std_logic_vector ( INPUT_DATA_WIDTH- 1 downto 0 ) |
| External (10 bit) non-linearly encoded data word. | |
| AlgoXTriggerObject | std_logic_vector ( OUT_XTOB_WIDTH- 1 downto 0 ) |
| Algorithm Extended Trigger Object XTOB. | |
| AlgoTriggerObject | std_logic_vector ( OUT_TOB_WIDTH- 1 downto 0 ) |
| Algorithm Trigger Object TOB. | |
Records | |
| AlgoTower | |
| Data-structure containing energy samples for the 4+hadronic layers. | |
External data-types and functions.
This file/package contains all types, constants, and functions used to interface from/to the Algorithm and Sorting module.
Internal data types and functions are defined in DataTypes.vhd
Definition at line 15 of file AlgoDataTypes.vhd.
|
Record |
Data-structure containing energy samples for the 4+hadronic layers.
Every data sample is made of 10 bit words: AlgoWord.
| Name | number of words | word width | total bits |
|---|---|---|---|
| layer0 | 1 | 10 | 10 |
| layer1 | 4 | 10 | 40 |
| layer2 | 4 | 10 | 40 |
| layer3 | 1 | 10 | 10 |
| hadronic | 1 | 10 | 10 |
Definition at line 84 of file AlgoDataTypes.vhd.
1.9.1