Add "实验三、同步时序部件设计"

This commit is contained in:
INX "Xenon" 2025-04-28 10:59:19 +00:00
parent 64fdea0e27
commit fd426cdd12
5 changed files with 6614 additions and 0 deletions

View file

@ -0,0 +1,894 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project source="2.16.1.3.jar" version="1.0">
This file is intended to be loaded by Logisim http://logisim.altervista.org
<lib desc="#Wiring" name="0">
<tool name="Splitter">
<a name="appear" val="right"/>
</tool>
<tool name="Pin">
<a name="facing" val="north"/>
</tool>
<tool name="Probe">
<a name="facing" val="west"/>
<a name="radix" val="10signed"/>
</tool>
<tool name="Tunnel">
<a name="width" val="32"/>
</tool>
<tool name="Pull Resistor">
<a name="facing" val="north"/>
</tool>
<tool name="Clock">
<a name="facing" val="north"/>
</tool>
<tool name="ProgrammableGenerator">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="Constant">
<a name="value" val="0x0"/>
</tool>
<tool name="Bit Extender">
<a name="in_width" val="32"/>
<a name="out_width" val="1"/>
</tool>
</lib>
<lib desc="#Gates" name="1">
<tool name="NOT Gate">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="NAND Gate">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="XNOR Gate">
<a name="labelfont" val="Dialog plain 12"/>
<a name="xor" val="odd"/>
</tool>
<tool name="Odd Parity">
<a name="facing" val="south"/>
<a name="inputs" val="3"/>
</tool>
<tool name="Even Parity">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="Controlled Buffer">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="Controlled Inverter">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
</lib>
<lib desc="#TTL" name="2">
<tool name="7400">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="7402">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="7404">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="7408">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="7432">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="7447">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="7485">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="7486">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="74125">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="74165">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="74283">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="747266">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
</lib>
<lib desc="#Plexers" name="3">
<tool name="Multiplexer">
<a name="select" val="3"/>
<a name="enable" val="false"/>
</tool>
<tool name="Demultiplexer">
<a name="enable" val="false"/>
</tool>
<tool name="Decoder">
<a name="enable" val="false"/>
</tool>
<tool name="BitSelector">
<a name="width" val="31"/>
<a name="group" val="5"/>
</tool>
</lib>
<lib desc="#Arithmetic" name="4">
<tool name="Adder">
<a name="width" val="6"/>
</tool>
<tool name="Subtractor">
<a name="width" val="16"/>
</tool>
<tool name="Multiplier">
<a name="width" val="1"/>
</tool>
<tool name="Divider">
<a name="width" val="16"/>
</tool>
<tool name="Negator">
<a name="width" val="1"/>
</tool>
<tool name="Comparator">
<a name="width" val="16"/>
</tool>
</lib>
<lib desc="#Memory" name="5">
<tool name="D Flip-Flop">
<a name="trigger" val="falling"/>
</tool>
<tool name="T Flip-Flop">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="J-K Flip-Flop">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="S-R Flip-Flop">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="Register">
<a name="width" val="32"/>
</tool>
<tool name="Counter">
<a name="width" val="6"/>
<a name="max" val="0x3f"/>
</tool>
<tool name="Shift Register">
<a name="length" val="4"/>
</tool>
<tool name="Random">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="RAM">
<a name="dataWidth" val="32"/>
</tool>
<tool name="ROM">
<a name="contents">addr/data: 8 8
0
</a>
</tool>
<tool name="PlaRom">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
</lib>
<lib desc="#I/O" name="6">
<tool name="Button">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="Switch">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="DipSwitch">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="Slider">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="Buzzer">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="LED">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="RGBLed">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="Digital Oscilloscope">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
</lib>
<lib desc="#Base" name="7">
<tool name="Text Tool">
<a name="text" val=""/>
<a name="font" val="Dialog plain 12"/>
<a name="color" val="#000000"/>
<a name="halign" val="center"/>
<a name="valign" val="base"/>
</tool>
</lib>
<main name="CNTR4U"/>
<options>
<a name="gateUndefined" val="ignore"/>
<a name="simlimit" val="1000"/>
<a name="simrand" val="0"/>
</options>
<mappings>
<tool lib="7" map="Button2" name="Poke Tool"/>
<tool lib="7" map="Button3" name="Menu Tool"/>
<tool lib="7" map="Ctrl Button1" name="Menu Tool"/>
</mappings>
<toolbar>
<tool lib="7" name="Poke Tool"/>
<tool lib="7" name="Edit Tool"/>
<sep/>
<tool lib="7" name="Text Tool">
<a name="text" val=""/>
<a name="font" val="Dialog plain 12"/>
<a name="color" val="#000000"/>
<a name="halign" val="center"/>
<a name="valign" val="base"/>
</tool>
<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"/>
</tool>
<tool lib="1" name="NOT Gate"/>
<tool lib="1" name="AND Gate"/>
<tool lib="1" name="OR Gate"/>
</toolbar>
<circuit name="CNTR4U">
<a name="circuit" val="CNTR4U"/>
<a name="clabel" val=""/>
<a name="clabelup" val="east"/>
<a name="clabelfont" val="Dialog plain 12"/>
<a name="clabelcolor" val="#000000"/>
<appear>
<rect fill="#ffffff" height="120" rx="5" ry="5" stroke="#000000" stroke-width="2" width="60" x="50" y="50"/>
<path d="M80,50 Q84,59 88,50" fill="none" stroke="#808080" stroke-width="2"/>
<text font-family="Dialog" font-size="6" text-anchor="start" x="58" y="61">CLK</text>
<text font-family="Dialog" font-size="6" text-anchor="start" x="57" y="71">LD</text>
<text font-family="Dialog" font-size="6" text-anchor="start" x="57" y="81">CLR</text>
<text font-family="Dialog" font-size="6" text-anchor="start" x="58" y="102">D0</text>
<text font-family="Dialog" font-size="6" text-anchor="start" x="58" y="112">D1</text>
<text font-family="Dialog" font-size="6" text-anchor="start" x="58" y="122">D2</text>
<text font-family="Dialog" font-size="6" text-anchor="start" x="58" y="132">D3</text>
<text font-family="Dialog" font-size="6" text-anchor="start" x="58" y="151">ENP</text>
<text font-family="Dialog" font-size="6" text-anchor="start" x="59" y="161">ENT</text>
<text font-family="Dialog" font-size="6" text-anchor="end" x="102" y="72">Q0</text>
<text font-family="Dialog" font-size="6" text-anchor="end" x="102" y="92">Q1</text>
<text font-family="Dialog" font-size="6" text-anchor="end" x="100" y="112">Q2</text>
<text font-family="Dialog" font-size="6" text-anchor="end" x="101" y="132">Q3</text>
<text font-family="Dialog" font-size="6" text-anchor="end" x="101" y="154">RCO</text>
<circ-port height="8" pin="130,40" width="8" x="46" y="56"/>
<circ-port height="8" pin="250,40" width="8" x="46" y="66"/>
<circ-port height="8" pin="400,40" width="8" x="46" y="76"/>
<circ-port height="10" pin="540,40" width="10" x="105" y="65"/>
<circ-port height="10" pin="660,40" width="10" x="105" y="85"/>
<circ-port height="8" pin="120,70" width="8" x="46" y="96"/>
<circ-port height="8" pin="250,70" width="8" x="46" y="106"/>
<circ-port height="8" pin="400,70" width="8" x="46" y="116"/>
<circ-port height="10" pin="530,70" width="10" x="105" y="105"/>
<circ-port height="10" pin="660,70" width="10" x="105" y="125"/>
<circ-port height="8" pin="120,100" width="8" x="46" y="126"/>
<circ-port height="8" pin="260,100" width="8" x="46" y="146"/>
<circ-port height="8" pin="400,100" width="8" x="46" y="156"/>
<circ-port height="10" pin="540,100" width="10" x="105" y="145"/>
<circ-anchor facing="east" height="6" width="6" x="107" y="67"/>
</appear>
<wire from="(40,20)" to="(460,20)"/>
<wire from="(490,40)" to="(540,40)"/>
<wire from="(620,40)" to="(660,40)"/>
<wire from="(490,70)" to="(530,70)"/>
<wire from="(620,70)" to="(660,70)"/>
<wire from="(500,100)" to="(540,100)"/>
<wire from="(460,20)" to="(710,20)"/>
<wire from="(40,140)" to="(40,170)"/>
<wire from="(710,20)" to="(710,140)"/>
<wire from="(460,20)" to="(460,140)"/>
<wire from="(40,140)" to="(460,140)"/>
<wire from="(40,20)" to="(40,140)"/>
<wire from="(710,140)" to="(710,170)"/>
<wire from="(460,140)" to="(710,140)"/>
<wire from="(40,170)" to="(710,170)"/>
<wire from="(70,70)" to="(120,70)"/>
<wire from="(210,70)" to="(250,70)"/>
<wire from="(210,40)" to="(250,40)"/>
<wire from="(70,100)" to="(120,100)"/>
<wire from="(220,100)" to="(260,100)"/>
<wire from="(350,70)" to="(400,70)"/>
<wire from="(360,100)" to="(400,100)"/>
<wire from="(360,40)" to="(400,40)"/>
<wire from="(80,40)" to="(130,40)"/>
<wire from="(70,270)" to="(90,270)"/>
<wire from="(70,210)" to="(140,210)"/>
<wire from="(120,230)" to="(120,270)"/>
<wire from="(110,270)" to="(120,270)"/>
<wire from="(120,270)" to="(130,270)"/>
<wire from="(120,230)" to="(130,230)"/>
<wire from="(130,240)" to="(130,250)"/>
<wire from="(130,240)" to="(180,240)"/>
<wire from="(170,220)" to="(180,220)"/>
<wire from="(180,220)" to="(180,240)"/>
<wire from="(180,220)" to="(200,220)"/>
<wire from="(170,260)" to="(200,260)"/>
<wire from="(180,340)" to="(180,350)"/>
<wire from="(180,370)" to="(180,380)"/>
<wire from="(180,350)" to="(200,350)"/>
<wire from="(180,370)" to="(200,370)"/>
<wire from="(170,340)" to="(180,340)"/>
<wire from="(170,380)" to="(180,380)"/>
<wire from="(70,350)" to="(140,350)"/>
<wire from="(70,330)" to="(140,330)"/>
<wire from="(70,370)" to="(140,370)"/>
<wire from="(120,410)" to="(130,410)"/>
<wire from="(130,390)" to="(130,410)"/>
<wire from="(130,390)" to="(140,390)"/>
<wire from="(370,220)" to="(390,220)"/>
<wire from="(370,240)" to="(390,240)"/>
<wire from="(420,230)" to="(440,230)"/>
<wire from="(70,400)" to="(80,400)"/>
<wire from="(70,550)" to="(90,550)"/>
<wire from="(120,540)" to="(130,540)"/>
<wire from="(130,540)" to="(130,550)"/>
<wire from="(70,570)" to="(120,570)"/>
<wire from="(70,470)" to="(140,470)"/>
<wire from="(70,490)" to="(140,490)"/>
<wire from="(170,540)" to="(180,540)"/>
<wire from="(170,540)" to="(170,560)"/>
<wire from="(70,510)" to="(160,510)"/>
<wire from="(160,510)" to="(160,520)"/>
<wire from="(160,520)" to="(180,520)"/>
<wire from="(210,510)" to="(220,510)"/>
<wire from="(210,510)" to="(210,530)"/>
<wire from="(220,480)" to="(220,490)"/>
<wire from="(170,480)" to="(220,480)"/>
<wire from="(70,720)" to="(80,720)"/>
<wire from="(70,700)" to="(80,700)"/>
<wire from="(120,710)" to="(150,710)"/>
<wire from="(70,750)" to="(130,750)"/>
<wire from="(130,730)" to="(130,750)"/>
<wire from="(130,730)" to="(150,730)"/>
<wire from="(180,720)" to="(200,720)"/>
<wire from="(70,770)" to="(180,770)"/>
<wire from="(180,740)" to="(190,740)"/>
<wire from="(180,740)" to="(180,770)"/>
<wire from="(70,620)" to="(140,620)"/>
<wire from="(70,640)" to="(140,640)"/>
<wire from="(70,660)" to="(260,660)"/>
<wire from="(240,730)" to="(260,730)"/>
<wire from="(260,660)" to="(260,710)"/>
<wire from="(170,630)" to="(320,630)"/>
<wire from="(320,630)" to="(320,690)"/>
<wire from="(320,690)" to="(340,690)"/>
<wire from="(290,720)" to="(340,720)"/>
<wire from="(340,710)" to="(340,720)"/>
<wire from="(80,910)" to="(80,920)"/>
<wire from="(60,910)" to="(80,910)"/>
<wire from="(60,930)" to="(80,930)"/>
<wire from="(80,940)" to="(80,950)"/>
<wire from="(60,950)" to="(80,950)"/>
<wire from="(60,980)" to="(140,980)"/>
<wire from="(140,950)" to="(140,980)"/>
<wire from="(120,930)" to="(150,930)"/>
<wire from="(140,950)" to="(150,950)"/>
<wire from="(60,830)" to="(90,830)"/>
<wire from="(60,850)" to="(90,850)"/>
<wire from="(60,1000)" to="(200,1000)"/>
<wire from="(200,960)" to="(200,1000)"/>
<wire from="(200,960)" to="(220,960)"/>
<wire from="(180,940)" to="(230,940)"/>
<wire from="(270,910)" to="(290,910)"/>
<wire from="(270,910)" to="(270,950)"/>
<wire from="(60,870)" to="(60,890)"/>
<wire from="(60,890)" to="(290,890)"/>
<wire from="(420,840)" to="(420,930)"/>
<wire from="(120,840)" to="(420,840)"/>
<wire from="(320,900)" to="(410,900)"/>
<wire from="(410,900)" to="(410,950)"/>
<wire from="(410,950)" to="(420,950)"/>
<wire from="(150,1080)" to="(150,1100)"/>
<wire from="(80,1080)" to="(150,1080)"/>
<wire from="(80,1100)" to="(140,1100)"/>
<wire from="(140,1110)" to="(150,1110)"/>
<wire from="(140,1100)" to="(140,1110)"/>
<wire from="(80,1120)" to="(150,1120)"/>
<wire from="(80,1140)" to="(130,1140)"/>
<wire from="(130,1130)" to="(130,1140)"/>
<wire from="(130,1130)" to="(150,1130)"/>
<wire from="(140,1140)" to="(150,1140)"/>
<wire from="(140,1140)" to="(140,1160)"/>
<wire from="(80,1160)" to="(140,1160)"/>
<wire from="(190,1120)" to="(260,1120)"/>
<wire from="(250,470)" to="(260,470)"/>
<wire from="(250,460)" to="(250,470)"/>
<wire from="(260,480)" to="(260,500)"/>
<wire from="(250,500)" to="(260,500)"/>
<wire from="(290,470)" to="(310,470)"/>
<wire from="(310,460)" to="(310,470)"/>
<wire from="(310,480)" to="(310,500)"/>
<wire from="(290,480)" to="(310,480)"/>
<wire from="(370,670)" to="(380,670)"/>
<wire from="(370,660)" to="(370,670)"/>
<wire from="(370,680)" to="(370,700)"/>
<wire from="(370,680)" to="(380,680)"/>
<wire from="(410,670)" to="(430,670)"/>
<wire from="(430,660)" to="(430,670)"/>
<wire from="(430,680)" to="(430,700)"/>
<wire from="(410,680)" to="(430,680)"/>
<wire from="(450,910)" to="(460,910)"/>
<wire from="(450,900)" to="(450,910)"/>
<wire from="(450,920)" to="(460,920)"/>
<wire from="(450,920)" to="(450,940)"/>
<wire from="(510,900)" to="(510,910)"/>
<wire from="(490,910)" to="(510,910)"/>
<wire from="(490,920)" to="(510,920)"/>
<wire from="(510,920)" to="(510,940)"/>
<comp lib="7" loc="(250,129)" name="Text">
<a name="text" val="输入引脚"/>
<a name="font" val="Dialog plain 12"/>
</comp>
<comp lib="0" loc="(510,940)" name="Tunnel">
<a name="facing" val="west"/>
<a name="label" val="D3-NotQ"/>
</comp>
<comp lib="1" loc="(170,560)" name="XOR Gate">
<a name="negate1" val="true"/>
</comp>
<comp lib="0" loc="(360,100)" name="Tunnel">
<a name="label" val="ENT"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="0" loc="(440,230)" name="Tunnel">
<a name="facing" val="west"/>
<a name="label" val="AND-EN"/>
</comp>
<comp lib="0" loc="(510,900)" name="Tunnel">
<a name="facing" val="west"/>
<a name="label" val="Q3"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="1" loc="(180,720)" name="AND Gate"/>
<comp lib="0" loc="(70,270)" name="Tunnel">
<a name="label" val="CLR"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="0" loc="(220,100)" name="Tunnel">
<a name="label" val="ENP"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="0" loc="(200,220)" name="Tunnel">
<a name="facing" val="west"/>
<a name="label" val="Near-LD"/>
</comp>
<comp lib="0" loc="(430,700)" name="Tunnel">
<a name="facing" val="west"/>
<a name="label" val="D2-NotQ"/>
</comp>
<comp lib="1" loc="(250,500)" name="OR Gate"/>
<comp lib="0" loc="(430,700)" name="Tunnel">
<a name="facing" val="west"/>
<a name="label" val="D2-NotQ"/>
</comp>
<comp lib="0" loc="(400,40)" name="Pin">
<a name="facing" val="west"/>
<a name="tristate" val="false"/>
<a name="label" val="CLR"/>
<a name="labelloc" val="east"/>
</comp>
<comp lib="0" loc="(80,40)" name="Tunnel">
<a name="label" val="CLK"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="5" loc="(310,460)" name="D Flip-Flop">
<a name="trigger" val="falling"/>
</comp>
<comp lib="0" loc="(70,750)" name="Tunnel">
<a name="label" val="AND-EN"/>
</comp>
<comp lib="0" loc="(540,40)" name="Pin">
<a name="facing" val="west"/>
<a name="output" val="true"/>
<a name="label" val="Q0"/>
<a name="labelloc" val="east"/>
</comp>
<comp lib="0" loc="(70,570)" name="Tunnel">
<a name="label" val="D1-NotQ"/>
</comp>
<comp lib="0" loc="(60,1000)" name="Tunnel">
<a name="label" val="D3-NotQ"/>
</comp>
<comp lib="0" loc="(60,830)" name="Tunnel">
<a name="label" val="Near-LD"/>
</comp>
<comp lib="1" loc="(120,710)" name="AND Gate">
<a name="negate0" val="true"/>
<a name="negate1" val="true"/>
</comp>
<comp lib="0" loc="(440,340)" name="Tunnel">
<a name="label" val="CLK"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="0" loc="(290,360)" name="Tunnel">
<a name="facing" val="west"/>
<a name="label" val="D0-NotQ"/>
</comp>
<comp lib="1" loc="(170,380)" name="AND Gate"/>
<comp lib="0" loc="(540,100)" name="Pin">
<a name="facing" val="west"/>
<a name="output" val="true"/>
<a name="label" val="RCO"/>
<a name="labelloc" val="east"/>
</comp>
<comp lib="0" loc="(70,70)" name="Tunnel">
<a name="label" val="D0"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="0" loc="(60,850)" name="Tunnel">
<a name="label" val="D3"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="1" loc="(120,840)" name="AND Gate"/>
<comp lib="1" loc="(210,530)" name="AND Gate"/>
<comp lib="0" loc="(70,570)" name="Tunnel">
<a name="label" val="D1-NotQ"/>
</comp>
<comp lib="0" loc="(60,1160)" name="Tunnel">
<a name="label" val="ENT"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="1" loc="(170,340)" name="AND Gate"/>
<comp lib="0" loc="(80,1140)" name="Tunnel">
<a name="label" val="D3-NotQ"/>
</comp>
<comp lib="1" loc="(110,270)" name="Buffer"/>
<comp lib="0" loc="(70,330)" name="Tunnel">
<a name="label" val="Near-LD"/>
</comp>
<comp lib="0" loc="(70,720)" name="Tunnel">
<a name="label" val="D1-NotQ"/>
</comp>
<comp lib="7" loc="(353,160)" name="Text">
<a name="text" val="请勿修改引脚名称、电路名称及电路封装外观"/>
<a name="font" val="Dialog plain 12"/>
</comp>
<comp lib="0" loc="(70,700)" name="Tunnel">
<a name="label" val="D0-NotQ"/>
</comp>
<comp lib="0" loc="(290,360)" name="Tunnel">
<a name="facing" val="west"/>
<a name="label" val="D0-NotQ"/>
</comp>
<comp lib="1" loc="(120,540)" name="AND Gate"/>
<comp lib="0" loc="(70,420)" name="Tunnel">
<a name="label" val="D0-NotQ"/>
</comp>
<comp lib="1" loc="(170,220)" name="AND Gate">
<a name="negate1" val="true"/>
</comp>
<comp lib="0" loc="(70,550)" name="Tunnel">
<a name="label" val="AND-EN"/>
</comp>
<comp lib="0" loc="(70,620)" name="Tunnel">
<a name="label" val="Near-LD"/>
</comp>
<comp lib="0" loc="(60,930)" name="Tunnel">
<a name="label" val="D1-NotQ"/>
</comp>
<comp lib="0" loc="(60,1000)" name="Tunnel">
<a name="label" val="D3-NotQ"/>
</comp>
<comp lib="1" loc="(80,1160)" name="NOT Gate">
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="1" loc="(320,900)" name="AND Gate"/>
<comp lib="0" loc="(70,400)" name="Tunnel">
<a name="label" val="AND-EN"/>
</comp>
<comp lib="1" loc="(90,530)" name="NOT Gate">
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="0" loc="(60,950)" name="Tunnel">
<a name="label" val="D2-NotQ"/>
</comp>
<comp lib="0" loc="(400,70)" name="Pin">
<a name="facing" val="west"/>
<a name="tristate" val="false"/>
<a name="label" val="D2"/>
<a name="labelloc" val="east"/>
</comp>
<comp lib="0" loc="(70,720)" name="Tunnel">
<a name="label" val="D1-NotQ"/>
</comp>
<comp lib="0" loc="(370,660)" name="Tunnel">
<a name="label" val="RCLK"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="0" loc="(80,1100)" name="Tunnel">
<a name="label" val="D1-NotQ"/>
</comp>
<comp lib="1" loc="(450,940)" name="OR Gate"/>
<comp lib="0" loc="(250,460)" name="Tunnel">
<a name="label" val="RCLK"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="0" loc="(70,210)" name="Tunnel">
<a name="label" val="LD"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="0" loc="(120,100)" name="Pin">
<a name="facing" val="west"/>
<a name="tristate" val="false"/>
<a name="label" val="D3"/>
<a name="labelloc" val="east"/>
</comp>
<comp lib="0" loc="(310,500)" name="Tunnel">
<a name="facing" val="west"/>
<a name="label" val="D1-NotQ"/>
</comp>
<comp lib="0" loc="(70,770)" name="Tunnel">
<a name="label" val="D2-NotQ"/>
</comp>
<comp lib="0" loc="(70,370)" name="Tunnel">
<a name="label" val="Near-CLR"/>
</comp>
<comp lib="0" loc="(70,530)" name="Tunnel">
<a name="label" val="D0-NotQ"/>
</comp>
<comp lib="1" loc="(460,340)" name="NOT Gate">
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="0" loc="(70,660)" name="Tunnel">
<a name="label" val="Near-CLR"/>
</comp>
<comp lib="0" loc="(70,100)" name="Tunnel">
<a name="label" val="D3"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="0" loc="(400,100)" name="Pin">
<a name="facing" val="west"/>
<a name="tristate" val="false"/>
<a name="label" val="ENT"/>
<a name="labelloc" val="east"/>
</comp>
<comp lib="0" loc="(80,1140)" name="Tunnel">
<a name="label" val="D3-NotQ"/>
</comp>
<comp lib="0" loc="(60,950)" name="Tunnel">
<a name="label" val="D2-NotQ"/>
</comp>
<comp lib="7" loc="(594,132)" name="Text">
<a name="text" val="输出引脚"/>
<a name="font" val="Dialog plain 12"/>
</comp>
<comp lib="1" loc="(420,230)" name="AND Gate"/>
<comp lib="0" loc="(60,870)" name="Tunnel">
<a name="label" val="Near-CLR"/>
</comp>
<comp lib="0" loc="(250,70)" name="Pin">
<a name="facing" val="west"/>
<a name="tristate" val="false"/>
<a name="label" val="D1"/>
<a name="labelloc" val="east"/>
</comp>
<comp lib="1" loc="(120,930)" name="AND Gate">
<a name="inputs" val="3"/>
<a name="negate0" val="true"/>
<a name="negate1" val="true"/>
<a name="negate2" val="true"/>
</comp>
<comp lib="0" loc="(70,510)" name="Tunnel">
<a name="label" val="Near-CLR"/>
</comp>
<comp lib="0" loc="(250,40)" name="Pin">
<a name="facing" val="west"/>
<a name="tristate" val="false"/>
<a name="label" val="LD"/>
<a name="labelloc" val="east"/>
</comp>
<comp lib="0" loc="(200,260)" name="Tunnel">
<a name="facing" val="west"/>
<a name="label" val="Near-CLR"/>
</comp>
<comp lib="0" loc="(490,40)" name="Tunnel">
<a name="label" val="Q0"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="0" loc="(70,350)" name="Tunnel">
<a name="label" val="D0"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="5" loc="(430,660)" name="D Flip-Flop">
<a name="trigger" val="falling"/>
</comp>
<comp lib="0" loc="(660,70)" 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="0" loc="(450,900)" name="Tunnel">
<a name="label" val="RCLK"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="0" loc="(80,1120)" name="Tunnel">
<a name="label" val="D2-NotQ"/>
</comp>
<comp lib="0" loc="(260,100)" name="Pin">
<a name="facing" val="west"/>
<a name="tristate" val="false"/>
<a name="label" val="ENP"/>
<a name="labelloc" val="east"/>
</comp>
<comp lib="0" loc="(80,1080)" name="Tunnel">
<a name="label" val="D0-NotQ"/>
</comp>
<comp lib="0" loc="(60,910)" name="Tunnel">
<a name="label" val="D0-NotQ"/>
</comp>
<comp lib="0" loc="(210,40)" name="Tunnel">
<a name="label" val="LD"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="0" loc="(360,40)" name="Tunnel">
<a name="label" val="CLR"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="0" loc="(70,640)" name="Tunnel">
<a name="label" val="D2"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="0" loc="(370,240)" name="Tunnel">
<a name="label" val="ENT"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="0" loc="(530,70)" 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="(70,490)" name="Tunnel">
<a name="label" val="D1"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="0" loc="(80,1120)" name="Tunnel">
<a name="label" val="D2-NotQ"/>
</comp>
<comp lib="0" loc="(120,70)" name="Pin">
<a name="facing" val="west"/>
<a name="tristate" val="false"/>
<a name="label" val="D0"/>
<a name="labelloc" val="east"/>
</comp>
<comp lib="5" loc="(290,320)" name="D Flip-Flop">
<a name="trigger" val="falling"/>
</comp>
<comp lib="7" loc="(359,195)" name="Text">
<a name="text" val="提示使用独立逻辑门实现4位二进制同步计数器禁止直接使用计数器组件。"/>
<a name="font" val="Dialog plain 12"/>
</comp>
<comp lib="0" loc="(210,70)" name="Tunnel">
<a name="label" val="D1"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="0" loc="(80,1100)" name="Tunnel">
<a name="label" val="D1-NotQ"/>
</comp>
<comp lib="1" loc="(240,730)" name="XOR Gate">
<a name="negate1" val="true"/>
</comp>
<comp lib="0" loc="(620,70)" name="Tunnel">
<a name="label" val="Q3"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="0" loc="(130,40)" name="Pin">
<a name="facing" val="west"/>
<a name="tristate" val="false"/>
<a name="label" val="CLK"/>
<a name="labelloc" val="east"/>
</comp>
<comp lib="1" loc="(180,940)" name="AND Gate"/>
<comp lib="1" loc="(190,1120)" name="AND Gate">
<a name="inputs" val="5"/>
<a name="negate0" val="true"/>
<a name="negate1" val="true"/>
<a name="negate2" val="true"/>
<a name="negate3" val="true"/>
<a name="negate4" val="true"/>
</comp>
<comp lib="0" loc="(60,930)" name="Tunnel">
<a name="label" val="D1-NotQ"/>
</comp>
<comp lib="0" loc="(370,220)" name="Tunnel">
<a name="label" val="ENP"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="1" loc="(170,480)" name="AND Gate"/>
<comp lib="0" loc="(310,460)" name="Tunnel">
<a name="facing" val="west"/>
<a name="label" val="Q1"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="1" loc="(120,410)" name="XOR Gate">
<a name="negate1" val="true"/>
</comp>
<comp lib="0" loc="(500,100)" name="Tunnel">
<a name="label" val="RCO"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="0" loc="(620,40)" name="Tunnel">
<a name="label" val="Q1"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="0" loc="(490,70)" name="Tunnel">
<a name="label" val="Q2"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="0" loc="(460,340)" name="Tunnel">
<a name="facing" val="west"/>
<a name="label" val="RCLK"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="0" loc="(70,770)" name="Tunnel">
<a name="label" val="D2-NotQ"/>
</comp>
<comp lib="1" loc="(270,950)" name="XOR Gate">
<a name="negate1" val="true"/>
</comp>
<comp lib="1" loc="(370,700)" name="OR Gate"/>
<comp lib="5" loc="(510,900)" name="D Flip-Flop">
<a name="trigger" val="falling"/>
</comp>
<comp lib="0" loc="(260,1120)" name="Tunnel">
<a name="facing" val="west"/>
<a name="label" val="RCO"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="0" loc="(70,470)" name="Tunnel">
<a name="label" val="Near-LD"/>
</comp>
<comp lib="0" loc="(230,320)" name="Tunnel">
<a name="label" val="RCLK"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="0" loc="(60,980)" name="Tunnel">
<a name="label" val="AND-EN"/>
</comp>
<comp lib="1" loc="(170,630)" name="AND Gate"/>
<comp lib="0" loc="(510,940)" name="Tunnel">
<a name="facing" val="west"/>
<a name="label" val="D3-NotQ"/>
</comp>
<comp lib="1" loc="(170,260)" name="AND Gate">
<a name="negate0" val="true"/>
<a name="negate1" val="true"/>
</comp>
<comp lib="1" loc="(230,360)" name="OR Gate"/>
<comp lib="0" loc="(660,40)" 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="(430,660)" name="Tunnel">
<a name="facing" val="west"/>
<a name="label" val="Q2"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="1" loc="(290,720)" name="AND Gate"/>
<comp lib="0" loc="(310,500)" name="Tunnel">
<a name="facing" val="west"/>
<a name="label" val="D1-NotQ"/>
</comp>
<comp lib="0" loc="(350,70)" name="Tunnel">
<a name="label" val="D2"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="0" loc="(290,320)" name="Tunnel">
<a name="facing" val="west"/>
<a name="label" val="Q0"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
</circuit>
</project>

View file

@ -0,0 +1,846 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project source="2.16.1.3.jar" version="1.0">
This file is intended to be loaded by Logisim http://logisim.altervista.org
<lib desc="#Wiring" name="0">
<tool name="Splitter">
<a name="appear" val="right"/>
</tool>
<tool name="Pin">
<a name="facing" val="north"/>
</tool>
<tool name="Probe">
<a name="facing" val="west"/>
<a name="radix" val="10signed"/>
</tool>
<tool name="Tunnel">
<a name="width" val="32"/>
</tool>
<tool name="Pull Resistor">
<a name="facing" val="north"/>
</tool>
<tool name="Clock">
<a name="facing" val="north"/>
</tool>
<tool name="ProgrammableGenerator">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="Constant">
<a name="value" val="0x0"/>
</tool>
<tool name="Bit Extender">
<a name="in_width" val="32"/>
<a name="out_width" val="1"/>
</tool>
</lib>
<lib desc="#Gates" name="1">
<tool name="NOT Gate">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="Buffer">
<a name="width" val="3"/>
</tool>
<tool name="AND Gate">
<a name="inputs" val="3"/>
</tool>
<tool name="OR Gate">
<a name="inputs" val="4"/>
</tool>
<tool name="NAND Gate">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="XNOR Gate">
<a name="labelfont" val="Dialog plain 12"/>
<a name="xor" val="odd"/>
</tool>
<tool name="Odd Parity">
<a name="facing" val="south"/>
<a name="inputs" val="3"/>
</tool>
<tool name="Even Parity">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="Controlled Buffer">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="Controlled Inverter">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
</lib>
<lib desc="#TTL" name="2">
<tool name="7400">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="7402">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="7404">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="7408">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="7432">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="7447">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="7485">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="7486">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="74125">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="74165">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="74283">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="747266">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
</lib>
<lib desc="#Plexers" name="3">
<tool name="Multiplexer">
<a name="select" val="3"/>
<a name="enable" val="false"/>
</tool>
<tool name="Demultiplexer">
<a name="enable" val="false"/>
</tool>
<tool name="Decoder">
<a name="enable" val="false"/>
</tool>
<tool name="BitSelector">
<a name="width" val="31"/>
<a name="group" val="5"/>
</tool>
</lib>
<lib desc="#Arithmetic" name="4">
<tool name="Adder">
<a name="width" val="6"/>
</tool>
<tool name="Subtractor">
<a name="width" val="16"/>
</tool>
<tool name="Multiplier">
<a name="width" val="1"/>
</tool>
<tool name="Divider">
<a name="width" val="16"/>
</tool>
<tool name="Negator">
<a name="width" val="1"/>
</tool>
<tool name="Comparator">
<a name="width" val="16"/>
</tool>
</lib>
<lib desc="#Memory" name="5">
<tool name="D Flip-Flop">
<a name="trigger" val="high"/>
</tool>
<tool name="T Flip-Flop">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="J-K Flip-Flop">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="S-R Flip-Flop">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="Register">
<a name="width" val="32"/>
</tool>
<tool name="Counter">
<a name="width" val="6"/>
<a name="max" val="0x3f"/>
</tool>
<tool name="Shift Register">
<a name="length" val="4"/>
</tool>
<tool name="Random">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="RAM">
<a name="dataWidth" val="32"/>
</tool>
<tool name="ROM">
<a name="contents">addr/data: 8 8
0
</a>
</tool>
<tool name="PlaRom">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
</lib>
<lib desc="#I/O" name="6">
<tool name="Button">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="Switch">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="DipSwitch">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="Slider">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="Buzzer">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="LED">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="RGBLed">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
<tool name="Digital Oscilloscope">
<a name="labelfont" val="Dialog plain 12"/>
</tool>
</lib>
<lib desc="#Base" name="7">
<tool name="Text Tool">
<a name="text" val=""/>
<a name="font" val="Dialog plain 12"/>
<a name="color" val="#000000"/>
<a name="halign" val="center"/>
<a name="valign" val="base"/>
</tool>
</lib>
<main name="SHRG4U"/>
<options>
<a name="gateUndefined" val="ignore"/>
<a name="simlimit" val="1000"/>
<a name="simrand" val="0"/>
</options>
<mappings>
<tool lib="7" map="Button2" name="Poke Tool"/>
<tool lib="7" map="Button3" name="Menu Tool"/>
<tool lib="7" map="Ctrl Button1" name="Menu Tool"/>
</mappings>
<toolbar>
<tool lib="7" name="Poke Tool"/>
<tool lib="7" name="Edit Tool"/>
<sep/>
<tool lib="7" name="Text Tool">
<a name="text" val=""/>
<a name="font" val="Dialog plain 12"/>
<a name="color" val="#000000"/>
<a name="halign" val="center"/>
<a name="valign" val="base"/>
</tool>
<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"/>
</tool>
<tool lib="1" name="NOT Gate"/>
<tool lib="1" name="AND Gate"/>
<tool lib="1" name="OR Gate"/>
</toolbar>
<circuit name="SHRG4U">
<a name="circuit" val="SHRG4U"/>
<a name="clabel" val=""/>
<a name="clabelup" val="east"/>
<a name="clabelfont" val="Dialog plain 12"/>
<a name="clabelcolor" val="#000000"/>
<appear>
<rect fill="#ffffff" height="120" rx="5" ry="5" stroke="#000000" stroke-width="2" width="60" x="50" y="50"/>
<path d="M80,50 Q84,59 88,50" fill="none" stroke="#808080" stroke-width="2"/>
<text font-family="Dialog" font-size="6" text-anchor="start" x="58" y="61">CLK</text>
<text font-family="Dialog" font-size="6" text-anchor="start" x="58" y="71">CLR_L</text>
<text font-family="Dialog" font-size="6" text-anchor="start" x="59" y="81">RIN</text>
<text font-family="Dialog" font-size="6" text-anchor="start" x="58" y="102">D3</text>
<text font-family="Dialog" font-size="6" text-anchor="start" x="59" y="111">D2</text>
<text font-family="Dialog" font-size="6" text-anchor="start" x="59" y="120">D1</text>
<text font-family="Dialog" font-size="6" text-anchor="start" x="58" y="131">D0</text>
<text font-family="Dialog" font-size="6" text-anchor="start" x="59" y="140">LIN</text>
<text font-family="Dialog" font-size="6" text-anchor="start" x="58" y="151">S1</text>
<text font-family="Dialog" font-size="6" text-anchor="start" x="58" y="160">S0</text>
<text font-family="Dialog" font-size="6" text-anchor="end" x="103" y="71">Q3</text>
<text font-family="Dialog" font-size="6" text-anchor="end" x="103" y="91">Q2</text>
<text font-family="Dialog" font-size="6" text-anchor="end" x="101" y="111">Q1</text>
<text font-family="Dialog" font-size="6" text-anchor="end" x="101" y="131">Q0</text>
<circ-port height="8" pin="110,40" width="8" x="46" y="56"/>
<circ-port height="8" pin="250,40" width="8" x="46" y="66"/>
<circ-port height="8" pin="400,40" width="8" x="46" y="76"/>
<circ-port height="10" pin="540,40" width="10" x="105" y="65"/>
<circ-port height="10" pin="660,40" width="10" x="105" y="85"/>
<circ-port height="8" pin="110,70" width="8" x="46" y="96"/>
<circ-port height="8" pin="250,70" width="8" x="46" y="106"/>
<circ-port height="8" pin="400,70" width="8" x="46" y="116"/>
<circ-port height="10" pin="530,70" width="10" x="105" y="105"/>
<circ-port height="10" pin="660,70" width="10" x="105" y="125"/>
<circ-port height="8" pin="110,100" width="8" x="46" y="126"/>
<circ-port height="8" pin="260,100" width="8" x="46" y="136"/>
<circ-port height="8" pin="400,100" width="8" x="46" y="146"/>
<circ-port height="8" pin="120,130" width="8" x="46" y="156"/>
<circ-anchor facing="east" height="6" width="6" x="107" y="67"/>
</appear>
<wire from="(40,20)" to="(460,20)"/>
<wire from="(490,40)" to="(540,40)"/>
<wire from="(620,40)" to="(660,40)"/>
<wire from="(490,70)" to="(530,70)"/>
<wire from="(620,70)" to="(660,70)"/>
<wire from="(460,20)" to="(710,20)"/>
<wire from="(350,70)" to="(400,70)"/>
<wire from="(360,100)" to="(400,100)"/>
<wire from="(360,40)" to="(400,40)"/>
<wire from="(110,40)" to="(130,40)"/>
<wire from="(80,40)" to="(90,40)"/>
<wire from="(90,40)" to="(110,40)"/>
<wire from="(70,70)" to="(80,70)"/>
<wire from="(80,70)" to="(110,70)"/>
<wire from="(110,70)" to="(120,70)"/>
<wire from="(230,40)" to="(250,40)"/>
<wire from="(210,70)" to="(250,70)"/>
<wire from="(80,100)" to="(110,100)"/>
<wire from="(210,100)" to="(260,100)"/>
<wire from="(80,130)" to="(120,130)"/>
<wire from="(40,180)" to="(710,180)"/>
<wire from="(710,20)" to="(710,150)"/>
<wire from="(40,20)" to="(40,150)"/>
<wire from="(40,150)" to="(40,180)"/>
<wire from="(460,20)" to="(460,150)"/>
<wire from="(460,150)" to="(710,150)"/>
<wire from="(40,150)" to="(460,150)"/>
<wire from="(710,150)" to="(710,180)"/>
<wire from="(230,220)" to="(580,220)"/>
<wire from="(580,350)" to="(590,350)"/>
<wire from="(580,220)" to="(580,350)"/>
<wire from="(580,630)" to="(590,630)"/>
<wire from="(580,350)" to="(580,630)"/>
<wire from="(580,890)" to="(590,890)"/>
<wire from="(580,630)" to="(580,890)"/>
<wire from="(580,1150)" to="(590,1150)"/>
<wire from="(580,890)" to="(580,1150)"/>
<wire from="(570,410)" to="(620,410)"/>
<wire from="(570,260)" to="(570,410)"/>
<wire from="(570,690)" to="(620,690)"/>
<wire from="(570,410)" to="(570,690)"/>
<wire from="(570,1210)" to="(620,1210)"/>
<wire from="(570,950)" to="(620,950)"/>
<wire from="(570,690)" to="(570,950)"/>
<wire from="(570,950)" to="(570,1210)"/>
<wire from="(400,1010)" to="(460,1010)"/>
<wire from="(400,960)" to="(450,960)"/>
<wire from="(400,910)" to="(450,910)"/>
<wire from="(450,920)" to="(470,920)"/>
<wire from="(450,940)" to="(470,940)"/>
<wire from="(450,910)" to="(450,920)"/>
<wire from="(460,950)" to="(470,950)"/>
<wire from="(450,940)" to="(450,960)"/>
<wire from="(460,950)" to="(460,1010)"/>
<wire from="(400,860)" to="(470,860)"/>
<wire from="(130,1280)" to="(160,1280)"/>
<wire from="(130,1340)" to="(160,1340)"/>
<wire from="(200,1260)" to="(200,1280)"/>
<wire from="(200,1260)" to="(250,1260)"/>
<wire from="(180,1280)" to="(200,1280)"/>
<wire from="(200,1280)" to="(220,1280)"/>
<wire from="(240,1280)" to="(260,1280)"/>
<wire from="(260,1280)" to="(260,1360)"/>
<wire from="(200,1320)" to="(200,1340)"/>
<wire from="(200,1320)" to="(270,1320)"/>
<wire from="(180,1340)" to="(200,1340)"/>
<wire from="(200,1340)" to="(220,1340)"/>
<wire from="(270,1320)" to="(270,1360)"/>
<wire from="(240,1340)" to="(280,1340)"/>
<wire from="(280,1340)" to="(280,1360)"/>
<wire from="(400,1270)" to="(460,1270)"/>
<wire from="(400,1170)" to="(450,1170)"/>
<wire from="(400,1220)" to="(450,1220)"/>
<wire from="(450,1180)" to="(470,1180)"/>
<wire from="(450,1200)" to="(470,1200)"/>
<wire from="(450,1170)" to="(450,1180)"/>
<wire from="(460,1210)" to="(470,1210)"/>
<wire from="(450,1200)" to="(450,1220)"/>
<wire from="(460,1210)" to="(460,1270)"/>
<wire from="(400,1120)" to="(470,1120)"/>
<wire from="(400,750)" to="(460,750)"/>
<wire from="(400,650)" to="(450,650)"/>
<wire from="(400,700)" to="(450,700)"/>
<wire from="(450,680)" to="(470,680)"/>
<wire from="(450,660)" to="(470,660)"/>
<wire from="(450,650)" to="(450,660)"/>
<wire from="(460,690)" to="(470,690)"/>
<wire from="(450,680)" to="(450,700)"/>
<wire from="(460,690)" to="(460,750)"/>
<wire from="(400,600)" to="(470,600)"/>
<wire from="(400,470)" to="(460,470)"/>
<wire from="(400,420)" to="(450,420)"/>
<wire from="(400,370)" to="(450,370)"/>
<wire from="(450,380)" to="(470,380)"/>
<wire from="(450,400)" to="(470,400)"/>
<wire from="(450,370)" to="(450,380)"/>
<wire from="(460,410)" to="(470,410)"/>
<wire from="(450,400)" to="(450,420)"/>
<wire from="(460,410)" to="(460,470)"/>
<wire from="(400,320)" to="(470,320)"/>
<wire from="(500,390)" to="(590,390)"/>
<wire from="(500,670)" to="(590,670)"/>
<wire from="(500,930)" to="(590,930)"/>
<wire from="(500,1190)" to="(590,1190)"/>
<wire from="(130,1250)" to="(290,1250)"/>
<wire from="(290,1250)" to="(290,1260)"/>
<wire from="(290,1260)" to="(370,1260)"/>
<wire from="(250,1270)" to="(370,1270)"/>
<wire from="(250,1260)" to="(250,1270)"/>
<wire from="(250,1270)" to="(250,1360)"/>
<wire from="(130,1210)" to="(370,1210)"/>
<wire from="(280,1280)" to="(370,1280)"/>
<wire from="(280,1280)" to="(280,1340)"/>
<wire from="(260,1220)" to="(370,1220)"/>
<wire from="(260,1220)" to="(260,1280)"/>
<wire from="(280,1230)" to="(370,1230)"/>
<wire from="(280,1230)" to="(280,1280)"/>
<wire from="(250,1170)" to="(370,1170)"/>
<wire from="(250,1170)" to="(250,1260)"/>
<wire from="(690,1070)" to="(690,1150)"/>
<wire from="(650,1150)" to="(690,1150)"/>
<wire from="(690,1150)" to="(730,1150)"/>
<wire from="(260,1120)" to="(370,1120)"/>
<wire from="(260,1120)" to="(260,1220)"/>
<wire from="(270,1130)" to="(370,1130)"/>
<wire from="(280,1020)" to="(370,1020)"/>
<wire from="(250,1010)" to="(370,1010)"/>
<wire from="(250,1010)" to="(250,1170)"/>
<wire from="(260,960)" to="(370,960)"/>
<wire from="(260,960)" to="(260,1120)"/>
<wire from="(280,970)" to="(370,970)"/>
<wire from="(280,970)" to="(280,1020)"/>
<wire from="(130,950)" to="(370,950)"/>
<wire from="(250,910)" to="(370,910)"/>
<wire from="(250,910)" to="(250,1010)"/>
<wire from="(270,920)" to="(370,920)"/>
<wire from="(270,920)" to="(270,1130)"/>
<wire from="(320,900)" to="(370,900)"/>
<wire from="(320,740)" to="(370,740)"/>
<wire from="(690,810)" to="(690,890)"/>
<wire from="(650,890)" to="(690,890)"/>
<wire from="(690,890)" to="(730,890)"/>
<wire from="(260,860)" to="(370,860)"/>
<wire from="(260,860)" to="(260,960)"/>
<wire from="(270,870)" to="(370,870)"/>
<wire from="(270,870)" to="(270,920)"/>
<wire from="(300,850)" to="(370,850)"/>
<wire from="(250,750)" to="(370,750)"/>
<wire from="(250,750)" to="(250,910)"/>
<wire from="(280,760)" to="(370,760)"/>
<wire from="(280,760)" to="(280,970)"/>
<wire from="(260,700)" to="(370,700)"/>
<wire from="(260,700)" to="(260,860)"/>
<wire from="(280,710)" to="(370,710)"/>
<wire from="(280,710)" to="(280,760)"/>
<wire from="(120,690)" to="(370,690)"/>
<wire from="(250,650)" to="(370,650)"/>
<wire from="(250,650)" to="(250,750)"/>
<wire from="(270,660)" to="(370,660)"/>
<wire from="(270,660)" to="(270,870)"/>
<wire from="(320,640)" to="(370,640)"/>
<wire from="(320,460)" to="(370,460)"/>
<wire from="(690,530)" to="(690,630)"/>
<wire from="(650,630)" to="(690,630)"/>
<wire from="(690,630)" to="(730,630)"/>
<wire from="(260,320)" to="(370,320)"/>
<wire from="(260,300)" to="(260,320)"/>
<wire from="(270,330)" to="(370,330)"/>
<wire from="(270,300)" to="(270,330)"/>
<wire from="(340,290)" to="(340,360)"/>
<wire from="(340,360)" to="(370,360)"/>
<wire from="(300,360)" to="(340,360)"/>
<wire from="(680,290)" to="(680,350)"/>
<wire from="(680,350)" to="(730,350)"/>
<wire from="(650,350)" to="(680,350)"/>
<wire from="(250,370)" to="(370,370)"/>
<wire from="(250,300)" to="(250,370)"/>
<wire from="(270,380)" to="(370,380)"/>
<wire from="(270,330)" to="(270,380)"/>
<wire from="(120,410)" to="(370,410)"/>
<wire from="(260,420)" to="(370,420)"/>
<wire from="(260,320)" to="(260,420)"/>
<wire from="(280,430)" to="(370,430)"/>
<wire from="(280,300)" to="(280,430)"/>
<wire from="(250,470)" to="(370,470)"/>
<wire from="(250,470)" to="(250,650)"/>
<wire from="(250,370)" to="(250,470)"/>
<wire from="(280,480)" to="(370,480)"/>
<wire from="(280,480)" to="(280,710)"/>
<wire from="(280,430)" to="(280,480)"/>
<wire from="(300,360)" to="(300,590)"/>
<wire from="(300,590)" to="(370,590)"/>
<wire from="(320,460)" to="(320,530)"/>
<wire from="(320,530)" to="(320,640)"/>
<wire from="(300,640)" to="(320,640)"/>
<wire from="(300,640)" to="(300,850)"/>
<wire from="(260,600)" to="(370,600)"/>
<wire from="(260,420)" to="(260,600)"/>
<wire from="(260,600)" to="(260,700)"/>
<wire from="(270,610)" to="(370,610)"/>
<wire from="(270,380)" to="(270,610)"/>
<wire from="(270,610)" to="(270,660)"/>
<wire from="(320,740)" to="(320,810)"/>
<wire from="(320,810)" to="(320,900)"/>
<wire from="(300,900)" to="(320,900)"/>
<wire from="(300,900)" to="(300,1110)"/>
<wire from="(300,1110)" to="(370,1110)"/>
<wire from="(320,1000)" to="(320,1070)"/>
<wire from="(320,1000)" to="(370,1000)"/>
<wire from="(320,1070)" to="(320,1160)"/>
<wire from="(320,1160)" to="(370,1160)"/>
<wire from="(120,310)" to="(370,310)"/>
<wire from="(120,220)" to="(210,220)"/>
<wire from="(130,260)" to="(210,260)"/>
<wire from="(470,860)" to="(470,910)"/>
<wire from="(470,600)" to="(470,650)"/>
<wire from="(470,1120)" to="(470,1170)"/>
<wire from="(470,320)" to="(470,370)"/>
<wire from="(340,290)" to="(680,290)"/>
<wire from="(320,530)" to="(690,530)"/>
<wire from="(320,810)" to="(690,810)"/>
<wire from="(320,1070)" to="(690,1070)"/>
<wire from="(230,260)" to="(570,260)"/>
<wire from="(280,1020)" to="(280,1230)"/>
<wire from="(270,1180)" to="(370,1180)"/>
<wire from="(270,1130)" to="(270,1180)"/>
<wire from="(270,1180)" to="(270,1320)"/>
<comp lib="5" loc="(650,350)" name="D Flip-Flop">
<a name="trigger" val="falling"/>
<a name="label" val="QD"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="5" loc="(650,630)" name="D Flip-Flop">
<a name="trigger" val="falling"/>
<a name="label" val="QC"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="0" loc="(210,70)" name="Tunnel">
<a name="label" val="D2"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="1" loc="(230,260)" name="NOT Gate">
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="1" loc="(400,700)" name="AND Gate">
<a name="inputs" val="3"/>
<a name="label" val="24"/>
</comp>
<comp lib="0" loc="(120,220)" name="Tunnel">
<a name="label" val="CLK"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="0" loc="(540,40)" 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="1" loc="(400,1120)" name="AND Gate">
<a name="inputs" val="3"/>
<a name="label" val="23"/>
</comp>
<comp lib="0" loc="(530,70)" 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="(130,950)" name="Tunnel">
<a name="label" val="D1"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="7" loc="(581,118)" name="Text">
<a name="text" val="输出引脚"/>
<a name="font" val="Dialog plain 12"/>
</comp>
<comp lib="0" loc="(730,1150)" name="Tunnel">
<a name="facing" val="west"/>
<a name="label" val="Q0"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="0" loc="(400,40)" name="Pin">
<a name="facing" val="west"/>
<a name="tristate" val="false"/>
<a name="label" val="RIN"/>
<a name="labelloc" val="east"/>
</comp>
<comp lib="0" loc="(660,70)" name="Pin">
<a name="facing" val="west"/>
<a name="output" val="true"/>
<a name="label" val="Q0"/>
<a name="labelloc" val="east"/>
</comp>
<comp lib="1" loc="(400,370)" name="AND Gate">
<a name="inputs" val="3"/>
<a name="label" val="13"/>
</comp>
<comp lib="0" loc="(80,130)" name="Tunnel">
<a name="label" val="S0"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="1" loc="(400,1220)" name="AND Gate">
<a name="inputs" val="3"/>
<a name="label" val="24"/>
</comp>
<comp lib="5" loc="(650,1150)" name="D Flip-Flop">
<a name="trigger" val="falling"/>
<a name="label" val="QA"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="1" loc="(400,1270)" name="AND Gate">
<a name="inputs" val="3"/>
<a name="label" val="14"/>
</comp>
<comp lib="0" loc="(130,1210)" name="Tunnel">
<a name="label" val="D0"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="0" loc="(120,130)" name="Pin">
<a name="facing" val="west"/>
<a name="tristate" val="false"/>
<a name="label" val="S0"/>
<a name="labelloc" val="east"/>
</comp>
<comp lib="0" loc="(400,100)" name="Pin">
<a name="facing" val="west"/>
<a name="tristate" val="false"/>
<a name="label" val="S1"/>
<a name="labelloc" val="east"/>
</comp>
<comp lib="1" loc="(180,1340)" name="NOT Gate">
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="1" loc="(500,670)" name="OR Gate">
<a name="inputs" val="4"/>
</comp>
<comp lib="1" loc="(400,910)" name="AND Gate">
<a name="inputs" val="3"/>
<a name="label" val="13"/>
</comp>
<comp lib="1" loc="(400,470)" name="AND Gate">
<a name="inputs" val="3"/>
<a name="label" val="14"/>
</comp>
<comp lib="0" loc="(250,40)" name="Pin">
<a name="facing" val="west"/>
<a name="tristate" val="false"/>
<a name="label" val="CLR_L"/>
<a name="labelloc" val="east"/>
</comp>
<comp lib="1" loc="(400,1010)" name="AND Gate">
<a name="inputs" val="3"/>
<a name="label" val="14"/>
</comp>
<comp lib="0" loc="(400,70)" name="Pin">
<a name="facing" val="west"/>
<a name="tristate" val="false"/>
<a name="label" val="D1"/>
<a name="labelloc" val="east"/>
</comp>
<comp lib="1" loc="(400,750)" name="AND Gate">
<a name="inputs" val="3"/>
<a name="label" val="14"/>
</comp>
<comp lib="1" loc="(500,390)" name="OR Gate">
<a name="inputs" val="4"/>
</comp>
<comp lib="0" loc="(120,690)" name="Tunnel">
<a name="label" val="D2"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="1" loc="(240,1280)" name="NOT Gate">
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="1" loc="(500,930)" name="OR Gate">
<a name="inputs" val="4"/>
</comp>
<comp lib="0" loc="(80,100)" name="Tunnel">
<a name="label" val="D0"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="1" loc="(500,1190)" name="OR Gate">
<a name="inputs" val="4"/>
</comp>
<comp lib="0" loc="(730,630)" name="Tunnel">
<a name="facing" val="west"/>
<a name="label" val="Q2"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="0" loc="(120,310)" name="Tunnel">
<a name="label" val="RIN"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="0" loc="(620,40)" name="Tunnel">
<a name="label" val="Q2"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="7" loc="(353,166)" name="Text">
<a name="text" val="请勿修改引脚名称、电路名称及电路封装外观"/>
<a name="font" val="Dialog plain 12"/>
</comp>
<comp lib="0" loc="(260,100)" name="Pin">
<a name="facing" val="west"/>
<a name="tristate" val="false"/>
<a name="label" val="LIN"/>
<a name="labelloc" val="east"/>
</comp>
<comp lib="0" loc="(250,70)" name="Pin">
<a name="facing" val="west"/>
<a name="tristate" val="false"/>
<a name="label" val="D2"/>
<a name="labelloc" val="east"/>
</comp>
<comp lib="1" loc="(400,320)" name="AND Gate">
<a name="inputs" val="3"/>
<a name="label" val="23"/>
</comp>
<comp lib="0" loc="(110,70)" name="Pin">
<a name="facing" val="west"/>
<a name="tristate" val="false"/>
<a name="label" val="D3"/>
<a name="labelloc" val="east"/>
</comp>
<comp lib="0" loc="(130,1340)" name="Tunnel">
<a name="label" val="S0"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="1" loc="(400,600)" name="AND Gate">
<a name="inputs" val="3"/>
<a name="label" val="23"/>
</comp>
<comp lib="0" loc="(730,350)" name="Tunnel">
<a name="facing" val="west"/>
<a name="label" val="Q3"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="1" loc="(400,860)" name="AND Gate">
<a name="inputs" val="3"/>
<a name="label" val="23"/>
</comp>
<comp lib="1" loc="(400,1170)" name="AND Gate">
<a name="inputs" val="3"/>
<a name="label" val="13"/>
</comp>
<comp lib="0" loc="(360,40)" name="Tunnel">
<a name="label" val="RIN"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="1" loc="(180,1280)" name="NOT Gate">
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="0" loc="(350,70)" name="Tunnel">
<a name="label" val="D1"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="0" loc="(110,100)" name="Pin">
<a name="facing" val="west"/>
<a name="tristate" val="false"/>
<a name="label" val="D0"/>
<a name="labelloc" val="east"/>
</comp>
<comp lib="1" loc="(230,220)" name="NOT Gate">
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="1" loc="(240,1340)" name="NOT Gate">
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="0" loc="(490,40)" name="Tunnel">
<a name="label" val="Q3"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="0" loc="(130,1280)" name="Tunnel">
<a name="label" val="S1"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="0" loc="(130,1250)" name="Tunnel">
<a name="label" val="LIN"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="7" loc="(359,195)" name="Text">
<a name="text" val="提示使用独立逻辑门实现4位异步清零移位寄存器禁止直接使用移位寄存器组件。"/>
<a name="font" val="Dialog plain 12"/>
</comp>
<comp lib="5" loc="(650,890)" name="D Flip-Flop">
<a name="trigger" val="falling"/>
<a name="label" val="QB"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="0" loc="(110,40)" name="Pin">
<a name="facing" val="west"/>
<a name="tristate" val="false"/>
<a name="label" val="CLK"/>
<a name="labelloc" val="east"/>
</comp>
<comp lib="0" loc="(730,890)" name="Tunnel">
<a name="facing" val="west"/>
<a name="label" val="Q1"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="0" loc="(230,40)" name="Tunnel">
<a name="label" val="CLR_L"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="0" loc="(620,70)" name="Tunnel">
<a name="label" val="Q0"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="0" loc="(490,70)" name="Tunnel">
<a name="label" val="Q1"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="1" loc="(400,650)" name="AND Gate">
<a name="inputs" val="3"/>
<a name="label" val="13"/>
</comp>
<comp lib="0" loc="(90,40)" name="Tunnel">
<a name="label" val="CLK"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="0" loc="(120,410)" name="Tunnel">
<a name="label" val="D3"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="0" loc="(80,70)" name="Tunnel">
<a name="label" val="D3"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="1" loc="(400,960)" name="AND Gate">
<a name="inputs" val="3"/>
<a name="label" val="24"/>
</comp>
<comp lib="0" loc="(210,100)" name="Tunnel">
<a name="label" val="LIN"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="0" loc="(130,260)" name="Tunnel">
<a name="label" val="CLR_L"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="1" loc="(400,420)" name="AND Gate">
<a name="inputs" val="3"/>
<a name="label" val="24"/>
</comp>
<comp lib="7" loc="(250,129)" name="Text">
<a name="text" val="输入引脚"/>
<a name="font" val="Dialog plain 12"/>
</comp>
<comp lib="0" loc="(360,100)" name="Tunnel">
<a name="label" val="S1"/>
<a name="labelfont" val="Dialog plain 12"/>
</comp>
<comp lib="0" loc="(660,40)" name="Pin">
<a name="facing" val="west"/>
<a name="output" val="true"/>
<a name="label" val="Q2"/>
<a name="labelloc" val="east"/>
</comp>
</circuit>
</project>

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff