<?xml version="1.0" encoding="UTF-8"?>
<net name="Data_Receiver_4Phase" type="iopt-flow">
  <place id="p001" x="560" y="165" init_marking="1">
    <name off_x="-10" off_y="-10" text="AllowCom"/>
    <comment off_x="0" off_y="20" text="-"/>
  </place>
  <place id="p003" x="535" y="280" init_marking="0">
    <name off_x="-10" off_y="-10" text="Ack"/>
    <comment off_x="0" off_y="20" text="-"/>
  </place>
  <transition id="t004" x="425" y="165" priority="0">
    <name off_x="-10" off_y="-10" text="t004"/>
    <comment off_x="-10" off_y="20" text="-"/>
  </transition>
  <transition id="t006" x="685" y="165" priority="0">
    <name off_x="-10" off_y="-10" text="t006"/>
    <comment off_x="-10" off_y="20" text="-"/>
  </transition>
  <arc id="a007" type="normal" source="p001" target="t004"/>
  <arc id="a010" type="normal" source="t004" target="p003" c1_x="-5" c1_y="25" c2_x="-50" c2_y="0"/>
  <arc id="a011" type="normal" source="p003" target="t006" c1_x="50" c1_y="0" c2_x="-10" c2_y="35"/>
  <arc id="a012" type="normal" source="t006" target="p001"/>
  <event id="Delay" x="560" y="225" mode="input"/>
  <arc id="a014" type="read" source="Delay" target="t004"/>
  <arc id="a015" type="read" source="Delay" target="t006"/>
  <signal id="Ack" x="575" y="320" mode="output" type="boolean" min="0" max="1" dynamic="none" frac="0" value="0"/>
  <arc id="a017" type="read" source="p003" target="Ack"/>
  <signal id="Req" x="425" y="80" mode="input" type="boolean" min="0" max="1"/>
  <operation id="o019" x="580" y="80" rot="0" shape="arrow" size="16">
    <name off_x="-11" off_y="-16" text="o019"/>
    <input off_x="-16" off_y="0" name="Req" id="o019.Req" type="boolean" min="0" max="1" dynamic="all"/>
    <output off_x="16" off_y="0" name="out" id="o019.out" type="range" min="-32768" max="32767" dynamic="type" frac="0">
      <expression>
        <operand type="signal" idRef="Req" neg="true"/>
        <text>NOT(Req)</text>
      </expression>
    </output>
  </operation>
  <arc id="a020" type="read" source="Req" target="t004"/>
  <arc id="a021" type="read" source="Req" target="o019.Req"/>
  <arc id="a022" type="read" source="o019.out" target="t006" c1_x="24" c1_y="0" c2_x="0" c2_y="-40"/>
  <operation id="o023" x="885" y="90" rot="0" shape="arrow" size="32">
    <name off_x="-27" off_y="-32" text="o023"/>
    <input off_x="-32" off_y="-16" name="t006" id="o023.t006" type="event" dynamic="all"/>
    <input off_x="-32" off_y="0" name="InData" id="o023.InData" type="range" min="0" max="255" dynamic="all" frac="0"/>
    <input off_x="-32" off_y="16" name="InternalData" id="o023.InternalData" type="range" min="0" max="255" dynamic="all" frac="0"/>
    <output off_x="32" off_y="0" name="out" id="o023.out" type="range" min="0" max="255" dynamic="type" frac="0">
      <expression>
        <operand type="signal" idRef="InData"/>
        <operator type="when"/>
        <operand type="signal" idRef="t006"/>
        <text>InData WHEN (t006)</text>
      </expression>
      <expression>
        <operand type="signal" idRef="InternalData" delay="1"/>
        <text>InternalData[-1]</text>
      </expression>
    </output>
  </operation>
  <signal id="InternalData" x="955" y="90" mode="internal" type="range" min="0" max="255" frac="0" value="0" dynamic="none"/>
  <signal id="OutData" x="1020" y="90" mode="output" type="range" min="0" max="255" dynamic="none" frac="0" value="0"/>
  <signal id="InData" x="760" y="90" mode="input" type="range" min="0" max="255" frac="0" value="0" dynamic="none"/>
  <arc id="a027" type="read" source="InData" target="o023.InData"/>
  <arc id="a028" type="read" source="InternalData" target="o023.InternalData" view="symbolic"/>
  <arc id="a029" type="read" source="o023.out" target="InternalData"/>
  <arc id="a030" type="read" source="InternalData" target="OutData"/>
  <signal id="NewData" x="875" y="165" mode="output" type="boolean" min="0" max="1" dynamic="none" frac="0" value="0"/>
  <place id="p038" x="795" y="165" init_marking="0">
    <name off_x="-10" off_y="-10" text="DataReady"/>
    <comment off_x="0" off_y="20" text="-"/>
  </place>
  <transition id="t040" x="795" y="250" priority="0">
    <name off_x="-10" off_y="-10" text="t040"/>
    <comment off_x="-10" off_y="20" text="-"/>
  </transition>
  <arc id="a042" type="read" source="p038" target="NewData"/>
  <arc id="a046" type="normal" source="p038" target="t040"/>
  <event id="Release" x="795" y="335" mode="input"/>
  <arc id="a082" type="read" source="Release" target="t040"/>
  <place id="p089" x="685" y="250" init_marking="1">
    <name off_x="-10" off_y="-10" text="DataReady_cmpl"/>
    <comment off_x="0" off_y="20" text="-"/>
  </place>
  <arc id="a090" type="normal" source="t040" target="p089"/>
  <arc id="a001" type="read" source="t006" target="o023.t006" c2_x="-88" c2_y="-9" c1_x="0" c1_y="0"/>
  <arc id="a002" type="normal" source="t006" target="p038"/>
  <arc id="a003" type="normal" source="p089" target="t006"/>
</net>
