<?xml version="1.0"?>
<net name="bust_test" type="iopt-flow">
  <operation id="o001" x="385" y="260" rot="0" shape="arrow" size="72" locked="true">
    <name off_x="-67" off_y="-72" text="MergeBus8"/>
    <input off_x="-72" off_y="-56" name="s004" id="o001.s004" type="boolean" min="0" max="1" dynamic="name" frac="0"/>
    <input off_x="-72" off_y="-40" name="s006" id="o001.s006" type="boolean" min="0" max="1" dynamic="name" frac="0"/>
    <input off_x="-72" off_y="-24" name="s007" id="o001.s007" type="boolean" min="0" max="1" dynamic="name" frac="0"/>
    <input off_x="-72" off_y="-8" name="s008" id="o001.s008" type="boolean" min="0" max="1" dynamic="name" frac="0"/>
    <input off_x="-72" off_y="8" name="s009" id="o001.s009" type="boolean" min="0" max="1" dynamic="name" frac="0"/>
    <input off_x="-72" off_y="24" name="s010" id="o001.s010" type="boolean" min="0" max="1" dynamic="name" frac="0"/>
    <input off_x="-72" off_y="40" name="s011" id="o001.s011" type="boolean" min="0" max="1" dynamic="name" frac="0"/>
    <input off_x="-72" off_y="56" name="s012" id="o001.s012" 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="s004"/>
        <operator type="add"/>
        <operand type="literal" value="2"/>
        <operator type="mul"/>
        <operand type="signal" idRef="s006"/>
        <operator type="add"/>
        <operand type="literal" value="4"/>
        <operator type="mul"/>
        <operand type="signal" idRef="s007"/>
        <operator type="add"/>
        <operand type="literal" value="8"/>
        <operator type="mul"/>
        <operand type="signal" idRef="s008"/>
        <operator type="add"/>
        <operand type="literal" value="16"/>
        <operator type="mul"/>
        <operand type="signal" idRef="s009"/>
        <operator type="add"/>
        <operand type="literal" value="32"/>
        <operator type="mul"/>
        <operand type="signal" idRef="s010"/>
        <operator type="add"/>
        <operand type="literal" value="64"/>
        <operator type="mul"/>
        <operand type="signal" idRef="s011"/>
        <operator type="add"/>
        <operand type="literal" value="128"/>
        <operator type="mul"/>
        <operand type="signal" idRef="s012"/>
        <text>s004 + 2 * s006 + 4 * s007 + 8 * s008 + 16 * s009 + 32 * s010 + 64 * s011 + 128 * s012</text>
      </expression>
    </output>
  </operation>
  <operation id="o002" x="745" y="265" rot="0" shape="rect" size="116" locked="true">
    <name off_x="-81" off_y="-116" text="BusSplit8"/>
    <input off_x="-116" off_y="0" name="MergeBus8" id="o002.MergeBus8" type="range" min="0" max="255" dynamic="name" frac="0"/>
    <output off_x="115" off_y="-75" name="O1" id="o002.O1" type="boolean" min="0" max="1" frac="0">
      <expression>
        <operand type="signal" idRef="MergeBus8"/>
        <operator type="andb"/>
        <operand type="literal" value="01" base="16"/>
        <text>MergeBus8 ANDB 0x01</text>
      </expression>
    </output>
    <output name="O2" id="o002.O2" type="boolean" min="0" max="1" frac="0" off_x="115" off_y="-55">
      <expression>
        <operand type="signal" idRef="MergeBus8"/>
        <operator type="andb"/>
        <operand type="literal" value="02" base="16"/>
        <text>MergeBus8 ANDB 0x02</text>
      </expression>
    </output>
    <output name="O3" id="o002.O3" type="boolean" min="0" max="1" frac="0" off_x="115" off_y="-35">
      <expression>
        <operand type="signal" idRef="MergeBus8"/>
        <operator type="andb"/>
        <operand type="literal" value="04" base="16"/>
        <text>MergeBus8 ANDB 0x04</text>
      </expression>
    </output>
    <output name="O4" id="o002.O4" type="boolean" min="0" max="1" frac="0" off_x="115" off_y="-15">
      <expression>
        <operand type="signal" idRef="MergeBus8"/>
        <operator type="andb"/>
        <operand type="literal" value="08" base="16"/>
        <text>MergeBus8 ANDB 0x08</text>
      </expression>
    </output>
    <output name="O5" id="o002.O5" type="boolean" min="0" max="1" frac="0" off_x="115" off_y="5">
      <expression>
        <operand type="signal" idRef="MergeBus8"/>
        <operator type="andb"/>
        <operand type="literal" value="10" base="16"/>
        <text>MergeBus8 ANDB 0x10</text>
      </expression>
    </output>
    <output name="O6" id="o002.O6" type="boolean" min="0" max="1" frac="0" off_x="115" off_y="25">
      <expression>
        <operand type="signal" idRef="MergeBus8"/>
        <operator type="andb"/>
        <operand type="literal" value="20" base="16"/>
        <text>MergeBus8 ANDB 0x20</text>
      </expression>
    </output>
    <output name="O7" id="o002.O7" type="boolean" min="0" max="1" frac="0" off_x="115" off_y="45">
      <expression>
        <operand type="signal" idRef="MergeBus8"/>
        <operator type="andb"/>
        <operand type="literal" value="40" base="16"/>
        <text>MergeBus8 ANDB 0x40</text>
      </expression>
    </output>
    <output name="O8" id="o002.O8" type="boolean" min="0" max="1" frac="0" off_x="115" off_y="65">
      <expression>
        <operand type="signal" idRef="MergeBus8"/>
        <operator type="andb"/>
        <operand type="literal" value="80" base="16"/>
        <text>MergeBus8 ANDB 0x80</text>
      </expression>
    </output>
  </operation>
  <arc id="a003" type="read" source="o001.out" target="o002.MergeBus8"/>
  <signal id="s004" x="75" y="135" mode="input" type="boolean" min="0" max="1"/>
  <arc id="a005" type="read" source="s004" target="o001.s004"/>
  <signal id="s006" x="75" y="170" mode="input" type="boolean" min="0" max="1"/>
  <signal id="s007" x="70" y="205" mode="input" type="boolean" min="0" max="1"/>
  <signal id="s008" x="70" y="240" mode="input" type="boolean" min="0" max="1"/>
  <signal id="s009" x="70" y="275" mode="input" type="boolean" min="0" max="1"/>
  <signal id="s010" x="70" y="310" mode="input" type="boolean" min="0" max="1"/>
  <signal id="s011" x="70" y="345" mode="input" type="boolean" min="0" max="1"/>
  <signal id="s012" x="70" y="375" mode="input" type="boolean" min="0" max="1"/>
  <arc id="a013" type="read" source="s006" target="o001.s006"/>
  <arc id="a014" type="read" source="s007" target="o001.s007"/>
  <arc id="a015" type="read" source="s008" target="o001.s008"/>
  <arc id="a016" type="read" source="s009" target="o001.s009"/>
  <arc id="a017" type="read" source="s010" target="o001.s010"/>
  <arc id="a018" type="read" source="s011" target="o001.s011"/>
  <arc id="a019" type="read" source="s012" target="o001.s012"/>
</net>
