Demo system of Belle2link Sun Dehui, Zhao Jingzhou,Liu zhen’an Trigger Lab IHEP.

Slides:



Advertisements
Similar presentations
By Sunil G. Kulkarni, SO/F, Pelletron-Linac Facility, BARC-TIFR. 21/01/2011 ASET.
Advertisements

I/O Organization popo.
Computer Architecture
1 iTOP Electronics Effort LYNN WOOD PACIFIC NORTHWEST NATIONAL LABORATORY JULY 17, 2013.
CMS Week Sept 2002 HCAL Data Concentrator Status Report for RUWG and Calibration WG Eric Hazen, Jim Rohlf, Shouxiang Wu Boston University.
9 Sep 2005DAQ - Paul Dauncey1 DAQ/Online Status Paul Dauncey Imperial College London.
t Popularity of the Internet t Provides universal interconnection between individual groups that use different hardware suited for their needs t Based.
DSP online algorithms for the ATLAS TileCal Read Out Drivers Cristobal Cuenca Almenar IFIC (University of Valencia-CSIC)
Belle2Link: An Unified High Speed Link in Belle II Experiment Z.-A. LIU, D. SUN,J.Zhao, H.XU, K.WANG IHEP, China T.Higuchi, y.Igarashi, R.Itoh, M.Nakao,
Kristian Naess Qicai Guo Roy Torres Mark Bacchus Yue Kun Alberto Chestaro.
Technology Date 10/17/00, Page 1 Technology s PROFIBUS Technology Chips - Modules - Development Kits.
Emlyn Corrin, DPNC, University of Geneva EUDAQ Status of the EUDET JRA1 DAQ software Emlyn Corrin, University of Geneva 1.
DDL hardware, DATE training1 Detector Data Link (DDL) DDL hardware Csaba SOOS.
Bologna, 10/04/2003 Workshop on LHC Physics with High P t Muon in CMS R.Travaglini – INFN Bologna Status of Trigger Server electronics Trigger boards TB.
SLAAC Hardware Status Brian Schott Provo, UT September 1999.
Design and Characterization of TMD-MPI Ethernet Bridge Kevin Lam Professor Paul Chow.
2007 Oct 18SYSC2001* - Dept. Systems and Computer Engineering, Carleton University Fall SYSC2001-Ch7.ppt 1 Chapter 7 Input/Output 7.1 External Devices.
GBT Interface Card for a Linux Computer Carson Teale 1.
Computer Architecture Lecture10: Input/output devices Piotr Bilski.
DEVICES AND COMMUNICATION BUSES FOR DEVICES NETWORK
Design and Performance of a PCI Interface with four 2 Gbit/s Serial Optical Links Stefan Haas, Markus Joos CERN Wieslaw Iwanski Henryk Niewodnicznski Institute.
RCU Status 1.RCU design 2.RCU prototypes 3.RCU-SIU-RORC integration 4.RCU system for TPC test 2002 HiB, UiB, UiO.
Hall D Online Meeting 28 March 2008 Fast Electronics R. Chris Cuevas Group Leader Jefferson Lab Experimental Nuclear Physics Division System Engineering.
Status and planning of the CMX Wojtek Fedorko for the MSU group TDAQ Week, CERN April , 2012.
Serial Data Link on Advanced TCA Back Plane M. Nomachi and S. Ajimura Osaka University, Japan CAMAC – FASTBUS – VME / Compact PCI What ’ s next?
Organisasi Sistem Komputer Materi VIII (Input Output)
L/O/G/O Input Output Chapter 4 CS.216 Computer Architecture and Organization.
FPGA firmware of DC5 FEE. Outline List of issue Data loss issue Command error issue (DCM to FEM) Command lost issue (PC with USB connection to GANDALF)
Costas Foudas, The Tracker Interface to TCS, The CMS Silicon Tracker FED Crates What goes in the FED Crates ? What do we do about the VME controller.
Bus, Cache and shared memory. Bus System System bus of a computer system operates on contention basis Effective bandwidth available to each processor.
Sep. 17, 2002BESIII Review Meeting BESIII DAQ System BESIII Review Meeting IHEP · Beijing · China Sep , 2002.
KLM Trigger Status Barrel KLM RPC Front-End Brandon Kunkler, Gerard Visser Belle II Trigger and Data Acquistion Workshop January 17, 2012.
Source Controller software Ianos Schmidt The University of Iowa.
Input/Output Problems Wide variety of peripherals —Delivering different amounts of data —At different speeds —In different formats All slower than CPU.
JRA-1 Meeting, Jan 25th 2007 A. Cotta Ramusino, INFN Ferrara 1 EUDRB: A VME-64x based DAQ card for MAPS sensors. STATUS REPORT.
A Super-TFC for a Super-LHCb (II) 1. S-TFC on xTCA – Mapping TFC on Marseille hardware 2. ECS+TFC relay in FE Interface 3. Protocol and commands for FE/BE.
Input Output Techniques Programmed Interrupt driven Direct Memory Access (DMA)
WIFI design Guide based PW620-I b/g ----Hardware section Orin.Zhu August 31 st, 2007.
Strategy for unified data link Zhen-An LIU Institute of High Energy Physics.
1 DAQ.IHEP Beijing, CAS.CHINA mail to: The Readout In BESIII DAQ Framework The BESIII DAQ system consists of the readout subsystem, the.
Jan. 25, 2011 Status of the Aerogel RICH Readout Trig/DAQ Meeting in Beijing 1 S. Nishida (KEK) S. Nishida Status of the Aerogel RICH Readout Belle II.
Prototype of the SVD Finesse Transmitter Board (FTB) (Sender Part for HSD Link) wacek ostrowicz 14 slides The Prototype of the SVD FTB Recent.
Status of the SVD DAQ Koji Hara (KEK) 2012/1/16 TRG/DAQ meeting1.
Vladimir Zhulanov for BelleII ECL group Budker INP, Novosibirsk INSTR2014, Novosibirsk 2014/02/28 1.
ZHULANOV Vladimir Budker Institute of Nuclear Physics Novosibirsk, Russia Beijing
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.
SHARING A HIGH SPEED OPTICAL DATA TRANSMISSION LINK WITH SLOW CONTROL STREAM TIPP2014 Amsterdam June Zhen-An LIU, Jingzhou Zhao, Dehui Sun, Trigger.
1394 H/W and OHCI Gi-Hoon Jung. 2002/01/162 Agenda Overview of the VITANA board OHCILynx PCI-based Host Controller Overview of the OHCI Spec.
The Data Handling Hybrid Igor Konorov TUM Physics Department E18.
PXD DAQ News S. Lange (Univ. Gießen) Belle II Trigger/DAQ Meeting (Jan 16-18, 2012, Hawaii, USA) Today: only topics important for CDAQ - GbE Connection.
The ALICE Data-Acquisition Read-out Receiver Card C. Soós et al. (for the ALICE collaboration) LECC September 2004, Boston.
Firmware development for the AM Board
The Jülich Digital Readout System for PANDA Developments
IAPP - FTK workshop – Pisa march, 2013
Chapter 6 Input/Output Organization
I/O SYSTEMS MANAGEMENT Krishna Kumar Ahirwar ( )
Discussion Items Clock PC and/or VME CPU Trigger readout
The Software Framework available at the ATLAS ROD Crate
Evolution of S-LINK to PCI interfaces
New Crate Controller Development
AT91RM9200 Boot strategies This training module describes the boot strategies on the AT91RM9200 including the internal Boot ROM and the U-Boot program.
Data Link Issues Relates to Lab 2.
University of California Los Angeles
Status of GbE Peripheral Crate Controller
Chapter 13: I/O Systems.
Presentation transcript:

Demo system of Belle2link Sun Dehui, Zhao Jingzhou,Liu zhen’an Trigger Lab IHEP

 Belle2Link  Demo system  Hardware  Firmware  Driver and Software  Implementation of slow control  Discussion Outline

Belle2Link d d SVD FEE COPPER Belle2Link RF ClocK CDC FEE ……… PID KLM TTC I/F_FE I/F_TTC I/F_COPPER Slow control Data Belle2Link is a unified high speed link which connect Front-End Electronics (FEE) and Trigger and DAQ system for signal and data transmission. For system simplicity and reliability, It features as: 1.unification in hardware design 2.unification in firmware design 3.provides electrical isolation 4.provides high speed transmission rate 5.can work at different input data rate 6.home brew transmission protocol

Hardware  COPPER board  High Speed Link Board (Plugged to COPPER)  FEE boards, such as CDC board (Linked to HSLBs with optic fibers)  Server PC (file system server) Demo system HSLB COPPER board COPPER plugged in VME crate with a File server CDC board linked to HSLB

Firmware  HSLB  Virtex 5 Firmware ( Belle2link in HSLB board)  CPLD Firmware ( online downloading )  FEE  Belle2Link in FEE Demo system

Demo system Firmware — Structure of HSLB firmware  Slow Control module  Receive or transfer the slow control message from Local bus  Data Link module  Receive the data of FEE, transmit the data and the clock to the COPPER FIFO  Protocol  Receive the package from GTP module  Check the packages and unpack them  Separate the data and transfer them to slow control module or data link module

Demo system Firmware — Structure of Belle2lin firmware in FEE  Slow Control module  Configure or read the slow control message from FEE register  Data Link module  Receive the data from FEE. Pack the data  Protocol  Receive the package from GTP module, check the packages and unpack them  Transfer the data form FEE, and arbitrate the priority between slow control module and data link module

 Software  Data processing  readhslb : read the data of FEE from the COPPER;  Slow control  paraconf : read or configure the register of HSLB and FEE  fileconf : transfer file to FEE, such as a DSP ROM file  Driver  Inherit from Higuchi-san’ Finesse general driver Demo system

 General Consideration  Task for Belle2link  Parameter setting only  Aim  Unification suitable for all systems, not system dependent  Easy implementation for FEE as was with Belle FINESSE  Provide CDC implementation as an example for FEE Implementation of Slow Control

 Difficulties  Larger parameter data size(>128byte) needed  How to make the belle2link transparent to FEE and local buss  New scheme has to be defined Local Bus Interface

 HSLB/FINESSE side(Two approaches)  First approach  Large stream(>128B)  Address 0X00: for this approach  Length up to the maximum allowed  Address/Data meaning definition by system  The data will also be written to the address 0x00 on the interface between the FEE and Belle2link How to transfer a file

 HSLB/FINESSE side(Two approaches)  Second approach  Large stream(<128B or individual setting )  Address 0X00-0x74: Length up to 127B  Address/Data meaning definition by system  Control module synchronies the control signal and control the reading or writing of the RAMs.  One RAM records the value from system, used for configuration.  Another Ram records the value form FEE, used for read-back.  TWO CSRs are used as signal of acknowledge,reading,config uration. How to configure register

 FEE side(Parameter Bus)  Keep the definition of local bus of COPPER.  AB0-AB6Local address bus.  DB0-DB7Local data bus.  LWRRead/write direction indicator.  EN ready signal.  If COPPER write a value on address 0x41 of the Local bus, the value will be send to the same address on FEE after a few nanoseconds.  If a ROM file is transferred, the file will be written on address 0x00 on front end serially. There are no buffer in Belle2Link. The Belle2link is transparent to the COPPER and FEE register. Implement on FEE side

Parameter bus: Timing Chart At least One cycle One cycle At least 1 cycle AB0-AB6 RW EN DB0-DB7 At least 3 cycles At least 4 cycles one cycle AB0-AB6 RW EN read cycle write cycle DB0-DB7 0 ns

 How to read the register is not so straightforward.  The program must inform the HSLB which register to be read, and wait for some time until the value was sent to the local bus interface from the FEE.  A CSR is used as acknowledge signal. When the value of the FEE register come, the value of CSR will be set to 0x11.  Slow control message and the data from FEE are both transferred by fiber with different package. How to read

PMC CPU Bridge local bus PCI bus COPPER Protoc ol GTP Optic Fiber HSLBS Parameters Config Para bus FEE Protoco l GTP HSLBR  The program must inform the HSLB which register to be read and wait.  The HSLBS sends the address to FEE through Belle2Link  The FEE receives the address, read the value and send the address and the value back.  A CSR is used as acknowledge signal. When the HSLBS read the value of the FEE register completely, the value of CSR will be set to 0x11.  Program check the CSR, and print the result on screen.

 Belle2link need to transfer the data and the slow control message at the same time. So priority level is necessary.  New link layer protocol was designed New Sending link layer state machine reset Priority 1 priority 2 Send slow control message Send FEE Data Priority 3 FEE data buffer almost full CRC Slow control buffer not empty FEE Data buffer not empty

 The receiving protocol must separate the slow control message and the FEE data. New receiving link layer state machine reset idile Unpack the data and Transfer to Datalink module Unpack the data and Transfer to SC module SOP = 0x95FB SOP = 0x951c EOP = 0x95FD Check error EOP = 0x95FD

 Slow Control over Belle2link is predefined for CDC and works  For other system, we provide the design between the local bus and the FEE parameter Bus and the examples of the Linux program and configuration module.  Unification on SC in consideration and need further discussion Conclusion

 Upper-left: Belle  Lower-right: Belle II  HSLB/Finesse info need to be defined  FEE side also need to be defined  Not fully discussed yet, latest at the coming workshop Discussion AddressDescriptionNote 0x00-0x74User defined 0x75HSLB CSR 0x76FEE FW Ver. #Mandatory 0x77FEE HW Ver. #Mandatory 0x78FEE TypeMandatory 0x79Belle2link FEE FW ver. #Mandatory 0x7aHSLB Download Flag2 0x7bHSLB Download Flag1 0x7cBelle2link HSLB CPLD Ver. 0x7dBelle2link HSLB FW ver. #Mandatory 0x7e Belle2link HSLB HW ver. # Mandatory 0x7fReservedmandatory