![]() |
eFEX firmware
1.7.3
ATLAS l1-calo - electron and tau feature extraction firmware for eFEX boards
|
IPBus wrapper for output spy/playback RAM for Algorithm module. More...
Entities | |
| rtl | architecture |
| IPBus wrapper for output spy/playback RAM for Algorithm module. More... | |
Libraries | |
| IEEE | |
| Use standard libraries. | |
| ipbus_lib | |
| Use ipbus libarary. | |
Use Clauses | |
| STD_LOGIC_1164 | |
| numeric_std | |
| ipbus | |
| Use ipbus data-types. | |
| DataTypes | Package <DataTypes> |
| Use internal data-types. | |
| AlgoDataTypes | Package <AlgoDataTypes> |
| Use external data-types. | |
Ports | ||
| clk_ipb | in | std_logic |
| rst | in | std_logic |
| ipb_in | in | ipb_wbus |
| ipb_out | out | ipb_rbus |
| AlgoIn | in | AlgoOutput |
| BCNIn | in | std_logic_vector ( 11 downto 0 ) |
| SpyBCNIn | in | std_logic := ' 0 ' |
| rclk | in | std_logic |
| Sync | in | std_logic |
| we | in | std_logic := ' 0 ' |
| AlgoOut | out | AlgoTriggerObjects ( 7 downto 0 ) |
IPBus wrapper for output spy/playback RAM for Algorithm module.
This RAM contains algorithm output data, i.e. the Trigger Objects or TOBs having a width of 32 bits. It can be used to spy or for playback. It can contain 16*5 TOBs, so TOBs produced during 16 BCs can be stored or played back.
The internal memory, AlgoOutputRAM is a real dual port RAM Xilinx IP. The Algorithm uses the RAM port b having a width of 256 bit, i.e. 8 * 32-bit TOBs. In fact, the Algorithm can produce a maximum of 8 TOBs per BC.
Ipbus uses AlgoOutputRAM port a having a width of 32 bits. The depth of the RAM is in this case 16*5 = 80 The ipbus RAM contains data as follows:
| BC | bits 0-31 |
|---|---|
| BC 1 | TOB0 |
| BC 1 | TOB1 |
| BC 1 | TOB2 |
| BC 1 | TOB3 |
| BC 1 | TOB4 |
| BC 2 | TOB0 |
| BC 2 | TOB1 |
| BC 2 | TOB2 |
| BC 2 | TOB3 |
| BC 2 | TOB4 |
| BC... | TOB0 |
| BC... | TOB1 |
| BC... | TOB2 |
| BC... | TOB3 |
| BC... | TOB4 |
| BC 16 | TOB0 |
| BC 16 | TOB1 |
| BC 16 | TOB2 |
| BC 16 | TOB3 |
| BC 16 | TOB4 |
Definition at line 56 of file ipbus_outputRAM_wrapper.vhd.
1.9.1