From 00c7050fc906fa248949f62ac2b4830802c16fce Mon Sep 17 00:00:00 2001 From: Andreas Neiser Date: Sat, 29 Jun 2013 16:11:16 +0200 Subject: [PATCH] Improving the schema (stricter element handling), introducing "enum" format type --- xml-db/database/TDC.xml | 28 ++-- xml-db/database/TrbNetEntity.xsd | 167 +++++++++++++++--------- xml-db/database/jtag_registers_SPEC.xml | 1 + xml-db/database/testing.xml | 1 + 4 files changed, 123 insertions(+), 74 deletions(-) diff --git a/xml-db/database/TDC.xml b/xml-db/database/TDC.xml index 2778e52..50d1cf7 100644 --- a/xml-db/database/TDC.xml +++ b/xml-db/database/TDC.xml @@ -4,25 +4,27 @@ name="TDC" address="c000" > + An FPGA-based tapped-delay line TDC - + - - - Wait time between write sequence and start signal. - - The number of MAPS clock cycles to wait after last write before sending the start signal. + + + Basic controls + + Debug word of the TDC readout FSM + bla + - Trigger the init sequence. + address="0001" mode="w" function ="trigger" repeat="2"> + Trig - A bitmask to trigger the init sequence on individual JTAG chains. + start="0" size="32" mode="w" type="trigger" format="bitmask" defaultValue="0" > + Empty signals (hits?) of channels - + - + - + @@ -29,18 +29,18 @@ no-more-data from this registers transports some vital information --> - + @@ -48,14 +48,14 @@ - + - + @@ -68,15 +68,16 @@ + - + + - @@ -95,32 +96,48 @@ ==============================--> + - - - - - - - - + + + + + + + + + + + + + + - - - - - - - + + + + + + + + + + + + + @@ -130,15 +147,33 @@ - + + + + + + + + + + - - - - + + + + + + + + + + + @@ -150,50 +185,60 @@ an error is indicated by this field --> - + - - + + + + + + + - - - - - - + + + + + + + + + + + + + + + - + - - - - - - - - - + + + + + - + - - - - - - - - + + + + + - - + - + diff --git a/xml-db/database/jtag_registers_SPEC.xml b/xml-db/database/jtag_registers_SPEC.xml index 9ea9710..027fa53 100644 --- a/xml-db/database/jtag_registers_SPEC.xml +++ b/xml-db/database/jtag_registers_SPEC.xml @@ -4,6 +4,7 @@ name="JtagController" address="a000" > + A JTAG controller for Pixel Sensors? diff --git a/xml-db/database/testing.xml b/xml-db/database/testing.xml index b7bec3f..03fda0d 100644 --- a/xml-db/database/testing.xml +++ b/xml-db/database/testing.xml @@ -4,6 +4,7 @@ name="JtagController" address="1000" > + Just some testing