blob: ab906672e5fc06e65cbe2f255bdd2440ae95cb4a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
<blocks>
<!--Template-->
<block sim="string" xcos="string" description="string">
<!--Zero or more repetitions:-->
<string sim="string" xcos="string" description="string">
<!--1 or more repetitions:-->
<parMap simVal="string" xcosVal="string"/>
</string>
<!--Zero or more repetitions:-->
<integer sim="string" xcos="string" description="string">
<!--1 or more repetitions:-->
<parMap simVal="100" xcosVal="100"/>
</integer>
<!--Zero or more repetitions:-->
<simple sim="string" xcos="string" description="string"/>
</block>
<!-- Constant Block Compatibility Pattern -->
<block sim="Constant" xcos="CONST_m" description="no description">
<simple sim="Value" xcos="Constant" description="no description"/>
</block>
<!--Absolute Value Block Compatibility Pattern:-->
<block sim="Abs" xcos="ABSOLUTE_VALUE" description="
SampleTime - in xcos always inherited;
OutMax - output limiter not available;
OutDataTypeStr - always inherited(?);
RndMeth - rounding mode not available(?);
SaturateOnIntegerOverflow - always saturated(?);
">
<string sim="ZeroCross" xcos="zero_crossing" description="Enable zero-crossing detection">
<!--FIXME: here it should be string to int mapping-->
<parMap simVal="off" xcosVal="0"/>
<parMap simVal="yes" xcosVal="1"/>
</string>
</block>
</blocks>
|