1<?xml version="1.0" encoding="UTF-8"?> 2<Subsystem 3 Name="Test" Type="TEST"> 4 <ComponentLibrary> 5 <ComponentType Name="TEST_DIR"> 6 <!-- Tested Booleans --> 7 <BooleanParameter Name="BOOL" Mapping="Binary:BOOL"/> 8 <!-- Tested FixedPoints --> 9 <FixedPointParameter Name="FP8_Q0.7" Size="8" Integral="0" Fractional="7" Mapping="Binary:FP8_Q.7"/> 10 <FixedPointParameter Name="FP8_Q7.0" Size="8" Integral="7" Fractional="0" Mapping="Binary:FP8_7.0"/> 11 <FixedPointParameter Name="FP8_Q3.4" Size="8" Integral="3" Fractional="4" Mapping="Binary:FP8_3.4"/> 12 <FixedPointParameter Name="FP16_Q0.15" Size="16" Integral="0" Fractional="15" Mapping="Binary:FP16_Q.15"/> 13 <FixedPointParameter Name="FP16_Q15.0" Size="16" Integral="15" Fractional="0" Mapping="Binary:FP16_15.0"/> 14 <FixedPointParameter Name="FP16_Q7.8" Size="16" Integral="7" Fractional="8" Mapping="Binary:FP16_7.8"/> 15 <FixedPointParameter Name="FP32_Q0.31" Size="32" Integral="0" Fractional="31" Mapping="Binary:FP32_Q.31"/> 16 <FixedPointParameter Name="FP32_Q31.0" Size="32" Integral="31" Fractional="0" Mapping="Binary:FP32_31.0"/> 17 <FixedPointParameter Name="FP32_Q15.16" Size="32" Integral="15" Fractional="16" Mapping="Binary:FP32_15.16"/> 18 <FixedPointParameter Name="FP32_Q8.20" Size="32" Integral="8" Fractional="20" Mapping="Binary:FP32_Q8.20"/> 19 <!-- Tested Integers --> 20 <IntegerParameter Name="UINT32" Size="32" Signed="false" Max="1000" Mapping="Binary:UINT32"/> 21 <IntegerParameter Name="INT32" Size="32" Signed="true" Min="-1000" Max="1000" Mapping="Binary:INT32"/> 22 <IntegerParameter Name="UINT32_Max" Size="32" Signed="false" Max="4294967295" Mapping="Binary:UINT32_Max"/> 23 <IntegerParameter Name="INT32_Max" Size="32" Signed="true" Min="-2147483648" Max="2147483647" Mapping="Binary:INT32"/> 24 <IntegerParameter Name="UINT16" Size="16" Signed="false" Max="1000" Mapping="Binary:UINT16"/> 25 <IntegerParameter Name="INT16" Size="16" Signed="true" Min="-1000" Max="1000" Mapping="Binary:INT16"/> 26 <IntegerParameter Name="UINT16_Max" Size="16" Signed="false" Max="65535" Mapping="Binary:UINT16_Max"/> 27 <IntegerParameter Name="INT16_Max" Size="16" Signed="true" Min="-32768" Max="32767" Mapping="Binary:INT16_Max"/> 28 <IntegerParameter Name="UINT8" Size="8" Signed="false" Max="100" Mapping="Binary:UINT8"/> 29 <IntegerParameter Name="INT8" Size="8" Signed="true" Min="-100" Max="100" Mapping="Binary:INT8"/> 30 <IntegerParameter Name="UINT8_Max" Size="8" Signed="false" Max="255" Mapping="Binary:UINT8_Max"/> 31 <IntegerParameter Name="INT8_Max" Size="8" Signed="true" Min="-128" Max="127" Mapping="Binary:INT8_Max"/> 32 <!-- Tested Arrays --> 33 <IntegerParameter Name="UINT32_ARRAY" Size="32" Signed="false" ArrayLength="100" Min="0" Max="100" Mapping="Binary:UINT32_ARRAY"/> 34 <IntegerParameter Name="INT16_ARRAY" Size="16" Signed="true" ArrayLength="5" Min="-50" Max="50" Mapping="Binary:INT16_ARRAY_signed"/> 35 <IntegerParameter Name="UINT8_ARRAY" Size="8" Signed="false" ArrayLength="5" Min="0" Max="15" Mapping="Binary:UINT8_ARRAY"/> 36 <IntegerParameter Name="UINT8_Max_ARRAY" Size="8" Signed="false" ArrayLength="5" Min="0" Max="255" Mapping="Binary:UINT8_Max_ARRAY"/> 37 <!-- Tested String--> 38 <StringParameter Name="STR_CHAR128" MaxLength="128" Mapping="String:STRING"/> 39 </ComponentType> 40 <ComponentType Name="TEST_DOMAIN_0"> 41 <IntegerParameter Name="Param_00" Size="16" Signed="false" Mapping="Binary:Param_00"/> 42 <IntegerParameter Name="Param_01" Size="16" Signed="false" Mapping="Binary:Param_01"/> 43 <IntegerParameter Name="Param_02" Size="16" Signed="false" Mapping="Binary:Param_02"/> 44 </ComponentType> 45 <ComponentType Name="TEST_DOMAIN_1"> 46 <IntegerParameter Name="Param_10" Size="16" Signed="false" Mapping="Binary:Param_10"/> 47 <IntegerParameter Name="Param_11" Size="16" Signed="false" Mapping="Binary:Param_11"/> 48 <IntegerParameter Name="Param_12" Size="16" Signed="false" Mapping="Binary:Param_12"/> 49 </ComponentType> 50 <ComponentType Name="TEST_TYPES"> 51 <!-- Tested Enum --> 52 <EnumParameter Name="ENUM" Size="8" Mapping="Binary:ENUM"> 53 <ValuePair Literal="ENUM_MIN" Numerical="-128"/> 54 <ValuePair Literal="ENUM_MAX" Numerical="127"/> 55 <ValuePair Literal="ENUM_NOMINAL" Numerical="5"/> 56 <ValuePair Literal="ENUM_OOB" Numerical="255"/> 57 <ValuePair Literal="ENUM_OOS" Numerical="256"/> 58 </EnumParameter> 59 <BitParameterBlock Name="BLOCK_8BIT" Size="8" Mapping="Binary:BLOCK_8BIT"> 60 <BitParameter Name="BIT_0_3" Size="3" Pos="0"/> 61 <BitParameter Name="BIT_3_1" Size="1" Pos="3"/> 62 <BitParameter Name="BIT_4_1" Size="1" Pos="4"/> 63 <BitParameter Name="BIT_6_2" Size="2" Pos="6"/> 64 <BitParameter Name="BIT_7_1" Size="1" Pos="7"/> 65 </BitParameterBlock> 66 <ParameterBlock Name="BLOCK_PARAMETER"> 67 <IntegerParameter Name="BLOCK_UINT8" Size="8" Signed="false" Mapping="Binary:BLOCK_UINT8"/> 68 <IntegerParameter Name="BLOCK_UINT16" Size="16" Signed="false" Mapping="Binary:BLOCK_UINT16"/> 69 <IntegerParameter Name="BLOCK_UINT32" Size="32" Signed="false" Mapping="Binary:BLOCK_UINT32"/> 70 </ParameterBlock> 71 </ComponentType> 72 <ComponentType Name="TEST_MAIN"> 73 <Component Name = "TEST_DIR_0" Type="TEST_DIR"/> 74 <Component Name = "TEST_DIR_1" Type="TEST_DOMAIN_0"/> 75 <Component Name = "TEST_DIR_2" Type="TEST_DOMAIN_1"/> 76 </ComponentType> 77 </ComponentLibrary> 78 <InstanceDefinition> 79 <Component Name="TEST_DIR" Type="TEST_DIR" Mapping="Directory:@PFW_RESULT@"/> 80 <Component Name="TEST_DOMAIN_0" Type="TEST_DOMAIN_0" Mapping="Directory:@PFW_RESULT@"/> 81 <Component Name="TEST_DOMAIN_1" Type="TEST_DOMAIN_1" Mapping="Directory:@PFW_RESULT@"/> 82 <Component Name="TEST_TYPES" Type="TEST_TYPES" Mapping="Directory:@PFW_RESULT@"/> 83 <Component Name="TEST_MAIN" Type="TEST_MAIN" Mapping="Directory:@PFW_RESULT@"/> 84 </InstanceDefinition> 85</Subsystem> 86