Skip to content

Instantly share code, notes, and snippets.

@ClaytonSibanda
Forked from MelulekiDube/alu.circ
Created October 4, 2018 19:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ClaytonSibanda/40f997238b6ff80755c77926a93d646e to your computer and use it in GitHub Desktop.
Save ClaytonSibanda/40f997238b6ff80755c77926a93d646e to your computer and use it in GitHub Desktop.
<?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="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"/>
<wire from="(530,210)" to="(530,220)"/>
<wire from="(230,100)" to="(230,170)"/>
<wire from="(240,310)" to="(300,310)"/>
<wire from="(190,490)" to="(500,490)"/>
<wire from="(640,630)" to="(890,630)"/>
<wire from="(510,390)" to="(510,400)"/>
<wire from="(440,620)" to="(610,620)"/>
<wire from="(450,450)" to="(450,470)"/>
<wire from="(620,610)" to="(620,700)"/>
<wire from="(150,440)" to="(380,440)"/>
<wire from="(220,230)" to="(260,230)"/>
<wire from="(630,590)" to="(630,610)"/>
<wire from="(260,230)" to="(490,230)"/>
<wire from="(780,290)" to="(890,290)"/>
<wire from="(190,880)" to="(610,880)"/>
<wire from="(390,200)" to="(390,430)"/>
<wire from="(300,630)" to="(390,630)"/>
<wire from="(590,900)" to="(610,900)"/>
<wire from="(930,660)" to="(930,890)"/>
<wire from="(310,100)" to="(330,100)"/>
<wire from="(600,300)" to="(600,460)"/>
<wire from="(400,430)" to="(420,430)"/>
<wire from="(420,100)" to="(420,410)"/>
<wire from="(700,660)" to="(700,720)"/>
<wire from="(420,520)" to="(550,520)"/>
<wire from="(230,380)" to="(300,380)"/>
<wire from="(890,630)" to="(890,810)"/>
<wire from="(530,210)" to="(540,210)"/>
<wire from="(350,100)" to="(420,100)"/>
<wire from="(550,520)" to="(550,530)"/>
<wire from="(330,460)" to="(380,460)"/>
<wire from="(260,230)" to="(260,240)"/>
<wire from="(640,720)" to="(700,720)"/>
<wire from="(330,340)" to="(330,350)"/>
<wire from="(320,590)" to="(630,590)"/>
<wire from="(560,460)" to="(600,460)"/>
<wire from="(590,770)" to="(630,770)"/>
<wire from="(620,700)" to="(620,790)"/>
<wire from="(280,240)" to="(280,320)"/>
<wire from="(640,890)" to="(930,890)"/>
<wire from="(320,380)" to="(320,590)"/>
<wire from="(500,350)" to="(740,350)"/>
<wire from="(150,530)" to="(380,530)"/>
<wire from="(630,790)" to="(630,870)"/>
<wire from="(890,290)" to="(890,630)"/>
<wire from="(150,490)" to="(190,490)"/>
<wire from="(300,310)" to="(300,340)"/>
<wire from="(390,430)" to="(390,520)"/>
<wire from="(190,490)" to="(190,710)"/>
<wire from="(220,400)" to="(220,620)"/>
<wire from="(590,600)" to="(590,640)"/>
<wire from="(480,390)" to="(510,390)"/>
<wire from="(280,350)" to="(310,350)"/>
<wire from="(480,280)" to="(480,390)"/>
<wire from="(400,520)" to="(420,520)"/>
<wire from="(540,210)" to="(760,210)"/>
<wire from="(190,710)" to="(190,820)"/>
<wire from="(310,100)" to="(310,280)"/>
<wire from="(230,100)" to="(310,100)"/>
<wire from="(760,210)" to="(760,270)"/>
<wire from="(420,410)" to="(550,410)"/>
<wire from="(660,370)" to="(740,370)"/>
<wire from="(480,280)" to="(740,280)"/>
<wire from="(600,300)" to="(740,300)"/>
<wire from="(660,370)" to="(660,550)"/>
<wire from="(470,560)" to="(530,560)"/>
<wire from="(230,370)" to="(230,380)"/>
<wire from="(390,630)" to="(390,770)"/>
<wire from="(640,810)" to="(890,810)"/>
<wire from="(290,270)" to="(290,280)"/>
<wire from="(280,340)" to="(280,350)"/>
<wire from="(760,380)" to="(760,410)"/>
<wire from="(930,360)" to="(970,360)"/>
<wire from="(550,410)" to="(550,440)"/>
<wire from="(620,790)" to="(620,870)"/>
<wire from="(420,430)" to="(420,520)"/>
<wire from="(630,770)" to="(630,790)"/>
<wire from="(220,400)" to="(510,400)"/>
<wire from="(190,820)" to="(610,820)"/>
<wire from="(140,170)" to="(230,170)"/>
<wire from="(420,100)" to="(450,100)"/>
<wire from="(590,640)" to="(610,640)"/>
<wire from="(780,360)" to="(930,360)"/>
<wire from="(300,340)" to="(330,340)"/>
<wire from="(350,550)" to="(380,550)"/>
<wire from="(220,620)" to="(440,620)"/>
<wire from="(140,200)" to="(290,200)"/>
<wire from="(450,100)" to="(450,210)"/>
<wire from="(410,540)" to="(430,540)"/>
<wire from="(430,560)" to="(450,560)"/>
<wire from="(220,230)" to="(220,340)"/>
<wire from="(540,210)" to="(540,440)"/>
<wire from="(520,220)" to="(530,220)"/>
<wire from="(450,470)" to="(460,470)"/>
<wire from="(450,450)" to="(530,450)"/>
<wire from="(220,620)" to="(220,800)"/>
<wire from="(150,400)" to="(220,400)"/>
<wire from="(220,800)" to="(610,800)"/>
<wire from="(890,290)" to="(970,290)"/>
<wire from="(390,770)" to="(590,770)"/>
<wire from="(630,700)" to="(630,710)"/>
<wire from="(480,470)" to="(530,470)"/>
<wire from="(500,350)" to="(500,490)"/>
<wire from="(590,640)" to="(590,770)"/>
<wire from="(440,730)" to="(610,730)"/>
<wire from="(700,660)" to="(930,660)"/>
<wire from="(430,540)" to="(430,560)"/>
<wire from="(420,410)" to="(420,430)"/>
<wire from="(540,440)" to="(540,530)"/>
<wire from="(630,610)" to="(630,700)"/>
<wire from="(560,550)" to="(660,550)"/>
<wire from="(760,310)" to="(760,340)"/>
<wire from="(290,200)" to="(390,200)"/>
<wire from="(430,540)" to="(530,540)"/>
<wire from="(240,310)" to="(240,340)"/>
<wire from="(590,900)" to="(590,920)"/>
<wire from="(410,450)" to="(450,450)"/>
<wire from="(450,210)" to="(490,210)"/>
<wire from="(190,710)" to="(610,710)"/>
<wire from="(620,570)" to="(620,610)"/>
<wire from="(930,360)" to="(930,660)"/>
<wire from="(440,620)" to="(440,730)"/>
<wire from="(260,240)" to="(280,240)"/>
<wire from="(760,410)" to="(980,410)"/>
<wire from="(140,230)" to="(220,230)"/>
<wire from="(130,200)" to="(140,200)"/>
<wire from="(290,200)" to="(290,250)"/>
<wire from="(300,380)" to="(300,630)"/>
<wire from="(190,820)" to="(190,880)"/>
<comp lib="1" loc="(470,560)" name="NOT Gate">
<a name="size" val="20"/>
</comp>
<comp lib="1" loc="(320,380)" name="AND Gate">
<a name="facing" val="south"/>
<a name="size" val="30"/>
<a name="inputs" val="2"/>
</comp>
<comp lib="5" loc="(970,290)" name="LED"/>
<comp lib="0" loc="(150,490)" name="Pin">
<a name="tristate" val="false"/>
</comp>
<comp lib="0" loc="(140,170)" name="Pin">
<a name="tristate" val="false"/>
</comp>
<comp lib="1" loc="(350,100)" name="NOT Gate">
<a name="size" val="20"/>
</comp>
<comp lib="6" loc="(791,660)" name="Text">
<a name="text" val="y1"/>
</comp>
<comp lib="0" loc="(350,550)" name="Constant">
<a name="value" val="0x0"/>
</comp>
<comp lib="6" loc="(108,209)" name="Text">
<a name="text" val="F1"/>
</comp>
<comp lib="6" loc="(111,235)" name="Text">
<a name="text" val="F0"/>
</comp>
<comp lib="6" loc="(281,240)" name="Text"/>
<comp lib="3" loc="(780,290)" name="Adder">
<a name="width" val="1"/>
</comp>
<comp lib="6" loc="(778,804)" name="Text">
<a name="text" val="y0"/>
</comp>
<comp lib="0" loc="(330,460)" name="Constant"/>
<comp lib="1" loc="(290,270)" name="NOT Gate">
<a name="facing" val="south"/>
<a name="size" val="20"/>
</comp>
<comp lib="0" loc="(140,200)" name="Pin">
<a name="tristate" val="false"/>
</comp>
<comp lib="2" loc="(410,450)" name="Multiplexer">
<a name="selloc" val="tr"/>
</comp>
<comp lib="6" loc="(119,496)" name="Text">
<a name="text" val="A1"/>
</comp>
<comp lib="0" loc="(140,230)" name="Pin">
<a name="tristate" val="false"/>
</comp>
<comp lib="2" loc="(640,890)" name="Multiplexer">
<a name="selloc" val="tr"/>
</comp>
<comp lib="6" loc="(119,406)" name="Text">
<a name="text" val="A0"/>
</comp>
<comp lib="6" loc="(778,650)" name="Text"/>
<comp lib="3" loc="(780,360)" name="Adder">
<a name="width" val="1"/>
</comp>
<comp lib="2" loc="(640,810)" name="Multiplexer">
<a name="selloc" val="tr"/>
</comp>
<comp lib="6" loc="(772,884)" name="Text">
<a name="text" val="y1"/>
</comp>
<comp lib="2" loc="(560,460)" name="Multiplexer">
<a name="selloc" val="tr"/>
</comp>
<comp lib="5" loc="(970,360)" name="LED"/>
<comp lib="2" loc="(640,630)" name="Multiplexer">
<a name="selloc" val="tr"/>
</comp>
<comp lib="1" loc="(230,370)" name="AND Gate">
<a name="facing" val="south"/>
<a name="size" val="30"/>
<a name="inputs" val="2"/>
</comp>
<comp lib="2" loc="(410,540)" name="Multiplexer">
<a name="selloc" val="tr"/>
</comp>
<comp lib="0" loc="(150,400)" name="Pin">
<a name="tristate" val="false"/>
</comp>
<comp lib="6" loc="(109,176)" name="Text">
<a name="text" val="F2"/>
</comp>
<comp lib="0" loc="(150,440)" name="Pin">
<a name="tristate" val="false"/>
</comp>
<comp lib="5" loc="(980,410)" name="LED">
<a name="color" val="#f0e21b"/>
</comp>
<comp lib="6" loc="(119,446)" name="Text">
<a name="text" val="B0"/>
</comp>
<comp lib="1" loc="(480,470)" name="NOT Gate">
<a name="size" val="20"/>
</comp>
<comp lib="0" loc="(150,530)" name="Pin">
<a name="tristate" val="false"/>
</comp>
<comp lib="2" loc="(640,720)" name="Multiplexer">
<a name="selloc" val="tr"/>
</comp>
<comp lib="0" loc="(590,640)" name="Ground"/>
<comp lib="2" loc="(560,550)" name="Multiplexer">
<a name="selloc" val="tr"/>
</comp>
<comp lib="6" loc="(119,534)" name="Text">
<a name="text" val="B1"/>
</comp>
<comp lib="6" loc="(613,224)" name="Text"/>
<comp lib="6" loc="(791,629)" name="Text">
<a name="text" val="y0"/>
</comp>
<comp lib="0" loc="(620,570)" name="Constant">
<a name="facing" val="south"/>
</comp>
<comp lib="1" loc="(520,220)" name="AND Gate">
<a name="size" val="30"/>
<a name="inputs" val="2"/>
</comp>
<comp lib="1" loc="(280,340)" name="NOT Gate">
<a name="facing" val="south"/>
<a name="size" val="20"/>
</comp>
<comp lib="0" loc="(590,920)" name="Ground"/>
<comp lib="1" loc="(300,310)" name="AND Gate">
<a name="facing" val="south"/>
<a name="size" val="30"/>
<a name="inputs" val="2"/>
</comp>
</circuit>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment