Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Sign in
F
FMC TDC 1ns 5cha - Gateware
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 3
    • Issues 3
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • Wiki
    • Wiki
  • image/svg+xml
    Discourse
    • Discourse
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Commits
  • Issue Boards
  • Projects
  • FMC TDC 1ns 5cha - Gateware
  • Wiki
  • Home

Home

Last edited by OHWR Gitlab support Mar 15, 2019
Page history

FMC Time to Digital Converter Gateware

The Time to Digital Converter mezzanine board FMC TDC 1ns 5cha has 5 input channels. Its purpose is to calculate time differences between pulses arriving to the channels with a precision of ±700 ps.
It follows the FMC architecture and can be carried by any carrier board like the SPEC or the SVEC. It is using a dedicated time-to-digital converter chip TDC-GPX of the European company ACAM.

The carrier board, SPEC or SVEC, provides FPGA logic, power supplies, clocking resources as well as the interface to the PCIe (SPEC) or VME64x (SVEC) bus.
The TDC mezzanine board houses mainly the five input channels and the ACAM time-to-digital converter chip.

Figure 1 shows the gateware architecture for the simpler case of the SPEC carrier. Figure 2 zooms into the main module of Figure 1 depicted in green.
As both figures show the design is highly modular and the communication of all the modules with the PCIe interface is based on WISHBONE.


Figure 1: SPEC TDC gateware architecture**

The main parts of the design, as shown in Figure 1 are:

  • The GN4124 core is the interface to the Gennum GN4124 PCIe bridge chip. The core provides a WISHBONE master where all the other FPGA modules can connect to and gain access to the PCIe.
  • The 1-wire core communicates with the DS18B20 thermometer and unique ID chip on the SPEC.
  • The carrier info core contains control and status registers related to the SPEC (e.g. PCB version).
  • The FMC TDC mezzanine is the application specific part of the design and includes all the modules essential for the communication with the different parts of the TDC mezzanine board:
    • the ACAM chip for the retrieval of the timestamps
    • the input termination resistors
    • the front panel LEDs
    • the DS18B20 thermometer and unique ID chip
    • the 24AA64 EEPROM memory chip
    • the PLL AD9516 and DAC AD5662.
  • The vector interrupt controller, VIC, is multiplexing different interrupt lines into one single line to the host.
  • The crossbar is used to map the different slaves in the WISHBONE address space.

Figure 2 shows the different parts of the FMC TDC mezzanine module and their connections to the TDC mezzanine board. The heart of this module is the TDC core, depicted in pink.
The TDC core is first responsible for configuring the ACAM chip. The configuration instructions are provided through the PCIe interface.
Once the ACAM chip is configured, rising edges arriving to any of its channels are time-stamped. The TDC core is responsible for retrieving the timestamps;
it is then putting them in a user-convenient format and finally it is making them available to the PCIe interface.


Figure 2: FMC TDC mezzanine gateware architecture**

As of June 2014 the TDC design has been extended to include White Rabbit support. As Figure 3 shows the White Rabbit modules are instantiated on the top level of the design; the TDC modules remain the same as described.
The White Rabbit support enables the TDC design to be used for absolute timestamping* of pulses, rather than calculating differences of pulses.
The timebase accuracy is reduced to < 1 ns, in comparison to the 4ppm of the TDC local oscillator. Also pulses coming from different TDC boards in the same White Rabbit network can now be compared to each other.


Figure 3: FMC TDC mezzanine gateware architecture with White Rabbit support**

For more information on the FMC TDC gateware design, please consult the dedicated Gateware guide.

Release

The gateware is housed on the FPGA of the carrier. The architecture principles are the same between the two carriers; however there are some top level differences.
For the binaries, memory maps, gateware architecture and VHDL sources, follow the corresponding links:

Carrier Release page
SPEC SPEC gateware releases
SVEC SVEC gateware releases

Documents

Document Description
Gateware Guide in depth description of the gateware architecture for a SPEC and a SVEC carrier
SPEC Memory Map short document on the register mapping and establishment of basic communication on a SPEC carrier
SVEC Memory Map short document on the register mapping and establishment of basic communication on a SVEC carrier
Clone repository
  • Documents
  • Gateware release
  • Home
  • Spec tdc release 1 0
  • Spec gw release
  • Spec tdc release 2 0
  • Spec tdc release 3 0
  • Spec tdc release 4 0
  • Spec tdc release 5 0
  • Spec tdc release 6 0
  • Spec tdc release 7 0
  • Svec tdc release 1 0
  • Documents
    • Project attachments
    • Version 'v6.0' attachments
    • Version 'v7.0' attachments
More Pages

New Wiki Page

Tip: You can specify the full path for the new file. We will automatically create any missing directories.