eFEX firmware  1.7.3
ATLAS l1-calo - electron and tau feature extraction firmware for eFEX boards

Back to eFEX documentation
Entities
top_efex_control.vhd File Reference

This is the top level of the Control FPGA. More...

Go to the source code of this file.

Entities

top_efex_control  entity
 This is the top level of the Control FPGA. More...
 
spec  architecture
 This is the top level of the Control FPGA. More...
 

Detailed Description

This is the top level of the Control FPGA.

Overview

The Control FPGA implements logic in three main functional areas:

Real-Time Logic

The TTC 40 MHz clock is received on a dedicated backplane channel, with the TTC information encoded on a second channel in the L1Calo backplane format. In terms of the TTC interface, the Control FPGA implements the following:

Readout Path

On the readout path, the Control FPGA performs the following functions:

The bulk of the readout logic is in packet_block:

Finally it sends the resultant packet to the L1Calo ROD via the Aurora interfaces that combine four 6.4Gb/s MGT lanes into a single channel to each ROD (aurora_hub2)

All of the above is under the control of a state machine which responds to back pressure from the L1Calo RODs, and can assert it to the Processor FPGAs and if need be assert BUSY.

Slow control and IPBus infrastructure

The control interface is implemented using IP from the IPBus project, which provides access to registers and RAM space within the firmware. For documentation on IPBus, see https://ipbus.web.cern.ch/introduction/

The IPBus infrastructure consists of:

The local IPBus bus master interfaces to the following modules:

Definition in file top_efex_control.vhd.