Files
hardware/Logisim/7400-logisim-main/circ/74LS303.circ
2025-12-31 19:35:06 +08:00

194 lines
7.7 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="74LS303"/>
<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="facing" val="north"/>
<a name="size" val="20"/>
</tool>
<tool lib="1" name="AND Gate"/>
<tool lib="1" name="OR Gate"/>
</toolbar>
<circuit name="74LS303">
<a name="circuit" val="74LS303"/>
<a name="clabel" val=""/>
<a name="clabelup" val="east"/>
<a name="clabelfont" val="SansSerif plain 12"/>
<appear>
<rect fill="#ffff00" height="90" stroke="#000000" stroke-width="2" width="60" x="50" y="50"/>
<text font-family="SansSerif" font-size="10" font-weight="bold" text-anchor="start" x="52" y="74">/PRE</text>
<text font-family="SansSerif" font-size="10" font-weight="bold" text-anchor="start" x="54" y="94">CLK</text>
<text font-family="SansSerif" font-size="10" font-weight="bold" text-anchor="start" x="52" y="114">/CLR</text>
<text font-family="SansSerif" font-size="10" font-weight="bold" text-anchor="start" x="90" y="64">Q1</text>
<text font-family="SansSerif" font-size="10" font-weight="bold" text-anchor="start" x="90" y="74">Q2</text>
<text font-family="SansSerif" font-size="10" font-weight="bold" text-anchor="start" x="90" y="84">Q3</text>
<text font-family="SansSerif" font-size="10" font-weight="bold" text-anchor="start" x="90" y="94">Q4</text>
<text font-family="SansSerif" font-size="10" font-weight="bold" text-anchor="start" x="90" y="104">Q5</text>
<text font-family="SansSerif" font-size="10" font-weight="bold" text-anchor="start" x="90" y="114">Q6</text>
<text font-family="SansSerif" font-size="10" font-weight="bold" text-anchor="start" x="86" y="124">/Q7</text>
<text font-family="SansSerif" font-size="10" font-weight="bold" text-anchor="start" x="86" y="134">/Q8</text>
<text font-family="SansSerif" font-size="12" font-weight="bold" text-anchor="start" x="50" y="46">74LS303</text>
<circ-port height="8" pin="90,90" width="8" x="46" y="86"/>
<circ-port height="8" pin="90,160" width="8" x="46" y="66"/>
<circ-port height="8" pin="90,180" width="8" x="46" y="106"/>
<circ-port height="10" pin="180,90" width="10" x="105" y="55"/>
<circ-port height="10" pin="180,110" width="10" x="105" y="65"/>
<circ-port height="10" pin="180,130" width="10" x="105" y="75"/>
<circ-port height="10" pin="180,150" width="10" x="105" y="85"/>
<circ-port height="10" pin="180,170" width="10" x="105" y="95"/>
<circ-port height="10" pin="180,190" width="10" x="105" y="105"/>
<circ-port height="10" pin="180,210" width="10" x="105" y="115"/>
<circ-port height="10" pin="180,230" width="10" x="105" y="125"/>
<circ-anchor facing="east" height="6" width="6" x="77" y="77"/>
</appear>
<wire from="(140,120)" to="(140,130)"/>
<wire from="(120,120)" to="(120,130)"/>
<wire from="(120,150)" to="(120,160)"/>
<wire from="(90,180)" to="(140,180)"/>
<wire from="(170,170)" to="(170,190)"/>
<wire from="(170,150)" to="(170,170)"/>
<wire from="(170,130)" to="(170,150)"/>
<wire from="(170,90)" to="(170,110)"/>
<wire from="(170,110)" to="(170,130)"/>
<wire from="(170,210)" to="(170,230)"/>
<wire from="(140,150)" to="(140,180)"/>
<wire from="(90,160)" to="(120,160)"/>
<wire from="(160,110)" to="(160,210)"/>
<wire from="(90,90)" to="(110,90)"/>
<wire from="(150,90)" to="(170,90)"/>
<wire from="(170,130)" to="(180,130)"/>
<wire from="(170,170)" to="(180,170)"/>
<wire from="(170,90)" to="(180,90)"/>
<wire from="(170,190)" to="(180,190)"/>
<wire from="(170,150)" to="(180,150)"/>
<wire from="(170,110)" to="(180,110)"/>
<wire from="(170,230)" to="(180,230)"/>
<wire from="(170,210)" to="(180,210)"/>
<wire from="(150,110)" to="(160,110)"/>
<wire from="(160,210)" to="(170,210)"/>
<comp lib="0" loc="(110,110)" name="Constant"/>
<comp lib="0" loc="(180,110)" name="Pin">
<a name="facing" val="west"/>
<a name="output" val="true"/>
<a name="label" val="Q2"/>
<a name="labelloc" val="east"/>
</comp>
<comp lib="0" loc="(90,180)" name="Pin">
<a name="tristate" val="false"/>
<a name="label" val="/CLR"/>
</comp>
<comp lib="1" loc="(120,130)" name="NOT Gate">
<a name="facing" val="north"/>
<a name="size" val="20"/>
</comp>
<comp lib="0" loc="(180,130)" name="Pin">
<a name="facing" val="west"/>
<a name="output" val="true"/>
<a name="label" val="Q3"/>
<a name="labelloc" val="east"/>
</comp>
<comp lib="4" loc="(150,90)" name="T Flip-Flop"/>
<comp lib="1" loc="(140,130)" name="NOT Gate">
<a name="facing" val="north"/>
<a name="size" val="20"/>
</comp>
<comp lib="0" loc="(180,190)" name="Pin">
<a name="facing" val="west"/>
<a name="output" val="true"/>
<a name="label" val="Q6"/>
<a name="labelloc" val="east"/>
</comp>
<comp lib="0" loc="(180,170)" name="Pin">
<a name="facing" val="west"/>
<a name="output" val="true"/>
<a name="label" val="Q5"/>
<a name="labelloc" val="east"/>
</comp>
<comp lib="0" loc="(180,90)" name="Pin">
<a name="facing" val="west"/>
<a name="output" val="true"/>
<a name="label" val="Q1"/>
<a name="labelloc" val="east"/>
</comp>
<comp lib="0" loc="(180,210)" name="Pin">
<a name="facing" val="west"/>
<a name="output" val="true"/>
<a name="label" val="/Q7"/>
<a name="labelloc" val="east"/>
</comp>
<comp lib="0" loc="(180,150)" name="Pin">
<a name="facing" val="west"/>
<a name="output" val="true"/>
<a name="label" val="Q4"/>
<a name="labelloc" val="east"/>
</comp>
<comp lib="0" loc="(90,160)" name="Pin">
<a name="tristate" val="false"/>
<a name="label" val="/PRE"/>
</comp>
<comp lib="0" loc="(90,90)" name="Pin">
<a name="tristate" val="false"/>
<a name="label" val="CLK"/>
</comp>
<comp lib="6" loc="(117,62)" name="Text">
<a name="text" val="74LS303"/>
<a name="font" val="SansSerif bold 24"/>
</comp>
<comp lib="0" loc="(180,230)" name="Pin">
<a name="facing" val="west"/>
<a name="output" val="true"/>
<a name="label" val="/Q8"/>
<a name="labelloc" val="east"/>
</comp>
</circuit>
</project>