<?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">
    <tool name="Splitter">
      <a name="facing" val="north"/>
      <a name="fanout" val="4"/>
      <a name="incoming" val="4"/>
      <a name="appear" val="right"/>
    </tool>
    <tool name="Pin">
      <a name="width" val="4"/>
      <a name="tristate" val="false"/>
    </tool>
    <tool name="Probe">
      <a name="facing" val="west"/>
    </tool>
    <tool name="Pull Resistor">
      <a name="facing" val="north"/>
    </tool>
  </lib>
  <lib desc="#Gates" name="1"/>
  <lib desc="#Plexers" name="2"/>
  <lib desc="#Arithmetic" name="3"/>
  <lib desc="#Memory" name="4"/>
  <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="main"/>
  <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="facing" val="south"/>
      <a name="output" val="true"/>
      <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="main">
    <a name="circuit" val="main"/>
    <a name="clabel" val=""/>
    <a name="clabelup" val="east"/>
    <a name="clabelfont" val="SansSerif plain 12"/>
    <wire from="(370,360)" to="(370,430)"/>
    <wire from="(390,410)" to="(570,410)"/>
    <wire from="(400,420)" to="(400,430)"/>
    <wire from="(730,250)" to="(730,340)"/>
    <wire from="(400,370)" to="(400,390)"/>
    <wire from="(390,410)" to="(390,430)"/>
    <wire from="(530,250)" to="(530,340)"/>
    <wire from="(500,370)" to="(500,390)"/>
    <wire from="(630,250)" to="(630,340)"/>
    <wire from="(570,310)" to="(670,310)"/>
    <wire from="(670,310)" to="(670,340)"/>
    <wire from="(600,390)" to="(700,390)"/>
    <wire from="(570,310)" to="(570,340)"/>
    <wire from="(370,310)" to="(470,310)"/>
    <wire from="(470,310)" to="(470,340)"/>
    <wire from="(400,390)" to="(500,390)"/>
    <wire from="(500,390)" to="(600,390)"/>
    <wire from="(380,400)" to="(380,430)"/>
    <wire from="(370,310)" to="(370,340)"/>
    <wire from="(470,310)" to="(570,310)"/>
    <wire from="(430,250)" to="(430,340)"/>
    <wire from="(600,370)" to="(600,390)"/>
    <wire from="(330,310)" to="(370,310)"/>
    <wire from="(700,370)" to="(700,390)"/>
    <wire from="(380,400)" to="(470,400)"/>
    <wire from="(330,450)" to="(360,450)"/>
    <wire from="(470,360)" to="(470,400)"/>
    <wire from="(420,340)" to="(430,340)"/>
    <wire from="(470,360)" to="(480,360)"/>
    <wire from="(470,340)" to="(480,340)"/>
    <wire from="(370,360)" to="(380,360)"/>
    <wire from="(370,340)" to="(380,340)"/>
    <wire from="(400,420)" to="(670,420)"/>
    <wire from="(670,360)" to="(670,420)"/>
    <wire from="(570,360)" to="(570,410)"/>
    <wire from="(670,360)" to="(680,360)"/>
    <wire from="(670,340)" to="(680,340)"/>
    <wire from="(720,340)" to="(730,340)"/>
    <wire from="(570,360)" to="(580,360)"/>
    <wire from="(520,340)" to="(530,340)"/>
    <wire from="(570,340)" to="(580,340)"/>
    <wire from="(330,390)" to="(400,390)"/>
    <wire from="(620,340)" to="(630,340)"/>
    <comp lib="4" loc="(520,340)" name="D Flip-Flop"/>
    <comp lib="4" loc="(620,340)" name="D Flip-Flop"/>
    <comp lib="4" loc="(720,340)" name="D Flip-Flop"/>
    <comp lib="0" loc="(330,390)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="Enabled (EN,CS)"/>
    </comp>
    <comp lib="0" loc="(330,310)" name="Clock">
      <a name="label" val="Clock"/>
    </comp>
    <comp lib="4" loc="(420,340)" name="D Flip-Flop"/>
    <comp lib="0" loc="(530,250)" name="Pin">
      <a name="facing" val="south"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
    </comp>
    <comp lib="0" loc="(430,250)" name="Pin">
      <a name="facing" val="south"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="MSB"/>
    </comp>
    <comp lib="0" loc="(360,450)" name="Splitter">
      <a name="facing" val="north"/>
      <a name="fanout" val="4"/>
      <a name="incoming" val="4"/>
      <a name="appear" val="right"/>
    </comp>
    <comp lib="0" loc="(330,450)" name="Pin">
      <a name="width" val="4"/>
      <a name="tristate" val="false"/>
      <a name="label" val="Data in"/>
    </comp>
    <comp lib="0" loc="(630,250)" name="Pin">
      <a name="facing" val="south"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="Data out"/>
      <a name="labelloc" val="north"/>
    </comp>
    <comp lib="0" loc="(730,250)" name="Pin">
      <a name="facing" val="south"/>
      <a name="output" val="true"/>
      <a name="tristate" val="false"/>
      <a name="label" val="LSB"/>
      <a name="labelloc" val="east"/>
    </comp>
    <comp lib="6" loc="(4,16)" name="Text">
      <a name="text" val="Designed by S. Gražulis (https://saulius.grazulis.lt) CC-BY-NC"/>
      <a name="halign" val="left"/>
    </comp>
  </circuit>
</project>
