1 <?xml version="1.0" encoding="UTF-8"?>
3 xmlns="http://www.tik.ee.ethz.ch/~shapes/schema/PROCESSNETWORK"
4 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5 xsi:schemaLocation="http://www.tik.ee.ethz.ch/~shapes/schema/PROCESSNETWORK
6 http://www.tik.ee.ethz.ch/~shapes/schema/processnetwork.xsd" name="example1">
9 <process name="generator">
10 <port type="output" name="1"/>
11 <source type="c" location="generator.c"/>
14 <process name="consumer">
15 <port type="input" name="1"/>
16 <source type="c" location="consumer.c"/>
19 <process name="square">
20 <port type="input" name="1"/>
21 <port type="output" name="2"/>
22 <source type="c" location="square.c"/>
26 <sw_channel type="fifo" size="10" name="C1">
27 <port type="input" name="0"/>
28 <port type="output" name="1"/>
31 <sw_channel type="fifo" size="10" name="C2">
32 <port type="input" name="0"/>
33 <port type="output" name="1"/>
37 <connection name="g-c">
38 <origin name="generator">
46 <connection name="c-c">
50 <target name="consumer">
55 <connection name="s-c">
56 <origin name="square">
64 <connection name="c-s">
68 <target name="square">