<?xml version="1.0"?>
<net name="bus_16bits" type="iopt-flow">
  <operation id="o001" x="230" y="105" rot="0" shape="arrow" size="72" locked="true">
    <name off_x="-67" off_y="-72" text="MergeBus8_A"/>
    <input off_x="-72" off_y="-56" name="I1" id="o001.I1" type="boolean" min="0" max="1" dynamic="name" frac="0"/>
    <input off_x="-72" off_y="-40" name="I2" id="o001.I2" type="boolean" min="0" max="1" dynamic="name" frac="0"/>
    <input off_x="-72" off_y="-24" name="I3" id="o001.I3" type="boolean" min="0" max="1" dynamic="name" frac="0"/>
    <input off_x="-72" off_y="-8" name="I4" id="o001.I4" type="boolean" min="0" max="1" dynamic="name" frac="0"/>
    <input off_x="-72" off_y="8" name="I5" id="o001.I5" type="boolean" min="0" max="1" dynamic="name" frac="0"/>
    <input off_x="-72" off_y="24" name="I6" id="o001.I6" type="boolean" min="0" max="1" dynamic="name" frac="0"/>
    <input off_x="-72" off_y="40" name="I7" id="o001.I7" type="boolean" min="0" max="1" dynamic="name" frac="0"/>
    <input off_x="-72" off_y="56" name="I8" id="o001.I8" type="boolean" min="0" max="1" dynamic="name" frac="0"/>
    <output off_x="72" off_y="0" name="out" id="o001.out" type="range" min="0" max="255" dynamic="none" frac="0">
      <expression>
        <operand type="signal" idRef="I1"/>
        <operator type="add"/>
        <operand type="literal" value="2"/>
        <operator type="mul"/>
        <operand type="signal" idRef="I2"/>
        <operator type="add"/>
        <operand type="literal" value="4"/>
        <operator type="mul"/>
        <operand type="signal" idRef="I3"/>
        <operator type="add"/>
        <operand type="literal" value="8"/>
        <operator type="mul"/>
        <operand type="signal" idRef="I4"/>
        <operator type="add"/>
        <operand type="literal" value="16"/>
        <operator type="mul"/>
        <operand type="signal" idRef="I5"/>
        <operator type="add"/>
        <operand type="literal" value="32"/>
        <operator type="mul"/>
        <operand type="signal" idRef="I6"/>
        <operator type="add"/>
        <operand type="literal" value="64"/>
        <operator type="mul"/>
        <operand type="signal" idRef="I7"/>
        <operator type="add"/>
        <operand type="literal" value="128"/>
        <operator type="mul"/>
        <operand type="signal" idRef="I8"/>
        <text>I1 + 2 * I2 + 4 * I3 + 8 * I4 + 16 * I5 + 32 * I6 + 64 * I7 + 128 * I8</text>
      </expression>
    </output>
  </operation>
  <operation id="o002" x="230" y="275" rot="0" shape="arrow" size="72" locked="true">
    <name off_x="-67" off_y="-72" text="MergeBus8_B"/>
    <input off_x="-72" off_y="-56" name="I9" id="o002.I9" type="boolean" min="0" max="1" dynamic="name" frac="0"/>
    <input off_x="-72" off_y="-40" name="I10" id="o002.I10" type="boolean" min="0" max="1" dynamic="name" frac="0"/>
    <input off_x="-72" off_y="-24" name="I11" id="o002.I11" type="boolean" min="0" max="1" dynamic="name" frac="0"/>
    <input off_x="-72" off_y="-8" name="I12" id="o002.I12" type="boolean" min="0" max="1" dynamic="name" frac="0"/>
    <input off_x="-72" off_y="8" name="I13" id="o002.I13" type="boolean" min="0" max="1" dynamic="name" frac="0"/>
    <input off_x="-72" off_y="24" name="I14" id="o002.I14" type="boolean" min="0" max="1" dynamic="name" frac="0"/>
    <input off_x="-72" off_y="40" name="I15" id="o002.I15" type="boolean" min="0" max="1" dynamic="name" frac="0"/>
    <input off_x="-72" off_y="56" name="I16" id="o002.I16" type="boolean" min="0" max="1" dynamic="name" frac="0"/>
    <output off_x="72" off_y="0" name="out" id="o002.out" type="range" min="0" max="255" dynamic="none" frac="0">
      <expression>
        <operand type="signal" idRef="I9"/>
        <operator type="add"/>
        <operand type="literal" value="2"/>
        <operator type="mul"/>
        <operand type="signal" idRef="I10"/>
        <operator type="add"/>
        <operand type="literal" value="4"/>
        <operator type="mul"/>
        <operand type="signal" idRef="I11"/>
        <operator type="add"/>
        <operand type="literal" value="8"/>
        <operator type="mul"/>
        <operand type="signal" idRef="I12"/>
        <operator type="add"/>
        <operand type="literal" value="16"/>
        <operator type="mul"/>
        <operand type="signal" idRef="I13"/>
        <operator type="add"/>
        <operand type="literal" value="32"/>
        <operator type="mul"/>
        <operand type="signal" idRef="I14"/>
        <operator type="add"/>
        <operand type="literal" value="64"/>
        <operator type="mul"/>
        <operand type="signal" idRef="I15"/>
        <operator type="add"/>
        <operand type="literal" value="128"/>
        <operator type="mul"/>
        <operand type="signal" idRef="I16"/>
        <text>I9 + 2 * I10 + 4 * I11 + 8 * I12 + 16 * I13 + 32 * I14 + 64 * I15 + 128 * I16</text>
      </expression>
    </output>
  </operation>
  <operation id="o003" x="460" y="180" rot="0" shape="arrow" size="24">
    <name off_x="-19" off_y="-24" text="o003"/>
    <input off_x="-24" off_y="-8" name="MergeBus8" id="o003.MergeBus8" type="range" min="0" max="255" dynamic="all" frac="0"/>
    <input off_x="-24" off_y="8" name="MergeBus8_B" id="o003.MergeBus8_B" type="range" min="0" max="255" dynamic="all" frac="0"/>
    <output off_x="24" off_y="0" name="out" id="o003.out" type="range" min="0" max="65535" dynamic="none" frac="0">
      <expression>
        <operand type="signal" idRef="MergeBus8"/>
        <operator type="add"/>
        <operand type="literal" value="256"/>
        <operator type="mul"/>
        <operand type="signal" idRef="MergeBus8_B"/>
        <text>MergeBus8 + 256 * MergeBus8_B</text>
      </expression>
    </output>
  </operation>
  <arc id="a004" type="read" source="o001.out" target="o003.MergeBus8"/>
  <arc id="a005" type="read" source="o002.out" target="o003.MergeBus8_B"/>
  <signal id="BusOut" x="550" y="180" mode="output" type="range" min="0" max="65535" dynamic="type" frac="0"/>
  <arc id="a007" type="read" source="o003.out" target="BusOut"/>
  <signal id="I1" x="60" y="50" mode="input" type="boolean" min="0" max="1"/>
  <signal id="I4" x="85" y="95" mode="input" type="boolean" min="0" max="1"/>
  <signal id="I3" x="60" y="80" mode="input" type="boolean" min="0" max="1"/>
  <signal id="I5" x="60" y="115" mode="input" type="boolean" min="0" max="1"/>
  <signal id="I6" x="85" y="130" mode="input" type="boolean" min="0" max="1"/>
  <signal id="I8" x="80" y="160" mode="input" type="boolean" min="0" max="1"/>
  <signal id="I2" x="85" y="65" mode="input" type="boolean" min="0" max="1"/>
  <signal id="I7" x="60" y="145" mode="input" type="boolean" min="0" max="1"/>
  <signal id="I9" x="60" y="220" mode="input" type="boolean" min="0" max="1"/>
  <arc id="a017" type="read" source="I1" target="o001.I1"/>
  <arc id="a018" type="read" source="I2" target="o001.I2"/>
  <arc id="a020" type="read" source="I3" target="o001.I3"/>
  <arc id="a021" type="read" source="I4" target="o001.I4"/>
  <arc id="a022" type="read" source="I5" target="o001.I5"/>
  <arc id="a023" type="read" source="I6" target="o001.I6"/>
  <arc id="a024" type="read" source="I7" target="o001.I7"/>
  <arc id="a025" type="read" source="I8" target="o001.I8"/>
  <arc id="a026" type="read" source="I9" target="o002.I9"/>
  <signal id="I12" x="85" y="265" mode="input" type="boolean" min="0" max="1"/>
  <signal id="I11" x="60" y="250" mode="input" type="boolean" min="0" max="1"/>
  <signal id="I13" x="60" y="285" mode="input" type="boolean" min="0" max="1"/>
  <signal id="I14" x="85" y="300" mode="input" type="boolean" min="0" max="1"/>
  <signal id="I16" x="80" y="330" mode="input" type="boolean" min="0" max="1"/>
  <signal id="I10" x="85" y="235" mode="input" type="boolean" min="0" max="1"/>
  <signal id="I15" x="60" y="315" mode="input" type="boolean" min="0" max="1"/>
  <arc id="a034" type="read" source="I10" target="o002.I10"/>
  <arc id="a035" type="read" source="I11" target="o002.I11"/>
  <arc id="a036" type="read" source="I12" target="o002.I12"/>
  <arc id="a037" type="read" source="I13" target="o002.I13"/>
  <arc id="a038" type="read" source="I14" target="o002.I14"/>
  <arc id="a039" type="read" source="I15" target="o002.I15"/>
  <arc id="a040" type="read" source="I16" target="o002.I16"/>
</net>
