]> jspc29.x-matter.uni-frankfurt.de Git - daqtools.git/commitdiff
update xml files
authorJan Michel <michel@physik.uni-frankfurt.de>
Thu, 15 Feb 2024 11:59:42 +0000 (12:59 +0100)
committerJan Michel <michel@physik.uni-frankfurt.de>
Thu, 15 Feb 2024 11:59:52 +0000 (12:59 +0100)
web/htdocs/network/tools.pl
xml-db/database/MediaECP5.xml
xml-db/database/SEU.xml [new file with mode: 0644]

index 04e39e193a0fbc7c1b11684d2ae175ee6d576565..bb163f12571e17a48b50b41eda23f926d799d962 100755 (executable)
@@ -50,6 +50,13 @@ push(@setup,({name      => "UART",
               period    => 1000,
               rates     => 1,
               address   => 1}));                
+
+push(@setup,({name      => "SED", 
+              cmd       => "SEU-0xffff-Registers",
+              period    => 1000,
+              rates     => 1,
+              address   => 1}));                
+              
               
 xmlpage::initPage(\@setup,$page);
  
index 5b05b8e035d7b9e2792c7f2ced55a7b3b692f0e9..f403bb6b8c463cf6b079f7f8d4a3419b11ebea7b 100644 (file)
@@ -51,7 +51,7 @@
         <field name="PcsRxReady"  start="7" bits="1" format="boolean" errorflag="true" invertflag="true"/>
         <field name="PcsTxReady"  start="8" bits="1" format="boolean" noflag="true"/>
         <field name="LsmStatus"  start="9" bits="1" format="boolean" noflag="true" invertflag="true"/>
-        <field name="TimeSinceStart"  start="16" bits="16" format="unsigned" noflag="true" invertflag="true"/>
+        <field name="TimeSinceStart"  start="16" bits="16" format="unsigned" noflag="true" invertflag="true" unit="ms" scale="0.32"/>
       </register>      
       <register name="RxControl1" address="0005" >
         <description>RX Control Status</description>
@@ -95,7 +95,7 @@
         <field name="PcsRxReady1"  start="7" bits="1" format="boolean" errorflag="true" invertflag="true"/>
         <field name="PcsTxReady1"  start="8" bits="1" format="boolean" noflag="true"/>
         <field name="LsmStatus1"  start="9" bits="1" format="boolean" noflag="true" invertflag="true"/>
-        <field name="TimeSinceStart1"  start="16" bits="16" format="unsigned" noflag="true" invertflag="true"/>
+        <field name="TimeSinceStart1"  start="16" bits="16" format="unsigned" noflag="true" invertflag="true" unit="ms" scale="0.32"/>
       </register>           
     </group>     
   </group>
diff --git a/xml-db/database/SEU.xml b/xml-db/database/SEU.xml
new file mode 100644 (file)
index 0000000..70b08d3
--- /dev/null
@@ -0,0 +1,52 @@
+<?xml version="1.0"  encoding="utf-8" ?>
+<TrbNetEntity xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+              xsi:noNamespaceSchemaLocation="../schema/TrbNetEntity.xsd"
+              name="SEU"
+              address="d500"
+              >
+  <description> SEU Detection </description>
+  <group name="Registers" address="0000" purpose="config" mode="rw" >
+    
+    <register name="Enable" address="0000"  >
+        <description>Enable SED</description>
+        <field name="Enable" start="0" bits="1" format="boolean"  />
+    </register>    
+    
+    <register name="Status" address="0001" mode="r" >
+        <description>SED Status Information</description>
+        <field name="StateBits" start="0" bits="4" format="enum"  >
+          <description>Current Status of logic</description>
+        </field>
+        <field name="SedClock" start="4" bits="1" format="binary"  >
+          <description>Clock Signal</description>
+        </field>
+        <field name="SedEnable" start="5" bits="1" format="binary"  >
+          <description>SED Enable</description>
+        </field>
+        <field name="SedStart" start="6" bits="1" format="binary"  >
+          <description>SED Start</description>
+        </field>
+        <field name="SedDone" start="7" bits="1" format="binary"  >
+          <description>SED Done</description>
+        </field>
+        <field name="SedInProgress" start="8" bits="1" format="binary"  >
+          <description>SED in progress</description>
+        </field>
+        <field name="SedError" start="9" bits="1" format="binary"  >
+          <description>SED Error</description>
+        </field>
+        <field name="SedEdge" start="10" bits="1" format="binary"  >
+          <description>SED Edge</description>
+        </field>
+        <field name="RunCount" start="16" bits="8" format="unsigned"  >
+          <description>Run Count</description>
+        </field>
+        <field name="ErrorCount" start="24" bits="8" format="unsigned"  >
+          <description>Error Count</description>
+        </field>
+        
+    </register>    
+        
+  </group>
+</TrbNetEntity>
+