<?xml version="1.0" encoding="UTF-8"?>
<net name="diff_in" type="iopt-flow">
  <signal id="I_P" x="70" y="70" mode="input" type="boolean" min="0" max="1"/>
  <signal id="I_N" x="95" y="85" mode="input" type="boolean" min="0" max="1"/>
  <signal id="O" x="310" y="85" mode="output" type="boolean" min="0" max="1" dynamic="type" frac="0"/>
  <operation id="o4" x="215" y="85" rot="0" shape="arrow" size="32">
    <name off_x="-10" off_y="5" text="o4"/>
    <input off_x="-32" off_y="-16" name="IP" id="o4.IP" type="boolean" min="0" max="1" frac="0"/>
    <input off_x="-32" off_y="0" name="IN" id="o4.IN" type="boolean" min="0" max="1" frac="0"/>
    <input off_x="-32" off_y="16" name="OUT" id="o4.OUT" type="boolean" min="0" max="1" frac="0"/>
    <output off_x="32" off_y="0" name="out" id="o4.out" type="boolean" min="0" max="1" frac="0">
      <expression>
        <operand type="signal" idRef="IP"/>
        <operator type="when"/>
        <operand type="sub-expression">
          <operand type="signal" idRef="IP"/>
          <operator type="diff"/>
          <operand type="signal" idRef="IN"/>
        </operand>
        <text>IP WHEN (IP &lt;&gt; IN)</text>
      </expression>
      <expression>
        <operand type="signal" idRef="OUT" delay="1"/>
        <text>OUT[-1]</text>
      </expression>
    </output>
  </operation>
  <arc id="a5" type="read" source="I_P" target="o4.IP"/>
  <arc id="a6" type="read" source="I_N" target="o4.IN"/>
  <arc id="a7" type="read" source="o4.out" target="O"/>
  <arc id="a8" type="read" source="o4.out" target="o4.OUT" view="symbolic"/>
</net>
