2025SPR-COaA-Solution/实验三、同步时序部件设计/lab3.1.circ

894 lines
32 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?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>