This is a still just a stub!

this testbench is designed to test the process of a zuse23 simulation. To run
this experiment successfully you need to apply the faum-xml2c script on an xml
that defines 4 extern ports and put the output into the comps folder.

(this example works:

-
 \
    OR -
 /      \
-	  AND -
 \      /
    OR -
 /
-
)

in XML:

<plan>
    <generics>
    </generics>
    <ports>
	<port id="port_1" seq="1">
	    <inout id="inout"/>
	    <signal id="sig_0"/>
	    <line x0="10" y0="10" x1="20" y1="10"/>
	    <text string="P1" x="12" y="9" align="0" angle="0"/>
	</port>
	<port id="port_2" seq="1">
	    <inout id="inout"/>
	    <signal id="sig_1"/>
	    <line x0="10" y0="30" x1="20" y1="30"/>
	    <text string="P2" x="12" y="29" align="0" angle="0"/>
	</port>
	<port id="port_3" seq="1">
	    <inout id="inout"/>
	    <signal id="sig_2"/>
	    <line x0="10" y0="50" x1="20" y1="50"/>
	    <text string="P3" x="12" y="49" align="0" angle="0"/>
	</port>
	<port id="port_4" seq="1">
	    <inout id="inout"/>
	    <signal id="sig_5"/>
	    <line x0="150" y0="30" x1="160" y1="30"/>
	    <text string="P4" x="152" y="29" align="0" angle="0"/>
	</port>
    </ports>
    <signals>
	<signal id="sig_0">
	    <type id="sig_0"/>
	    <name id="sig_0"/>
	    <line x0="20" y0="10" x1="50" y1="20"/>
	    <text string="S0" x="22" y="12" align="0" angle="0"/>
	</signal>
	<signal id="sig_1">
	    <type id="sig_1"/>
	    <name id="sig_1"/>
	    <line x0="20" y0="30" x1="50" y1="20"/>
	    <line x0="20" y0="30" x1="50" y1="40"/>
	    <text string="S1" x="22" y="28" align="0" angle="0"/>
	    <text string="S1" x="22" y="32" align="0" angle="0"/>
	</signal>
	<signal id="sig_2">
	    <type id="sig_2"/>
	    <name id="sig_2"/>
	    <line x0="20" y0="50" x1="50" y1="40"/>
	    <text string="S2" x="22" y="48" align="0" angle="0"/>
	</signal>
	<signal id="sig_3">
	    <type id="sig_3"/>
	    <name id="sig_3"/>
	    <line x0="70" y0="20" x1="100" y1="30"/>
	    <text string="S3" x="72" y="22" align="0" angle="0"/>
	</signal>
	<signal id="sig_4">
	    <type id="sig_4"/>
	    <name id="sig_4"/>
	    <line x0="70" y0="40" x1="100" y1="30"/>
	    <text string="S4" x="72" y="38" align="0" angle="0"/>
	</signal>
	<signal id="sig_5">
	    <type id="sig_5"/>
	    <name id="sig_5"/>
	    <line x0="120" y0="30" x1="150" y1="30"/>
	    <text string="S5" x="32" y="32" align="0" angle="0"/>
	</signal>
	<signal id="dummy1">
	    <type id="dummy1"/>
	    <name id="dummy1"/>
	</signal>
    </signals>
    <comps>
	<comp id="or01">
	    <type id="zuse_or_test"/>
	    <port id="00" seq="0">
		<inout id="in"/>
		<signal id="sig_0"/>
	    </port>
	    <port id="01" seq="0">
		<inout id="in"/>
		<signal id="sig_1"/>
	    </port>
	    <port id="02" seq="0">
		<inout id="out"/>
		<signal id="sig_3"/>
	    </port>
	    <port id="dummypin" seq="0">
		<inout id="in"/>
		<signal id="dummy1"/>
	    </port>
	</comp>
	<comp id="or02">
	    <type id="zuse_or_test"/>
	    <port id="00" seq="0">
		<inout id="in"/>
		<signal id="sig_1"/>
	    </port>
	    <port id="01" seq="0">
		<inout id="in"/>
		<signal id="sig_2"/>
	    </port>
	    <port id="02" seq="0">
		<inout id="out"/>
		<signal id="sig_4"/>
	    </port>
	    <port id="dummypin" seq="0">
		<inout id="in"/>
		<signal id="dummy1"/>
	    </port>
	</comp>
	<comp id="zuse_and01">
	    <type id="zuse_and_test"/>
	    <port id="00" seq="0">
		<inout id="in"/>
		<signal id="sig_3"/>
	    </port>
	    <port id="01" seq="0">
		<inout id="in"/>
		<signal id="sig_4"/>
	    </port>
	    <port id="02" seq="0">
		<inout id="out"/>
		<signal id="sig_5"/>
	    </port>
	    <port id="dummypin" seq="0">
		<inout id="in"/>
		<signal id="dummy1"/>
	    </port>
	</comp>
    </comps>
</plan>
