<?xml version="1.0" encoding="UTF-8"?>
<net name="bus_8bits" type="iopt-flow">
  <operation id="o001" x="135" y="105" rot="0" shape="arrow" size="72">
    <name off_x="-67" off_y="-72" text="MergeBus8"/>
    <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>
</net>
