Skip to content

PerugiaOverNetDAQ/msdintf

Repository files navigation

This repository contains the FPGA gateware to readout the microstrip detector of the FOOT experiment. It is based on the Terasic DE10-Nano board, which embeds an Intel Cyclone V SoC (FPGA+HPS). This should limit the use with Intel FPGA only for specific basic elements, e.g. FIFOs.

Front-Ends and ADCs models:

  • FE: IDEAS IDE1140, 64-channel silicon-strip readout with analog mux output
  • ADC: Analog Devices AD7276, 3-Msps 12-Bit ADC with serial digital readout

Architecture

The gateware is organized in packages to group parameters, types declarations, and components declarations. In particular, there are two packages:

  • FOOTpackage: it contains configuration parameters, types, and modules declaration.
  • basic_package: it contains basic functions and tools.

MSD Block Diagram

  • Data_Builder_Top: wrapper that instantiates:
    • Data_Builder
    • multiAdcPlaneInterface
    • Busy stretch
    • Trigger-2-Hold delay
    • Internal periodic trigger
  • multiAdcPlaneInterface: interface to a X-Y plane. It instantiates and synchronizes multiADC_interface and FE_interface, together with one FIFO for each ADC.
  • FE_interface: interface to the IDEAS IDE1140 Front-Ends.
  • multiADC_interface: interface to the AD7276 ADCs. Samples each incoming serial signals in a 16-bit shift-register.
  • Data_Builder: priority encoder that collects the ADC FIFOs data into a collector FIFO, passing from 16-bit to 32-bit words. It also implements the output interface to the FOOT DAQ.
  • basic_functions: folder containing basic functions and tools (counters, shift-registers, ...) that are used in the other modules and are declared in the basic_package

FE_interface Timing Diagram

The following figures show the operations to readout a single IDE1140 and a daisy-chain of two IDE1140s. hold_b and clk_b are send in parallel to all the devices.

Readout Operations for a IDE1140 Readout Operations for a daisy-chain of two IDE1140

multiADC_interface Timing Diagram

The following figure shows the operations to readout a AD7276 ADC. CS and SCLK are sent in parallel to all of the ADCs.

Readout Operations for a AD7276

About

Low-Level interface to the FOOT MSD detector (IDE1140 + AD7276)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •