<?xml version="1.0" encoding="utf-8"?>
<circuit>
  <version>1</version>
  <attributes/>
  <visualElements>
    <visualElement>
      <elementName>NFET</elementName>
      <elementAttributes/>
      <pos x="500" y="180"/>
    </visualElement>
    <visualElement>
      <elementName>In</elementName>
      <elementAttributes>
        <entry>
          <string>rotation</string>
          <rotation rotation="3"/>
        </entry>
        <entry>
          <string>Label</string>
          <string>D</string>
        </entry>
        <entry>
          <string>isHighZ</string>
          <boolean>true</boolean>
        </entry>
      </elementAttributes>
      <pos x="500" y="120"/>
    </visualElement>
    <visualElement>
      <elementName>Out</elementName>
      <elementAttributes>
        <entry>
          <string>rotation</string>
          <rotation rotation="1"/>
        </entry>
        <entry>
          <string>Label</string>
          <string>d</string>
        </entry>
      </elementAttributes>
      <pos x="540" y="120"/>
    </visualElement>
    <visualElement>
      <elementName>In</elementName>
      <elementAttributes>
        <entry>
          <string>rotation</string>
          <rotation rotation="1"/>
        </entry>
        <entry>
          <string>Label</string>
          <string>S</string>
        </entry>
        <entry>
          <string>isHighZ</string>
          <boolean>true</boolean>
        </entry>
      </elementAttributes>
      <pos x="500" y="280"/>
    </visualElement>
    <visualElement>
      <elementName>Out</elementName>
      <elementAttributes>
        <entry>
          <string>rotation</string>
          <rotation rotation="3"/>
        </entry>
        <entry>
          <string>Label</string>
          <string>s</string>
        </entry>
      </elementAttributes>
      <pos x="540" y="280"/>
    </visualElement>
    <visualElement>
      <elementName>In</elementName>
      <elementAttributes>
        <entry>
          <string>Label</string>
          <string>G</string>
        </entry>
      </elementAttributes>
      <pos x="460" y="220"/>
    </visualElement>
    <visualElement>
      <elementName>Testcase</elementName>
      <elementAttributes>
        <entry>
          <string>Testdata</string>
          <testData>
            <dataString>S D G s d
1 z 0 1 z
z 1 0 z 1
1 z z 1 z
z 1 z z 1
1 z 1 1 1
z 1 1 1 1
0 z 1 0 0
z 0 1 0 0



# transitions
1 Z 0 1 Z
Z 1 0 Z 1
1 Z 0 1 Z
1 Z Z 1 Z
1 Z 0 1 Z
Z 1 Z Z 1
1 Z 0 1 Z
1 Z 1 1 1
1 Z 0 1 Z
Z 1 1 1 1
1 Z 0 1 Z
0 Z 1 0 0
1 Z 0 1 Z
Z 0 1 0 0
1 Z 0 1 Z
Z 1 0 Z 1
1 Z Z 1 Z
Z 1 0 Z 1
Z 1 Z Z 1
Z 1 0 Z 1
1 Z 1 1 1
Z 1 0 Z 1
Z 1 1 1 1
Z 1 0 Z 1
0 Z 1 0 0
Z 1 0 Z 1
Z 0 1 0 0
Z 1 0 Z 1
1 Z Z 1 Z
Z 1 Z Z 1
1 Z Z 1 Z
1 Z 1 1 1
1 Z Z 1 Z
Z 1 1 1 1
1 Z Z 1 Z
0 Z 1 0 0
1 Z Z 1 Z
Z 0 1 0 0
1 Z Z 1 Z
Z 1 Z Z 1
1 Z 1 1 1
Z 1 Z Z 1
Z 1 1 1 1
Z 1 Z Z 1
0 Z 1 0 0
Z 1 Z Z 1
Z 0 1 0 0
Z 1 Z Z 1
1 Z 1 1 1
Z 1 1 1 1
1 Z 1 1 1
0 Z 1 0 0
1 Z 1 1 1
Z 0 1 0 0
1 Z 1 1 1
Z 1 1 1 1
0 Z 1 0 0
Z 1 1 1 1
Z 0 1 0 0
Z 1 1 1 1
0 Z 1 0 0
Z 0 1 0 0
0 Z 1 0 0
</dataString>
          </testData>
        </entry>
      </elementAttributes>
      <pos x="640" y="240"/>
    </visualElement>
  </visualElements>
  <wires>
    <wire>
      <p1 x="500" y="140"/>
      <p2 x="500" y="120"/>
    </wire>
    <wire>
      <p1 x="500" y="280"/>
      <p2 x="500" y="260"/>
    </wire>
    <wire>
      <p1 x="520" y="180"/>
      <p2 x="520" y="140"/>
    </wire>
    <wire>
      <p1 x="520" y="260"/>
      <p2 x="520" y="220"/>
    </wire>
    <wire>
      <p1 x="540" y="140"/>
      <p2 x="540" y="120"/>
    </wire>
    <wire>
      <p1 x="540" y="280"/>
      <p2 x="540" y="260"/>
    </wire>
    <wire>
      <p1 x="500" y="260"/>
      <p2 x="520" y="260"/>
    </wire>
    <wire>
      <p1 x="520" y="260"/>
      <p2 x="540" y="260"/>
    </wire>
    <wire>
      <p1 x="500" y="140"/>
      <p2 x="520" y="140"/>
    </wire>
    <wire>
      <p1 x="520" y="140"/>
      <p2 x="540" y="140"/>
    </wire>
    <wire>
      <p1 x="460" y="220"/>
      <p2 x="500" y="220"/>
    </wire>
  </wires>
</circuit>