]> jspc29.x-matter.uni-frankfurt.de Git - daqtools.git/commitdiff
Use width memory attribute, to prevent clash when merging to memoryfield
authorAndreas Neiser <neiser@kph.uni-mainz.de>
Wed, 21 May 2014 06:57:18 +0000 (08:57 +0200)
committerAndreas Neiser <neiser@kph.uni-mainz.de>
Wed, 21 May 2014 13:30:09 +0000 (15:30 +0200)
xml-db/database/Padiwa.xml
xml-db/schema/TrbNetCommon.xsd

index 661190a67895187f4be9d655af576b72a5ebbd1f..b8562a525ce9a2290641612d67e97f2290ee73df 100644 (file)
@@ -17,7 +17,7 @@
   -->
 
   <group name="Status" purpose="status" address="0100" mode="r">
-    <memory name="UniqueID" address="0000" size="4" bits="16">
+    <memory name="UniqueID" address="0000" size="4" width="16">
       <description>Read the unique identifier of the onboard temperature sensor</description> 
       <field name="UniqueID" start="0" bits="64" format="hex" />
     </memory>
index 5c9726efb0bc12f8a762e01518ecc9b14accd6e2..31f209f3e695e487fffe45cabb60ce64ac4f6b31 100644 (file)
@@ -83,6 +83,7 @@
   <xs:attribute name="start"        type="bittype" />
   <xs:attribute name="size"         type="xs:positiveInteger" />
   <xs:attribute name="bits"         type="xs:positiveInteger" />
+  <xs:attribute name="width"        type="xs:positiveInteger" />
   <xs:attribute name="defaultValue" type="xs:string" />
   <xs:attribute name="value"        type="valuetype" />
   <xs:attribute name="format"       type="formattype" />
     <xs:complexType>
       <xs:complexContent>
         <xs:extension base="basicTrbData">
-          <!-- size specified in "bits" long words -->
+          <!-- size specified in "@width" long words -->
           <xs:attribute ref="size" use="required" />
-          <!-- bits is by default assumed to be 32 -->
-          <xs:attribute ref="bits" />
+          <!-- width (in bits) is by default assumed to be 32 -->
+          <xs:attribute ref="width" />
         </xs:extension>
       </xs:complexContent>
     </xs:complexType>