<?xml version="1.0" encoding="UTF-8"?>
<net name="uart_test" type="iopt-flow">
  <operation id="o1" x="95" y="145" constant="434" rot="0" shape="rect" size="20" locked="true">
    <name off_x="-15" off_y="-5" text="434"/>
    <output off_x="20" off_y="0" name="K" id="o1.K" type="range" min="434" max="434" dynamic="none" microstep="0" nano-step="1">
      <expression>
        <text>434</text>
        <operand type="literal" value="434"/>
      </expression>
    </output>
  </operation>
  <arc id="a2" type="read" source="o1.K" target="c1.ClkDiv"/>
  <component id="c1" class="local/UART_8N1.xml" x="220" y="115" width="130" height="100" rot="0" implementation="iopt-flow" target="default">
    <name off_x="-65" off_y="-55" text="UART_8N1"/>
    <source_model file="files/UART_8N1.xml"/>
    <input id="c1.Send" name="Send" type="event" off_x="-65" off_y="-30" microstep="0" nano-step="3"/>
    <input id="c1.DataIn" name="DataIn" off_x="-65" off_y="-10" type="range" min="0" max="255" microstep="2" nano-step="4"/>
    <input id="c1.RxD" name="RxD" off_x="-65" off_y="10" type="boolean" microstep="0" nano-step="1"/>
    <input id="c1.ClkDiv" name="ClkDiv" off_x="-65" off_y="30" type="range" min="4" max="65535" microstep="0" nano-step="1"/>
    <output id="c1.Recv" name="Recv" type="event" off_x="65" off_y="-30" microstep="0" nano-step="2"/>
    <output id="c1.RTS" name="RTS" off_x="65" off_y="-10" type="boolean" microstep="0" nano-step="1"/>
    <output id="c1.TxD" name="TxD" off_x="65" off_y="10" type="boolean" microstep="2" nano-step="8"/>
    <output id="c1.DataOut" name="DataOut" off_x="65" off_y="30" type="range" min="0" max="255" microstep="2" nano-step="3"/>
  </component>
  <signal id="RX" x="50" y="125" mode="input" type="boolean" min="0" max="1" microstep="0" nano-step="0"/>
  <signal id="TX" x="340" y="125" mode="output" type="boolean" dynamic="type" microstep="2" nano-step="9"/>
  <arc id="a3" type="read" source="RX" target="c1.RxD"/>
  <arc id="a4" type="read" source="c1.TxD" target="TX"/>
  <signal id="Rcv" x="340" y="85" mode="output" type="event" dynamic="type" microstep="0" nano-step="2"/>
  <signal id="Rts" x="375" y="105" mode="output" type="boolean" dynamic="type" microstep="0" nano-step="2"/>
  <arc id="a12" type="read" source="c1.RTS" target="Rts"/>
  <arc id="a13" type="read" source="c1.Recv" target="Rcv"/>
  <operation id="o6" x="85" y="65" rot="0" shape="arrow" size="16">
    <name off_x="-11" off_y="-16" text="o6"/>
    <input off_x="-16" off_y="0" name="Recv" id="o6.Recv" type="event" dynamic="all"/>
    <output off_x="16" off_y="0" name="out" id="o6.out" type="event" min="0" max="1" dynamic="none" frac="0">
      <expression>
        <operand type="signal" idRef="Recv" delay="1"/>
        <text>Recv[-1]</text>
      </expression>
    </output>
  </operation>
  <arc id="a7" type="read" source="c1.Recv" target="o6.Recv" view="symbolic"/>
  <arc id="a9" type="read" source="o6.out" target="c1.Send"/>
  <operation id="o10" x="90" y="100" rot="0" shape="arrow" size="16">
    <name off_x="-11" off_y="-16" text="o10"/>
    <input off_x="-16" off_y="0" name="DataOut" id="o10.DataOut" type="range" min="0" max="255" dynamic="all"/>
    <output off_x="16" off_y="0" name="out" id="o10.out" type="range" min="0" max="255" dynamic="type" frac="0">
      <expression>
        <operand type="signal" idRef="DataOut" delay="1"/>
        <text>DataOut[-1]</text>
      </expression>
    </output>
  </operation>
  <arc id="a11" type="read" source="c1.DataOut" target="o10.DataOut" view="symbolic"/>
  <arc id="a14" type="read" source="o10.out" target="c1.DataIn"/>
</net>
