<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project source="2.7.1" version="1.0">
This file is intended to be loaded by Logisim (http://www.cburch.com/logisim/).
<lib desc="#Wiring" name="0"/>
  <lib desc="#Gates" name="1"/>
  <lib desc="#Plexers" name="2"/>
  <lib desc="#Arithmetic" name="3"/>
  <lib desc="#Memory" name="4">
    <tool name="ROM">
      <a name="contents">addr/data: 8 8
0
</a>
    </tool>
  </lib>
  <lib desc="#I/O" name="5"/>
  <lib desc="#Base" name="6">
    <tool name="Text Tool">
      <a name="text" val=""/>
      <a name="font" val="SansSerif plain 12"/>
      <a name="halign" val="center"/>
      <a name="valign" val="base"/>
    </tool>
  </lib>
  <main name="SR NAND"/>
  <options>
    <a name="gateUndefined" val="ignore"/>
    <a name="simlimit" val="1000"/>
    <a name="simrand" val="0"/>
  </options>
  <mappings>
    <tool lib="6" map="Button2" name="Menu Tool"/>
    <tool lib="6" map="Button3" name="Menu Tool"/>
    <tool lib="6" map="Ctrl Button1" name="Menu Tool"/>
  </mappings>
  <toolbar>
    <tool lib="6" name="Poke Tool"/>
    <tool lib="6" name="Edit Tool"/>
    <tool lib="6" name="Text Tool">
      <a name="text" val=""/>
      <a name="font" val="SansSerif plain 12"/>
      <a name="halign" val="center"/>
      <a name="valign" val="base"/>
    </tool>
    <sep/>
    <tool lib="0" name="Pin">
      <a name="tristate" val="false"/>
    </tool>
    <tool lib="0" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="labelloc" val="east"/>
    </tool>
    <tool lib="1" name="NOT Gate"/>
    <tool lib="1" name="AND Gate"/>
    <tool lib="1" name="OR Gate"/>
  </toolbar>
  <circuit name="SR NAND">
    <a name="circuit" val="SR NAND"/>
    <a name="clabel" val=""/>
    <a name="clabelup" val="east"/>
    <a name="clabelfont" val="SansSerif plain 12"/>
    <wire from="(150,90)" to="(190,90)"/>
    <wire from="(150,150)" to="(150,180)"/>
    <wire from="(360,70)" to="(410,70)"/>
    <wire from="(250,200)" to="(330,200)"/>
    <wire from="(100,220)" to="(190,220)"/>
    <wire from="(150,90)" to="(150,120)"/>
    <wire from="(330,200)" to="(410,200)"/>
    <wire from="(150,180)" to="(190,180)"/>
    <wire from="(330,120)" to="(330,200)"/>
    <wire from="(360,70)" to="(360,150)"/>
    <wire from="(150,120)" to="(330,120)"/>
    <wire from="(250,70)" to="(360,70)"/>
    <wire from="(100,50)" to="(190,50)"/>
    <wire from="(150,150)" to="(360,150)"/>
    <comp lib="0" loc="(410,200)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="label" val="Q'"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(410,70)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="label" val="Q"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="1" loc="(250,70)" name="NAND Gate">
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="0" loc="(100,50)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="S'"/>
    </comp>
    <comp lib="0" loc="(100,220)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="R'"/>
    </comp>
    <comp lib="1" loc="(250,200)" name="NAND Gate">
      <a name="inputs" val="2"/>
    </comp>
  </circuit>
  <circuit name="SR NOT">
    <a name="circuit" val="SR NOT"/>
    <a name="clabel" val=""/>
    <a name="clabelup" val="east"/>
    <a name="clabelfont" val="SansSerif plain 12"/>
    <wire from="(150,90)" to="(190,90)"/>
    <wire from="(150,150)" to="(150,180)"/>
    <wire from="(360,70)" to="(410,70)"/>
    <wire from="(250,200)" to="(330,200)"/>
    <wire from="(100,220)" to="(190,220)"/>
    <wire from="(150,90)" to="(150,120)"/>
    <wire from="(330,200)" to="(410,200)"/>
    <wire from="(150,180)" to="(190,180)"/>
    <wire from="(330,120)" to="(330,200)"/>
    <wire from="(360,70)" to="(360,150)"/>
    <wire from="(250,70)" to="(360,70)"/>
    <wire from="(150,120)" to="(330,120)"/>
    <wire from="(100,50)" to="(190,50)"/>
    <wire from="(150,150)" to="(360,150)"/>
    <comp lib="1" loc="(250,200)" name="NOR Gate">
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="1" loc="(250,70)" name="NOR Gate">
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="0" loc="(100,220)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="R"/>
    </comp>
    <comp lib="0" loc="(410,70)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="label" val="Q'"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(410,200)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="label" val="Q"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(100,50)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="S"/>
    </comp>
  </circuit>
  <circuit name="D enabled">
    <a name="circuit" val="D enabled"/>
    <a name="clabel" val=""/>
    <a name="clabelup" val="east"/>
    <a name="clabelfont" val="SansSerif plain 12"/>
    <wire from="(220,140)" to="(270,140)"/>
    <wire from="(390,120)" to="(390,170)"/>
    <wire from="(500,230)" to="(530,230)"/>
    <wire from="(500,120)" to="(500,170)"/>
    <wire from="(180,100)" to="(270,100)"/>
    <wire from="(460,170)" to="(500,170)"/>
    <wire from="(180,100)" to="(180,140)"/>
    <wire from="(390,170)" to="(430,170)"/>
    <wire from="(330,120)" to="(390,120)"/>
    <wire from="(390,180)" to="(390,230)"/>
    <wire from="(110,100)" to="(180,100)"/>
    <wire from="(110,250)" to="(220,250)"/>
    <wire from="(460,180)" to="(500,180)"/>
    <wire from="(220,140)" to="(220,250)"/>
    <wire from="(390,180)" to="(430,180)"/>
    <wire from="(180,170)" to="(180,210)"/>
    <wire from="(220,250)" to="(270,250)"/>
    <wire from="(500,120)" to="(520,120)"/>
    <wire from="(330,230)" to="(390,230)"/>
    <wire from="(500,180)" to="(500,230)"/>
    <wire from="(180,210)" to="(270,210)"/>
    <comp loc="(460,170)" name="SR NAND">
      <a name="label" val="SR NAND"/>
      <a name="labelloc" val="south"/>
    </comp>
    <comp lib="0" loc="(520,120)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(110,100)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="D"/>
    </comp>
    <comp lib="6" loc="(199,291)" name="Text">
      <a name="text" val="Transparent or Opaque?"/>
    </comp>
    <comp lib="1" loc="(330,230)" name="NAND Gate">
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="1" loc="(330,120)" name="NAND Gate">
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="1" loc="(180,170)" name="NOT Gate">
      <a name="facing" val="south"/>
    </comp>
    <comp lib="0" loc="(530,230)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(110,250)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="Enable"/>
    </comp>
  </circuit>
  <circuit name="D clocked">
    <a name="circuit" val="D clocked"/>
    <a name="clabel" val=""/>
    <a name="clabelup" val="east"/>
    <a name="clabelfont" val="SansSerif plain 12"/>
    <wire from="(190,100)" to="(190,170)"/>
    <wire from="(390,180)" to="(390,250)"/>
    <wire from="(340,250)" to="(390,250)"/>
    <wire from="(280,170)" to="(430,170)"/>
    <wire from="(190,250)" to="(310,250)"/>
    <wire from="(460,170)" to="(510,170)"/>
    <wire from="(510,100)" to="(510,170)"/>
    <wire from="(510,240)" to="(560,240)"/>
    <wire from="(110,100)" to="(190,100)"/>
    <wire from="(510,100)" to="(560,100)"/>
    <wire from="(460,180)" to="(510,180)"/>
    <wire from="(390,180)" to="(430,180)"/>
    <wire from="(190,180)" to="(190,250)"/>
    <wire from="(190,180)" to="(250,180)"/>
    <wire from="(510,180)" to="(510,240)"/>
    <wire from="(110,250)" to="(190,250)"/>
    <wire from="(190,170)" to="(250,170)"/>
    <comp lib="0" loc="(110,100)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="D"/>
    </comp>
    <comp lib="0" loc="(110,250)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="Clock"/>
    </comp>
    <comp loc="(460,170)" name="D enabled"/>
    <comp loc="(280,170)" name="D enabled"/>
    <comp lib="0" loc="(560,100)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="label" val="Q"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(560,240)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="label" val="Q'"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="1" loc="(340,250)" name="NOT Gate"/>
  </circuit>
  <circuit name="D manual shift">
    <a name="circuit" val="D manual shift"/>
    <a name="clabel" val=""/>
    <a name="clabelup" val="east"/>
    <a name="clabelfont" val="SansSerif plain 12"/>
    <wire from="(190,100)" to="(190,170)"/>
    <wire from="(390,180)" to="(390,250)"/>
    <wire from="(190,250)" to="(270,250)"/>
    <wire from="(280,170)" to="(430,170)"/>
    <wire from="(460,170)" to="(510,170)"/>
    <wire from="(510,100)" to="(510,170)"/>
    <wire from="(510,240)" to="(560,240)"/>
    <wire from="(110,100)" to="(190,100)"/>
    <wire from="(510,100)" to="(560,100)"/>
    <wire from="(460,180)" to="(510,180)"/>
    <wire from="(370,250)" to="(390,250)"/>
    <wire from="(390,180)" to="(430,180)"/>
    <wire from="(190,180)" to="(190,250)"/>
    <wire from="(190,180)" to="(250,180)"/>
    <wire from="(510,180)" to="(510,240)"/>
    <wire from="(300,250)" to="(320,250)"/>
    <wire from="(110,250)" to="(190,250)"/>
    <wire from="(190,170)" to="(250,170)"/>
    <comp lib="0" loc="(110,100)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="D"/>
    </comp>
    <comp lib="0" loc="(320,250)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp loc="(460,170)" name="D enabled"/>
    <comp lib="0" loc="(560,100)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="label" val="Q"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp loc="(280,170)" name="D enabled"/>
    <comp lib="1" loc="(300,250)" name="NOT Gate"/>
    <comp lib="0" loc="(560,240)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="label" val="Q'"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(110,250)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="Clock"/>
    </comp>
    <comp lib="0" loc="(370,250)" name="Pin">
      <a name="tristate" val="false"/>
    </comp>
    <comp lib="6" loc="(350,273)" name="Text">
      <a name="text" val="Transfer manually"/>
    </comp>
  </circuit>
  <circuit name="Logisim flip flops">
    <a name="circuit" val="Logisim flip flops"/>
    <a name="clabel" val=""/>
    <a name="clabelup" val="east"/>
    <a name="clabelfont" val="SansSerif plain 12"/>
    <wire from="(240,340)" to="(330,340)"/>
    <wire from="(260,80)" to="(260,160)"/>
    <wire from="(220,90)" to="(320,90)"/>
    <wire from="(310,150)" to="(310,160)"/>
    <wire from="(140,220)" to="(300,220)"/>
    <wire from="(200,400)" to="(310,400)"/>
    <wire from="(70,270)" to="(140,270)"/>
    <wire from="(220,250)" to="(220,330)"/>
    <wire from="(320,310)" to="(320,330)"/>
    <wire from="(310,70)" to="(310,80)"/>
    <wire from="(240,180)" to="(240,260)"/>
    <wire from="(240,260)" to="(330,260)"/>
    <wire from="(240,410)" to="(320,410)"/>
    <wire from="(320,390)" to="(320,410)"/>
    <wire from="(70,440)" to="(200,440)"/>
    <wire from="(140,300)" to="(300,300)"/>
    <wire from="(200,40)" to="(300,40)"/>
    <wire from="(70,500)" to="(240,500)"/>
    <wire from="(140,280)" to="(300,280)"/>
    <wire from="(330,370)" to="(420,370)"/>
    <wire from="(200,120)" to="(200,210)"/>
    <wire from="(260,320)" to="(260,530)"/>
    <wire from="(310,390)" to="(310,400)"/>
    <wire from="(340,40)" to="(380,40)"/>
    <wire from="(380,230)" to="(420,230)"/>
    <wire from="(380,190)" to="(380,200)"/>
    <wire from="(260,320)" to="(310,320)"/>
    <wire from="(380,220)" to="(380,230)"/>
    <wire from="(380,190)" to="(420,190)"/>
    <wire from="(240,340)" to="(240,410)"/>
    <wire from="(220,380)" to="(220,470)"/>
    <wire from="(260,160)" to="(260,240)"/>
    <wire from="(260,80)" to="(310,80)"/>
    <wire from="(70,140)" to="(300,140)"/>
    <wire from="(240,100)" to="(330,100)"/>
    <wire from="(340,200)" to="(380,200)"/>
    <wire from="(320,230)" to="(320,250)"/>
    <wire from="(380,70)" to="(420,70)"/>
    <wire from="(330,70)" to="(330,100)"/>
    <wire from="(200,40)" to="(200,120)"/>
    <wire from="(310,230)" to="(310,240)"/>
    <wire from="(70,190)" to="(140,190)"/>
    <wire from="(260,160)" to="(310,160)"/>
    <wire from="(380,30)" to="(420,30)"/>
    <wire from="(380,60)" to="(380,70)"/>
    <wire from="(330,230)" to="(330,260)"/>
    <wire from="(70,60)" to="(300,60)"/>
    <wire from="(70,470)" to="(220,470)"/>
    <wire from="(340,140)" to="(380,140)"/>
    <wire from="(340,280)" to="(380,280)"/>
    <wire from="(240,260)" to="(240,340)"/>
    <wire from="(70,230)" to="(140,230)"/>
    <wire from="(200,120)" to="(300,120)"/>
    <wire from="(220,380)" to="(300,380)"/>
    <wire from="(70,530)" to="(260,530)"/>
    <wire from="(220,170)" to="(220,250)"/>
    <wire from="(260,240)" to="(260,320)"/>
    <wire from="(320,70)" to="(320,90)"/>
    <wire from="(260,240)" to="(310,240)"/>
    <wire from="(240,410)" to="(240,500)"/>
    <wire from="(380,140)" to="(380,150)"/>
    <wire from="(380,110)" to="(420,110)"/>
    <wire from="(240,100)" to="(240,180)"/>
    <wire from="(380,310)" to="(420,310)"/>
    <wire from="(330,310)" to="(330,340)"/>
    <wire from="(220,170)" to="(320,170)"/>
    <wire from="(380,30)" to="(380,40)"/>
    <wire from="(340,220)" to="(380,220)"/>
    <wire from="(220,330)" to="(220,380)"/>
    <wire from="(200,210)" to="(300,210)"/>
    <wire from="(140,190)" to="(140,200)"/>
    <wire from="(140,300)" to="(140,310)"/>
    <wire from="(220,90)" to="(220,170)"/>
    <wire from="(320,150)" to="(320,170)"/>
    <wire from="(140,270)" to="(140,280)"/>
    <wire from="(240,180)" to="(330,180)"/>
    <wire from="(340,120)" to="(380,120)"/>
    <wire from="(70,370)" to="(300,370)"/>
    <wire from="(220,330)" to="(320,330)"/>
    <wire from="(220,250)" to="(320,250)"/>
    <wire from="(380,110)" to="(380,120)"/>
    <wire from="(340,300)" to="(380,300)"/>
    <wire from="(330,150)" to="(330,180)"/>
    <wire from="(340,60)" to="(380,60)"/>
    <wire from="(380,270)" to="(380,280)"/>
    <wire from="(380,150)" to="(420,150)"/>
    <wire from="(200,290)" to="(200,400)"/>
    <wire from="(70,310)" to="(140,310)"/>
    <wire from="(310,310)" to="(310,320)"/>
    <wire from="(200,290)" to="(300,290)"/>
    <wire from="(200,400)" to="(200,440)"/>
    <wire from="(200,210)" to="(200,290)"/>
    <wire from="(380,270)" to="(420,270)"/>
    <wire from="(380,300)" to="(380,310)"/>
    <wire from="(140,200)" to="(300,200)"/>
    <wire from="(140,220)" to="(140,230)"/>
    <comp lib="0" loc="(420,190)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="4" loc="(340,280)" name="S-R Flip-Flop"/>
    <comp lib="0" loc="(420,370)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(70,140)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="T"/>
    </comp>
    <comp lib="0" loc="(70,60)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="D"/>
    </comp>
    <comp lib="0" loc="(70,190)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="J"/>
    </comp>
    <comp lib="0" loc="(70,270)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="S"/>
    </comp>
    <comp lib="0" loc="(420,270)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="4" loc="(330,370)" name="Register">
      <a name="width" val="1"/>
    </comp>
    <comp lib="0" loc="(70,470)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="Enable"/>
    </comp>
    <comp lib="4" loc="(340,200)" name="J-K Flip-Flop"/>
    <comp lib="0" loc="(70,440)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="Clock"/>
    </comp>
    <comp lib="0" loc="(420,230)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(70,500)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="Clear"/>
    </comp>
    <comp lib="4" loc="(340,40)" name="D Flip-Flop"/>
    <comp lib="0" loc="(420,310)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="4" loc="(340,120)" name="T Flip-Flop"/>
    <comp lib="0" loc="(420,70)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(420,30)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(70,310)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="R"/>
    </comp>
    <comp lib="0" loc="(70,370)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="D"/>
    </comp>
    <comp lib="0" loc="(420,110)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(420,150)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="0" loc="(70,530)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="Preset"/>
    </comp>
    <comp lib="0" loc="(70,230)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="K"/>
    </comp>
  </circuit>
</project>
