--- /dev/null
+<?xml version="1.0" encoding="utf-8" ?>
+<TrbNetEntity xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:noNamespaceSchemaLocation="../schema/TrbNetEntity.xsd"
+ name="Spillmonitor"
+ address="b800"
+ >
+ <description>Registers for the HADES Spill Monitor</description>
+
+
+ <group name="SpillMonRegisters" address="0000" size="5" purpose="config" mode="r" continuous="true">
+ <register name="Timer" address="0000" mode="rw" >
+ <description>Settings form binning and integration time</description>
+ <field name="BinWidth" start="0" bits="16" format="unsigned" noflag="true" rate="false" >
+ <description>Width of the binning / sampling interval. Unit are clock cycles (100 MHz)</description>
+ </field>
+ <field name="WindowWidth" start="16" bits="16" format="unsigned" noflag="true" rate="false" >
+ <description>Width of the averaging window, in bins</description>
+ </field>
+ </register>
+
+ <register name="BufferReset" address="0001" mode="w" >
+ <description>Clear buffers to record new data manually</description>
+ <field name="QFFIFO_Reset" start="30" bits="1" format="boolean">
+ <description>Reset QF Fifo</description>
+ </field>
+ <field name="BinFIFO_Reset" start="31" bits="1" format="boolean">
+ <description>Reset Bin Fifo</description>
+ </field>
+ </register>
+
+ <register name="BufferStatus" address="0002" mode="r" >
+ <description>Status of the two buffers - for microstructure and q factor</description>
+ <field name="QFFIFO_Count" start="0" bits="10" format="unsigned">
+ <description>Fill level of the QF Fifo</description>
+ </field>
+ <field name="QFFIFO_Empty" start="14" bits="1" format="boolean">
+ <description>QF Fifo is empty</description>
+ </field>
+ <field name="QFFIFO_Full" start="15" bits="1" format="boolean">
+ <description>QF Fifo is full, read-out can take place</description>
+ </field>
+ <field name="BinFIFO_Count" start="16" bits="14" format="unsigned">
+ <description>Fill level of the Bin Fifo</description>
+ </field>
+ <field name="BinFIFO_Empty" start="30" bits="1" format="boolean">
+ <description>Bin Fifo is empty</description>
+ </field>
+ <field name="BinFIFO_Full" start="31" bits="1" format="boolean">
+ <description>Bin Fifo is full, read-out can take place</description>
+ </field>
+ </register>
+
+ <register name="InputDisable" address="0004" mode="rw" >
+ <description>Disable some of the 16 inputs</description>
+ <field name="InputDisable" start="0" bits="16" format="bitmask">
+ </field>
+ </register>
+ </group>
+
+ <group name="SpillMonCounts" address="0000" size="5" purpose="config" mode="r" continuous="true">
+
+ <register name="BinCounts" address="0020" mode="r" repeat="16">
+ <description>Count number on the 16 inputs (last bin)</description>
+ <field name="BinCounts" start="0" bits="28" format="unsigned">
+ </field>
+ </register>
+ </group>
+
+</TrbNetEntity>