<?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"/>
    </tool>
    <tool name="Clock">
      <a name="facing" val="north"/>
    </tool>
    <tool name="Constant">
      <a name="value" val="0x0"/>
    </tool>
  </lib>
  <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="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="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"/>
    <comp lib="6" loc="(415,68)" name="Text">
      <a name="text" val="Mohammed Mahmoud Dahalan"/>
      <a name="font" val="SansSerif bold 18"/>
    </comp>
    <comp lib="6" loc="(760,68)" name="Text">
      <a name="text" val="Karam Salah Elradie"/>
      <a name="font" val="SansSerif bold 18"/>
    </comp>
    <comp lib="6" loc="(608,291)" name="Text">
      <a name="text" val="&amp;"/>
      <a name="font" val="SansSerif bold 20"/>
    </comp>
    <comp lib="6" loc="(752,97)" name="Text">
      <a name="text" val="120180967"/>
      <a name="font" val="SansSerif bold 18"/>
    </comp>
    <comp lib="6" loc="(608,194)" name="Text">
      <a name="text" val="ENG : Rasha Sammour"/>
      <a name="font" val="SansSerif bold 18"/>
    </comp>
    <comp lib="6" loc="(416,97)" name="Text">
      <a name="text" val="120181318"/>
      <a name="font" val="SansSerif bold 18"/>
    </comp>
    <comp lib="6" loc="(609,260)" name="Text">
      <a name="text" val="Control Unit"/>
      <a name="font" val="SansSerif bolditalic 18"/>
    </comp>
    <comp lib="6" loc="(610,317)" name="Text">
      <a name="text" val="Alu Control Unit"/>
      <a name="font" val="SansSerif bolditalic 18"/>
    </comp>
  </circuit>
  <circuit name="ALu control unit">
    <a name="circuit" val="ALu control unit"/>
    <a name="clabel" val=""/>
    <a name="clabelup" val="east"/>
    <a name="clabelfont" val="SansSerif plain 12"/>
    <wire from="(960,640)" to="(1010,640)"/>
    <wire from="(650,1090)" to="(840,1090)"/>
    <wire from="(650,610)" to="(840,610)"/>
    <wire from="(650,850)" to="(840,850)"/>
    <wire from="(650,1410)" to="(840,1410)"/>
    <wire from="(940,610)" to="(940,930)"/>
    <wire from="(890,210)" to="(1080,210)"/>
    <wire from="(910,590)" to="(1010,590)"/>
    <wire from="(910,510)" to="(1010,510)"/>
    <wire from="(730,1050)" to="(830,1050)"/>
    <wire from="(730,570)" to="(830,570)"/>
    <wire from="(730,810)" to="(830,810)"/>
    <wire from="(730,330)" to="(830,330)"/>
    <wire from="(70,250)" to="(100,250)"/>
    <wire from="(990,620)" to="(1010,620)"/>
    <wire from="(750,200)" to="(840,200)"/>
    <wire from="(750,440)" to="(840,440)"/>
    <wire from="(140,140)" to="(140,190)"/>
    <wire from="(710,340)" to="(710,460)"/>
    <wire from="(710,580)" to="(710,700)"/>
    <wire from="(710,820)" to="(710,940)"/>
    <wire from="(790,180)" to="(790,300)"/>
    <wire from="(790,420)" to="(790,540)"/>
    <wire from="(790,660)" to="(790,780)"/>
    <wire from="(790,900)" to="(790,1020)"/>
    <wire from="(1060,450)" to="(1080,450)"/>
    <wire from="(1060,530)" to="(1080,530)"/>
    <wire from="(1060,610)" to="(1080,610)"/>
    <wire from="(890,1230)" to="(970,1230)"/>
    <wire from="(710,340)" to="(830,340)"/>
    <wire from="(950,430)" to="(1010,430)"/>
    <wire from="(970,630)" to="(1010,630)"/>
    <wire from="(670,1150)" to="(670,1230)"/>
    <wire from="(670,1390)" to="(670,1470)"/>
    <wire from="(670,1310)" to="(670,1390)"/>
    <wire from="(670,1230)" to="(670,1310)"/>
    <wire from="(910,510)" to="(910,590)"/>
    <wire from="(810,170)" to="(830,170)"/>
    <wire from="(810,890)" to="(830,890)"/>
    <wire from="(810,650)" to="(830,650)"/>
    <wire from="(810,410)" to="(830,410)"/>
    <wire from="(110,220)" to="(710,220)"/>
    <wire from="(650,250)" to="(650,370)"/>
    <wire from="(650,490)" to="(650,610)"/>
    <wire from="(650,730)" to="(650,850)"/>
    <wire from="(650,970)" to="(650,1090)"/>
    <wire from="(730,330)" to="(730,450)"/>
    <wire from="(730,570)" to="(730,690)"/>
    <wire from="(730,810)" to="(730,930)"/>
    <wire from="(810,170)" to="(810,290)"/>
    <wire from="(810,890)" to="(810,1010)"/>
    <wire from="(810,650)" to="(810,770)"/>
    <wire from="(810,410)" to="(810,530)"/>
    <wire from="(710,460)" to="(840,460)"/>
    <wire from="(710,700)" to="(840,700)"/>
    <wire from="(710,940)" to="(840,940)"/>
    <wire from="(150,120)" to="(150,180)"/>
    <wire from="(690,590)" to="(830,590)"/>
    <wire from="(690,830)" to="(830,830)"/>
    <wire from="(930,600)" to="(1010,600)"/>
    <wire from="(690,1070)" to="(830,1070)"/>
    <wire from="(70,160)" to="(130,160)"/>
    <wire from="(100,240)" to="(670,240)"/>
    <wire from="(140,190)" to="(770,190)"/>
    <wire from="(920,540)" to="(920,570)"/>
    <wire from="(890,1470)" to="(990,1470)"/>
    <wire from="(790,180)" to="(830,180)"/>
    <wire from="(790,660)" to="(830,660)"/>
    <wire from="(790,900)" to="(830,900)"/>
    <wire from="(930,450)" to="(930,600)"/>
    <wire from="(910,450)" to="(910,470)"/>
    <wire from="(670,1310)" to="(840,1310)"/>
    <wire from="(70,100)" to="(160,100)"/>
    <wire from="(670,600)" to="(830,600)"/>
    <wire from="(670,360)" to="(830,360)"/>
    <wire from="(670,1080)" to="(830,1080)"/>
    <wire from="(670,840)" to="(830,840)"/>
    <wire from="(810,1010)" to="(840,1010)"/>
    <wire from="(810,530)" to="(840,530)"/>
    <wire from="(900,520)" to="(900,580)"/>
    <wire from="(670,240)" to="(670,360)"/>
    <wire from="(670,480)" to="(670,600)"/>
    <wire from="(670,720)" to="(670,840)"/>
    <wire from="(670,960)" to="(670,1080)"/>
    <wire from="(750,320)" to="(750,440)"/>
    <wire from="(750,560)" to="(750,680)"/>
    <wire from="(750,800)" to="(750,920)"/>
    <wire from="(790,1020)" to="(840,1020)"/>
    <wire from="(790,780)" to="(840,780)"/>
    <wire from="(160,100)" to="(160,170)"/>
    <wire from="(650,370)" to="(830,370)"/>
    <wire from="(650,1170)" to="(830,1170)"/>
    <wire from="(650,1490)" to="(830,1490)"/>
    <wire from="(650,1330)" to="(830,1330)"/>
    <wire from="(650,1250)" to="(830,1250)"/>
    <wire from="(770,910)" to="(830,910)"/>
    <wire from="(770,190)" to="(830,190)"/>
    <wire from="(770,430)" to="(830,430)"/>
    <wire from="(890,810)" to="(930,810)"/>
    <wire from="(110,250)" to="(650,250)"/>
    <wire from="(770,550)" to="(840,550)"/>
    <wire from="(690,230)" to="(690,350)"/>
    <wire from="(690,470)" to="(690,590)"/>
    <wire from="(690,710)" to="(690,830)"/>
    <wire from="(690,950)" to="(690,1070)"/>
    <wire from="(770,310)" to="(770,430)"/>
    <wire from="(770,550)" to="(770,670)"/>
    <wire from="(770,790)" to="(770,910)"/>
    <wire from="(890,1150)" to="(960,1150)"/>
    <wire from="(770,1030)" to="(840,1030)"/>
    <wire from="(750,680)" to="(830,680)"/>
    <wire from="(750,920)" to="(830,920)"/>
    <wire from="(890,930)" to="(940,930)"/>
    <wire from="(650,250)" to="(840,250)"/>
    <wire from="(650,490)" to="(840,490)"/>
    <wire from="(650,730)" to="(840,730)"/>
    <wire from="(650,970)" to="(840,970)"/>
    <wire from="(910,470)" to="(1010,470)"/>
    <wire from="(70,230)" to="(690,230)"/>
    <wire from="(730,210)" to="(830,210)"/>
    <wire from="(730,450)" to="(830,450)"/>
    <wire from="(730,690)" to="(830,690)"/>
    <wire from="(730,930)" to="(830,930)"/>
    <wire from="(70,200)" to="(110,200)"/>
    <wire from="(120,210)" to="(730,210)"/>
    <wire from="(990,620)" to="(990,1470)"/>
    <wire from="(690,1370)" to="(840,1370)"/>
    <wire from="(910,470)" to="(910,510)"/>
    <wire from="(950,370)" to="(1080,370)"/>
    <wire from="(710,220)" to="(710,340)"/>
    <wire from="(710,460)" to="(710,580)"/>
    <wire from="(710,700)" to="(710,820)"/>
    <wire from="(710,940)" to="(710,1060)"/>
    <wire from="(790,300)" to="(790,420)"/>
    <wire from="(790,540)" to="(790,660)"/>
    <wire from="(790,780)" to="(790,900)"/>
    <wire from="(940,610)" to="(1010,610)"/>
    <wire from="(980,550)" to="(980,1310)"/>
    <wire from="(70,140)" to="(140,140)"/>
    <wire from="(890,330)" to="(900,330)"/>
    <wire from="(150,180)" to="(790,180)"/>
    <wire from="(710,220)" to="(830,220)"/>
    <wire from="(890,1050)" to="(950,1050)"/>
    <wire from="(110,200)" to="(110,220)"/>
    <wire from="(650,1410)" to="(650,1490)"/>
    <wire from="(650,1090)" to="(650,1170)"/>
    <wire from="(690,1130)" to="(690,1210)"/>
    <wire from="(650,1330)" to="(650,1410)"/>
    <wire from="(650,1170)" to="(650,1250)"/>
    <wire from="(650,1250)" to="(650,1330)"/>
    <wire from="(690,1370)" to="(690,1450)"/>
    <wire from="(690,1290)" to="(690,1370)"/>
    <wire from="(690,1210)" to="(690,1290)"/>
    <wire from="(900,580)" to="(1010,580)"/>
    <wire from="(810,770)" to="(830,770)"/>
    <wire from="(810,290)" to="(830,290)"/>
    <wire from="(890,450)" to="(910,450)"/>
    <wire from="(950,430)" to="(950,1050)"/>
    <wire from="(890,1310)" to="(980,1310)"/>
    <wire from="(920,540)" to="(1010,540)"/>
    <wire from="(670,1150)" to="(830,1150)"/>
    <wire from="(670,1470)" to="(830,1470)"/>
    <wire from="(670,1390)" to="(830,1390)"/>
    <wire from="(670,1230)" to="(830,1230)"/>
    <wire from="(650,370)" to="(650,490)"/>
    <wire from="(650,610)" to="(650,730)"/>
    <wire from="(650,850)" to="(650,970)"/>
    <wire from="(730,210)" to="(730,330)"/>
    <wire from="(730,450)" to="(730,570)"/>
    <wire from="(730,690)" to="(730,810)"/>
    <wire from="(730,930)" to="(730,1050)"/>
    <wire from="(900,330)" to="(900,520)"/>
    <wire from="(810,290)" to="(810,410)"/>
    <wire from="(810,770)" to="(810,890)"/>
    <wire from="(810,530)" to="(810,650)"/>
    <wire from="(710,1060)" to="(840,1060)"/>
    <wire from="(710,580)" to="(840,580)"/>
    <wire from="(710,820)" to="(840,820)"/>
    <wire from="(690,230)" to="(830,230)"/>
    <wire from="(690,470)" to="(830,470)"/>
    <wire from="(690,710)" to="(830,710)"/>
    <wire from="(690,950)" to="(830,950)"/>
    <wire from="(100,240)" to="(100,250)"/>
    <wire from="(670,1080)" to="(670,1150)"/>
    <wire from="(790,300)" to="(830,300)"/>
    <wire from="(790,540)" to="(830,540)"/>
    <wire from="(110,250)" to="(110,270)"/>
    <wire from="(930,600)" to="(930,810)"/>
    <wire from="(120,180)" to="(120,210)"/>
    <wire from="(690,350)" to="(840,350)"/>
    <wire from="(670,240)" to="(830,240)"/>
    <wire from="(670,480)" to="(830,480)"/>
    <wire from="(670,720)" to="(830,720)"/>
    <wire from="(670,960)" to="(830,960)"/>
    <wire from="(890,570)" to="(920,570)"/>
    <wire from="(670,360)" to="(670,480)"/>
    <wire from="(670,600)" to="(670,720)"/>
    <wire from="(670,840)" to="(670,960)"/>
    <wire from="(950,370)" to="(950,430)"/>
    <wire from="(750,200)" to="(750,320)"/>
    <wire from="(750,440)" to="(750,560)"/>
    <wire from="(750,680)" to="(750,800)"/>
    <wire from="(750,920)" to="(750,1040)"/>
    <wire from="(690,1070)" to="(690,1130)"/>
    <wire from="(930,450)" to="(1010,450)"/>
    <wire from="(790,420)" to="(840,420)"/>
    <wire from="(770,790)" to="(830,790)"/>
    <wire from="(70,180)" to="(120,180)"/>
    <wire from="(770,310)" to="(830,310)"/>
    <wire from="(130,200)" to="(750,200)"/>
    <wire from="(970,630)" to="(970,1230)"/>
    <wire from="(70,270)" to="(110,270)"/>
    <wire from="(900,520)" to="(1010,520)"/>
    <wire from="(130,160)" to="(130,200)"/>
    <wire from="(980,550)" to="(1010,550)"/>
    <wire from="(960,640)" to="(960,1150)"/>
    <wire from="(70,120)" to="(150,120)"/>
    <wire from="(690,350)" to="(690,470)"/>
    <wire from="(690,590)" to="(690,710)"/>
    <wire from="(690,830)" to="(690,950)"/>
    <wire from="(770,190)" to="(770,310)"/>
    <wire from="(770,430)" to="(770,550)"/>
    <wire from="(770,670)" to="(770,790)"/>
    <wire from="(160,170)" to="(810,170)"/>
    <wire from="(770,910)" to="(770,1030)"/>
    <wire from="(770,670)" to="(840,670)"/>
    <wire from="(750,1040)" to="(830,1040)"/>
    <wire from="(750,560)" to="(830,560)"/>
    <wire from="(750,800)" to="(830,800)"/>
    <wire from="(750,320)" to="(830,320)"/>
    <wire from="(690,1130)" to="(830,1130)"/>
    <wire from="(690,1450)" to="(830,1450)"/>
    <wire from="(690,1290)" to="(830,1290)"/>
    <wire from="(690,1210)" to="(830,1210)"/>
    <comp lib="1" loc="(890,1470)" name="AND Gate">
      <a name="inputs" val="3"/>
      <a name="label" val="addi"/>
      <a name="labelfont" val="SansSerif bold 12"/>
      <a name="negate0" val="true"/>
      <a name="negate1" val="true"/>
      <a name="negate2" val="true"/>
    </comp>
    <comp lib="0" loc="(70,230)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="OP0"/>
      <a name="labelfont" val="SansSerif bold 12"/>
    </comp>
    <comp lib="0" loc="(70,180)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="f4"/>
      <a name="labelfont" val="SansSerif bolditalic 12"/>
    </comp>
    <comp lib="0" loc="(1080,610)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="label" val="OP1"/>
      <a name="labelloc" val="east"/>
      <a name="labelfont" val="SansSerif bold 12"/>
    </comp>
    <comp lib="1" loc="(1060,610)" name="OR Gate">
      <a name="inputs" val="7"/>
    </comp>
    <comp lib="1" loc="(1060,530)" name="OR Gate">
      <a name="inputs" val="4"/>
    </comp>
    <comp lib="0" loc="(1080,370)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="label" val="A0"/>
      <a name="labelloc" val="east"/>
      <a name="labelfont" val="SansSerif bold 12"/>
    </comp>
    <comp lib="0" loc="(70,120)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="f1"/>
      <a name="labelfont" val="SansSerif bolditalic 12"/>
    </comp>
    <comp lib="1" loc="(890,330)" name="AND Gate">
      <a name="inputs" val="9"/>
      <a name="label" val="beq"/>
      <a name="labelfont" val="SansSerif bold 12"/>
      <a name="negate0" val="true"/>
      <a name="negate1" val="true"/>
      <a name="negate2" val="true"/>
      <a name="negate3" val="true"/>
      <a name="negate4" val="true"/>
      <a name="negate5" val="true"/>
      <a name="negate7" val="true"/>
      <a name="negate8" val="true"/>
    </comp>
    <comp lib="1" loc="(890,1310)" name="AND Gate">
      <a name="inputs" val="3"/>
      <a name="label" val="ori"/>
      <a name="labelfont" val="SansSerif bold 12"/>
      <a name="negate0" val="true"/>
      <a name="negate2" val="true"/>
    </comp>
    <comp lib="1" loc="(890,1150)" name="AND Gate">
      <a name="inputs" val="3"/>
      <a name="label" val="sw"/>
      <a name="labelfont" val="SansSerif bold 12"/>
      <a name="negate0" val="true"/>
      <a name="negate1" val="true"/>
      <a name="negate2" val="true"/>
    </comp>
    <comp lib="0" loc="(1080,210)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="label" val="jr"/>
      <a name="labelloc" val="east"/>
      <a name="labelfont" val="SansSerif bold 12"/>
    </comp>
    <comp lib="0" loc="(70,250)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="OP1"/>
      <a name="labelfont" val="SansSerif bold 12"/>
    </comp>
    <comp lib="6" loc="(357,60)" name="Text">
      <a name="text" val="Mohammed Mahmoud Dahalan"/>
      <a name="font" val="SansSerif bold 18"/>
    </comp>
    <comp lib="1" loc="(890,210)" name="AND Gate">
      <a name="inputs" val="9"/>
      <a name="label" val="jr"/>
      <a name="labelfont" val="SansSerif bold 12"/>
      <a name="negate0" val="true"/>
      <a name="negate1" val="true"/>
      <a name="negate2" val="true"/>
      <a name="negate4" val="true"/>
      <a name="negate5" val="true"/>
      <a name="negate6" val="true"/>
      <a name="negate7" val="true"/>
    </comp>
    <comp lib="1" loc="(890,1390)" name="AND Gate">
      <a name="inputs" val="3"/>
      <a name="label" val="andi"/>
      <a name="labelfont" val="SansSerif bold 12"/>
      <a name="negate1" val="true"/>
    </comp>
    <comp lib="0" loc="(70,200)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="f5"/>
      <a name="labelfont" val="SansSerif bolditalic 12"/>
    </comp>
    <comp lib="6" loc="(358,89)" name="Text">
      <a name="text" val="120181318"/>
      <a name="font" val="SansSerif bold 18"/>
    </comp>
    <comp lib="1" loc="(890,810)" name="AND Gate">
      <a name="inputs" val="9"/>
      <a name="label" val="sub"/>
      <a name="labelfont" val="SansSerif bold 12"/>
      <a name="negate0" val="true"/>
      <a name="negate2" val="true"/>
      <a name="negate3" val="true"/>
      <a name="negate4" val="true"/>
      <a name="negate6" val="true"/>
      <a name="negate7" val="true"/>
    </comp>
    <comp lib="0" loc="(1080,450)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="label" val="B0"/>
      <a name="labelloc" val="east"/>
      <a name="labelfont" val="SansSerif bold 12"/>
    </comp>
    <comp lib="0" loc="(70,140)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="f2"/>
      <a name="labelfont" val="SansSerif bolditalic 12"/>
    </comp>
    <comp lib="0" loc="(70,100)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="f0"/>
      <a name="labelfont" val="SansSerif bolditalic 12"/>
    </comp>
    <comp lib="1" loc="(1060,450)" name="OR Gate">
      <a name="inputs" val="3"/>
    </comp>
    <comp lib="0" loc="(70,270)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="OP2"/>
      <a name="labelfont" val="SansSerif bold 12"/>
    </comp>
    <comp lib="6" loc="(651,90)" name="Text">
      <a name="text" val="120180967"/>
      <a name="font" val="SansSerif bold 18"/>
    </comp>
    <comp lib="1" loc="(890,1230)" name="AND Gate">
      <a name="inputs" val="3"/>
      <a name="label" val="lw"/>
      <a name="labelfont" val="SansSerif bold 12"/>
      <a name="negate0" val="true"/>
      <a name="negate1" val="true"/>
      <a name="negate2" val="true"/>
    </comp>
    <comp lib="1" loc="(890,930)" name="AND Gate">
      <a name="inputs" val="9"/>
      <a name="label" val="add"/>
      <a name="labelfont" val="SansSerif bold 12"/>
      <a name="negate0" val="true"/>
      <a name="negate1" val="true"/>
      <a name="negate2" val="true"/>
      <a name="negate3" val="true"/>
      <a name="negate4" val="true"/>
      <a name="negate6" val="true"/>
      <a name="negate7" val="true"/>
    </comp>
    <comp lib="0" loc="(1080,530)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="label" val="OP0"/>
      <a name="labelloc" val="east"/>
      <a name="labelfont" val="SansSerif bold 12"/>
    </comp>
    <comp lib="1" loc="(890,690)" name="AND Gate">
      <a name="inputs" val="9"/>
      <a name="label" val="and"/>
      <a name="labelfont" val="SansSerif bold 12"/>
      <a name="negate0" val="true"/>
      <a name="negate1" val="true"/>
      <a name="negate3" val="true"/>
      <a name="negate4" val="true"/>
      <a name="negate6" val="true"/>
      <a name="negate7" val="true"/>
    </comp>
    <comp lib="6" loc="(659,61)" name="Text">
      <a name="text" val="Karam Salah Elradie"/>
      <a name="font" val="SansSerif bold 18"/>
    </comp>
    <comp lib="1" loc="(890,570)" name="AND Gate">
      <a name="inputs" val="9"/>
      <a name="label" val="or"/>
      <a name="labelfont" val="SansSerif bold 12"/>
      <a name="negate1" val="true"/>
      <a name="negate3" val="true"/>
      <a name="negate4" val="true"/>
      <a name="negate6" val="true"/>
      <a name="negate7" val="true"/>
    </comp>
    <comp lib="1" loc="(890,1050)" name="AND Gate">
      <a name="inputs" val="9"/>
      <a name="label" val="nor"/>
      <a name="labelfont" val="SansSerif bold 12"/>
      <a name="negate3" val="true"/>
      <a name="negate4" val="true"/>
      <a name="negate6" val="true"/>
      <a name="negate7" val="true"/>
    </comp>
    <comp lib="6" loc="(948,75)" name="Text">
      <a name="text" val="Alu Control Unit"/>
      <a name="font" val="SansSerif bolditalic 18"/>
    </comp>
    <comp lib="1" loc="(890,450)" name="AND Gate">
      <a name="inputs" val="9"/>
      <a name="label" val="slt"/>
      <a name="labelfont" val="SansSerif bold 12"/>
      <a name="negate0" val="true"/>
      <a name="negate2" val="true"/>
      <a name="negate4" val="true"/>
      <a name="negate6" val="true"/>
      <a name="negate7" val="true"/>
    </comp>
    <comp lib="0" loc="(70,160)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="f3"/>
      <a name="labelfont" val="SansSerif bolditalic 12"/>
    </comp>
  </circuit>
  <circuit name="controlUnit">
    <a name="circuit" val="controlUnit"/>
    <a name="clabel" val=""/>
    <a name="clabelup" val="east"/>
    <a name="clabelfont" val="SansSerif plain 12"/>
    <wire from="(810,700)" to="(990,700)"/>
    <wire from="(100,100)" to="(100,110)"/>
    <wire from="(790,110)" to="(890,110)"/>
    <wire from="(620,90)" to="(620,180)"/>
    <wire from="(610,240)" to="(610,330)"/>
    <wire from="(590,110)" to="(690,110)"/>
    <wire from="(680,120)" to="(780,120)"/>
    <wire from="(700,100)" to="(800,100)"/>
    <wire from="(280,120)" to="(380,120)"/>
    <wire from="(300,100)" to="(400,100)"/>
    <wire from="(220,90)" to="(220,180)"/>
    <wire from="(310,390)" to="(310,420)"/>
    <wire from="(390,110)" to="(490,110)"/>
    <wire from="(500,100)" to="(600,100)"/>
    <wire from="(480,120)" to="(580,120)"/>
    <wire from="(420,90)" to="(420,180)"/>
    <wire from="(810,480)" to="(810,560)"/>
    <wire from="(100,100)" to="(200,100)"/>
    <wire from="(190,110)" to="(290,110)"/>
    <wire from="(310,420)" to="(310,510)"/>
    <wire from="(110,110)" to="(110,140)"/>
    <wire from="(930,80)" to="(930,190)"/>
    <wire from="(840,70)" to="(840,180)"/>
    <wire from="(810,560)" to="(810,670)"/>
    <wire from="(1040,720)" to="(1050,720)"/>
    <wire from="(310,590)" to="(980,590)"/>
    <wire from="(310,510)" to="(980,510)"/>
    <wire from="(640,70)" to="(640,180)"/>
    <wire from="(710,630)" to="(1050,630)"/>
    <wire from="(820,90)" to="(820,190)"/>
    <wire from="(330,80)" to="(330,190)"/>
    <wire from="(910,240)" to="(910,470)"/>
    <wire from="(530,80)" to="(530,180)"/>
    <wire from="(240,70)" to="(240,180)"/>
    <wire from="(730,80)" to="(730,180)"/>
    <wire from="(710,240)" to="(710,490)"/>
    <wire from="(120,120)" to="(120,170)"/>
    <wire from="(210,580)" to="(210,820)"/>
    <wire from="(410,450)" to="(410,500)"/>
    <wire from="(680,120)" to="(680,180)"/>
    <wire from="(710,570)" to="(980,570)"/>
    <wire from="(710,490)" to="(980,490)"/>
    <wire from="(480,120)" to="(480,180)"/>
    <wire from="(440,70)" to="(440,190)"/>
    <wire from="(410,500)" to="(980,500)"/>
    <wire from="(610,330)" to="(1050,330)"/>
    <wire from="(280,120)" to="(280,190)"/>
    <wire from="(390,110)" to="(390,180)"/>
    <wire from="(190,110)" to="(190,180)"/>
    <wire from="(120,120)" to="(180,120)"/>
    <wire from="(120,70)" to="(240,70)"/>
    <wire from="(100,90)" to="(220,90)"/>
    <wire from="(790,110)" to="(790,180)"/>
    <wire from="(880,120)" to="(880,190)"/>
    <wire from="(590,110)" to="(590,180)"/>
    <wire from="(830,80)" to="(930,80)"/>
    <wire from="(700,100)" to="(700,190)"/>
    <wire from="(300,100)" to="(300,180)"/>
    <wire from="(540,70)" to="(640,70)"/>
    <wire from="(310,510)" to="(310,590)"/>
    <wire from="(630,80)" to="(730,80)"/>
    <wire from="(720,90)" to="(820,90)"/>
    <wire from="(500,100)" to="(500,180)"/>
    <wire from="(740,70)" to="(840,70)"/>
    <wire from="(320,90)" to="(420,90)"/>
    <wire from="(70,50)" to="(110,50)"/>
    <wire from="(340,70)" to="(440,70)"/>
    <wire from="(310,420)" to="(1050,420)"/>
    <wire from="(430,80)" to="(530,80)"/>
    <wire from="(810,560)" to="(980,560)"/>
    <wire from="(810,480)" to="(980,480)"/>
    <wire from="(520,90)" to="(620,90)"/>
    <wire from="(210,300)" to="(210,580)"/>
    <wire from="(900,100)" to="(900,180)"/>
    <wire from="(910,470)" to="(910,550)"/>
    <wire from="(230,80)" to="(330,80)"/>
    <wire from="(710,760)" to="(1050,760)"/>
    <wire from="(910,550)" to="(980,550)"/>
    <wire from="(910,470)" to="(980,470)"/>
    <wire from="(210,580)" to="(980,580)"/>
    <wire from="(210,820)" to="(980,820)"/>
    <wire from="(410,450)" to="(1050,450)"/>
    <wire from="(710,630)" to="(710,760)"/>
    <wire from="(100,80)" to="(100,90)"/>
    <wire from="(70,170)" to="(120,170)"/>
    <wire from="(800,100)" to="(900,100)"/>
    <wire from="(810,670)" to="(810,700)"/>
    <wire from="(580,120)" to="(680,120)"/>
    <wire from="(410,240)" to="(410,450)"/>
    <wire from="(600,100)" to="(700,100)"/>
    <wire from="(690,110)" to="(790,110)"/>
    <wire from="(780,120)" to="(880,120)"/>
    <wire from="(290,110)" to="(390,110)"/>
    <wire from="(70,140)" to="(110,140)"/>
    <wire from="(380,120)" to="(480,120)"/>
    <wire from="(310,390)" to="(1050,390)"/>
    <wire from="(400,100)" to="(500,100)"/>
    <wire from="(490,110)" to="(590,110)"/>
    <wire from="(810,670)" to="(1050,670)"/>
    <wire from="(810,700)" to="(810,780)"/>
    <wire from="(180,120)" to="(280,120)"/>
    <wire from="(320,90)" to="(320,180)"/>
    <wire from="(110,50)" to="(110,80)"/>
    <wire from="(200,100)" to="(300,100)"/>
    <wire from="(70,110)" to="(100,110)"/>
    <wire from="(520,90)" to="(520,190)"/>
    <wire from="(1030,800)" to="(1050,800)"/>
    <wire from="(540,70)" to="(540,180)"/>
    <wire from="(230,80)" to="(230,180)"/>
    <wire from="(630,80)" to="(630,190)"/>
    <wire from="(430,80)" to="(430,190)"/>
    <wire from="(830,80)" to="(830,180)"/>
    <wire from="(920,90)" to="(920,190)"/>
    <wire from="(510,360)" to="(1050,360)"/>
    <wire from="(720,90)" to="(720,190)"/>
    <wire from="(110,110)" to="(190,110)"/>
    <wire from="(740,70)" to="(740,190)"/>
    <wire from="(120,20)" to="(120,70)"/>
    <wire from="(580,120)" to="(580,180)"/>
    <wire from="(910,800)" to="(980,800)"/>
    <wire from="(940,70)" to="(940,190)"/>
    <wire from="(710,570)" to="(710,630)"/>
    <wire from="(780,120)" to="(780,180)"/>
    <wire from="(510,360)" to="(510,740)"/>
    <wire from="(810,240)" to="(810,480)"/>
    <wire from="(340,70)" to="(340,190)"/>
    <wire from="(180,120)" to="(180,180)"/>
    <wire from="(510,240)" to="(510,360)"/>
    <wire from="(490,110)" to="(490,180)"/>
    <wire from="(290,110)" to="(290,180)"/>
    <wire from="(380,120)" to="(380,190)"/>
    <wire from="(110,80)" to="(230,80)"/>
    <wire from="(890,110)" to="(890,180)"/>
    <wire from="(690,110)" to="(690,180)"/>
    <wire from="(70,20)" to="(120,20)"/>
    <wire from="(820,90)" to="(920,90)"/>
    <wire from="(840,70)" to="(940,70)"/>
    <wire from="(310,240)" to="(310,390)"/>
    <wire from="(200,100)" to="(200,180)"/>
    <wire from="(530,80)" to="(630,80)"/>
    <wire from="(640,70)" to="(740,70)"/>
    <wire from="(620,90)" to="(720,90)"/>
    <wire from="(800,100)" to="(800,190)"/>
    <wire from="(730,80)" to="(830,80)"/>
    <wire from="(330,80)" to="(430,80)"/>
    <wire from="(600,100)" to="(600,180)"/>
    <wire from="(420,90)" to="(520,90)"/>
    <wire from="(710,490)" to="(710,570)"/>
    <wire from="(440,70)" to="(540,70)"/>
    <wire from="(810,780)" to="(980,780)"/>
    <wire from="(400,100)" to="(400,190)"/>
    <wire from="(240,70)" to="(340,70)"/>
    <wire from="(220,90)" to="(320,90)"/>
    <wire from="(70,80)" to="(100,80)"/>
    <wire from="(1030,570)" to="(1050,570)"/>
    <wire from="(1030,490)" to="(1050,490)"/>
    <wire from="(510,740)" to="(990,740)"/>
    <wire from="(910,550)" to="(910,800)"/>
    <wire from="(210,300)" to="(1050,300)"/>
    <wire from="(210,240)" to="(210,300)"/>
    <comp lib="0" loc="(1050,570)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="label" val="RegWrite"/>
      <a name="labelloc" val="east"/>
      <a name="labelfont" val="SansSerif bold 12"/>
    </comp>
    <comp lib="0" loc="(1050,630)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="label" val="ExtOp1"/>
      <a name="labelloc" val="east"/>
      <a name="labelfont" val="SansSerif bold 12"/>
    </comp>
    <comp lib="0" loc="(70,80)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="OP2"/>
      <a name="labelfont" val="SansSerif bolditalic 12"/>
    </comp>
    <comp lib="0" loc="(1050,420)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="label" val="MemtoReg"/>
      <a name="labelloc" val="east"/>
      <a name="labelfont" val="SansSerif bold 12"/>
    </comp>
    <comp lib="0" loc="(1050,720)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="label" val="OP0"/>
      <a name="labelloc" val="east"/>
      <a name="labelfont" val="SansSerif bold 12"/>
    </comp>
    <comp lib="0" loc="(70,140)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="OP4"/>
      <a name="labelfont" val="SansSerif bolditalic 12"/>
    </comp>
    <comp lib="0" loc="(70,50)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="OP1"/>
      <a name="labelfont" val="SansSerif bolditalic 12"/>
    </comp>
    <comp lib="0" loc="(1050,670)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="label" val="ExtOp2"/>
      <a name="labelloc" val="east"/>
      <a name="labelfont" val="SansSerif bold 12"/>
    </comp>
    <comp lib="0" loc="(1050,360)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="label" val="Branch"/>
      <a name="labelloc" val="east"/>
      <a name="labelfont" val="SansSerif bold 12"/>
    </comp>
    <comp lib="1" loc="(510,240)" name="AND Gate">
      <a name="facing" val="south"/>
      <a name="inputs" val="6"/>
      <a name="label" val="beq"/>
      <a name="labelfont" val="SansSerif bolditalic 12"/>
      <a name="negate0" val="true"/>
      <a name="negate1" val="true"/>
      <a name="negate2" val="true"/>
      <a name="negate4" val="true"/>
      <a name="negate5" val="true"/>
    </comp>
    <comp lib="0" loc="(70,20)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="OP0"/>
      <a name="labelfont" val="SansSerif bolditalic 12"/>
    </comp>
    <comp lib="6" loc="(1012,40)" name="Text">
      <a name="text" val="Control Unit"/>
      <a name="font" val="SansSerif bolditalic 18"/>
    </comp>
    <comp lib="1" loc="(810,240)" name="AND Gate">
      <a name="facing" val="south"/>
      <a name="inputs" val="6"/>
      <a name="label" val="andi"/>
      <a name="labelfont" val="SansSerif bolditalic 12"/>
      <a name="negate0" val="true"/>
      <a name="negate1" val="true"/>
      <a name="negate4" val="true"/>
      <a name="negate5" val="true"/>
    </comp>
    <comp lib="0" loc="(1050,330)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="label" val="Jump"/>
      <a name="labelloc" val="east"/>
      <a name="labelfont" val="SansSerif bold 12"/>
    </comp>
    <comp lib="1" loc="(410,240)" name="AND Gate">
      <a name="facing" val="south"/>
      <a name="inputs" val="6"/>
      <a name="label" val="sw"/>
      <a name="labelfont" val="SansSerif bolditalic 12"/>
      <a name="negate1" val="true"/>
      <a name="negate3" val="true"/>
    </comp>
    <comp lib="6" loc="(494,52)" name="Text">
      <a name="text" val="120181318"/>
      <a name="font" val="SansSerif bold 18"/>
    </comp>
    <comp lib="0" loc="(1050,390)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="label" val="MemRead"/>
      <a name="labelloc" val="east"/>
      <a name="labelfont" val="SansSerif bold 12"/>
    </comp>
    <comp lib="1" loc="(610,240)" name="AND Gate">
      <a name="facing" val="south"/>
      <a name="inputs" val="6"/>
      <a name="label" val="j"/>
      <a name="labelfont" val="SansSerif bolditalic 12"/>
      <a name="negate0" val="true"/>
      <a name="negate1" val="true"/>
      <a name="negate2" val="true"/>
      <a name="negate3" val="true"/>
      <a name="negate5" val="true"/>
    </comp>
    <comp lib="6" loc="(787,53)" name="Text">
      <a name="text" val="120180967"/>
      <a name="font" val="SansSerif bold 18"/>
    </comp>
    <comp lib="1" loc="(1040,720)" name="OR Gate">
      <a name="inputs" val="2"/>
    </comp>
    <comp lib="1" loc="(910,240)" name="AND Gate">
      <a name="facing" val="south"/>
      <a name="inputs" val="6"/>
      <a name="label" val="nor"/>
      <a name="labelfont" val="SansSerif bolditalic 12"/>
      <a name="negate1" val="true"/>
      <a name="negate2" val="true"/>
    </comp>
    <comp lib="1" loc="(710,240)" name="AND Gate">
      <a name="facing" val="south"/>
      <a name="inputs" val="6"/>
      <a name="label" val="ori"/>
      <a name="labelfont" val="SansSerif bolditalic 12"/>
      <a name="negate0" val="true"/>
      <a name="negate1" val="true"/>
      <a name="negate4" val="true"/>
    </comp>
    <comp lib="6" loc="(795,24)" name="Text">
      <a name="text" val="Karam Salah Elradie"/>
      <a name="font" val="SansSerif bold 18"/>
    </comp>
    <comp lib="1" loc="(1030,800)" name="OR Gate">
      <a name="inputs" val="3"/>
    </comp>
    <comp lib="1" loc="(210,240)" name="AND Gate">
      <a name="facing" val="south"/>
      <a name="inputs" val="6"/>
      <a name="label" val="r-type"/>
      <a name="labelfont" val="SansSerif bolditalic 12"/>
      <a name="negate0" val="true"/>
      <a name="negate1" val="true"/>
      <a name="negate2" val="true"/>
      <a name="negate3" val="true"/>
      <a name="negate4" val="true"/>
      <a name="negate5" val="true"/>
    </comp>
    <comp lib="6" loc="(493,23)" name="Text">
      <a name="text" val="Mohammed Mahmoud Dahalan"/>
      <a name="font" val="SansSerif bold 18"/>
    </comp>
    <comp lib="1" loc="(1030,570)" name="OR Gate"/>
    <comp lib="0" loc="(1050,300)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="label" val="RegDst"/>
      <a name="labelloc" val="east"/>
      <a name="labelfont" val="SansSerif bold 12"/>
    </comp>
    <comp lib="0" loc="(1050,450)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="label" val="MemWrite"/>
      <a name="labelloc" val="east"/>
      <a name="labelfont" val="SansSerif bold 12"/>
    </comp>
    <comp lib="0" loc="(1050,800)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="label" val="OP2"/>
      <a name="labelloc" val="east"/>
      <a name="labelfont" val="SansSerif bold 12"/>
    </comp>
    <comp lib="1" loc="(310,240)" name="AND Gate">
      <a name="facing" val="south"/>
      <a name="inputs" val="6"/>
      <a name="label" val="lw"/>
      <a name="labelfont" val="SansSerif bolditalic 12"/>
      <a name="negate1" val="true"/>
      <a name="negate2" val="true"/>
      <a name="negate3" val="true"/>
    </comp>
    <comp lib="0" loc="(70,170)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="OP5"/>
      <a name="labelfont" val="SansSerif bolditalic 12"/>
    </comp>
    <comp lib="0" loc="(1050,490)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="label" val="Alusrc"/>
      <a name="labelloc" val="east"/>
      <a name="labelfont" val="SansSerif bold 12"/>
    </comp>
    <comp lib="0" loc="(70,110)" name="Pin">
      <a name="tristate" val="false"/>
      <a name="label" val="OP3"/>
      <a name="labelfont" val="SansSerif bolditalic 12"/>
    </comp>
    <comp lib="0" loc="(1050,760)" name="Pin">
      <a name="facing" val="west"/>
      <a name="output" val="true"/>
      <a name="label" val="OP1"/>
      <a name="labelloc" val="east"/>
      <a name="labelfont" val="SansSerif bold 12"/>
    </comp>
    <comp lib="1" loc="(1030,490)" name="OR Gate"/>
  </circuit>
</project>
