PSD_202410715036/Praktikum 3/8bitcomparator.circ

435 lines
19 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project source="4.0.0" version="1.0">
This file is intended to be loaded by Logisim-evolution v4.0.0(https://github.com/logisim-evolution/).
<lib desc="#Wiring" name="0">
<tool name="Pin">
<a name="appearance" val="classic"/>
</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="#TTL" name="6"/>
<lib desc="#TCL" name="7"/>
<lib desc="#Base" name="8"/>
<lib desc="#BFH-Praktika" name="9"/>
<lib desc="#Input/Output-Extra" name="10"/>
<lib desc="#Soc" name="11"/>
<main name="main"/>
<options>
<a name="gateUndefined" val="ignore"/>
<a name="simlimit" val="1000"/>
<a name="simrand" val="0"/>
</options>
<mappings>
<tool lib="8" map="Button2" name="Poke Tool"/>
<tool lib="8" map="Button3" name="Menu Tool"/>
<tool lib="8" map="Ctrl Button1" name="Menu Tool"/>
</mappings>
<toolbar>
<tool lib="8" name="Poke Tool"/>
<tool lib="8" name="Edit Tool"/>
<tool lib="8" name="Wiring Tool"/>
<tool lib="8" name="Text Tool"/>
<sep/>
<tool lib="0" name="Pin"/>
<tool lib="0" name="Pin">
<a name="facing" val="west"/>
<a name="type" val="output"/>
</tool>
<sep/>
<tool lib="1" name="NOT Gate"/>
<tool lib="1" name="AND Gate"/>
<tool lib="1" name="OR Gate"/>
<tool lib="1" name="XOR Gate"/>
<tool lib="1" name="NAND Gate"/>
<tool lib="1" name="NOR Gate"/>
<sep/>
<tool lib="4" name="D Flip-Flop"/>
<tool lib="4" name="Register"/>
</toolbar>
<circuit name="main">
<a name="appearance" val="logisim_evolution"/>
<a name="circuit" val="main"/>
<a name="circuitnamedboxfixedsize" val="true"/>
<a name="simulationFrequency" val="1.0"/>
<comp lib="0" loc="(100,710)" name="Constant"/>
<comp lib="0" loc="(100,840)" name="Constant"/>
<comp lib="0" loc="(110,1030)" name="Constant"/>
<comp lib="0" loc="(110,900)" name="Constant"/>
<comp lib="0" loc="(120,1120)" name="Constant"/>
<comp lib="0" loc="(120,1250)" name="Constant"/>
<comp lib="0" loc="(80,1470)" name="Constant"/>
<comp lib="0" loc="(80,480)" name="Constant"/>
<comp lib="0" loc="(80,520)" name="Constant"/>
<comp lib="0" loc="(90,160)" name="Constant"/>
<comp lib="0" loc="(90,1600)" name="Constant"/>
<comp lib="0" loc="(90,1730)" name="Constant"/>
<comp lib="0" loc="(90,1860)" name="Constant"/>
<comp lib="0" loc="(90,290)" name="Constant"/>
<comp lib="0" loc="(90,350)" name="Constant"/>
<comp lib="0" loc="(90,650)" name="Constant"/>
<comp lib="1" loc="(1000,1010)" name="AND Gate"/>
<comp lib="1" loc="(1040,1330)" name="AND Gate"/>
<comp lib="1" loc="(1040,930)" name="AND Gate"/>
<comp lib="1" loc="(1080,1240)" name="AND Gate"/>
<comp lib="1" loc="(1090,1160)" name="AND Gate"/>
<comp lib="1" loc="(1140,1640)" name="AND Gate"/>
<comp lib="1" loc="(1150,1550)" name="AND Gate"/>
<comp lib="1" loc="(1200,1450)" name="AND Gate"/>
<comp lib="1" loc="(1220,1820)" name="AND Gate"/>
<comp lib="1" loc="(1230,1730)" name="AND Gate"/>
<comp lib="1" loc="(1230,1930)" name="AND Gate"/>
<comp lib="1" loc="(1230,420)" name="OR Gate"/>
<comp lib="1" loc="(1300,330)" name="OR Gate"/>
<comp lib="1" loc="(1310,590)" name="OR Gate"/>
<comp lib="1" loc="(1390,530)" name="OR Gate"/>
<comp lib="1" loc="(1390,780)" name="OR Gate"/>
<comp lib="1" loc="(1460,990)" name="OR Gate"/>
<comp lib="1" loc="(1480,690)" name="OR Gate"/>
<comp lib="1" loc="(1530,1220)" name="OR Gate"/>
<comp lib="1" loc="(1550,910)" name="OR Gate"/>
<comp lib="1" loc="(1610,1530)" name="OR Gate"/>
<comp lib="1" loc="(1640,1140)" name="OR Gate"/>
<comp lib="1" loc="(1710,1430)" name="OR Gate"/>
<comp lib="1" loc="(1710,1810)" name="OR Gate"/>
<comp lib="1" loc="(1780,1710)" name="OR Gate"/>
<comp lib="1" loc="(220,1470)" name="NOT Gate"/>
<comp lib="1" loc="(220,160)" name="NOT Gate"/>
<comp lib="1" loc="(220,1600)" name="NOT Gate"/>
<comp lib="1" loc="(220,1730)" name="NOT Gate"/>
<comp lib="1" loc="(220,1860)" name="NOT Gate"/>
<comp lib="1" loc="(220,290)" name="NOT Gate"/>
<comp lib="1" loc="(220,350)" name="NOT Gate"/>
<comp lib="1" loc="(220,480)" name="NOT Gate"/>
<comp lib="1" loc="(220,520)" name="NOT Gate"/>
<comp lib="1" loc="(220,650)" name="NOT Gate"/>
<comp lib="1" loc="(230,710)" name="NOT Gate"/>
<comp lib="1" loc="(230,840)" name="NOT Gate"/>
<comp lib="1" loc="(240,1030)" name="NOT Gate"/>
<comp lib="1" loc="(240,900)" name="NOT Gate"/>
<comp lib="1" loc="(250,1120)" name="NOT Gate"/>
<comp lib="1" loc="(250,1250)" name="NOT Gate"/>
<comp lib="1" loc="(270,1490)" name="AND Gate"/>
<comp lib="1" loc="(270,1580)" name="AND Gate"/>
<comp lib="1" loc="(270,1750)" name="AND Gate"/>
<comp lib="1" loc="(270,180)" name="AND Gate"/>
<comp lib="1" loc="(270,1840)" name="AND Gate"/>
<comp lib="1" loc="(270,270)" name="AND Gate"/>
<comp lib="1" loc="(270,370)" name="AND Gate"/>
<comp lib="1" loc="(270,460)" name="AND Gate"/>
<comp lib="1" loc="(270,540)" name="AND Gate"/>
<comp lib="1" loc="(270,630)" name="AND Gate"/>
<comp lib="1" loc="(280,730)" name="AND Gate"/>
<comp lib="1" loc="(280,820)" name="AND Gate"/>
<comp lib="1" loc="(290,1010)" name="AND Gate"/>
<comp lib="1" loc="(290,920)" name="AND Gate"/>
<comp lib="1" loc="(300,1140)" name="AND Gate"/>
<comp lib="1" loc="(300,1230)" name="AND Gate"/>
<comp lib="1" loc="(420,1540)" name="XNOR Gate"/>
<comp lib="1" loc="(420,1800)" name="XNOR Gate"/>
<comp lib="1" loc="(420,230)" name="XNOR Gate"/>
<comp lib="1" loc="(420,420)" name="XNOR Gate"/>
<comp lib="1" loc="(420,590)" name="XNOR Gate"/>
<comp lib="1" loc="(430,780)" name="XNOR Gate"/>
<comp lib="1" loc="(440,970)" name="XNOR Gate"/>
<comp lib="1" loc="(450,1190)" name="XNOR Gate"/>
<comp lib="1" loc="(560,500)" name="AND Gate"/>
<comp lib="1" loc="(640,440)" name="AND Gate"/>
<comp lib="1" loc="(650,350)" name="AND Gate"/>
<comp lib="1" loc="(730,670)" name="AND Gate"/>
<comp lib="1" loc="(830,870)" name="AND Gate"/>
<comp lib="1" loc="(880,800)" name="AND Gate"/>
<comp lib="1" loc="(890,550)" name="AND Gate"/>
<comp lib="1" loc="(890,610)" name="AND Gate"/>
<comp lib="1" loc="(960,1090)" name="AND Gate"/>
<comp lib="1" loc="(970,710)" name="AND Gate"/>
<comp lib="5" loc="(1810,1930)" name="LED"/>
<comp lib="5" loc="(1830,1810)" name="LED"/>
<comp lib="5" loc="(1840,1710)" name="LED"/>
<comp lib="8" loc="(1888,1932)" name="Text">
<a name="font" val="SansSerif bold 20"/>
<a name="text" val="A=B"/>
</comp>
<comp lib="8" loc="(1904,1717)" name="Text">
<a name="font" val="SansSerif bold 20"/>
<a name="text" val="A&lt;B"/>
</comp>
<comp lib="8" loc="(1904,1818)" name="Text">
<a name="font" val="SansSerif bold 20"/>
<a name="text" val="A&gt;B"/>
</comp>
<comp lib="8" loc="(2193,200)" name="Text">
<a name="font" val="SansSerif bold 40"/>
<a name="text" val="202410715036"/>
</comp>
<comp lib="8" loc="(2323,146)" name="Text">
<a name="font" val="SansSerif bold 40"/>
<a name="text" val="Pingky Nanda Rahmadhani"/>
</comp>
<wire from="(100,710)" to="(140,710)"/>
<wire from="(100,840)" to="(170,840)"/>
<wire from="(1000,1010)" to="(1410,1010)"/>
<wire from="(1040,1330)" to="(1060,1330)"/>
<wire from="(1040,930)" to="(1500,930)"/>
<wire from="(1060,1330)" to="(1060,1430)"/>
<wire from="(1060,1430)" to="(1060,1530)"/>
<wire from="(1060,1430)" to="(1150,1430)"/>
<wire from="(1060,1530)" to="(1060,1620)"/>
<wire from="(1060,1530)" to="(1100,1530)"/>
<wire from="(1060,1620)" to="(1090,1620)"/>
<wire from="(1080,1240)" to="(1480,1240)"/>
<wire from="(1090,1160)" to="(1590,1160)"/>
<wire from="(110,1030)" to="(180,1030)"/>
<wire from="(110,900)" to="(150,900)"/>
<wire from="(1100,1470)" to="(1100,1490)"/>
<wire from="(1100,1470)" to="(1150,1470)"/>
<wire from="(1140,1640)" to="(1140,1710)"/>
<wire from="(1140,1710)" to="(1140,1800)"/>
<wire from="(1140,1710)" to="(1180,1710)"/>
<wire from="(1140,1800)" to="(1140,1910)"/>
<wire from="(1140,1800)" to="(1170,1800)"/>
<wire from="(1140,1910)" to="(1180,1910)"/>
<wire from="(1150,1550)" to="(1560,1550)"/>
<wire from="(1160,270)" to="(1160,400)"/>
<wire from="(1160,400)" to="(1180,400)"/>
<wire from="(1190,180)" to="(1190,310)"/>
<wire from="(1190,310)" to="(1250,310)"/>
<wire from="(120,1120)" to="(160,1120)"/>
<wire from="(120,1250)" to="(190,1250)"/>
<wire from="(1200,1450)" to="(1660,1450)"/>
<wire from="(1220,1820)" to="(1370,1820)"/>
<wire from="(1230,1730)" to="(1730,1730)"/>
<wire from="(1230,1930)" to="(1810,1930)"/>
<wire from="(1230,420)" to="(1230,570)"/>
<wire from="(1230,570)" to="(1260,570)"/>
<wire from="(130,1470)" to="(130,1560)"/>
<wire from="(130,1470)" to="(190,1470)"/>
<wire from="(130,1560)" to="(220,1560)"/>
<wire from="(130,160)" to="(130,250)"/>
<wire from="(130,160)" to="(190,160)"/>
<wire from="(130,1730)" to="(130,1820)"/>
<wire from="(130,1730)" to="(190,1730)"/>
<wire from="(130,1820)" to="(220,1820)"/>
<wire from="(130,250)" to="(220,250)"/>
<wire from="(130,350)" to="(130,440)"/>
<wire from="(130,350)" to="(190,350)"/>
<wire from="(130,440)" to="(220,440)"/>
<wire from="(130,520)" to="(130,610)"/>
<wire from="(130,520)" to="(190,520)"/>
<wire from="(130,610)" to="(220,610)"/>
<wire from="(1300,330)" to="(1300,510)"/>
<wire from="(1300,510)" to="(1340,510)"/>
<wire from="(1310,590)" to="(1310,760)"/>
<wire from="(1310,760)" to="(1340,760)"/>
<wire from="(1370,1820)" to="(1370,1830)"/>
<wire from="(1370,1830)" to="(1660,1830)"/>
<wire from="(1390,530)" to="(1390,670)"/>
<wire from="(1390,670)" to="(1430,670)"/>
<wire from="(1390,780)" to="(1390,970)"/>
<wire from="(1390,970)" to="(1410,970)"/>
<wire from="(140,710)" to="(140,800)"/>
<wire from="(140,710)" to="(200,710)"/>
<wire from="(140,800)" to="(230,800)"/>
<wire from="(1460,1200)" to="(1480,1200)"/>
<wire from="(1460,990)" to="(1460,1200)"/>
<wire from="(1480,690)" to="(1480,890)"/>
<wire from="(1480,890)" to="(1500,890)"/>
<wire from="(150,900)" to="(150,990)"/>
<wire from="(150,900)" to="(210,900)"/>
<wire from="(150,990)" to="(240,990)"/>
<wire from="(1530,1220)" to="(1530,1510)"/>
<wire from="(1530,1510)" to="(1560,1510)"/>
<wire from="(1550,1120)" to="(1590,1120)"/>
<wire from="(1550,910)" to="(1550,1120)"/>
<wire from="(160,1120)" to="(160,1210)"/>
<wire from="(160,1120)" to="(220,1120)"/>
<wire from="(160,1210)" to="(250,1210)"/>
<wire from="(160,1510)" to="(160,1600)"/>
<wire from="(160,1510)" to="(220,1510)"/>
<wire from="(160,1600)" to="(190,1600)"/>
<wire from="(160,1770)" to="(160,1860)"/>
<wire from="(160,1770)" to="(220,1770)"/>
<wire from="(160,1860)" to="(190,1860)"/>
<wire from="(160,200)" to="(160,290)"/>
<wire from="(160,200)" to="(220,200)"/>
<wire from="(160,290)" to="(190,290)"/>
<wire from="(160,390)" to="(160,480)"/>
<wire from="(160,390)" to="(220,390)"/>
<wire from="(160,480)" to="(190,480)"/>
<wire from="(160,560)" to="(160,650)"/>
<wire from="(160,560)" to="(220,560)"/>
<wire from="(160,650)" to="(190,650)"/>
<wire from="(1610,1530)" to="(1610,1790)"/>
<wire from="(1610,1790)" to="(1660,1790)"/>
<wire from="(1640,1140)" to="(1640,1410)"/>
<wire from="(1640,1410)" to="(1660,1410)"/>
<wire from="(170,750)" to="(170,840)"/>
<wire from="(170,750)" to="(230,750)"/>
<wire from="(170,840)" to="(200,840)"/>
<wire from="(1710,1430)" to="(1710,1690)"/>
<wire from="(1710,1690)" to="(1730,1690)"/>
<wire from="(1710,1810)" to="(1830,1810)"/>
<wire from="(1780,1710)" to="(1840,1710)"/>
<wire from="(180,1030)" to="(210,1030)"/>
<wire from="(180,940)" to="(180,1030)"/>
<wire from="(180,940)" to="(240,940)"/>
<wire from="(190,1160)" to="(190,1250)"/>
<wire from="(190,1160)" to="(250,1160)"/>
<wire from="(190,1250)" to="(220,1250)"/>
<wire from="(270,1490)" to="(310,1490)"/>
<wire from="(270,1580)" to="(310,1580)"/>
<wire from="(270,1750)" to="(310,1750)"/>
<wire from="(270,180)" to="(310,180)"/>
<wire from="(270,1840)" to="(310,1840)"/>
<wire from="(270,270)" to="(310,270)"/>
<wire from="(270,370)" to="(310,370)"/>
<wire from="(270,460)" to="(310,460)"/>
<wire from="(270,540)" to="(310,540)"/>
<wire from="(270,630)" to="(310,630)"/>
<wire from="(280,730)" to="(320,730)"/>
<wire from="(280,820)" to="(320,820)"/>
<wire from="(290,1010)" to="(330,1010)"/>
<wire from="(290,920)" to="(330,920)"/>
<wire from="(300,1140)" to="(340,1140)"/>
<wire from="(300,1230)" to="(340,1230)"/>
<wire from="(310,1490)" to="(1100,1490)"/>
<wire from="(310,1490)" to="(310,1520)"/>
<wire from="(310,1520)" to="(350,1520)"/>
<wire from="(310,1560)" to="(310,1580)"/>
<wire from="(310,1560)" to="(350,1560)"/>
<wire from="(310,1580)" to="(550,1580)"/>
<wire from="(310,1750)" to="(1180,1750)"/>
<wire from="(310,1750)" to="(310,1780)"/>
<wire from="(310,1780)" to="(350,1780)"/>
<wire from="(310,180)" to="(1190,180)"/>
<wire from="(310,180)" to="(310,210)"/>
<wire from="(310,1820)" to="(310,1840)"/>
<wire from="(310,1820)" to="(350,1820)"/>
<wire from="(310,1840)" to="(1170,1840)"/>
<wire from="(310,210)" to="(350,210)"/>
<wire from="(310,250)" to="(310,270)"/>
<wire from="(310,250)" to="(350,250)"/>
<wire from="(310,270)" to="(1160,270)"/>
<wire from="(310,370)" to="(310,400)"/>
<wire from="(310,370)" to="(600,370)"/>
<wire from="(310,400)" to="(350,400)"/>
<wire from="(310,440)" to="(310,460)"/>
<wire from="(310,440)" to="(350,440)"/>
<wire from="(310,460)" to="(590,460)"/>
<wire from="(310,540)" to="(310,570)"/>
<wire from="(310,540)" to="(480,540)"/>
<wire from="(310,570)" to="(350,570)"/>
<wire from="(310,610)" to="(310,630)"/>
<wire from="(310,610)" to="(350,610)"/>
<wire from="(310,630)" to="(840,630)"/>
<wire from="(320,730)" to="(320,760)"/>
<wire from="(320,730)" to="(920,730)"/>
<wire from="(320,760)" to="(360,760)"/>
<wire from="(320,800)" to="(320,820)"/>
<wire from="(320,800)" to="(360,800)"/>
<wire from="(320,820)" to="(830,820)"/>
<wire from="(330,1010)" to="(790,1010)"/>
<wire from="(330,920)" to="(330,950)"/>
<wire from="(330,920)" to="(790,920)"/>
<wire from="(330,950)" to="(370,950)"/>
<wire from="(330,990)" to="(330,1010)"/>
<wire from="(330,990)" to="(370,990)"/>
<wire from="(340,1140)" to="(340,1170)"/>
<wire from="(340,1140)" to="(590,1140)"/>
<wire from="(340,1170)" to="(380,1170)"/>
<wire from="(340,1210)" to="(340,1230)"/>
<wire from="(340,1210)" to="(380,1210)"/>
<wire from="(340,1230)" to="(550,1230)"/>
<wire from="(410,1800)" to="(420,1800)"/>
<wire from="(420,1540)" to="(470,1540)"/>
<wire from="(420,1800)" to="(480,1800)"/>
<wire from="(420,230)" to="(480,230)"/>
<wire from="(420,420)" to="(420,480)"/>
<wire from="(420,480)" to="(510,480)"/>
<wire from="(420,590)" to="(540,590)"/>
<wire from="(430,780)" to="(540,780)"/>
<wire from="(440,970)" to="(620,970)"/>
<wire from="(450,1190)" to="(490,1190)"/>
<wire from="(470,1540)" to="(470,1660)"/>
<wire from="(470,1660)" to="(1090,1660)"/>
<wire from="(480,1800)" to="(480,1950)"/>
<wire from="(480,1950)" to="(1180,1950)"/>
<wire from="(480,230)" to="(480,330)"/>
<wire from="(480,330)" to="(480,420)"/>
<wire from="(480,330)" to="(600,330)"/>
<wire from="(480,420)" to="(480,520)"/>
<wire from="(480,420)" to="(590,420)"/>
<wire from="(480,520)" to="(510,520)"/>
<wire from="(480,540)" to="(480,570)"/>
<wire from="(480,570)" to="(840,570)"/>
<wire from="(490,1190)" to="(490,1350)"/>
<wire from="(490,1350)" to="(990,1350)"/>
<wire from="(540,590)" to="(540,690)"/>
<wire from="(540,690)" to="(680,690)"/>
<wire from="(540,780)" to="(540,890)"/>
<wire from="(540,890)" to="(780,890)"/>
<wire from="(550,1230)" to="(550,1260)"/>
<wire from="(550,1260)" to="(1030,1260)"/>
<wire from="(550,1570)" to="(1100,1570)"/>
<wire from="(550,1570)" to="(550,1580)"/>
<wire from="(560,500)" to="(640,500)"/>
<wire from="(590,1140)" to="(590,1180)"/>
<wire from="(590,1180)" to="(1040,1180)"/>
<wire from="(620,1110)" to="(910,1110)"/>
<wire from="(620,970)" to="(620,1110)"/>
<wire from="(640,440)" to="(1180,440)"/>
<wire from="(640,500)" to="(640,530)"/>
<wire from="(640,530)" to="(640,600)"/>
<wire from="(640,530)" to="(840,530)"/>
<wire from="(640,600)" to="(640,650)"/>
<wire from="(640,600)" to="(710,600)"/>
<wire from="(640,650)" to="(680,650)"/>
<wire from="(650,350)" to="(1250,350)"/>
<wire from="(710,590)" to="(710,600)"/>
<wire from="(710,590)" to="(840,590)"/>
<wire from="(730,670)" to="(760,670)"/>
<wire from="(760,670)" to="(760,690)"/>
<wire from="(760,690)" to="(760,780)"/>
<wire from="(760,690)" to="(920,690)"/>
<wire from="(760,780)" to="(760,850)"/>
<wire from="(760,780)" to="(830,780)"/>
<wire from="(760,850)" to="(780,850)"/>
<wire from="(790,1010)" to="(790,1030)"/>
<wire from="(790,1030)" to="(950,1030)"/>
<wire from="(790,920)" to="(790,950)"/>
<wire from="(790,950)" to="(990,950)"/>
<wire from="(80,1470)" to="(130,1470)"/>
<wire from="(80,480)" to="(160,480)"/>
<wire from="(80,520)" to="(130,520)"/>
<wire from="(830,870)" to="(860,870)"/>
<wire from="(860,1070)" to="(910,1070)"/>
<wire from="(860,870)" to="(860,910)"/>
<wire from="(860,910)" to="(860,990)"/>
<wire from="(860,910)" to="(990,910)"/>
<wire from="(860,990)" to="(860,1070)"/>
<wire from="(860,990)" to="(950,990)"/>
<wire from="(880,800)" to="(1340,800)"/>
<wire from="(890,550)" to="(1340,550)"/>
<wire from="(890,610)" to="(1260,610)"/>
<wire from="(90,160)" to="(130,160)"/>
<wire from="(90,1600)" to="(160,1600)"/>
<wire from="(90,1730)" to="(130,1730)"/>
<wire from="(90,1860)" to="(160,1860)"/>
<wire from="(90,290)" to="(160,290)"/>
<wire from="(90,350)" to="(130,350)"/>
<wire from="(90,650)" to="(160,650)"/>
<wire from="(960,1090)" to="(980,1090)"/>
<wire from="(970,710)" to="(1430,710)"/>
<wire from="(980,1090)" to="(980,1140)"/>
<wire from="(980,1140)" to="(1040,1140)"/>
<wire from="(980,1140)" to="(980,1220)"/>
<wire from="(980,1220)" to="(1030,1220)"/>
<wire from="(980,1220)" to="(980,1310)"/>
<wire from="(980,1310)" to="(990,1310)"/>
</circuit>
</project>