209 lines
8.6 KiB
XML
209 lines
8.6 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"/>
|
|
<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="74LS78"/>
|
|
<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">
|
|
<a name="size" val="20"/>
|
|
</tool>
|
|
<tool lib="1" name="AND Gate"/>
|
|
<tool lib="1" name="OR Gate"/>
|
|
</toolbar>
|
|
<circuit name="74LS78">
|
|
<a name="circuit" val="74LS78"/>
|
|
<a name="clabel" val=""/>
|
|
<a name="clabelup" val="east"/>
|
|
<a name="clabelfont" val="SansSerif plain 12"/>
|
|
<appear>
|
|
<rect fill="#ffff00" height="120" stroke="#000000" stroke-width="2" width="70" x="50" y="40"/>
|
|
<text font-family="SansSerif" font-size="10" font-weight="bold" text-anchor="start" x="54" y="64">CLR</text>
|
|
<text font-family="SansSerif" font-size="10" font-weight="bold" text-anchor="start" x="54" y="74">CLK</text>
|
|
<text font-family="SansSerif" font-size="10" font-weight="bold" text-anchor="start" x="53" y="94">1PRE</text>
|
|
<text font-family="SansSerif" font-size="10" font-weight="bold" text-anchor="start" x="53" y="104">1J</text>
|
|
<text font-family="SansSerif" font-size="10" font-weight="bold" text-anchor="start" x="53" y="114">1K</text>
|
|
<text font-family="SansSerif" font-size="10" font-weight="bold" text-anchor="start" x="53" y="134">2PRE</text>
|
|
<text font-family="SansSerif" font-size="10" font-weight="bold" text-anchor="start" x="53" y="144">2J</text>
|
|
<text font-family="SansSerif" font-size="10" font-weight="bold" text-anchor="start" x="53" y="154">2K</text>
|
|
<text font-family="SansSerif" font-size="10" font-weight="bold" text-anchor="start" x="101" y="94">1Q</text>
|
|
<text font-family="SansSerif" font-size="10" font-weight="bold" text-anchor="start" x="101" y="114">1Q</text>
|
|
<text font-family="SansSerif" font-size="10" font-weight="bold" text-anchor="start" x="101" y="134">2Q</text>
|
|
<text font-family="SansSerif" font-size="10" font-weight="bold" text-anchor="start" x="101" y="154">2Q</text>
|
|
<polyline fill="none" points="55,54 74,54" stroke="#000000" stroke-width="2"/>
|
|
<polyline fill="none" points="62,84 81,84" stroke="#000000" stroke-width="2"/>
|
|
<polyline fill="none" points="62,124 81,124" stroke="#000000" stroke-width="2"/>
|
|
<polyline fill="none" points="109,144 115,144" stroke="#000000" stroke-width="2"/>
|
|
<polyline fill="none" points="109,104 115,104" stroke="#000000" stroke-width="2"/>
|
|
<text font-family="SansSerif" font-size="14" font-weight="bold" text-anchor="start" x="54" y="36">74LS78</text>
|
|
<circ-port height="8" pin="100,70" width="8" x="46" y="66"/>
|
|
<circ-port height="8" pin="100,100" width="8" x="46" y="56"/>
|
|
<circ-port height="8" pin="100,140" width="8" x="46" y="96"/>
|
|
<circ-port height="8" pin="100,160" width="8" x="46" y="106"/>
|
|
<circ-port height="8" pin="100,180" width="8" x="46" y="86"/>
|
|
<circ-port height="8" pin="100,230" width="8" x="46" y="136"/>
|
|
<circ-port height="8" pin="100,250" width="8" x="46" y="146"/>
|
|
<circ-port height="8" pin="100,270" width="8" x="46" y="126"/>
|
|
<circ-port height="10" pin="230,140" width="10" x="115" y="85"/>
|
|
<circ-port height="10" pin="230,160" width="10" x="115" y="105"/>
|
|
<circ-port height="10" pin="230,230" width="10" x="115" y="125"/>
|
|
<circ-port height="10" pin="230,250" width="10" x="115" y="145"/>
|
|
<circ-anchor facing="east" height="6" width="6" x="87" y="97"/>
|
|
</appear>
|
|
<wire from="(100,180)" to="(160,180)"/>
|
|
<wire from="(100,270)" to="(160,270)"/>
|
|
<wire from="(190,170)" to="(190,180)"/>
|
|
<wire from="(190,260)" to="(190,270)"/>
|
|
<wire from="(100,70)" to="(150,70)"/>
|
|
<wire from="(150,70)" to="(150,150)"/>
|
|
<wire from="(210,170)" to="(210,190)"/>
|
|
<wire from="(210,260)" to="(210,280)"/>
|
|
<wire from="(150,150)" to="(150,240)"/>
|
|
<wire from="(140,100)" to="(140,190)"/>
|
|
<wire from="(140,190)" to="(140,280)"/>
|
|
<wire from="(100,100)" to="(140,100)"/>
|
|
<wire from="(140,280)" to="(180,280)"/>
|
|
<wire from="(140,190)" to="(180,190)"/>
|
|
<wire from="(150,150)" to="(180,150)"/>
|
|
<wire from="(150,240)" to="(180,240)"/>
|
|
<wire from="(100,160)" to="(180,160)"/>
|
|
<wire from="(100,140)" to="(180,140)"/>
|
|
<wire from="(100,250)" to="(180,250)"/>
|
|
<wire from="(100,230)" to="(180,230)"/>
|
|
<wire from="(180,180)" to="(190,180)"/>
|
|
<wire from="(180,270)" to="(190,270)"/>
|
|
<wire from="(200,280)" to="(210,280)"/>
|
|
<wire from="(200,190)" to="(210,190)"/>
|
|
<wire from="(220,140)" to="(230,140)"/>
|
|
<wire from="(220,160)" to="(230,160)"/>
|
|
<wire from="(220,230)" to="(230,230)"/>
|
|
<wire from="(220,250)" to="(230,250)"/>
|
|
<comp lib="0" loc="(230,250)" name="Pin">
|
|
<a name="facing" val="west"/>
|
|
<a name="output" val="true"/>
|
|
<a name="label" val="2/Q"/>
|
|
<a name="labelloc" val="east"/>
|
|
</comp>
|
|
<comp lib="4" loc="(220,230)" name="J-K Flip-Flop">
|
|
<a name="trigger" val="falling"/>
|
|
<a name="label" val="Falling Edge"/>
|
|
</comp>
|
|
<comp lib="0" loc="(230,140)" name="Pin">
|
|
<a name="facing" val="west"/>
|
|
<a name="output" val="true"/>
|
|
<a name="label" val="1Q"/>
|
|
<a name="labelloc" val="east"/>
|
|
</comp>
|
|
<comp lib="0" loc="(100,250)" name="Pin">
|
|
<a name="tristate" val="false"/>
|
|
<a name="label" val="2K"/>
|
|
</comp>
|
|
<comp lib="0" loc="(100,100)" name="Pin">
|
|
<a name="tristate" val="false"/>
|
|
<a name="label" val="/CLR"/>
|
|
</comp>
|
|
<comp lib="1" loc="(180,180)" name="NOT Gate">
|
|
<a name="size" val="20"/>
|
|
</comp>
|
|
<comp lib="0" loc="(100,160)" name="Pin">
|
|
<a name="tristate" val="false"/>
|
|
<a name="label" val="1K"/>
|
|
</comp>
|
|
<comp lib="1" loc="(180,270)" name="NOT Gate">
|
|
<a name="size" val="20"/>
|
|
</comp>
|
|
<comp lib="0" loc="(100,230)" name="Pin">
|
|
<a name="tristate" val="false"/>
|
|
<a name="label" val="2J"/>
|
|
</comp>
|
|
<comp lib="0" loc="(100,180)" name="Pin">
|
|
<a name="tristate" val="false"/>
|
|
<a name="label" val="1/PRE"/>
|
|
</comp>
|
|
<comp lib="6" loc="(138,46)" name="Text">
|
|
<a name="text" val="74LS78"/>
|
|
<a name="font" val="SansSerif bold 24"/>
|
|
</comp>
|
|
<comp lib="0" loc="(100,70)" name="Pin">
|
|
<a name="tristate" val="false"/>
|
|
<a name="label" val="CLK"/>
|
|
</comp>
|
|
<comp lib="0" loc="(230,160)" name="Pin">
|
|
<a name="facing" val="west"/>
|
|
<a name="output" val="true"/>
|
|
<a name="label" val="1/Q"/>
|
|
<a name="labelloc" val="east"/>
|
|
</comp>
|
|
<comp lib="0" loc="(230,230)" name="Pin">
|
|
<a name="facing" val="west"/>
|
|
<a name="output" val="true"/>
|
|
<a name="label" val="2Q"/>
|
|
<a name="labelloc" val="east"/>
|
|
</comp>
|
|
<comp lib="4" loc="(220,140)" name="J-K Flip-Flop">
|
|
<a name="trigger" val="falling"/>
|
|
<a name="label" val="Falling Edge"/>
|
|
</comp>
|
|
<comp lib="1" loc="(200,280)" name="NOT Gate">
|
|
<a name="size" val="20"/>
|
|
</comp>
|
|
<comp lib="0" loc="(100,140)" name="Pin">
|
|
<a name="tristate" val="false"/>
|
|
<a name="label" val="1J"/>
|
|
</comp>
|
|
<comp lib="0" loc="(100,270)" name="Pin">
|
|
<a name="tristate" val="false"/>
|
|
<a name="label" val="2/PRE"/>
|
|
</comp>
|
|
<comp lib="1" loc="(200,190)" name="NOT Gate">
|
|
<a name="size" val="20"/>
|
|
</comp>
|
|
</circuit>
|
|
</project>
|