Erno DAVID, Tivadar KISS Wigner Research Center for Physics (HU)

Slides:



Advertisements
Similar presentations
TileCal Optical Multiplexer Board 9U VME Prototype Cristobal Cuenca Almenar IFIC (Universitat de Valencia-CSIC)
Advertisements

Avalon Switch Fabric. 2 Proprietary interconnect specification used with Nios II Principal design goals – Low resource utilization for bus logic – Simplicity.
Ethernet Bomber Ethernet Packet Generator for network analysis Oren Novitzky & Rony Setter Advisor: Mony Orbach Started: Spring 2008 Part A final Presentation.
RE-configure FPGA through JTAG ◦ Heidelberg option, needs reprogramming of Altera devices (not in this talk)  Needed for re-programming after loss of.
A Flexible Architecture for Simulation and Testing (FAST) Multiprocessor Systems John D. Davis, Lance Hammond, Kunle Olukotun Computer Systems Lab Stanford.
General Purpose FIFO on Virtex-6 FPGA ML605 board midterm presentation
Hardware Overview Net+ARM – Well Suited for Embedded Ethernet
Students: Oleg Korenev Eugene Reznik Supervisor: Rolf Hilgendorf
Laboratoire de l’Accélérateur Linéaire (IN2P3-CNRS) Orsay, France Calorimeter upgrade meeting Olivier Duarte Upgrade calo FE review Comments : Digital.
Diffuse Optical Tomography Optimization and Miniaturization ECE 4902-Spring 2014 Thomas Capuano (EE&BME), Donald McMenemy (EE), David Miller (EE), Dhinakaran.
Tuesday September Cambridge1 GDCC “next replacement of the LDA” Franck GASTALDI.
GBT Interface Card for a Linux Computer Carson Teale 1.
NIOS II Ethernet Communication Final Presentation
FED RAL: Greg Iles5 March The 96 Channel FED Tester What needs to be tested ? Requirements for 96 channel tester ? Baseline design Functionality.
Network On Chip Platform
Presented by Jubin MITRA
GBT SCA overview Slide 1-5 Work status Slide 6-10 Shuaib Ahmad Khan.
Part A Final Dor Obstbaum Kami Elbaz Advisor: Moshe Porian August 2012 FPGA S ETTING U SING F LASH.
Ethernet Bomber Ethernet Packet Generator for network analysis
Clara Gaspar, December 2012 Experiment Control System & Electronics Upgrade.
The Past... DDL in ALICE DAQ The DDL project ( )  Collaboration of CERN, Wigner RCP, and Cerntech Ltd.  The major Hungarian engineering contribution.
DDRIII BASED GENERAL PURPOSE FIFO ON VIRTEX-6 FPGA ML605 BOARD PART B PRESENTATION STUDENTS: OLEG KORENEV EUGENE REZNIK SUPERVISOR: ROLF HILGENDORF 1 Semester:
GBT-FPGA Interface Carson Teale. GBT New radiation tolerant ASIC for bidirectional 4.8 Gb/s optical links to replace current timing, trigger, and control.
FELIX Design FELIX Design Upgrades of detector readout meeting 9 June 2014 Lorne Levinson, for the FELIX group Upgrades of detector readout meeting, 9.
Clara Gaspar on behalf of the ECS team: CERN, Marseille, etc. October 2015 Experiment Control System & Electronics Upgrade.
CRU Weekly Meeting Erno DAVID, Tivadar KISS Wigner Research Center for Physics (HU) 18 November, 2015.
Complexity Challenge Status Erno DAVID Wigner Research Center for Physics (HU) 26 January, 2016.
Firmware Overview and Status Erno DAVID Wigner Research Center for Physics (HU) 26 January, 2016.
TPC CRU Jorge Mercado (Heidelberg) Ken Oyama (Nagasaki IAS) CRU Team Meeting, Jan. 26, 2016.
DHH Status Igor Konorov TUM, Physics Department, E18 PXD DAQ workshop Münzenberg –June 9-10, 2011.
PC-based L0TP Status Report “on behalf of the Ferrara L0TP Group” Ilaria Neri University of Ferrara and INFN - Italy Ferrara, September 02, 2014.
Status of CRU FW Resource Estimations Erno DAVID Wigner Research Center for Physics (HU) 10 March, 2016.
Firmware and Software for the PPM DU S. Anvar, H. Le Provost, Y.Moudden, F. Louis, E.Zonca – CEA Saclay IRFU – Amsterdam/NIKHEF, 2011 March 30.
The ALICE Data-Acquisition Read-out Receiver Card C. Soós et al. (for the ALICE collaboration) LECC September 2004, Boston.
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective.
GBT-FPGA Tutorial Introduction 27/06/2016GBT-FPGA Tutorial – 27/06/20161.
Internal Logic Analyzer Middle presentation-part A By: Moran Katz and Zvika Pery Mentor: Moshe Porian Dual-semester project Spring 2012.
Common Readout Unit (CRU) workshop CERN Mars 2016
Lab 4 HW/SW Compression and Decompression of Captured Image
of the Upgraded LHCb Readout System
Presented by Cédric Vulliez 12 April 2017
Use of FPGA for dataflow Filippo Costa ALICE O2 CERN
The Data Handling Hybrid
Beam Wire Scanner (BWS) serial link requirements and architecture
GBT-FPGA 120 MHz Modification Status
Nios II Processor: Memory Organization and Access
Control of ASICs via GBTx
Baby-Mind SiPM Front End Electronics
Communication Models for Run Control with ATCA-based Systems
Production Firmware - status Components TOTFED - status
PCIe control interface for user logic.
CCS Hardware Test and Commissioning Plan
HIBI_PE_DMA Example.
FPGA IRRADIATION and TESTING PLANS (Update)
CRU Development Platforms
Totem Readout using the SRS
FrontEnd LInk eXchange
GBT-FPGA Interface Carson Teale.
CS 286 Computer Organization and Architecture
MULTIBOOT AND SPI FLASH MEMORY
Erno david , Shuaib Ahmad Khan
Front-end digital Status
PCI BASED READ-OUT RECEIVER CARD IN THE ALICE DAQ SYSTEM
Torsten Alt, Kjetil Ullaland, Matthias Richter, Ketil Røed, Johan Alme
Avalon Switch Fabric.
System Interconnect Fabric
New Crate Controller Development
Figure 1 PC Emulation System Display Memory [Embedded SOC Software]
FPro Bus Protocol and MMIO Slot Specification
Speaker: Tian-Sheuan Chang July, 2004
Presentation transcript:

Erno DAVID, Tivadar KISS Wigner Research Center for Physics (HU) CRU Slow Control Erno DAVID, Tivadar KISS Wigner Research Center for Physics (HU) 16 December, 2015 1 1

Control Functionalities via CRU I. Hardware management of the CRU and the GBT links themselves: 1) Configuring the GBT link itself: R/W of GBTx own control registers (LHC clock phase, laser driver) Possible: via the embedded control channel „Internal” of the GBT. Memory mapped register R/W to GBT control registers in CRU. CRU translates this to communicate with the GBTx (on FECs) in the GBT embedded control channel „Internal”. 2) Configuring the CRU HW (PCIe40 card) itself (e.g. MiniPODs) Possible: with memory mapped register R/W of the CRU own control registers.  CRU FW translates them to on-board I2C control chains of PCIe40 card (MiniPODs, external PLL, etc.). 3) Configuring the CRU Functionality (i.e. CRU FW) Possible: memory mapped register R/W of the CRU own control registers. II. Control of the Detector and Trigger components 4) „Slow” control (HW configuration) of FEC boards Possible: via the embedded control channel „External” of the GBT and with the help of the GBT-SCA chip. Memory mapped register R/W to FE control registers in CRU. (The content shall follow the HDLC protocol.) CRU translates this to communicate with the GBT-SCA (on FECs) in the GBT embedded control channel „External”.  GBT-SCA chip interprets and translates them to FEC-on-board I2C, SPI, MDIO, JTAG, GPIO) control chains. 5) „Fast” control of FEC boards w/ FPGA (e.g. download big data, pedestals, FE-FPGA firmware image, etc) Possible: via GBT data channel. (Possible only for detectors where GBT data channel is not used for trigger and timing or/and FE- ASIC read-out control).  General packet based, or single word transactions. 6) „Fast” control of trigger units w/FPGA (CTP, LTU) Possible: via GBT data channel. (Like “Fast contorol of FEC boards w/FPGA.) 2 2 2

CRU Firmware Slow Control SoC Architecture FLP Server PCIe40 Board Linux CRU API Arria 10 FPGA O2 Software GBT-SCA User Logic TTS, GBT, … (core modules) [0..47] x 2 bit @ 40 MHz Custom Interface [0..47] x 2 bit @ 40 MHz QSYS PCIe Endpoint 0 bar_x_master Avalon-MM Master 250 MHz x 32/64 bit DCS Software QSYS Interconnect (250 MHz x 32/64 bit) ??? Software GBTx ASIC I2C ? [0..47] x 2 bit @ 40 MHz [0..47] x 2 bit @ 40 MHz SFP+ Si 5338 MiniPOD 0 MiniPOD 7 Arria 10 Firmware Flash . . . 3 3 3

GBT-SCA IP GBT-SCA IP for the CRU prototype (few (1-4) GBT links): Outgoing interface: 2 bit @ 40 MHz, separated 40 MHz TX and RX clock domains Avalon-MM interface v1 (single pending command): TX payload registers + go bit, RX payload registers + rcv bit, single 250 MHz PCIe clock domain Avalon-MM interface v2 (multiple commands): TX payload and command FIFO, RX payload and packet info FIFO, single 250 MHz PCIe clock domain Comment: Separated GBT-SCA IPs per GBT channels can be a bottleneck in the full design (it requires more PCIe bus access, no broadcast support, etc). We should investigate IP with multiple GBT links support like the LHCb solution (https://cds.cern.ch/record/1972398?ln=en). Next steps: We have to understand our GBT-SCA usage patterns. E.g. how to access a I2C slave connected to SCA (read/write), how to control the JTAG master port? What is the maximum SCA HDLC packet payload size? (the Verilog IP uses 4 byte for TX and 5 byte for RX). Is it sufficient for our needs? We have to gain full understanding of HDLC CRC-16 calculation. We can use the ISO specification and the Caratelli's source code (which we know that has been tested with GBT-SCA). We have to populate our GitLab repository (https://gitlab.cern.ch/alice-cru/gbtsca_eval). Simulation difficulties: the golden reference is a Verilog file but we develop VHDL and mixed mode simulation is not supported by the Altera Modelsim Edition. Hardware testing difficulties: needs a real GBT-SCA (no FPGA based SCA emulator exists) and an Altera based GBT link (with CRU FW+SW). 4 4 4

GBT-SCA Interface Variations Avalon-MM Interface (e.g. like the Verilog IP?): (this is just an example) +0 : CTRL(8) +4 : STATUS(8) +8 : DATA_TX/RX_HI(32) +12 : DATA_TX/RX_LO(32) +16 : - +20 : - +24 : ENABLE(1) GBT-SCA gbt_tx_clk_i gbt_tx_data_o[1:0] gbt_rx_clk_i gbt_rx_data_i[1:0] mms_reset mms_clk mms_address[15:0] mms_write mms_writedata[31:0] mms_read mms_readdata[31:0] mms_rvalid mms_irq GBT Interface Avalon-MM Slave Interface GBT-SCA IP with single GBT link support GBT-SCA Avalon-MM Interface: FIFO based TX and RX interface for multiple cmd. Burst support gbt_tx_clk_i[N-1:0] gbt_tx_data_o[2*N-1:0] gbt_rx_clk_i[N-1:0] gbt_rx_data_i[2*N-1:0] mms_reset mms_clk mms_address[15:0] mms_write mms_writedata[31:0] mms_read mms_readdata[31:0] mms_rvalid mms_irq mms_waitrequest mms_burstcount[5:0] GBT Interface Avalon-MM Slave Interface N = Number of the GBT Links GBT-SCA IP with multiple GBT links support 5 5 5

GBT-SCA IP Simulation Setup Testbench 2 bit @ 40 MHz or 1 bit @ 80 MHz GBT-SCA (Emulator) GBT-SCA (Controller) 2 bit @ 40 MHz or 1 bit @ 80 MHz Avalon-MM Master Emulator: - Receives SCA commands - Generates valid responses Avalon-MM Master Controller: - Sends SCA commands - Checks the responses 6 6 6