提交 66800a49 创建 作者: 李川's avatar 李川 提交者: 李川

修改硬中断实验项目

上级 f2006d06
*.cir
*.xml
*.bak
/.vs
\ No newline at end of file
...@@ -339,5 +339,5 @@ aU4 [ ASK_FOR_INT NETU4_2 NETU4_3] NETINTR_ADDRESS_GATE_^EN OR3 ...@@ -339,5 +339,5 @@ aU4 [ ASK_FOR_INT NETU4_2 NETU4_3] NETINTR_ADDRESS_GATE_^EN OR3
.model OR3 d_or(rise_delay = 1e-9 fall_delay = 1e-9 input_load = 1e-3) .model OR3 d_or(rise_delay = 1e-9 fall_delay = 1e-9 input_load = 1e-3)
xuPC_NEXT UPC15 UPC14 UPC13 UPC12 UPC11 UPC10 UPC9 UPC8 UPC7 UPC6 UPC5 UPC4 UPC3 UPC2 UPC1 UPC0 UPC_NEXT15 UPC_NEXT14 UPC_NEXT13 UPC_NEXT12 UPC_NEXT11 UPC_NEXT10 UPC_NEXT9 UPC_NEXT8 UPC_NEXT7 UPC_NEXT6 UPC_NEXT5 UPC_NEXT4 UPC_NEXT3 UPC_NEXT2 UPC_NEXT1 UPC_NEXT0 modulecir6 xuPC_NEXT UPC15 UPC14 UPC13 UPC12 UPC11 UPC10 UPC9 UPC8 UPC7 UPC6 UPC5 UPC4 UPC3 UPC2 UPC1 UPC0 UPC_NEXT15 UPC_NEXT14 UPC_NEXT13 UPC_NEXT12 UPC_NEXT11 UPC_NEXT10 UPC_NEXT9 UPC_NEXT8 UPC_NEXT7 UPC_NEXT6 UPC_NEXT5 UPC_NEXT4 UPC_NEXT3 UPC_NEXT2 UPC_NEXT1 UPC_NEXT0 modulecir6
.include "D:\codecode\Answer\computer_system\lab8\interrupt\uPC_NEXT.dlsche.cir" .include "D:\codecode\Hardware-IRQ\uPC_NEXT.dlsche.cir"
.ends .ends
...@@ -175,16 +175,24 @@ a1 1 out var_clock ...@@ -175,16 +175,24 @@ a1 1 out var_clock
.model var_clock d_osc(cntl_array = [-1.0 0.0 1.0 2.0] freq_array = [10 100 1e3 {frequency}] duty_cycle ={dutycycle} init_phase = 0 rise_delay = {risedelay} fall_delay = {falldelay}) .model var_clock d_osc(cntl_array = [-1.0 0.0 1.0 2.0] freq_array = [10 100 1e3 {frequency}] duty_cycle ={dutycycle} init_phase = 0 rise_delay = {risedelay} fall_delay = {falldelay})
.ends .ends
x2 NET2_1 P
.subckt P 1
a1 1 2 InputBuffer
a2 2 Digload
.MODEL Digload d_pulldown(load = 1e-12)
.MODEL InputBuffer d_buffer (rise_delay = 1n fall_delay = 1n)
.ends
xALU CN FLAG_REG_EN S0 S1 S2 W_REG_EN A_REG_EN CLK DBUS7 DBUS6 DBUS5 DBUS4 DBUS3 DBUS2 DBUS1 DBUS0 CF ZF L_GATE_EN R_GATE_EN D_GATE_EN S3 C M DBUS7 DBUS6 DBUS5 DBUS4 DBUS3 DBUS2 DBUS1 DBUS0 CLK modulecir1 xALU CN FLAG_REG_EN S0 S1 S2 W_REG_EN A_REG_EN CLK DBUS7 DBUS6 DBUS5 DBUS4 DBUS3 DBUS2 DBUS1 DBUS0 CF ZF L_GATE_EN R_GATE_EN D_GATE_EN S3 C M DBUS7 DBUS6 DBUS5 DBUS4 DBUS3 DBUS2 DBUS1 DBUS0 CLK modulecir1
xREG IR0 IR1 REG_WR REG_READ CLK IA_GATE_EN SP_GATE_EN ASR_GATE_EN IA_REG_EN SP_REG_EN ASR_REG_EN CST_U\D CST_LOAD CST_GATE_EN DBUS7 DBUS6 DBUS5 DBUS4 DBUS3 DBUS2 DBUS1 DBUS0 DBUS7 DBUS6 DBUS5 DBUS4 DBUS3 DBUS2 DBUS1 DBUS0 modulecir2 xREG IR0 IR1 REG_WR REG_READ CLK IA_GATE_EN SP_GATE_EN ASR_GATE_EN IA_REG_EN SP_REG_EN ASR_REG_EN CST_U\D CST_LOAD CST_GATE_EN DBUS7 DBUS6 DBUS5 DBUS4 DBUS3 DBUS2 DBUS1 DBUS0 DBUS7 DBUS6 DBUS5 DBUS4 DBUS3 DBUS2 DBUS1 DBUS0 modulecir2
xPC CF ZF IR2 IR3 PC_LOAD_EN CLK DBUS7 DBUS6 DBUS5 DBUS4 DBUS3 DBUS2 DBUS1 DBUS0 PC_A_GATE_EN PC_D_GATE_EN PC_ADD INTR_LOAD DBUS7 DBUS6 DBUS5 DBUS4 DBUS3 DBUS2 DBUS1 DBUS0 ABUS7 ABUS6 ABUS5 ABUS4 ABUS3 ABUS2 ABUS1 ABUS0 RESET modulecir3 xPC CF ZF IR2 IR3 PC_LOAD_EN CLK DBUS7 DBUS6 DBUS5 DBUS4 DBUS3 DBUS2 DBUS1 DBUS0 PC_A_GATE_EN PC_D_GATE_EN PC_ADD INTR_LOAD DBUS7 DBUS6 DBUS5 DBUS4 DBUS3 DBUS2 DBUS1 DBUS0 ABUS7 ABUS6 ABUS5 ABUS4 ABUS3 ABUS2 ABUS1 ABUS0 RESET modulecir3
xMEM ABUS7 ABUS6 ABUS5 ABUS4 ABUS3 ABUS2 ABUS1 ABUS0 DBUS7 DBUS6 DBUS5 DBUS4 DBUS3 DBUS2 DBUS1 DBUS0 MEM_WR CLK MEM_GATE_EN DBUS7 DBUS6 DBUS5 DBUS4 DBUS3 DBUS2 DBUS1 DBUS0 modulecir4 xMEM ABUS7 ABUS6 ABUS5 ABUS4 ABUS3 ABUS2 ABUS1 ABUS0 DBUS7 DBUS6 DBUS5 DBUS4 DBUS3 DBUS2 DBUS1 DBUS0 MEM_WR CLK MEM_GATE_EN DBUS7 DBUS6 DBUS5 DBUS4 DBUS3 DBUS2 DBUS1 DBUS0 modulecir4
xCU CLK DBUS7 DBUS6 DBUS5 DBUS4 DBUS3 DBUS2 DBUS1 DBUS0 IR0 IR1 IR2 IR3 S0 S1 S2 A_REG_EN W_REG_EN FLAG_REG_EN CN REG_WR SP_REG_EN ROUT_REG_EN MAR_GATE_EN MAR_REG_EN PC_LOAD_EN PC_A_GATE_EN ASR_REG_EN MEM_WR IA_REG_EN SP_GATE_EN PC_D_GATE_EN D_GATE_EN R_GATE_EN L_GATE_EN ASR_GATE_EN IA_GATE_EN RIN_GATE_EN MEM_GATE_EN CST_GATE_EN CST_LOAD REG_READ S3 C M CST_U\D PC_ADD INTR INTR_LOAD IF RESET INTA2 EOI INTA1 modulecir5 xCU CLK DBUS7 DBUS6 DBUS5 DBUS4 DBUS3 DBUS2 DBUS1 DBUS0 IR0 IR1 IR2 IR3 S0 S1 S2 A_REG_EN W_REG_EN FLAG_REG_EN CN REG_WR SP_REG_EN ROUT_REG_EN MAR_GATE_EN MAR_REG_EN PC_LOAD_EN PC_A_GATE_EN ASR_REG_EN MEM_WR IA_REG_EN SP_GATE_EN PC_D_GATE_EN D_GATE_EN R_GATE_EN L_GATE_EN ASR_GATE_EN IA_GATE_EN RIN_GATE_EN MEM_GATE_EN CST_GATE_EN CST_LOAD REG_READ S3 C M CST_U\D PC_ADD INTR INTR_LOAD IF RESET INTA2 EOI INTA1 modulecir5
xHDINT NETC3_1 NETC4_1 NETC5_1 NETC6_1 NETC7_1 NETC8_1 NETC9_1 NETC10_1 INTA2 EOI RESET INTR DBUS7 DBUS6 DBUS5 DBUS4 DBUS3 DBUS2 DBUS1 DBUS0 INTA1 RESET CLK INTA2 modulecir7 xIRQ NETC3_1 NETC4_1 NETC5_1 NETC6_1 NETC7_1 NETC8_1 NETC9_1 NETC10_1 INTA2 EOI RESET NET2_1 DBUS7 DBUS6 DBUS5 DBUS4 DBUS3 DBUS2 DBUS1 DBUS0 INTA1 RESET CLK INTA2 modulecir7
.include "D:\codecode\Answer\computer_system\lab8\interrupt\ALU.dlsche.cir" .include "D:\codecode\Hardware-IRQ\ALU.dlsche.cir"
.include "D:\codecode\Answer\computer_system\lab8\interrupt\REG.dlsche.cir" .include "D:\codecode\Hardware-IRQ\REG.dlsche.cir"
.include "D:\codecode\Answer\computer_system\lab8\interrupt\PC.dlsche.cir" .include "D:\codecode\Hardware-IRQ\PC.dlsche.cir"
.include "D:\codecode\Answer\computer_system\lab8\interrupt\MEM.dlsche.cir" .include "D:\codecode\Hardware-IRQ\MEM.dlsche.cir"
.include "D:\codecode\Answer\computer_system\lab8\interrupt\CU.dlsche.cir" .include "D:\codecode\Hardware-IRQ\CU.dlsche.cir"
.include "D:\codecode\Answer\computer_system\lab8\interrupt\HDINT.dlsche.cir" .include "D:\codecode\Hardware-IRQ\IRQ.dlsche.cir"
.end .end
这个 源代码变更 因为 太大 而不能显示。 你可以 浏览blob
这个 源代码变更 因为 太大 而不能显示。 你可以 浏览blob
.subckt modulecir7 IR0 IR1 IR2 IR3 IR4 IR5 IR6 IR7 NET1_^EN EOI RESET INTR DBUS7 DBUS6 DBUS5 DBUS4 DBUS3 DBUS2 DBUS1 DBUS0 INTA1 RESET CLK NET1_^EN
x1 NET1_A0 NET1_A1 NET1_A2 NET1_A3 NET1_A4 NET1_A5 NET1_A6 NET1_A7 DBUS0 DBUS1 DBUS2 DBUS3 DBUS4 DBUS5 DBUS6 DBUS7 NET1_^EN BUS_TRANS8
.subckt BUS_TRANS8 A0 A1 A2 A3 A4 A5 A6 A7 B0 B1 B2 B3 B4 B5 B6 B7 EN
xU3 EN IEN NNOT
xU5 A0 IA0 NNOT
xU6 A1 IA1 NNOT
xU7 A2 IA2 NNOT
xU8 A3 IA3 NNOT
xU9 A4 IA4 NNOT
xU10 A5 IA5 NNOT
xU11 A6 IA6 NNOT
xU12 A7 IA7 NNOT
.subckt NNOT IN OUT
aU1 IN NetU1_2 NOT
aU2 NetU1_2 OUT NOT
.model NOT d_inverter(rise_delay = 1e-9 fall_delay = 1e-9 input_load = 1e-3)
.ends
a1 [ IA0 IA1 IA2 IA3 IA4 IA5 IA6 IA7] IEN [ B0 B1 B2 B3 B4 B5 B6 B7] MULTI_TRISTATE
.model MULTI_TRISTATE d_multristate(delay = 0.5e-9 input_load = 0.5e-12 enable_load = 0.5e-12)
.ends
xIRR NET1_A0 NET1_A1 NET1_A2 NET1_^EN IR0 IR1 IR2 IR3 IR4 IR5 IR6 IR7 IRR0 IRR1 IRR2 IRR3 IRR4 IRR5 IRR6 IRR7 RESET CLK modulecir8
xISR INTA1 EOI NET1_A0 NET1_A1 NET1_A2 INTR RESET ISR7 ISR6 ISR5 ISR4 ISR3 ISR2 ISR1 ISR0 IRNM0 IRNM1 IRNM2 CLK CLK modulecir9
xPR ISR7 ISR6 ISR5 ISR4 ISR3 ISR2 ISR1 ISR0 IRR7 IRR6 IRR5 IRR4 IRR3 IRR2 IRR1 IRR0 INTR IRNM0 IRNM1 IRNM2 modulecir10
.include "D:\codecode\Answer\computer_system\lab8\interrupt\IRR.dlsche.cir"
.include "D:\codecode\Answer\computer_system\lab8\interrupt\ISR.dlsche.cir"
.include "D:\codecode\Answer\computer_system\lab8\interrupt\PR.dlsche.cir"
.ends
<?xml version="1.0" encoding="UTF-8" standalone="no" ?> <?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<project id="1066ea9b-8510-4194-ab6e-5b2e2c42f996" name="interrupt" version="1"> <project id="1066ea9b-8510-4194-ab6e-5b2e2c42f996" name="Hardware-IRQ" version="1">
<files> <files>
<filefolder id="a9f57fc8-c239-4574-a5da-f8fa2760024b" name="子模块"> <filefolder id="a9f57fc8-c239-4574-a5da-f8fa2760024b" name="子模块">
...@@ -8,10 +8,9 @@ ...@@ -8,10 +8,9 @@
<file relativepath="REG.dlsche"/> <file relativepath="REG.dlsche"/>
<file relativepath="CU.dlsche"/> <file relativepath="CU.dlsche"/>
<file relativepath="MEM.dlsche"/> <file relativepath="MEM.dlsche"/>
<file relativepath="IRR1.dlsche"/>
<file relativepath="uPC_NEXT.dlsche"/> <file relativepath="uPC_NEXT.dlsche"/>
<file relativepath="IRR.dlsche"/> <file relativepath="IRR.dlsche"/>
<file relativepath="HDINT.dlsche"/> <file relativepath="IRQ.dlsche"/>
<file relativepath="PR.dlsche"/> <file relativepath="PR.dlsche"/>
<file relativepath="ISR.dlsche"/> <file relativepath="ISR.dlsche"/>
</filefolder> </filefolder>
...@@ -27,7 +26,7 @@ ...@@ -27,7 +26,7 @@
<file relativepath="ram.rxm"/> <file relativepath="ram.rxm"/>
<file relativepath="rom.rxm"/> <file relativepath="rom.rxm"/>
</filefolder> </filefolder>
<file relativepath="DM1000.dlsche"/> <file relativepath="Hardware-IRQ.dlsche"/>
</files> </files>
</project> </project>
这个 源代码变更 因为 太大 而不能显示。 你可以 浏览blob
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<svg height="2769" version="1.1" width="3287" xmlns="http://www.w3.org/2000/svg">
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="723" x2="683" y1="875" y2="875"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="780" y="875">D0</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="716" y="874">10</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="723" x2="683" y1="905" y2="905"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="780" y="906">D1</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="716" y="904">11</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="723" x2="683" y1="935" y2="935"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="780" y="936">D2</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="716" y="934">12</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="723" x2="683" y1="965" y2="965"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="780" y="966">D3</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="716" y="964">13</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="723" x2="683" y1="995" y2="995"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="781" y="996">D4</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="702" y="993">1</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="723" x2="683" y1="1025" y2="1025"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="781" y="1028">D5</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="702" y="1023">2</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="723" x2="683" y1="1055" y2="1055"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="780" y="1057">D6</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="702" y="1053">3</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="723" x2="683" y1="1085" y2="1085"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="780" y="1088">D7</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="702" y="1083">4</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="723" x2="683" y1="1115" y2="1115"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="793" y="1115">^EI</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="702" y="1113">5</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="883" x2="933" y1="1025" y2="1025"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="850" y="1025">EO</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="900" y="1025">15</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="883" x2="933" y1="995" y2="995"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="850" y="995">GS</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="900" y="995">14</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="883" x2="933" y1="935" y2="935"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="850" y="935">A2</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="913" y="934">6</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="883" x2="933" y1="905" y2="905"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="850" y="905">A1</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="913" y="904">7</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="883" x2="933" y1="875" y2="875"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="850" y="875">A0</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="913" y="874">9</text>
<circle cx="727" cy="875" fill="#ffffff" fill-opacity="0.5" r="4" stroke="#000000" stroke-width="5"/>
<circle cx="727" cy="905" fill="#ffffff" fill-opacity="0.5" r="4" stroke="#000000" stroke-width="5"/>
<circle cx="727" cy="1024" fill="#ffffff" fill-opacity="0.5" r="4" stroke="#000000" stroke-width="5"/>
<circle cx="729" cy="1085" fill="#ffffff" fill-opacity="0.5" r="4" stroke="#000000" stroke-width="5"/>
<circle cx="729" cy="1115" fill="#ffffff" fill-opacity="0.5" r="4" stroke="#000000" stroke-width="5"/>
<circle cx="728" cy="994" fill="#ffffff" fill-opacity="0.5" r="4" stroke="#000000" stroke-width="5"/>
<circle cx="727" cy="935" fill="#ffffff" fill-opacity="0.5" r="4" stroke="#000000" stroke-width="5"/>
<circle cx="727" cy="1054" fill="#ffffff" fill-opacity="0.5" r="4" stroke="#000000" stroke-width="5"/>
<circle cx="727" cy="964" fill="#ffffff" fill-opacity="0.5" r="4" stroke="#000000" stroke-width="5"/>
<rect fill="#ffffff" fill-opacity="0.5" height="295" stroke="#000000" stroke-width="5" width="150" x="734" y="848"/>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="798" y="837">U1</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="736" y="1194">74LS148D</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1183" x2="1133" y1="975" y2="975"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1229" y="974">G1</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1156" y="974">6</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1173" x2="1133" y1="1005" y2="1005"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1253" y="1004">^G2A</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1156" y="1006">4</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1173" x2="1133" y1="1035" y2="1035"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1253" y="1034">^G2B</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1155" y="1035">5</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1183" x2="1133" y1="875" y2="875"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="1210" y="875">A</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="1143" y="874">1</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1183" x2="1133" y1="905" y2="905"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1216" y="905">B</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1157" y="905">2</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1183" x2="1133" y1="935" y2="935"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="1210" y="935">C</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="1144" y="935">3</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1343" x2="1383" y1="855" y2="855"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="1304" y="852">Y0</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="1352" y="855">15</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1343" x2="1383" y1="885" y2="885"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="1304" y="882">Y1</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="1353" y="885">14</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1343" x2="1383" y1="915" y2="915"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="1304" y="912">Y2</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="1353" y="915">13</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1343" x2="1383" y1="945" y2="945"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="1304" y="942">Y3</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="1353" y="945">12</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1343" x2="1383" y1="975" y2="975"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="1304" y="972">Y4</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="1353" y="975">11</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1343" x2="1383" y1="1005" y2="1005"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="1304" y="1002">Y5</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="1353" y="1005">10</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1343" x2="1383" y1="1035" y2="1035"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="1304" y="1032">Y6</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="1365" y="1035">9</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1343" x2="1383" y1="1065" y2="1065"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1318" y="1064">Y7</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1380" y="1065">7</text>
<circle cx="1178" cy="1035" fill="none" r="5" stroke="#000000" stroke-width="5"/>
<circle cx="1338" cy="915" fill="none" r="5" stroke="#000000" stroke-width="5"/>
<circle cx="1338" cy="946" fill="none" r="5" stroke="#000000" stroke-width="5"/>
<circle cx="1339" cy="975" fill="#ffffff" r="5" stroke="#000000" stroke-width="5"/>
<circle cx="1338" cy="855" fill="none" r="5" stroke="#000000" stroke-width="5"/>
<circle cx="1338" cy="1005" fill="none" r="5" stroke="#000000" stroke-width="5"/>
<circle cx="1338" cy="884" fill="none" r="5" stroke="#000000" stroke-width="5"/>
<circle cx="1338" cy="1034" fill="none" r="5" stroke="#000000" stroke-width="5"/>
<circle cx="1338" cy="1066" fill="none" r="5" stroke="#000000" stroke-width="5"/>
<circle cx="1178" cy="1005" fill="none" r="5" stroke="#000000" stroke-width="5"/>
<rect fill="#ffffff" fill-opacity="0.5" height="264" stroke="#000000" stroke-width="5" width="146" x="1185" y="821"/>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="1248" y="812">U2</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="1186" y="1127">74LS138D</text>
<polyline fill="none" points="933 875, 1133 875" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="933 905, 1133 905" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="933 935, 1133 935" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polygon fill="#ffff80" points="183 1085, 183 1070, 318 1070, 333 1085, 318 1100, 183 1100, 183 1085" stroke="#800000" stroke-width="1"/>
<text alignment-baseline="central" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="183" y="1085">INT0</text>
<polygon fill="#ffff80" points="183 1055, 183 1040, 318 1040, 333 1055, 318 1070, 183 1070, 183 1055" stroke="#800000" stroke-width="1"/>
<text alignment-baseline="central" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="183" y="1055">INT1</text>
<polygon fill="#ffff80" points="183 1025, 183 1010, 318 1010, 333 1025, 318 1040, 183 1040, 183 1025" stroke="#800000" stroke-width="1"/>
<text alignment-baseline="central" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="183" y="1025">INT2</text>
<polygon fill="#ffff80" points="183 995, 183 980, 318 980, 333 995, 318 1010, 183 1010, 183 995" stroke="#800000" stroke-width="1"/>
<text alignment-baseline="central" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="183" y="995">INT3</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="183" x2="233" y1="1275" y2="1275"/>
<polygon fill="#ffffff" fill-opacity="0.5" points="183 1275, 133 1225, 133 1325, 183 1275" stroke="#000000" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000000" font-family="Times New Roman" font-size="30" font-weight="700" text-anchor="start" transform="rotate(-90 173 1285)" x="173" y="1285">1</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" transform="rotate(-90 103 1285)" x="103" y="1285">U3</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" transform="rotate(-90 133 1365)" x="133" y="1365">CONSTANT1</text>
<polyline fill="none" points="233 1275, 1083 1275, 1083 975, 1133 975" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="743" x2="683" y1="515" y2="515"/>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="743" x2="683" y1="545" y2="545"/>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="743" x2="683" y1="595" y2="595"/>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="743" x2="683" y1="625" y2="625"/>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="873" x2="933" y1="565" y2="565"/>
<polyline fill="none" points="743 523, 823 523" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<path d="M822 523 A 47 47 0 1 1 822 616" fill="none" stroke="#000000" stroke-linecap="round" stroke-width="5"/>
<polyline fill="none" points="743 505, 743 635" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="821 617, 747 617" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="774" y="498">U4</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="752" y="675">AND4</text>
<polyline fill="none" points="1933 855, 2333 855, 2333 2605, 1923 2605" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="1923 2575, 2313 2575, 2313 885, 1933 885" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="1933 915, 2293 915, 2293 2545, 1923 2545" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="1923 2515, 2273 2515, 2273 945, 1933 945" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="1933 975, 2253 975, 2253 2485, 1923 2485" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="1923 2455, 2233 2455, 2233 1005, 1933 1005" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="1933 1035, 2213 1035, 2213 2425, 1923 2425" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="1923 2395, 2193 2395, 2193 1065, 1933 1065" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="1933 1355, 2333 1355" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="1933 1385, 2313 1385" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="1933 1415, 2293 1415" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="1933 1445, 2273 1445" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="1933 1475, 2253 1475" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="1933 1505, 2233 1505" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="1933 1535, 2213 1535" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="1933 1565, 2193 1565" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="1923 1935, 2333 1935" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="1923 1965, 2313 1965" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="1923 1995, 2293 1995" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="1923 2025, 2273 2025" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="1923 2055, 2253 2055" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="1923 2085, 2233 2085" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="1923 2115, 2213 2115" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="1923 2145, 2193 2145" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="2573 1555, 2333 1555" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="2573 1585, 2313 1585" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="2573 1615, 2293 1615" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="2573 1645, 2273 1645" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="2573 1675, 2253 1675" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="2573 1705, 2233 1705" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="2573 1735, 2213 1735" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="2573 1765, 2193 1765" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polygon fill="#ffff80" points="183 1115, 183 1100, 318 1100, 333 1115, 318 1130, 183 1130, 183 1115" stroke="#800000" stroke-width="1"/>
<text alignment-baseline="central" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="183" y="1115">INTE</text>
<line stroke="#000080" stroke-linecap="round" stroke-width="5" x1="2573" x2="2623" y1="1555" y2="1505"/>
<line stroke="#000080" stroke-linecap="round" stroke-width="5" x1="2573" x2="2623" y1="1585" y2="1535"/>
<line stroke="#000080" stroke-linecap="round" stroke-width="5" x1="2573" x2="2623" y1="1615" y2="1565"/>
<line stroke="#000080" stroke-linecap="round" stroke-width="5" x1="2573" x2="2623" y1="1645" y2="1595"/>
<line stroke="#000080" stroke-linecap="round" stroke-width="5" x1="2573" x2="2623" y1="1675" y2="1625"/>
<line stroke="#000080" stroke-linecap="round" stroke-width="5" x1="2573" x2="2623" y1="1705" y2="1655"/>
<line stroke="#000080" stroke-linecap="round" stroke-width="5" x1="2573" x2="2623" y1="1735" y2="1685"/>
<line stroke="#000080" stroke-linecap="round" stroke-width="5" x1="2573" x2="2623" y1="1765" y2="1715"/>
<text alignment-baseline="after-edge" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="2463" y="1555">DBUS0</text>
<text alignment-baseline="after-edge" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="2463" y="1585">DBUS1</text>
<text alignment-baseline="after-edge" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="2463" y="1615">DBUS2</text>
<text alignment-baseline="after-edge" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="2463" y="1645">DBUS3</text>
<text alignment-baseline="after-edge" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="2463" y="1675">DBUS4</text>
<text alignment-baseline="after-edge" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="2463" y="1705">DBUS5</text>
<text alignment-baseline="after-edge" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="2463" y="1735">DBUS6</text>
<text alignment-baseline="after-edge" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="2463" y="1765">DBUS7</text>
<polygon fill="#ffff80" points="2823 565, 2823 540, 2978 540, 3003 565, 2978 590, 2823 590, 2823 565" stroke="#800000" stroke-width="1"/>
<text alignment-baseline="central" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="2823" y="565">INT</text>
<polyline fill="none" points="2623 1715, 2623 1475, 2823 1475" stroke="#000080" stroke-linecap="round" stroke-linejoin="round" stroke-width="20"/>
<polygon fill="#ffff80" points="2823 1475, 2823 1450, 2978 1450, 3003 1475, 2978 1500, 2823 1500, 2823 1475" stroke="#800000" stroke-width="1"/>
<text alignment-baseline="central" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="2823" y="1475">DBUS[7..0]</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1733" x2="1683" y1="855" y2="855"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1766" y="855">A0</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1733" x2="1683" y1="885" y2="885"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1766" y="885">A1</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1733" x2="1683" y1="915" y2="915"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1766" y="915">A2</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1733" x2="1683" y1="945" y2="945"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1766" y="945">A3</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1733" x2="1683" y1="975" y2="975"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1766" y="975">A4</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1733" x2="1683" y1="1005" y2="1005"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1766" y="1005">A5</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1733" x2="1683" y1="1035" y2="1035"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1766" y="1035">A6</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1733" x2="1683" y1="1065" y2="1065"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1766" y="1065">A7</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1723" x2="1683" y1="1105" y2="1105"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1776" y="1105">^EN</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1883" x2="1933" y1="855" y2="855"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="1850" y="855">B0</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1883" x2="1933" y1="885" y2="885"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="1850" y="885">B1</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1883" x2="1933" y1="915" y2="915"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="1850" y="915">B2</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1883" x2="1933" y1="945" y2="945"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="1850" y="945">B3</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1883" x2="1933" y1="975" y2="975"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="1850" y="975">B4</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1883" x2="1933" y1="1005" y2="1005"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="1850" y="1005">B5</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1883" x2="1933" y1="1035" y2="1035"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="1850" y="1035">B6</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1883" x2="1933" y1="1065" y2="1065"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="1850" y="1065">B7</text>
<rect fill="#ffffff" fill-opacity="0.5" height="350" stroke="#000000" stroke-width="5" width="150" x="1733" y="805"/>
<circle cx="1728" cy="1105" fill="none" r="5" stroke="#000000" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="1803" y="795">1</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="1733" y="1205">TRIS_GATE8</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1733" x2="1683" y1="1355" y2="1355"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1766" y="1355">A0</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1733" x2="1683" y1="1385" y2="1385"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1766" y="1385">A1</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1733" x2="1683" y1="1415" y2="1415"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1766" y="1415">A2</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1733" x2="1683" y1="1445" y2="1445"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1766" y="1445">A3</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1733" x2="1683" y1="1475" y2="1475"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1766" y="1475">A4</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1733" x2="1683" y1="1505" y2="1505"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1766" y="1505">A5</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1733" x2="1683" y1="1535" y2="1535"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1766" y="1535">A6</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1733" x2="1683" y1="1565" y2="1565"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1766" y="1565">A7</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1723" x2="1683" y1="1605" y2="1605"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1776" y="1605">^EN</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1883" x2="1933" y1="1355" y2="1355"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="1850" y="1355">B0</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1883" x2="1933" y1="1385" y2="1385"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="1850" y="1385">B1</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1883" x2="1933" y1="1415" y2="1415"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="1850" y="1415">B2</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1883" x2="1933" y1="1445" y2="1445"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="1850" y="1445">B3</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1883" x2="1933" y1="1475" y2="1475"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="1850" y="1475">B4</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1883" x2="1933" y1="1505" y2="1505"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="1850" y="1505">B5</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1883" x2="1933" y1="1535" y2="1535"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="1850" y="1535">B6</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1883" x2="1933" y1="1565" y2="1565"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="1850" y="1565">B7</text>
<rect fill="#ffffff" fill-opacity="0.5" height="350" stroke="#000000" stroke-width="5" width="150" x="1733" y="1305"/>
<circle cx="1728" cy="1605" fill="none" r="5" stroke="#000000" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="1803" y="1295">2</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="1733" y="1705">TRIS_GATE8</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1723" x2="1673" y1="1935" y2="1935"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1756" y="1935">A0</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1723" x2="1673" y1="1965" y2="1965"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1756" y="1965">A1</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1723" x2="1673" y1="1995" y2="1995"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1756" y="1995">A2</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1723" x2="1673" y1="2025" y2="2025"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1756" y="2025">A3</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1723" x2="1673" y1="2055" y2="2055"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1756" y="2055">A4</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1723" x2="1673" y1="2085" y2="2085"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1756" y="2085">A5</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1723" x2="1673" y1="2115" y2="2115"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1756" y="2115">A6</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1723" x2="1673" y1="2145" y2="2145"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1756" y="2145">A7</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1713" x2="1673" y1="2185" y2="2185"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1766" y="2185">^EN</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1873" x2="1923" y1="1935" y2="1935"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="1840" y="1935">B0</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1873" x2="1923" y1="1965" y2="1965"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="1840" y="1965">B1</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1873" x2="1923" y1="1995" y2="1995"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="1840" y="1995">B2</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1873" x2="1923" y1="2025" y2="2025"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="1840" y="2025">B3</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1873" x2="1923" y1="2055" y2="2055"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="1840" y="2055">B4</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1873" x2="1923" y1="2085" y2="2085"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="1840" y="2085">B5</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1873" x2="1923" y1="2115" y2="2115"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="1840" y="2115">B6</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1873" x2="1923" y1="2145" y2="2145"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="1840" y="2145">B7</text>
<rect fill="#ffffff" fill-opacity="0.5" height="350" stroke="#000000" stroke-width="5" width="150" x="1723" y="1885"/>
<circle cx="1718" cy="2185" fill="none" r="5" stroke="#000000" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="1793" y="1875">3</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="1723" y="2285">TRIS_GATE8</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1723" x2="1673" y1="2395" y2="2395"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1756" y="2395">A0</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1723" x2="1673" y1="2425" y2="2425"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1756" y="2425">A1</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1723" x2="1673" y1="2455" y2="2455"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1756" y="2455">A2</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1723" x2="1673" y1="2485" y2="2485"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1756" y="2485">A3</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1723" x2="1673" y1="2515" y2="2515"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1756" y="2515">A4</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1723" x2="1673" y1="2545" y2="2545"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1756" y="2545">A5</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1723" x2="1673" y1="2575" y2="2575"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1756" y="2575">A6</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1723" x2="1673" y1="2605" y2="2605"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1756" y="2605">A7</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1713" x2="1673" y1="2645" y2="2645"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1766" y="2645">^EN</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1873" x2="1923" y1="2395" y2="2395"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="1840" y="2395">B0</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1873" x2="1923" y1="2425" y2="2425"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="1840" y="2425">B1</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1873" x2="1923" y1="2455" y2="2455"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="1840" y="2455">B2</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1873" x2="1923" y1="2485" y2="2485"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="1840" y="2485">B3</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1873" x2="1923" y1="2515" y2="2515"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="1840" y="2515">B4</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1873" x2="1923" y1="2545" y2="2545"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="1840" y="2545">B5</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1873" x2="1923" y1="2575" y2="2575"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="1840" y="2575">B6</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1873" x2="1923" y1="2605" y2="2605"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="1840" y="2605">B7</text>
<rect fill="#ffffff" fill-opacity="0.5" height="350" stroke="#000000" stroke-width="5" width="150" x="1723" y="2345"/>
<circle cx="1718" cy="2645" fill="none" r="5" stroke="#000000" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="1793" y="2335">4</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="1723" y="2745">TRIS_GATE8</text>
<polyline fill="none" points="683 1115, 333 1115" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="683 995, 333 995" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="683 1025, 333 1025" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="683 1055, 333 1055" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="683 1085, 333 1085" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="133" x2="183" y1="2425" y2="2425"/>
<polygon fill="#ffffff" fill-opacity="0.5" points="133 2425, 83 2375, 83 2475, 133 2425" stroke="#000000" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000000" font-family="微软雅黑" font-size="30" font-weight="700" text-anchor="start" transform="rotate(-90 123 2435)" x="123" y="2435">1</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" transform="rotate(-90 53 2435)" x="53" y="2435">U5</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" transform="rotate(-90 83 2495)" x="83" y="2495">DIGITAL1</text>
<polyline fill="none" points="1673 2425, 183 2425" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="1683 1355, 1583 1355, 1583 2425" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="1673 2395, 1583 2395" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="1673 1965, 1583 1965" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="1383 855, 1533 855, 1533 1105, 1683 1105" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="1383 885, 1503 885, 1503 1605, 1683 1605" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="1383 915, 1473 915, 1473 2185, 1673 2185" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="1383 945, 1443 945, 1443 2645, 1673 2645" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="683 515, 433 515, 433 995" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="683 545, 453 545, 453 1025" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="683 595, 473 595, 473 1055" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="683 625, 493 625, 493 1085" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="933 565, 2823 565" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000080" font-family="宋体" font-size="25" font-weight="400" text-anchor="start" x="2683" y="515">若INT=1,为高电平,则表示有中断请求</text>
<text alignment-baseline="after-edge" fill="#000080" font-family="宋体" font-size="25" font-weight="400" text-anchor="start" x="2783" y="1415">输出最高优先级中断请求的标号</text>
<text alignment-baseline="after-edge" fill="#000080" font-family="宋体" font-size="25" font-weight="400" text-anchor="start" x="2783" y="1615">INT0~INT3对应的标号为0~3</text>
<text alignment-baseline="after-edge" fill="#000080" font-family="宋体" font-size="25" font-weight="400" text-anchor="start" x="583" y="765">INT0中断请求的优先级最高,INT3中断请求的优先级最低</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="微软雅黑" font-size="250" font-weight="700" text-anchor="start" x="1283" y="315">中断请求模块</text>
<circle cx="1583" cy="1965" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="1583" cy="2395" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="1583" cy="2425" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="2193" cy="1765" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="2213" cy="1735" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="2233" cy="1705" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="2253" cy="1675" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="2273" cy="1645" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="2293" cy="1615" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="2313" cy="1585" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="2333" cy="1555" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="2193" cy="2145" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="2213" cy="2115" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="2233" cy="2085" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="2253" cy="2055" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="2273" cy="2025" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="2293" cy="1995" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="2313" cy="1965" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="2333" cy="1935" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="2193" cy="1565" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="2213" cy="1535" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="2233" cy="1505" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="2253" cy="1475" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="2273" cy="1445" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="2293" cy="1415" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="2313" cy="1385" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="2333" cy="1355" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="433" cy="995" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="453" cy="1025" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="473" cy="1055" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="493" cy="1085" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
</svg>
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<svg height="3496" version="1.1" width="4202" xmlns="http://www.w3.org/2000/svg">
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1661" x2="1621" y1="1603" y2="1603"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1718" y="1603">D0</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1654" y="1602">10</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1661" x2="1621" y1="1633" y2="1633"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1718" y="1634">D1</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1654" y="1632">11</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1661" x2="1621" y1="1663" y2="1663"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1718" y="1664">D2</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1654" y="1662">12</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1661" x2="1621" y1="1693" y2="1693"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1718" y="1694">D3</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1654" y="1692">13</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1661" x2="1621" y1="1723" y2="1723"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1719" y="1724">D4</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1640" y="1721">1</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1661" x2="1621" y1="1753" y2="1753"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1719" y="1756">D5</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1640" y="1751">2</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1661" x2="1621" y1="1783" y2="1783"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1718" y="1785">D6</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1640" y="1781">3</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1661" x2="1621" y1="1813" y2="1813"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1718" y="1816">D7</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1640" y="1811">4</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1661" x2="1621" y1="1843" y2="1843"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1731" y="1843">^EI</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="1640" y="1841">5</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1821" x2="1871" y1="1753" y2="1753"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="1788" y="1753">EO</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="1838" y="1753">15</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1821" x2="1871" y1="1723" y2="1723"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="1788" y="1723">GS</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="1838" y="1723">14</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1821" x2="1871" y1="1663" y2="1663"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="1788" y="1663">A2</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="1851" y="1662">6</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1821" x2="1871" y1="1633" y2="1633"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="1788" y="1633">A1</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="1851" y="1632">7</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1821" x2="1871" y1="1603" y2="1603"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="1788" y="1603">A0</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="1851" y="1602">9</text>
<circle cx="1665" cy="1603" fill="#ffffff" fill-opacity="0.5" r="4" stroke="#000000" stroke-width="5"/>
<circle cx="1665" cy="1633" fill="#ffffff" fill-opacity="0.5" r="4" stroke="#000000" stroke-width="5"/>
<circle cx="1665" cy="1752" fill="#ffffff" fill-opacity="0.5" r="4" stroke="#000000" stroke-width="5"/>
<circle cx="1667" cy="1813" fill="#ffffff" fill-opacity="0.5" r="4" stroke="#000000" stroke-width="5"/>
<circle cx="1667" cy="1843" fill="#ffffff" fill-opacity="0.5" r="4" stroke="#000000" stroke-width="5"/>
<circle cx="1666" cy="1722" fill="#ffffff" fill-opacity="0.5" r="4" stroke="#000000" stroke-width="5"/>
<circle cx="1665" cy="1663" fill="#ffffff" fill-opacity="0.5" r="4" stroke="#000000" stroke-width="5"/>
<circle cx="1665" cy="1782" fill="#ffffff" fill-opacity="0.5" r="4" stroke="#000000" stroke-width="5"/>
<circle cx="1665" cy="1692" fill="#ffffff" fill-opacity="0.5" r="4" stroke="#000000" stroke-width="5"/>
<rect fill="#ffffff" fill-opacity="0.5" height="295" stroke="#000000" stroke-width="5" width="150" x="1672" y="1576"/>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="1736" y="1565">U1</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="1674" y="1922">74LS148D</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2121" x2="2071" y1="1703" y2="1703"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2167" y="1702">G1</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2094" y="1702">6</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2111" x2="2071" y1="1733" y2="1733"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2191" y="1732">^G2A</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2094" y="1734">4</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2111" x2="2071" y1="1763" y2="1763"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2191" y="1762">^G2B</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2093" y="1763">5</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2121" x2="2071" y1="1603" y2="1603"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="2148" y="1603">A</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="2081" y="1602">1</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2121" x2="2071" y1="1633" y2="1633"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2154" y="1633">B</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2095" y="1633">2</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2121" x2="2071" y1="1663" y2="1663"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="2148" y="1663">C</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="2082" y="1663">3</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2281" x2="2321" y1="1583" y2="1583"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="2242" y="1580">Y0</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="2290" y="1583">15</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2281" x2="2321" y1="1613" y2="1613"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="2242" y="1610">Y1</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="2291" y="1613">14</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2281" x2="2321" y1="1643" y2="1643"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="2242" y="1640">Y2</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="2291" y="1643">13</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2281" x2="2321" y1="1673" y2="1673"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="2242" y="1670">Y3</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="2291" y="1673">12</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2281" x2="2321" y1="1703" y2="1703"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="2242" y="1700">Y4</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="2291" y="1703">11</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2281" x2="2321" y1="1733" y2="1733"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="2242" y="1730">Y5</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="2291" y="1733">10</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2281" x2="2321" y1="1763" y2="1763"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="2242" y="1760">Y6</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="2303" y="1763">9</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2281" x2="2321" y1="1793" y2="1793"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2256" y="1792">Y7</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2318" y="1793">7</text>
<circle cx="2116" cy="1763" fill="none" r="5" stroke="#000000" stroke-width="5"/>
<circle cx="2276" cy="1643" fill="none" r="5" stroke="#000000" stroke-width="5"/>
<circle cx="2276" cy="1674" fill="none" r="5" stroke="#000000" stroke-width="5"/>
<circle cx="2277" cy="1703" fill="#ffffff" r="5" stroke="#000000" stroke-width="5"/>
<circle cx="2276" cy="1583" fill="none" r="5" stroke="#000000" stroke-width="5"/>
<circle cx="2276" cy="1733" fill="none" r="5" stroke="#000000" stroke-width="5"/>
<circle cx="2276" cy="1612" fill="none" r="5" stroke="#000000" stroke-width="5"/>
<circle cx="2276" cy="1762" fill="none" r="5" stroke="#000000" stroke-width="5"/>
<circle cx="2276" cy="1794" fill="none" r="5" stroke="#000000" stroke-width="5"/>
<circle cx="2116" cy="1733" fill="none" r="5" stroke="#000000" stroke-width="5"/>
<rect fill="#ffffff" fill-opacity="0.5" height="264" stroke="#000000" stroke-width="5" width="146" x="2123" y="1549"/>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="2186" y="1540">U2</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="2124" y="1855">74LS138D</text>
<polyline fill="none" points="1871 1603, 2071 1603" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="1871 1633, 2071 1633" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="1871 1663, 2071 1663" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polygon fill="#ffff80" points="21 2543, 21 2518, 146 2518, 171 2543, 146 2568, 21 2568, 21 2543" stroke="#800000" stroke-width="1"/>
<text alignment-baseline="central" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="21" y="2543">INT0</text>
<polygon fill="#ffff80" points="21 2143, 21 2118, 146 2118, 171 2143, 146 2168, 21 2168, 21 2143" stroke="#800000" stroke-width="1"/>
<text alignment-baseline="central" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="21" y="2143">INT1</text>
<polygon fill="#ffff80" points="21 1743, 21 1718, 146 1718, 171 1743, 146 1768, 21 1768, 21 1743" stroke="#800000" stroke-width="1"/>
<text alignment-baseline="central" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="21" y="1743">INT2</text>
<polygon fill="#ffff80" points="21 1343, 21 1318, 146 1318, 171 1343, 146 1368, 21 1368, 21 1343" stroke="#800000" stroke-width="1"/>
<text alignment-baseline="central" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="21" y="1343">INT3</text>
<polyline fill="none" points="2871 1583, 3271 1583, 3271 3333, 2861 3333" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="2861 3303, 3251 3303, 3251 1613, 2871 1613" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="2871 1643, 3231 1643, 3231 3273, 2861 3273" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="2861 3243, 3211 3243, 3211 1673, 2871 1673" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="2871 1703, 3191 1703, 3191 3213, 2861 3213" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="2861 3183, 3171 3183, 3171 1733, 2871 1733" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="2871 1763, 3151 1763, 3151 3153, 2861 3153" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="2861 3123, 3131 3123, 3131 1793, 2871 1793" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="2871 2083, 3271 2083" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="2871 2113, 3251 2113" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="2871 2143, 3231 2143" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="2871 2173, 3211 2173" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="2871 2203, 3191 2203" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="2871 2233, 3171 2233" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="2871 2263, 3151 2263" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="2871 2293, 3131 2293" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="2861 2663, 3271 2663" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="2861 2693, 3251 2693" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="2861 2723, 3231 2723" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="2861 2753, 3211 2753" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="2861 2783, 3191 2783" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="2861 2813, 3171 2813" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="2861 2843, 3151 2843" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="2861 2873, 3131 2873" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="3511 2283, 3271 2283" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="3511 2313, 3251 2313" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="3511 2343, 3231 2343" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="3511 2373, 3211 2373" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="3511 2403, 3191 2403" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="3511 2433, 3171 2433" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="3511 2463, 3151 2463" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="3511 2493, 3131 2493" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polygon fill="#ffff80" points="21 1893, 21 1868, 146 1868, 171 1893, 146 1918, 21 1918, 21 1893" stroke="#800000" stroke-width="1"/>
<text alignment-baseline="central" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="21" y="1893">EINT</text>
<line stroke="#000080" stroke-linecap="round" stroke-width="5" x1="3511" x2="3561" y1="2283" y2="2233"/>
<line stroke="#000080" stroke-linecap="round" stroke-width="5" x1="3511" x2="3561" y1="2313" y2="2263"/>
<line stroke="#000080" stroke-linecap="round" stroke-width="5" x1="3511" x2="3561" y1="2343" y2="2293"/>
<line stroke="#000080" stroke-linecap="round" stroke-width="5" x1="3511" x2="3561" y1="2373" y2="2323"/>
<line stroke="#000080" stroke-linecap="round" stroke-width="5" x1="3511" x2="3561" y1="2403" y2="2353"/>
<line stroke="#000080" stroke-linecap="round" stroke-width="5" x1="3511" x2="3561" y1="2433" y2="2383"/>
<line stroke="#000080" stroke-linecap="round" stroke-width="5" x1="3511" x2="3561" y1="2463" y2="2413"/>
<line stroke="#000080" stroke-linecap="round" stroke-width="5" x1="3511" x2="3561" y1="2493" y2="2443"/>
<text alignment-baseline="after-edge" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="3401" y="2283">DBUS0</text>
<text alignment-baseline="after-edge" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="3401" y="2313">DBUS1</text>
<text alignment-baseline="after-edge" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="3401" y="2343">DBUS2</text>
<text alignment-baseline="after-edge" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="3401" y="2373">DBUS3</text>
<text alignment-baseline="after-edge" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="3401" y="2403">DBUS4</text>
<text alignment-baseline="after-edge" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="3401" y="2433">DBUS5</text>
<text alignment-baseline="after-edge" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="3401" y="2463">DBUS6</text>
<text alignment-baseline="after-edge" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="3401" y="2493">DBUS7</text>
<polygon fill="#ffff80" points="3761 1293, 3761 1268, 3916 1268, 3941 1293, 3916 1318, 3761 1318, 3761 1293" stroke="#800000" stroke-width="1"/>
<text alignment-baseline="central" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="3761" y="1293">INTR</text>
<polyline fill="none" points="3561 2443, 3561 2203, 3761 2203" stroke="#000080" stroke-linecap="round" stroke-linejoin="round" stroke-width="20"/>
<polygon fill="#ffff80" points="3761 2203, 3761 2178, 3916 2178, 3941 2203, 3916 2228, 3761 2228, 3761 2203" stroke="#800000" stroke-width="1"/>
<text alignment-baseline="central" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="3761" y="2203">DBUS[7..0]</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2671" x2="2621" y1="1583" y2="1583"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2704" y="1583">A0</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2671" x2="2621" y1="1613" y2="1613"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2704" y="1613">A1</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2671" x2="2621" y1="1643" y2="1643"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2704" y="1643">A2</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2671" x2="2621" y1="1673" y2="1673"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2704" y="1673">A3</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2671" x2="2621" y1="1703" y2="1703"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2704" y="1703">A4</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2671" x2="2621" y1="1733" y2="1733"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2704" y="1733">A5</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2671" x2="2621" y1="1763" y2="1763"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2704" y="1763">A6</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2671" x2="2621" y1="1793" y2="1793"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2704" y="1793">A7</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2661" x2="2621" y1="1833" y2="1833"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2714" y="1833">^EN</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2821" x2="2871" y1="1583" y2="1583"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="2788" y="1583">B0</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2821" x2="2871" y1="1613" y2="1613"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="2788" y="1613">B1</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2821" x2="2871" y1="1643" y2="1643"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="2788" y="1643">B2</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2821" x2="2871" y1="1673" y2="1673"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="2788" y="1673">B3</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2821" x2="2871" y1="1703" y2="1703"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="2788" y="1703">B4</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2821" x2="2871" y1="1733" y2="1733"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="2788" y="1733">B5</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2821" x2="2871" y1="1763" y2="1763"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="2788" y="1763">B6</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2821" x2="2871" y1="1793" y2="1793"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="2788" y="1793">B7</text>
<rect fill="#ffffff" fill-opacity="0.5" height="350" stroke="#000000" stroke-width="5" width="150" x="2671" y="1533"/>
<circle cx="2666" cy="1833" fill="none" r="5" stroke="#000000" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="2741" y="1523">1</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="2671" y="1933">TRIS_GATE8</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2671" x2="2621" y1="2083" y2="2083"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2704" y="2083">A0</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2671" x2="2621" y1="2113" y2="2113"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2704" y="2113">A1</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2671" x2="2621" y1="2143" y2="2143"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2704" y="2143">A2</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2671" x2="2621" y1="2173" y2="2173"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2704" y="2173">A3</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2671" x2="2621" y1="2203" y2="2203"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2704" y="2203">A4</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2671" x2="2621" y1="2233" y2="2233"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2704" y="2233">A5</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2671" x2="2621" y1="2263" y2="2263"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2704" y="2263">A6</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2671" x2="2621" y1="2293" y2="2293"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2704" y="2293">A7</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2661" x2="2621" y1="2333" y2="2333"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2714" y="2333">^EN</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2821" x2="2871" y1="2083" y2="2083"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="2788" y="2083">B0</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2821" x2="2871" y1="2113" y2="2113"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="2788" y="2113">B1</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2821" x2="2871" y1="2143" y2="2143"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="2788" y="2143">B2</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2821" x2="2871" y1="2173" y2="2173"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="2788" y="2173">B3</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2821" x2="2871" y1="2203" y2="2203"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="2788" y="2203">B4</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2821" x2="2871" y1="2233" y2="2233"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="2788" y="2233">B5</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2821" x2="2871" y1="2263" y2="2263"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="2788" y="2263">B6</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2821" x2="2871" y1="2293" y2="2293"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="2788" y="2293">B7</text>
<rect fill="#ffffff" fill-opacity="0.5" height="350" stroke="#000000" stroke-width="5" width="150" x="2671" y="2033"/>
<circle cx="2666" cy="2333" fill="none" r="5" stroke="#000000" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="2741" y="2023">2</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="2671" y="2433">TRIS_GATE8</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2661" x2="2611" y1="2663" y2="2663"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2694" y="2663">A0</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2661" x2="2611" y1="2693" y2="2693"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2694" y="2693">A1</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2661" x2="2611" y1="2723" y2="2723"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2694" y="2723">A2</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2661" x2="2611" y1="2753" y2="2753"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2694" y="2753">A3</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2661" x2="2611" y1="2783" y2="2783"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2694" y="2783">A4</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2661" x2="2611" y1="2813" y2="2813"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2694" y="2813">A5</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2661" x2="2611" y1="2843" y2="2843"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2694" y="2843">A6</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2661" x2="2611" y1="2873" y2="2873"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2694" y="2873">A7</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2651" x2="2611" y1="2913" y2="2913"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2704" y="2913">^EN</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2811" x2="2861" y1="2663" y2="2663"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="2778" y="2663">B0</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2811" x2="2861" y1="2693" y2="2693"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="2778" y="2693">B1</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2811" x2="2861" y1="2723" y2="2723"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="2778" y="2723">B2</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2811" x2="2861" y1="2753" y2="2753"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="2778" y="2753">B3</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2811" x2="2861" y1="2783" y2="2783"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="2778" y="2783">B4</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2811" x2="2861" y1="2813" y2="2813"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="2778" y="2813">B5</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2811" x2="2861" y1="2843" y2="2843"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="2778" y="2843">B6</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2811" x2="2861" y1="2873" y2="2873"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="2778" y="2873">B7</text>
<rect fill="#ffffff" fill-opacity="0.5" height="350" stroke="#000000" stroke-width="5" width="150" x="2661" y="2613"/>
<circle cx="2656" cy="2913" fill="none" r="5" stroke="#000000" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="2731" y="2603">3</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="2661" y="3013">TRIS_GATE8</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2661" x2="2611" y1="3123" y2="3123"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2694" y="3123">A0</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2661" x2="2611" y1="3153" y2="3153"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2694" y="3153">A1</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2661" x2="2611" y1="3183" y2="3183"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2694" y="3183">A2</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2661" x2="2611" y1="3213" y2="3213"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2694" y="3213">A3</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2661" x2="2611" y1="3243" y2="3243"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2694" y="3243">A4</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2661" x2="2611" y1="3273" y2="3273"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2694" y="3273">A5</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2661" x2="2611" y1="3303" y2="3303"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2694" y="3303">A6</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2661" x2="2611" y1="3333" y2="3333"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2694" y="3333">A7</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2651" x2="2611" y1="3373" y2="3373"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2704" y="3373">^EN</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2811" x2="2861" y1="3123" y2="3123"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="2778" y="3123">B0</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2811" x2="2861" y1="3153" y2="3153"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="2778" y="3153">B1</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2811" x2="2861" y1="3183" y2="3183"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="2778" y="3183">B2</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2811" x2="2861" y1="3213" y2="3213"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="2778" y="3213">B3</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2811" x2="2861" y1="3243" y2="3243"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="2778" y="3243">B4</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2811" x2="2861" y1="3273" y2="3273"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="2778" y="3273">B5</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2811" x2="2861" y1="3303" y2="3303"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="2778" y="3303">B6</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2811" x2="2861" y1="3333" y2="3333"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="2778" y="3333">B7</text>
<rect fill="#ffffff" fill-opacity="0.5" height="350" stroke="#000000" stroke-width="5" width="150" x="2661" y="3073"/>
<circle cx="2656" cy="3373" fill="none" r="5" stroke="#000000" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="2731" y="3063">4</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="2661" y="3473">TRIS_GATE8</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1071" x2="1121" y1="3153" y2="3153"/>
<polygon fill="#ffffff" fill-opacity="0.5" points="1071 3153, 1021 3103, 1021 3203, 1071 3153" stroke="#000000" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000000" font-family="微软雅黑" font-size="30" font-weight="700" text-anchor="start" transform="rotate(-90 1061 3163)" x="1061" y="3163">1</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" transform="rotate(-90 991 3163)" x="991" y="3163">U5</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" transform="rotate(-90 1021 3223)" x="1021" y="3223">DIGITAL1</text>
<polyline fill="none" points="2611 3153, 1121 3153" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="2621 2083, 2521 2083, 2521 3153" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="2611 3123, 2521 3123" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="2611 2693, 2521 2693" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="2321 1583, 2471 1583, 2471 1833, 2621 1833" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="2321 1613, 2441 1613, 2441 2333, 2621 2333" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="2321 1643, 2411 1643, 2411 2913, 2611 2913" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="2321 1673, 2381 1673, 2381 3373, 2611 3373" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="1871 1293, 3761 1293" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000080" font-family="宋体" font-size="25" font-weight="400" text-anchor="start" x="3621" y="1243">若INT=1,则表示有中断请求</text>
<text alignment-baseline="after-edge" fill="#000080" font-family="宋体" font-size="25" font-weight="400" text-anchor="start" x="3721" y="2143">输出最高优先级中断请求的标号</text>
<text alignment-baseline="after-edge" fill="#000080" font-family="宋体" font-size="25" font-weight="400" text-anchor="start" x="3721" y="2343">INT0~INT3对应的标号为0~3</text>
<text alignment-baseline="after-edge" fill="#000080" font-family="宋体" font-size="25" font-weight="400" text-anchor="start" x="1521" y="1493">INT0中断请求的优先级最高,INT3中断请求的优先级最低</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="微软雅黑" font-size="250" font-weight="700" text-anchor="start" x="2021" y="313">中断请求模块</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="521" x2="471" y1="1243" y2="1243"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="545" y="1240">D</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="489" y="1242">1</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="521" x2="471" y1="1343" y2="1343"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="559" y="1343">CLK</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="489" y="1341">2</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="601" x2="601" y1="1193" y2="1143"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="601" y="1216">PR</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="579" y="1181">6</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="601" x2="601" y1="1393" y2="1443"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="602" y="1376">CLR</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="578" y="1436">3</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="671" x2="721" y1="1243" y2="1243"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="645" y="1240">Q</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="689" y="1243">5</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="671" x2="721" y1="1343" y2="1343"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="629" y="1342">^Q</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="680" y="1343">4</text>
<rect fill="#ffffff" fill-opacity="0.5" height="200" stroke="#000000" stroke-width="5" width="150" x="521" y="1193"/>
<polyline fill="none" points="524 1333, 534 1343, 524 1353" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="676" y="1185">U6</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="638" y="1448">D_FLOP</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="521" x2="471" y1="1643" y2="1643"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="545" y="1640">D</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="489" y="1642">1</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="521" x2="471" y1="1743" y2="1743"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="559" y="1743">CLK</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="489" y="1741">2</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="601" x2="601" y1="1593" y2="1543"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="601" y="1616">PR</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="579" y="1581">6</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="601" x2="601" y1="1793" y2="1843"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="602" y="1776">CLR</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="578" y="1836">3</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="671" x2="721" y1="1643" y2="1643"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="645" y="1640">Q</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="689" y="1643">5</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="671" x2="721" y1="1743" y2="1743"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="629" y="1742">^Q</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="680" y="1743">4</text>
<rect fill="#ffffff" fill-opacity="0.5" height="200" stroke="#000000" stroke-width="5" width="150" x="521" y="1593"/>
<polyline fill="none" points="524 1733, 534 1743, 524 1753" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="676" y="1585">U7</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="638" y="1848">D_FLOP</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="521" x2="471" y1="2043" y2="2043"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="545" y="2040">D</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="489" y="2042">1</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="521" x2="471" y1="2143" y2="2143"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="559" y="2143">CLK</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="489" y="2141">2</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="601" x2="601" y1="1993" y2="1943"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="601" y="2016">PR</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="579" y="1981">6</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="601" x2="601" y1="2193" y2="2243"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="602" y="2176">CLR</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="578" y="2236">3</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="671" x2="721" y1="2043" y2="2043"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="645" y="2040">Q</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="689" y="2043">5</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="671" x2="721" y1="2143" y2="2143"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="629" y="2142">^Q</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="680" y="2143">4</text>
<rect fill="#ffffff" fill-opacity="0.5" height="200" stroke="#000000" stroke-width="5" width="150" x="521" y="1993"/>
<polyline fill="none" points="524 2133, 534 2143, 524 2153" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="676" y="1985">U8</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="638" y="2248">D_FLOP</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="521" x2="471" y1="2443" y2="2443"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="545" y="2440">D</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="489" y="2442">1</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="521" x2="471" y1="2543" y2="2543"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="559" y="2543">CLK</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="489" y="2541">2</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="601" x2="601" y1="2393" y2="2343"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="601" y="2416">PR</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="579" y="2381">6</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="601" x2="601" y1="2593" y2="2643"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="602" y="2576">CLR</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="578" y="2636">3</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="671" x2="721" y1="2443" y2="2443"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="645" y="2440">Q</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="689" y="2443">5</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="671" x2="721" y1="2543" y2="2543"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="629" y="2542">^Q</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="680" y="2543">4</text>
<rect fill="#ffffff" fill-opacity="0.5" height="200" stroke="#000000" stroke-width="5" width="150" x="521" y="2393"/>
<polyline fill="none" points="524 2533, 534 2543, 524 2553" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="676" y="2385">U9</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="638" y="2648">D_FLOP</text>
<polyline fill="none" points="471 1343, 171 1343" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="471 1743, 171 1743" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="471 2143, 171 2143" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="471 2543, 171 2543" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1931" x2="1871" y1="1723" y2="1723"/>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2011" x2="2071" y1="1723" y2="1723"/>
<circle cx="2007" cy="1723" fill="none" r="5" stroke="#000000" stroke-width="5"/>
<polygon fill="#ffffff" fill-opacity="0.5" points="1931 1673, 1931 1773, 2001 1723, 1931 1673" stroke="#000000" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="1951" y="1687">U3</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="1931" y="1819">NOT</text>
<polyline fill="none" points="2071 1723, 2071 1703" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="1621 1253, 1621 1243, 721 1243" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="1621 1283, 1621 1273, 821 1273, 821 1643, 721 1643" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="721 2043, 871 2043, 871 1323, 1621 1323, 1621 1313" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="721 2443, 921 2443, 921 1353, 1621 1353, 1621 1343" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1481" x2="1421" y1="1723" y2="1723"/>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1561" x2="1621" y1="1723" y2="1723"/>
<circle cx="1557" cy="1723" fill="none" r="5" stroke="#000000" stroke-width="5"/>
<polygon fill="#ffffff" fill-opacity="0.5" points="1481 1673, 1481 1773, 1551 1723, 1481 1673" stroke="#000000" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="1501" y="1687">U10</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="1481" y="1819">NOT</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1481" x2="1421" y1="1753" y2="1753"/>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1561" x2="1621" y1="1753" y2="1753"/>
<circle cx="1557" cy="1753" fill="none" r="5" stroke="#000000" stroke-width="5"/>
<polygon fill="#ffffff" fill-opacity="0.5" points="1481 1703, 1481 1803, 1551 1753, 1481 1703" stroke="#000000" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="1501" y="1717">U11</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="1481" y="1849">NOT</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1481" x2="1421" y1="1783" y2="1783"/>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1561" x2="1621" y1="1783" y2="1783"/>
<circle cx="1557" cy="1783" fill="none" r="5" stroke="#000000" stroke-width="5"/>
<polygon fill="#ffffff" fill-opacity="0.5" points="1481 1733, 1481 1833, 1551 1783, 1481 1733" stroke="#000000" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="1501" y="1747">U12</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="1481" y="1879">NOT</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1481" x2="1421" y1="1813" y2="1813"/>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1561" x2="1621" y1="1813" y2="1813"/>
<circle cx="1557" cy="1813" fill="none" r="5" stroke="#000000" stroke-width="5"/>
<polygon fill="#ffffff" fill-opacity="0.5" points="1481 1763, 1481 1863, 1551 1813, 1481 1763" stroke="#000000" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="1501" y="1777">U13</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="1481" y="1909">NOT</text>
<polyline fill="none" points="1421 1723, 1321 1723, 1321 1243" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="1421 1753, 1291 1753, 1291 1273" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="1421 1783, 1261 1783, 1261 1323" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="1421 1813, 1231 1813, 1231 1353" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="171 1893, 1621 1893, 1621 1843" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2671" x2="2621" y1="813" y2="813"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2714" y="812">1D</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2639" y="812">4</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2671" x2="2621" y1="843" y2="843"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2714" y="844">2D</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2639" y="842">5</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2671" x2="2621" y1="873" y2="873"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2714" y="873">3D</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2653" y="873">12</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2671" x2="2621" y1="903" y2="903"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2713" y="905">4D</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2653" y="903">13</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2661" x2="2621" y1="963" y2="963"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2741" y="964">^CLR</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2639" y="963">1</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2671" x2="2621" y1="993" y2="993"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2728" y="995">CLK</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="2639" y="994">9</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2831" x2="2871" y1="1023" y2="1023"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="2787" y="1024">^4Q</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="2842" y="1024">14</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2821" x2="2871" y1="993" y2="993"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="2794" y="993">4Q</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="2842" y="994">15</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2831" x2="2871" y1="963" y2="963"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="2787" y="964">^3Q</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="2842" y="965">11</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2821" x2="2871" y1="933" y2="933"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="2793" y="932">3Q</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="2841" y="934">10</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2831" x2="2871" y1="903" y2="903"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="2786" y="902">^2Q</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="2849" y="904">6</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2821" x2="2871" y1="873" y2="873"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="2794" y="872">2Q</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="2850" y="875">7</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2831" x2="2871" y1="843" y2="843"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="2787" y="840">^1Q</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="2850" y="843">3</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="2821" x2="2871" y1="813" y2="813"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="2793" y="811">1Q</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="2851" y="812">2</text>
<rect fill="#ffffff" fill-opacity="0.5" height="280" stroke="#000000" stroke-width="5" width="150" x="2671" y="763"/>
<circle cx="2665" cy="963" fill="#ffffff" fill-opacity="0.5" r="4" stroke="#000000" stroke-width="5"/>
<circle cx="2827" cy="843" fill="#ffffff" fill-opacity="0.5" r="4" stroke="#000000" stroke-width="5"/>
<circle cx="2827" cy="963" fill="#ffffff" fill-opacity="0.5" r="4" stroke="#000000" stroke-width="5"/>
<circle cx="2827" cy="1023" fill="#ffffff" fill-opacity="0.5" r="4" stroke="#000000" stroke-width="5"/>
<circle cx="2827" cy="903" fill="#ffffff" fill-opacity="0.5" r="4" stroke="#000000" stroke-width="5"/>
<polyline fill="none" points="2673 983, 2683 993, 2673 1003" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="2738" y="756">U14</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="2677" y="1090">74LS175D</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1681" x2="1621" y1="1253" y2="1253"/>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1691" x2="1621" y1="1283" y2="1283"/>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1691" x2="1621" y1="1313" y2="1313"/>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1681" x2="1621" y1="1343" y2="1343"/>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1821" x2="1871" y1="1293" y2="1293"/>
<path d="M1679 1243 C 1695 1290, 1698 1300, 1678 1354, 1678 1354, 1678 1354, 1678 1354" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="1681 1243, 1731 1243" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="1679 1354, 1729 1354" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<path d="M1730 1243 C 1796 1243, 1820 1296, 1820 1296" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<path d="M1728 1354 C 1795 1354, 1820 1297, 1820 1297" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="1721" y="1233">U4</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="1701" y="1403">OR4</text>
<polyline fill="none" points="2621 813, 2471 813, 2471 1583" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="2621 843, 2441 843, 2441 1613" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="2621 873, 2411 873, 2411 1643" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="2621 903, 2381 903, 2381 1673" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polygon fill="#ffff80" points="21 993, 21 968, 146 968, 171 993, 146 1018, 21 1018, 21 993" stroke="#800000" stroke-width="1"/>
<text alignment-baseline="central" fill="#800000" font-family="Times New Roman" font-size="25" font-weight="400" text-anchor="start" x="21" y="993">INTA</text>
<polyline fill="none" points="171 993, 1621 993" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1681" x2="1621" y1="993" y2="993"/>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="1761" x2="1821" y1="993" y2="993"/>
<circle cx="1757" cy="993" fill="none" r="5" stroke="#000000" stroke-width="5"/>
<polygon fill="#ffffff" fill-opacity="0.5" points="1681 943, 1681 1043, 1751 993, 1681 943" stroke="#000000" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="1701" y="957">U15</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="1681" y="1089">NOT</text>
<polyline fill="none" points="1821 993, 2621 993" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="3171" x2="3121" y1="843" y2="843"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="3214" y="842">1D</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="3139" y="842">4</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="3171" x2="3121" y1="873" y2="873"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="3214" y="874">2D</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="3139" y="872">5</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="3171" x2="3121" y1="903" y2="903"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="3214" y="903">3D</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="3153" y="903">12</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="3171" x2="3121" y1="933" y2="933"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="3213" y="935">4D</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="3153" y="933">13</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="3161" x2="3121" y1="993" y2="993"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="3241" y="994">^CLR</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="3139" y="993">1</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="3171" x2="3121" y1="1023" y2="1023"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="3228" y="1025">CLK</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="end" x="3139" y="1024">9</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="3331" x2="3371" y1="1053" y2="1053"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="3287" y="1054">^4Q</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="3342" y="1054">14</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="3321" x2="3371" y1="1023" y2="1023"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="3294" y="1023">4Q</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="3342" y="1024">15</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="3331" x2="3371" y1="993" y2="993"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="3287" y="994">^3Q</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="3342" y="995">11</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="3321" x2="3371" y1="963" y2="963"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="3293" y="962">3Q</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="3341" y="964">10</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="3331" x2="3371" y1="933" y2="933"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="3286" y="932">^2Q</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="3349" y="934">6</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="3321" x2="3371" y1="903" y2="903"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="3294" y="902">2Q</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="3350" y="905">7</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="3331" x2="3371" y1="873" y2="873"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="3287" y="870">^1Q</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="3350" y="873">3</text>
<line stroke="#000000" stroke-linecap="round" stroke-width="5" x1="3321" x2="3371" y1="843" y2="843"/>
<text alignment-baseline="central" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="middle" x="3293" y="841">1Q</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Courier New" font-size="17" font-weight="400" text-anchor="start" x="3351" y="842">2</text>
<rect fill="#ffffff" fill-opacity="0.5" height="280" stroke="#000000" stroke-width="5" width="150" x="3171" y="793"/>
<circle cx="3165" cy="993" fill="#ffffff" fill-opacity="0.5" r="4" stroke="#000000" stroke-width="5"/>
<circle cx="3327" cy="873" fill="#ffffff" fill-opacity="0.5" r="4" stroke="#000000" stroke-width="5"/>
<circle cx="3327" cy="993" fill="#ffffff" fill-opacity="0.5" r="4" stroke="#000000" stroke-width="5"/>
<circle cx="3327" cy="1053" fill="#ffffff" fill-opacity="0.5" r="4" stroke="#000000" stroke-width="5"/>
<circle cx="3327" cy="933" fill="#ffffff" fill-opacity="0.5" r="4" stroke="#000000" stroke-width="5"/>
<polyline fill="none" points="3173 1013, 3183 1023, 3173 1033" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="3238" y="786">U16</text>
<text alignment-baseline="after-edge" fill="#000000" font-family="Arial" font-size="25" font-weight="700" text-anchor="start" x="3177" y="1120">74LS175D</text>
<polyline fill="none" points="2871 843, 3121 843" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="2871 903, 2921 903, 2921 873, 3121 873" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="2871 963, 2951 963, 2951 903, 3121 903" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<polyline fill="none" points="2871 1023, 2981 1023, 2981 933, 3121 933" stroke="#0000ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/>
<circle cx="2381" cy="1673" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="2411" cy="1643" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="2441" cy="1613" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="2471" cy="1583" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="1231" cy="1353" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="1261" cy="1323" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="1291" cy="1273" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="1321" cy="1243" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="2521" cy="2693" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="2521" cy="3123" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="2521" cy="3153" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="3131" cy="2493" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="3151" cy="2463" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="3171" cy="2433" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="3191" cy="2403" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="3211" cy="2373" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="3231" cy="2343" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="3251" cy="2313" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="3271" cy="2283" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="3131" cy="2873" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="3151" cy="2843" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="3171" cy="2813" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="3191" cy="2783" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="3211" cy="2753" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="3231" cy="2723" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="3251" cy="2693" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="3271" cy="2663" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="3131" cy="2293" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="3151" cy="2263" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="3171" cy="2233" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="3191" cy="2203" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="3211" cy="2173" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="3231" cy="2143" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="3251" cy="2113" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
<circle cx="3271" cy="2083" fill="#0000ff" r="8" stroke="#0000ff" stroke-width="5"/>
</svg>
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<svg height="303" version="1.1" width="1635" xmlns="http://www.w3.org/2000/svg">
<text alignment-baseline="after-edge" fill="#000000" font-family="微软雅黑" font-size="250" font-weight="700" text-anchor="start" x="19" y="315">硬中断控制器</text>
</svg>
...@@ -28,6 +28,26 @@ lea a, int_3 ...@@ -28,6 +28,26 @@ lea a, int_3
mov r0, 0xfb mov r0, 0xfb
mov [r0], a mov [r0], a
;4号中断向量0xfc,0xfc中保存4号中断服务程序的入口地址
lea a, int_4
mov r0, 0xfc
mov [r0], a
;5号中断向量0xfd,0xfd中保存5号中断服务程序的入口地址
lea a, int_5
mov r0, 0xfd
mov [r0], a
;6号中断向量0xfe,0xfe中保存6号中断服务程序的入口地址
lea a, int_6
mov r0, 0xfe
mov [r0], a
;7号中断向量0xff,0xff中保存7号中断服务程序的入口地址
lea a, int_7
mov r0, 0xff
mov [r0], a
;======================================================= ;=======================================================
;主程序代码 ;主程序代码
...@@ -66,3 +86,28 @@ mov a, 0x13 ...@@ -66,3 +86,28 @@ mov a, 0x13
or a, [r0] or a, [r0]
ret ret
;4号中断的服务程序
int_4:
mov r1, 2
mov a, 0
adc a, r1
ret
;5号中断的服务程序
int_5:
mov r2, 3
mov a, 1
and a, r2
ret
;6号中断的服务程序
int_6:
mov a, 2
sbb a, 3
ret
;7号中断的服务程序
int_7:
mov a, 2
shl a
ret
\ No newline at end of file
没有这种文件类型的预览
...@@ -9,60 +9,105 @@ ...@@ -9,60 +9,105 @@
0009 ;中断向量本身是一个地址,它指向一个存储单元,该存储单元保存的就是某个中断服务程序的入口地址(起始地址) 0009 ;中断向量本身是一个地址,它指向一个存储单元,该存储单元保存的就是某个中断服务程序的入口地址(起始地址)
0010 ;设中断向量列表的首地址为0xf8,即第一个中断向量是存储单元0xf8 0010 ;设中断向量列表的首地址为0xf8,即第一个中断向量是存储单元0xf8
0011 ;0号中断向量0xf8,0xf8中保存0号中断服务程序的入口地址 0011 ;0号中断向量0xf8,0xf8中保存0号中断服务程序的入口地址
0012 02 98 1D lea a, int_0 0012 02 98 31 lea a, int_0
0013 04 8C F8 mov r0, 0xf8 0013 04 8C F8 mov r0, 0xf8
0014 06 84 mov [r0], a 0014 06 84 mov [r0], a
0015 0015
0016 ;1号中断向量0xf9,0xf9中保存1号中断服务程序的入口地址 0016 ;1号中断向量0xf9,0xf9中保存1号中断服务程序的入口地址
0017 07 98 22 lea a, int_1 0017 07 98 36 lea a, int_1
0018 09 8C F9 mov r0, 0xf9 0018 09 8C F9 mov r0, 0xf9
0019 0B 84 mov [r0], a 0019 0B 84 mov [r0], a
0020 0020
0021 ;2号中断向量0xfa,0xfa中保存2号中断服务程序的入口地址 0021 ;2号中断向量0xfa,0xfa中保存2号中断服务程序的入口地址
0022 0C 98 27 lea a, int_2 0022 0C 98 3B lea a, int_2
0023 0E 8C FA mov r0, 0xfa 0023 0E 8C FA mov r0, 0xfa
0024 10 84 mov [r0], a 0024 10 84 mov [r0], a
0025 0025
0026 ;3号中断向量0xfb,0xfb中保存3号中断服务程序的入口地址 0026 ;3号中断向量0xfb,0xfb中保存3号中断服务程序的入口地址
0027 11 98 2B lea a, int_3 0027 11 98 3F lea a, int_3
0028 13 8C FB mov r0, 0xfb 0028 13 8C FB mov r0, 0xfb
0029 15 84 mov [r0], a 0029 15 84 mov [r0], a
0030 0030
0031 ;======================================================= 0031 ;4号中断向量0xfc,0xfc中保存4号中断服务程序的入口地址
0032 ;主程序代码 0032 16 98 43 lea a, int_4
0033 0033 18 8C FC mov r0, 0xfc
0034 16 7C FF mov a, -1 0034 1A 84 mov [r0], a
0035 0035
0036 LOOPC: 0036 ;5号中断向量0xfd,0xfd中保存5号中断服务程序的入口地址
0037 18 8C 01 mov r0, 1 0037 1B 98 49 lea a, int_5
0038 1A 10 add a, r0 0038 1D 8C FD mov r0, 0xfd
0039 0039 1F 84 mov [r0], a
0040 1B AC 18 jmp LOOPC 0040
0041 0041 ;6号中断向量0xfe,0xfe中保存6号中断服务程序的入口地址
0042 0042 20 98 4F lea a, int_6
0043 ;======================================================= 0043 22 8C FE mov r0, 0xfe
0044 ;中断服务程序 0044 24 84 mov [r0], a
0045 ;0号中断的服务程序 0045
0046 int_0: 0046 ;7号中断向量0xff,0xff中保存7号中断服务程序的入口地址
0047 1D 7C 10 mov a, 0x10 0047 25 98 54 lea a, int_7
0048 1F 2C FF adc a, -1 0048 27 8C FF mov r0, 0xff
0049 21 C8 ret 0049 29 84 mov [r0], a
0050 0050
0051 ;1号中断的服务程序 0051 ;=======================================================
0052 int_1: 0052 ;主程序代码
0053 22 7C 11 mov a, 0x11 0053
0054 24 3C FF sub a, -1 0054 2A 7C FF mov a, -1
0055 26 C8 ret 0055
0056 0056 LOOPC:
0057 ;2号中断的服务程序 0057 2C 8C 01 mov r0, 1
0058 int_2: 0058 2E 10 add a, r0
0059 27 7C 12 mov a, 0x12 0059
0060 29 50 and a, r0 0060 2F AC 2C jmp LOOPC
0061 2A C8 ret 0061
0062 0062
0063 ;3号中断的服务程序 0063 ;=======================================================
0064 int_3: 0064 ;中断服务程序
0065 2B 7C 13 mov a, 0x13 0065 ;0号中断的服务程序
0066 2D 64 or a, [r0] 0066 int_0:
0067 2E C8 ret 0067 31 7C 10 mov a, 0x10
0068 0068 33 2C FF adc a, -1
0069 35 C8 ret
0070
0071 ;1号中断的服务程序
0072 int_1:
0073 36 7C 11 mov a, 0x11
0074 38 3C FF sub a, -1
0075 3A C8 ret
0076
0077 ;2号中断的服务程序
0078 int_2:
0079 3B 7C 12 mov a, 0x12
0080 3D 50 and a, r0
0081 3E C8 ret
0082
0083 ;3号中断的服务程序
0084 int_3:
0085 3F 7C 13 mov a, 0x13
0086 41 64 or a, [r0]
0087 42 C8 ret
0088
0089 ;4号中断的服务程序
0090 int_4:
0091 43 8D 02 mov r1, 2
0092 45 7C 00 mov a, 0
0093 47 21 adc a, r1
0094 48 C8 ret
0095
0096 ;5号中断的服务程序
0097 int_5:
0098 49 8E 03 mov r2, 3
0099 4B 7C 01 mov a, 1
0100 4D 52 and a, r2
0101 4E C8 ret
0102
0103 ;6号中断的服务程序
0104 int_6:
0105 4F 7C 02 mov a, 2
0106 51 4C 03 sbb a, 3
0107 53 C8 ret
0108
0109 ;7号中断的服务程序
0110 int_7:
0111 54 7C 02 mov a, 2
0112 56 D4 shl a
0113 57 C8 ret
\ No newline at end of file
没有这种文件类型的预览
没有这种文件类型的预览
...@@ -422,111 +422,117 @@ ...@@ -422,111 +422,117 @@
0422 ; 0422 ;
0423 600 FF FF FF FF dup 16, null 0423 600 FF FF FF FF dup 16, null
0424 0424
0425 ;硬中断调用返回指令 0425 ;=====================================================================
0426 ; ret 0426 ;硬中断调用返回指令。
0427 640 EF F7 F2 FF path sp, mar 0427 ;硬中断返回就是出栈过程,将栈顶指针sp指向的存储单元内的返回地址加载到PC,实现中断返回
0428 644 EF FF 72 FF path sp, cst 0428 ;与此同时,sp加1,指向新的栈顶
0429 648 E7 FF FF FF path sp_inc, cst 0429 ; ret
0430 64C EF FE F8 FF path cst, sp 0430 640 EF F7 F2 FF path sp, mar ;将栈顶指针SP传入地址寄存器MAR,也就是将中断返回地址传入mar
0431 650 EF EB F9 FF path [mar], pc 0431 644 EF FF 72 FF path sp, cst ;sp传入cst计数器
0432 654 EF FF FD FF eoi ;清除已经服务完的硬中断标志 0432 648 E7 FF FF FF path sp_inc, cst ;cst计数器加1
0433 658 CF FF FF FF reset upc 0433 64C EF FE F8 FF path cst, sp ;将cst减1后的结果写入sp,也就是出栈后,sp减1,指向新的栈顶
0434 0434 650 EF EB F9 FF path [mar], pc ;将mar寄存器指向存储单元的内容作为地址传入PC,实现中断返回
0435 65C FF FF FF FF dup 1, null 0435 654 EF FF FD FF eoi ;清除已经服务完的硬中断标志
0436 0436 658 CF FF FF FF reset upc
0437 ; 填充空白指令 0437
0438 660 FF FF FF FF dup 8, null 0438 65C FF FF FF FF dup 1, null
0439 0439 ;=====================================================================
0440 ; shr a 0440
0441 680 EF FF D5 90 path alu_shr, a 0441 ; 填充空白指令
0442 684 FF FF FF FF inc pc 0442 660 FF FF FF FF dup 8, null
0443 688 AF FF FF FF ask_for_int 0443
0444 68C CF FF FF FF reset upc 0444 ; shr a
0445 0445 680 EF FF D5 90 path alu_shr, a
0446 690 FF FF FF FF dup 4, null 0446 684 FF FF FF FF inc pc
0447 0447 688 AF FF FF FF ask_for_int
0448 ; shl a 0448 68C CF FF FF FF reset upc
0449 6A0 EF FF D6 90 path alu_shl, a 0449
0450 6A4 FF FF FF FF inc pc 0450 690 FF FF FF FF dup 4, null
0451 6A8 AF FF FF FF ask_for_int 0451
0452 6AC CF FF FF FF reset upc 0452 ; shl a
0453 0453 6A0 EF FF D6 90 path alu_shl, a
0454 6B0 FF FF FF FF dup 4, null 0454 6A4 FF FF FF FF inc pc
0455 0455 6A8 AF FF FF FF ask_for_int
0456 ; rcr a 0456 6AC CF FF FF FF reset upc
0457 6C0 EF FF E5 90 path alu_rcr, a 0457
0458 6C4 FF FF FF FF inc pc 0458 6B0 FF FF FF FF dup 4, null
0459 6C8 AF FF FF FF ask_for_int 0459
0460 6CC CF FF FF FF reset upc 0460 ; rcr a
0461 0461 6C0 EF FF E5 90 path alu_rcr, a
0462 6D0 FF FF FF FF dup 4, null 0462 6C4 FF FF FF FF inc pc
0463 0463 6C8 AF FF FF FF ask_for_int
0464 ; rcl a 0464 6CC CF FF FF FF reset upc
0465 6E0 EF FF E6 90 path alu_rcl, a 0465
0466 6E4 FF FF FF FF inc pc 0466 6D0 FF FF FF FF dup 4, null
0467 6E8 AF FF FF FF ask_for_int 0467
0468 6EC CF FF FF FF reset upc 0468 ; rcl a
0469 0469 6E0 EF FF E6 90 path alu_rcl, a
0470 6F0 FF FF FF FF dup 4, null 0470 6E4 FF FF FF FF inc pc
0471 0471 6E8 AF FF FF FF ask_for_int
0472 ; nop 0472 6EC CF FF FF FF reset upc
0473 700 FF FF FF FF inc pc 0473
0474 704 CF FF FF FF reset upc 0474 6F0 FF FF FF FF dup 4, null
0475 0475
0476 708 FF FF FF FF dup 6, null 0476 ; nop
0477 0477 700 FF FF FF FF inc pc
0478 ; not a 0478 704 CF FF FF FF reset upc
0479 720 EF FF F4 B0 path alu_not, a 0479
0480 724 FF FF FF FF inc pc 0480 708 FF FF FF FF dup 6, null
0481 728 AF FF FF FF ask_for_int 0481
0482 72C CF FF FF FF reset upc 0482 ; not a
0483 0483 720 EF FF F4 B0 path alu_not, a
0484 730 FF FF FF FF dup 4, null 0484 724 FF FF FF FF inc pc
0485 0485 728 AF FF FF FF ask_for_int
0486 ; call symbol 0486 72C CF FF FF FF reset upc
0487 740 FF FF FF FF inc pc 0487
0488 744 EF 7D F9 FF path [pc], asr 0488 730 FF FF FF FF dup 4, null
0489 748 EF FF 72 FF path sp, cst 0489
0490 74C EF FF FF FF path sp_dec, cst 0490 ; call symbol
0491 750 EF FE F8 FF path cst, sp 0491 740 FF FF FF FF inc pc
0492 754 EF F7 F2 FF path sp, mar 0492 744 EF 7D F9 FF path [pc], asr
0493 758 FF FF FF FF inc pc 0493 748 EF FF 72 FF path sp, cst
0494 75C ED FB F3 FF path pc, [mar] 0494 74C EF FF FF FF path sp_dec, cst
0495 760 EF EF F7 FF path asr, pc 0495 750 EF FE F8 FF path cst, sp
0496 764 AF FF FF FF ask_for_int 0496 754 EF F7 F2 FF path sp, mar
0497 768 CF FF FF FF reset upc 0497 758 FF FF FF FF inc pc
0498 0498 75C ED FB F3 FF path pc, [mar]
0499 76C FF FF FF FF dup 5, null 0499 760 EF EF F7 FF path asr, pc
0500 0500 764 AF FF FF FF ask_for_int
0501 ;====================================================================== 0501 768 CF FF FF FF reset upc
0502 ; 硬中断处理微指令程序,完成中断现场保护并跳转到中断服务程序的入口地址处执行中断服务程序 0502
0503 780 EF FF 72 FF path sp, cst ;将堆栈指针寄存器sp的值传送到cst计数器 0503 76C FF FF FF FF dup 5, null
0504 784 EF FF FF FF path sp_dec, cst ;计数器cst减1 0504
0505 788 EF FE F8 FF path cst, sp ;将减计数结果写回sp,完成堆栈指针sp-1操作,为返回地址入栈做准备 0505 ;======================================================================
0506 78C EF F7 F2 FF path sp, mar ;sp堆栈指针寄存器内容传送到地址寄存器mar 0506 ; 硬中断处理微指令程序。
0507 790 ED FB F3 FF path pc, [mar] ;将返回地址PC入栈 0507 ;硬中断处理就是入栈过程,将下一条指令的地址(中断返回地址)入栈,入栈过程就是将返回地址写入sp加1后指向的存储单元中
0508 0508 ;然后将硬中断服务程序入口地址加载到PC,转去执行服务程序。
0509 ; 获取中断号中断服务程序入口地址 0509 780 EF FF 72 FF path sp, cst ;将堆栈指针寄存器sp的值传送到cst计数器
0510 794 EF FF FB FF inta1 0510 784 EF FF FF FF path sp_dec, cst ;计数器cst减1
0511 798 EB FF FC FF inta2 ;发出第二个中断应答信号,主要用于清除已经响应的中断请求,避免重复响应 0511 788 EF FE F8 FF path cst, sp ;将减计数结果写回sp,完成堆栈指针sp-1操作,为返回地址入栈做准备
0512 0512 78C EF F7 F2 FF path sp, mar ;sp堆栈指针寄存器内容传送到地址寄存器mar
0513 79C EF DF F1 FF path int_ia, pc ;将中断向量(ia寄存器的内容)传入PC 0513 790 ED FB F3 FF path pc, [mar] ;将返回地址PC入栈
0514 7A0 EF 5F F9 FF path [int_pc], pc ;读出中断向量中的内容(中断服务程序首地址),将其加载到PC,执行中断服务程序 0514
0515 7A4 CF FF FF FF reset upc 0515 ; 根据中断号获取中断服务程序入口地址
0516 0516 794 EF FF FB FF inta1 ;发出第一个中断应答信号,中断控制器保存最高优先级中断请求对应的编号(0~7)
0517 7A8 FF FF FF FF dup 6, null 0517 798 EB FF FC FF inta2 ;发出第二个中断应答信号,将响应中断的终端号读入IA寄存器中,并清除响应的中断请求,避免重复响应
0518 0518
0519 ;====================================================================== 0519 79C EF DF F1 FF path int_ia, pc ;将中断向量(ia寄存器的内容)传入PC
0520 ;软中断返回指令 0520 7A0 EF 5F F9 FF path [int_pc], pc ;读出中断向量中的内容(中断服务程序首地址),将其加载到PC,执行中断服务程序
0521 ; iret 0521 7A4 CF FF FF FF reset upc
0522 7C0 EF F7 F2 FF path sp, mar 0522
0523 7C4 EF FF 72 FF path sp, cst 0523 7A8 FF FF FF FF dup 6, null
0524 7C8 E7 FF FF FF path sp_inc, cst 0524
0525 7CC EF FE F8 FF path cst, sp 0525 ;======================================================================
0526 7D0 EF EB F9 FF path [mar], pc 0526 ;软中断返回指令
0527 7D4 CF FF FF FF reset upc 0527 ; iret
0528 0528 7C0 EF F7 F2 FF path sp, mar
0529 7D8 FF FF FF FF dup 2, null 0529 7C4 EF FF 72 FF path sp, cst
0530 0530 7C8 E7 FF FF FF path sp_inc, cst
0531 0531 7CC EF FE F8 FF path cst, sp
0532 0532 7D0 EF EB F9 FF path [mar], pc
0533 7D4 CF FF FF FF reset upc
0534
0535 7D8 FF FF FF FF dup 2, null
0536
0537
0538
...@@ -422,17 +422,21 @@ dup 5, null ...@@ -422,17 +422,21 @@ dup 5, null
; ;
dup 16, null dup 16, null
;硬中断调用返回指令 ;=====================================================================
;硬中断调用返回指令。
;硬中断返回就是出栈过程,将栈顶指针sp指向的存储单元内的返回地址加载到PC,实现中断返回
;与此同时,sp加1,指向新的栈顶
; ret ; ret
path sp, mar path sp, mar ;将栈顶指针SP传入地址寄存器MAR,也就是将中断返回地址传入mar
path sp, cst path sp, cst ;sp传入cst计数器
path sp_inc, cst path sp_inc, cst ;cst计数器加1
path cst, sp path cst, sp ;将cst减1后的结果写入sp,也就是出栈后,sp减1,指向新的栈顶
path [mar], pc path [mar], pc ;将mar寄存器指向存储单元的内容作为地址传入PC,实现中断返回
eoi ;清除已经服务完的硬中断标志 eoi ;清除已经服务完的硬中断标志
reset upc reset upc
dup 1, null dup 1, null
;=====================================================================
; 填充空白指令 ; 填充空白指令
dup 8, null dup 8, null
...@@ -499,16 +503,18 @@ reset upc ...@@ -499,16 +503,18 @@ reset upc
dup 5, null dup 5, null
;====================================================================== ;======================================================================
; 硬中断处理微指令程序,完成中断现场保护并跳转到中断服务程序的入口地址处执行中断服务程序 ; 硬中断处理微指令程序。
;硬中断处理就是入栈过程,将下一条指令的地址(中断返回地址)入栈,入栈过程就是将返回地址写入sp加1后指向的存储单元中
;然后将硬中断服务程序入口地址加载到PC,转去执行服务程序。
path sp, cst ;将堆栈指针寄存器sp的值传送到cst计数器 path sp, cst ;将堆栈指针寄存器sp的值传送到cst计数器
path sp_dec, cst ;计数器cst减1 path sp_dec, cst ;计数器cst减1
path cst, sp ;将减计数结果写回sp,完成堆栈指针sp-1操作,为返回地址入栈做准备 path cst, sp ;将减计数结果写回sp,完成堆栈指针sp-1操作,为返回地址入栈做准备
path sp, mar ;sp堆栈指针寄存器内容传送到地址寄存器mar path sp, mar ;sp堆栈指针寄存器内容传送到地址寄存器mar
path pc, [mar] ;将返回地址PC入栈 path pc, [mar] ;将返回地址PC入栈
; 获取中断号中断服务程序入口地址 ; 根据中断号获取中断服务程序入口地址
inta1 inta1 ;发出第一个中断应答信号,中断控制器保存最高优先级中断请求对应的编号(0~7)
inta2 ;发出第二个中断应答信号,主要用于清除已经响应的中断请求,避免重复响应 inta2 ;发出第二个中断应答信号,将响应中断的终端号读入IA寄存器中,并清除响应的中断请求,避免重复响应
path int_ia, pc ;将中断向量(ia寄存器的内容)传入PC path int_ia, pc ;将中断向量(ia寄存器的内容)传入PC
path [int_pc], pc ;读出中断向量中的内容(中断服务程序首地址),将其加载到PC,执行中断服务程序 path [int_pc], pc ;读出中断向量中的内容(中断服务程序首地址),将其加载到PC,执行中断服务程序
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论