184 lines
6.5 KiB
XML
184 lines
6.5 KiB
XML
<?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="8"/>
|
|
<a name="incoming" val="8"/>
|
|
<a name="appear" val="legacy"/>
|
|
</tool>
|
|
<tool name="Pin">
|
|
<a name="facing" val="south"/>
|
|
</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>
|
|
<tool name="Text">
|
|
<a name="text" val="a"/>
|
|
</tool>
|
|
</lib>
|
|
<lib desc="file#/media/DataEXT4/Documents/Logisim/lab14/AdderSubtractor.circ" name="7"/>
|
|
<lib desc="file#../AND8bit.circ" name="8"/>
|
|
<lib desc="file#../OR8bit.circ" name="9"/>
|
|
<lib desc="file#../AdderSubtractor_Markou.circ" name="10"/>
|
|
<main name="ALU"/>
|
|
<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="ALU">
|
|
<a name="circuit" val="ALU"/>
|
|
<a name="clabel" val="ALU"/>
|
|
<a name="clabelup" val="east"/>
|
|
<a name="clabelfont" val="SansSerif plain 12"/>
|
|
<appear>
|
|
<path d="M50,100 Q70,75 50,50" fill="none" stroke="#000000"/>
|
|
<polyline fill="none" points="50,50 50,10" stroke="#000000"/>
|
|
<polyline fill="none" points="50,10 81,10" stroke="#000000"/>
|
|
<polyline fill="none" points="100,50 100,100" stroke="#000000"/>
|
|
<polyline fill="none" points="81,9 100,49" stroke="#000000"/>
|
|
<polyline fill="none" points="100,101 80,130" stroke="#000000"/>
|
|
<polyline fill="none" points="81,130 49,130" stroke="#000000"/>
|
|
<polyline fill="none" points="50,100 50,130" stroke="#000000"/>
|
|
<circ-port height="8" pin="120,140" width="8" x="46" y="26"/>
|
|
<circ-port height="8" pin="130,410" width="8" x="46" y="116"/>
|
|
<circ-port height="10" pin="630,230" width="10" x="95" y="65"/>
|
|
<circ-port height="8" pin="510,460" width="8" x="66" y="6"/>
|
|
<circ-anchor facing="east" height="6" width="6" x="67" y="27"/>
|
|
</appear>
|
|
<wire from="(190,160)" to="(190,290)"/>
|
|
<wire from="(210,140)" to="(210,270)"/>
|
|
<wire from="(400,170)" to="(460,170)"/>
|
|
<wire from="(470,340)" to="(530,340)"/>
|
|
<wire from="(130,410)" to="(190,410)"/>
|
|
<wire from="(580,230)" to="(630,230)"/>
|
|
<wire from="(450,240)" to="(450,380)"/>
|
|
<wire from="(510,450)" to="(510,460)"/>
|
|
<wire from="(530,340)" to="(530,370)"/>
|
|
<wire from="(360,340)" to="(470,340)"/>
|
|
<wire from="(450,240)" to="(550,240)"/>
|
|
<wire from="(360,340)" to="(360,370)"/>
|
|
<wire from="(510,450)" to="(550,450)"/>
|
|
<wire from="(540,310)" to="(560,310)"/>
|
|
<wire from="(490,160)" to="(520,160)"/>
|
|
<wire from="(520,220)" to="(550,220)"/>
|
|
<wire from="(120,140)" to="(210,140)"/>
|
|
<wire from="(470,180)" to="(470,340)"/>
|
|
<wire from="(400,170)" to="(400,280)"/>
|
|
<wire from="(190,410)" to="(340,410)"/>
|
|
<wire from="(190,290)" to="(340,290)"/>
|
|
<wire from="(190,160)" to="(340,160)"/>
|
|
<wire from="(380,280)" to="(400,280)"/>
|
|
<wire from="(550,390)" to="(550,450)"/>
|
|
<wire from="(540,310)" to="(540,370)"/>
|
|
<wire from="(560,250)" to="(560,310)"/>
|
|
<wire from="(380,150)" to="(460,150)"/>
|
|
<wire from="(190,290)" to="(190,410)"/>
|
|
<wire from="(210,270)" to="(210,390)"/>
|
|
<wire from="(520,160)" to="(520,220)"/>
|
|
<wire from="(210,270)" to="(340,270)"/>
|
|
<wire from="(210,140)" to="(340,140)"/>
|
|
<wire from="(210,390)" to="(340,390)"/>
|
|
<wire from="(380,380)" to="(450,380)"/>
|
|
<comp lib="0" loc="(130,410)" name="Pin">
|
|
<a name="width" val="8"/>
|
|
<a name="tristate" val="false"/>
|
|
<a name="label" val="b"/>
|
|
</comp>
|
|
<comp lib="8" loc="(360,140)" name="AND8bit"/>
|
|
<comp lib="0" loc="(120,140)" name="Pin">
|
|
<a name="width" val="8"/>
|
|
<a name="tristate" val="false"/>
|
|
<a name="label" val="a"/>
|
|
</comp>
|
|
<comp lib="6" loc="(451,492)" name="Text">
|
|
<a name="text" val="11 -"/>
|
|
</comp>
|
|
<comp lib="9" loc="(360,270)" name="OR8bit"/>
|
|
<comp lib="2" loc="(580,230)" name="Multiplexer">
|
|
<a name="width" val="8"/>
|
|
<a name="enable" val="false"/>
|
|
</comp>
|
|
<comp lib="6" loc="(451,478)" name="Text">
|
|
<a name="text" val="10 +"/>
|
|
</comp>
|
|
<comp lib="2" loc="(490,160)" name="Multiplexer">
|
|
<a name="width" val="8"/>
|
|
<a name="enable" val="false"/>
|
|
</comp>
|
|
<comp lib="0" loc="(550,390)" name="Splitter">
|
|
<a name="facing" val="north"/>
|
|
<a name="bit0" val="1"/>
|
|
<a name="bit1" val="0"/>
|
|
</comp>
|
|
<comp lib="10" loc="(360,380)" name="EightBitAdderSubtractor"/>
|
|
<comp lib="6" loc="(461,447)" name="Text">
|
|
<a name="text" val="00 AND"/>
|
|
</comp>
|
|
<comp lib="6" loc="(457,463)" name="Text">
|
|
<a name="text" val="01 OR"/>
|
|
</comp>
|
|
<comp lib="0" loc="(630,230)" name="Pin">
|
|
<a name="facing" val="west"/>
|
|
<a name="output" val="true"/>
|
|
<a name="width" val="8"/>
|
|
<a name="tristate" val="false"/>
|
|
<a name="labelloc" val="east"/>
|
|
</comp>
|
|
<comp lib="0" loc="(510,460)" name="Pin">
|
|
<a name="facing" val="north"/>
|
|
<a name="width" val="2"/>
|
|
<a name="tristate" val="false"/>
|
|
</comp>
|
|
</circuit>
|
|
</project>
|