Root/Software/sie_cg/adc_test.sie

1<!--
2File for SIE Code Generator.
3**WARNING**If you are going to edit this file note that:
4In order to segmentation faults prevention the load process
5is started loading the libraries, then items and finally arrows.
6Arrows depend of items, and items depend of libraries!!!!
7-->
8<Diagram>
9    <Libraries>
10        <Library Dir="block_editor/timer.die"/>
11        <Library Dir="block_editor/adc_single.die"/>
12        <Library Dir="block_editor/framebuffer_line.die"/>
13        <Library Dir="block_editor/framebuffer_drawline.die"/>
14        <Library Dir="block_editor/framebuffer_put_int.die"/>
15        <Library Dir="block_editor/printf_int.die"/>
16        <Library Dir="block_editor/left_shift.die"/>
17        <Library Dir="block_editor/right_shift.die"/>
18        <Library Dir="block_editor/pwm_single.die"/>
19        <Library Dir="block_editor/constant.die"/>
20        <Library Dir="block_editor/constant_bool.die"/>
21        <Library Dir="block_editor/while.die"/>
22    </Libraries>
23    <Options templateDir="templates/basic" workDir="tmp" executableFile="SIE_APP" configApp="xc3sprog $FPGA_BINARY" sieWorkDir="/tmp/CG" fpgaFile="templates/basic/basic.bit" templateFile="main.cpp" makeFile="Makefile" mipsToolChainDir="/home/juan64bits/ebd/ECB/openwrt-xburst/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.32/usr/bin" mipsToolChain="mipsel-openwrt-linux" sieIP="192.168.254.101"/>
24    <DiagramItems>
25        <DiagramItem x="2480" y="2650" z="500" type="FB Put Int" ID="9" color="#a0a0a4">
26            <diagramValues>
27                <diagramValue value="2" ID="7"/>
28                <diagramValue value="16" ID="3"/>
29                <diagramValue value="32" ID="5"/>
30            </diagramValues>
31        </DiagramItem>
32        <DiagramItem x="2670" y="2590" z="500" type="FB Draw HLine" ID="3" color="#a0a0a4">
33            <diagramValues>
34                <diagramValue value="64" ID="1"/>
35                <diagramValue value="16" ID="2"/>
36                <diagramValue value="255" ID="7"/>
37                <diagramValue value="24" ID="9"/>
38                <diagramValue value="4" ID="5"/>
39            </diagramValues>
40        </DiagramItem>
41        <DiagramItem x="2650" y="2330" z="500" type="FB Print Line" ID="2" color="#a0a0a4">
42            <diagramValues>
43                <diagramValue value="1" ID="9"/>
44                <diagramValue value="0" ID="7"/>
45                <diagramValue value="160" ID="5"/>
46                <diagramValue value="1" ID="3"/>
47                <diagramValue value="Wellcome to SIE {Executing Code...}" ID="1"/>
48            </diagramValues>
49        </DiagramItem>
50        <DiagramItem x="2190" y="2340" z="500" type="Constant Bool" ID="1" color="#a0a0a4">
51            <diagramValues>
52                <diagramValue value="1" ID="1"/>
53            </diagramValues>
54        </DiagramItem>
55        <DiagramItem x="2370" y="2320" z="500" type="System While" ID="5" color="#a0a0a4">
56            <diagramValues/>
57        </DiagramItem>
58        <DiagramItem x="2210" y="2600" z="500" type="ADC Single" ID="0" color="#a0a0a4">
59            <diagramValues>
60                <diagramValue value="0" ID="0"/>
61                <diagramValue value="255" ID="4"/>
62            </diagramValues>
63        </DiagramItem>
64        <DiagramItem x="2440" y="2580" z="500" type="Right Shift" ID="8" color="#a0a0a4">
65            <diagramValues>
66                <diagramValue value="2" ID="11"/>
67            </diagramValues>
68        </DiagramItem>
69        <DiagramItem x="2510" y="2550" z="500" type="Printf Int" ID="7" color="#a0a0a4">
70            <diagramValues>
71                <diagramValue value="&quot;[%04X]&quot;" ID="0"/>
72            </diagramValues>
73        </DiagramItem>
74        <DiagramItem x="2650" y="2400" z="500" type="FB Print Line" ID="10" color="#a0a0a4">
75            <diagramValues>
76                <diagramValue value="3" ID="9"/>
77                <diagramValue value="16" ID="7"/>
78                <diagramValue value="0" ID="5"/>
79                <diagramValue value="0" ID="3"/>
80                <diagramValue value="CHA [0]" ID="1"/>
81            </diagramValues>
82        </DiagramItem>
83    </DiagramItems>
84    <Arrows>
85        <Arrow end-ID="1" end-Owner="9" start-x="110" start-y="-10" start-Owner="0" ID="0" start-ID="2" end-x="-100" end-y="0" color="#000000">
86            <arrowCorners>
87                <arrowCorner x="2349.5" y="2589.5"/>
88                <arrowCorner x="2349.5" y="2649.5"/>
89            </arrowCorners>
90        </Arrow>
91        <Arrow end-ID="0" end-Owner="8" start-x="110" start-y="-10" start-Owner="0" ID="1" start-ID="2" end-x="-60" end-y="10" color="#000000"/>
92        <Arrow end-ID="3" end-Owner="7" start-x="110" start-y="-10" start-Owner="0" ID="2" start-ID="2" end-x="-130" end-y="-10" color="#000000">
93            <arrowCorners>
94                <arrowCorner x="2349" y="2589"/>
95                <arrowCorner x="2349" y="2539"/>
96            </arrowCorners>
97        </Arrow>
98        <Arrow end-ID="3" end-Owner="3" start-x="70" start-y="10" start-Owner="8" ID="3" start-ID="1" end-x="-80" end-y="0" color="#000000"/>
99        <Arrow end-ID="6" end-Owner="5" start-x="100" start-y="0" start-Owner="1" ID="4" start-ID="3" end-x="-50" end-y="20" color="#000000"/>
100    </Arrows>
101    <TextItems>
102        <TextItem x="2130" Family="Times New Roman" y="2240" Bold="1" PointSize="26" Text="Basic Example:" Italic="1" Underline="0" Color="#000000"/>
103        <TextItem x="2150" Family="Chancery Uralic" y="2450" Bold="0" PointSize="24" Text="Hello world!!!" Italic="0" Underline="0" Color="#000000"/>
104    </TextItems>
105</Diagram>
106

Archive Download this file

Branches:
master



interactive