Skip to content

Latest commit

 

History

History
54 lines (41 loc) · 1.6 KB

firmware.rst

File metadata and controls

54 lines (41 loc) · 1.6 KB

Firmware

FPGA firmware consists of very simple single master bus definition and set of standard modules used by DAQ systems.

Typical firmware consists of basil bus connecting all modules. Control modules witch provide configuration to DUT (like SPI/GPIO) and data taking modules (like data receivers). Received data (32 bit) are stored in the FIFO (large extremal memory) and can be continuously pulled from host application. Data from different modules are identified by source codding in 32bit data words.

.. blockdiag::

   diagram {

    Interface <-> SPI [color = "blue"];
    Interface <-> GPIO [color = "blue"];
    Interface <-> RX [color = "blue", label = "bus"];
    Interface <-> TDC [color = "blue"];
    Interface <-> FIFO [color = "blue"];
    TDC -> Arbiter [color = "green", label = "data"];
    RX -> Arbiter [color = "green"];
    Arbiter -> FIFO  [color = "green"];

    Arbiter -> FIFO [folded];
   }

basil bus

single write
single read