构建目录大致框架

This commit is contained in:
Liphen 2023-11-02 16:42:33 +08:00
parent 6e14975186
commit d34ffa1c90
5 changed files with 521 additions and 0 deletions

5
.gitignore vendored Normal file
View File

@ -0,0 +1,5 @@
prj/simulation/icarus/
user/src/test.v
user/sim/wave.vcd
user/sim/testbench.v
img

11
.vscode/property.json vendored Normal file
View File

@ -0,0 +1,11 @@
{
"toolChain": "xilinx",
"prjName": {
"PL": "template"
},
"soc": {
"core": "none"
},
"enableShowLog": false,
"device": "none"
}

View File

@ -0,0 +1,67 @@
题目:面向教学的计算机底层硬件系统设计与实现
毕业设计地点:校内
要求针对教学需要使用硬件描述语言设计基于RISC-V指令集的多级流水线处理器使其适合数字电路与计算机组成原理的教学实验。
重点难点:硬件描述语言的应用;教学化设计;数字电路与计算机组成原理实验的连续性与贯通性。
# 指导手册框架
一、实验介绍
二、实验目的
三、实验要求
四、实验步骤
# 实验设计
#### 数字电路
- 认识Verilog
- ##### 组合逻辑电路基础实验
- 全加器
- 超前进位电路
- 加减法器
- 数据选择器
- 译码器
- 思考题:编码器
- ##### 时序逻辑电路基础实验
- 触发器
- 边沿型/电平型D触发器门电路实现
- 思考题:其他触发器
- 寄存器实验
- 计数器
- ##### 综合设计实验
- 定时与分频实验
- 数码管实验
- 桶型移位器
- 多功能ALU设计实验
- 寄存器堆与运算器设计实验
- 取指令与指令译码实验
#### 计算机组成原理
- 认识Chisel
- 对比下Chisel和Verilog
- 设计一个简单的单周期CPU
- 只支持一些简单的、基础的、有代表性的指令,如支持跑通冒泡排序
- ##### 计算机体系结构实验
- 不考虑相关冲突的流水线CPU
- 指令相关与流水线冲突
- 介绍为什么会发生冲突
- 阻塞技术
- 前递技术
- 在流水线中添加运算类指令
- 让学生参照已经实现的指令添加一条新指令
- 在流水线中添加转移指令
- 在流水线中添加访存指令
- 例外与中断的支持

View File

@ -0,0 +1,7 @@
## 一、实验介绍
## 二、实验目的
## 三、实验要求
## 四、实验步骤

View File

@ -0,0 +1,431 @@
<mxfile host="65bd71144e">
<diagram id="rebtU5tXmGY_HIzhLKTE" name="认识Verilog">
<mxGraphModel dx="696" dy="571" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1169" pageHeight="827" background="#ffffff" math="0" shadow="0">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="7ks481zEIm87HgxM2ex8-72" value="" style="group" parent="1" vertex="1" connectable="0">
<mxGeometry x="530" y="360" width="360" height="410" as="geometry"/>
</mxCell>
<mxCell id="7ks481zEIm87HgxM2ex8-44" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;strokeColor=#000000;strokeWidth=3;fontSize=17;fontColor=#000000;startArrow=none;startFill=0;endArrow=none;endFill=0;" parent="7ks481zEIm87HgxM2ex8-72" source="7ks481zEIm87HgxM2ex8-47" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="80" y="30" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="7ks481zEIm87HgxM2ex8-45" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.25;exitY=1;exitDx=0;exitDy=0;strokeColor=#000000;strokeWidth=3;fontSize=17;fontColor=#000000;startArrow=none;startFill=0;endArrow=none;endFill=0;" parent="7ks481zEIm87HgxM2ex8-72" source="7ks481zEIm87HgxM2ex8-47" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint y="119.90476190476193" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="7ks481zEIm87HgxM2ex8-46" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.75;exitY=1;exitDx=0;exitDy=0;strokeColor=#000000;strokeWidth=3;fontSize=17;fontColor=#000000;startArrow=none;startFill=0;endArrow=none;endFill=0;" parent="7ks481zEIm87HgxM2ex8-72" source="7ks481zEIm87HgxM2ex8-47" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint y="179.90476190476193" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="7ks481zEIm87HgxM2ex8-47" value="MUX" style="shape=trapezoid;perimeter=trapezoidPerimeter;whiteSpace=wrap;html=1;fixedSize=1;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=3;fontSize=17;fontColor=#000000;fillColor=none;rotation=90;" parent="7ks481zEIm87HgxM2ex8-72" vertex="1">
<mxGeometry x="20" y="120" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="7ks481zEIm87HgxM2ex8-48" value="0" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=0;labelBackgroundColor=none;strokeWidth=3;fontSize=17;fontColor=#000000;" parent="7ks481zEIm87HgxM2ex8-72" vertex="1">
<mxGeometry x="40" y="106" width="40" height="30" as="geometry"/>
</mxCell>
<mxCell id="7ks481zEIm87HgxM2ex8-49" value="1" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=0;labelBackgroundColor=none;strokeWidth=3;fontSize=17;fontColor=#000000;" parent="7ks481zEIm87HgxM2ex8-72" vertex="1">
<mxGeometry x="40" y="166" width="40" height="30" as="geometry"/>
</mxCell>
<mxCell id="7ks481zEIm87HgxM2ex8-50" value="W0" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=0;labelBackgroundColor=none;strokeWidth=3;fontSize=17;fontColor=#000000;" parent="7ks481zEIm87HgxM2ex8-72" vertex="1">
<mxGeometry y="90" width="40" height="30" as="geometry"/>
</mxCell>
<mxCell id="7ks481zEIm87HgxM2ex8-51" value="W1" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=0;labelBackgroundColor=none;strokeWidth=3;fontSize=17;fontColor=#000000;" parent="7ks481zEIm87HgxM2ex8-72" vertex="1">
<mxGeometry x="2" y="151" width="40" height="30" as="geometry"/>
</mxCell>
<mxCell id="7ks481zEIm87HgxM2ex8-52" value="S0" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=0;labelBackgroundColor=none;strokeWidth=3;fontSize=17;fontColor=#000000;" parent="7ks481zEIm87HgxM2ex8-72" vertex="1">
<mxGeometry x="60" width="40" height="30" as="geometry"/>
</mxCell>
<mxCell id="7ks481zEIm87HgxM2ex8-53" value="out0" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=0;labelBackgroundColor=none;strokeWidth=3;fontSize=17;fontColor=#000000;" parent="7ks481zEIm87HgxM2ex8-72" vertex="1">
<mxGeometry x="130" y="121" width="40" height="30" as="geometry"/>
</mxCell>
<mxCell id="7ks481zEIm87HgxM2ex8-54" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;strokeColor=#000000;strokeWidth=3;fontSize=17;fontColor=#000000;startArrow=none;startFill=0;endArrow=oval;endFill=1;" parent="7ks481zEIm87HgxM2ex8-72" source="7ks481zEIm87HgxM2ex8-57" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="80" y="58" as="targetPoint"/>
<Array as="points">
<mxPoint x="80" y="270"/>
<mxPoint x="120" y="270"/>
<mxPoint x="120" y="58"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="7ks481zEIm87HgxM2ex8-55" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.25;exitY=1;exitDx=0;exitDy=0;strokeColor=#000000;strokeWidth=3;fontSize=17;fontColor=#000000;startArrow=none;startFill=0;endArrow=none;endFill=0;" parent="7ks481zEIm87HgxM2ex8-72" source="7ks481zEIm87HgxM2ex8-57" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint y="319.9047619047619" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="7ks481zEIm87HgxM2ex8-56" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.75;exitY=1;exitDx=0;exitDy=0;strokeColor=#000000;strokeWidth=3;fontSize=17;fontColor=#000000;startArrow=none;startFill=0;endArrow=none;endFill=0;" parent="7ks481zEIm87HgxM2ex8-72" source="7ks481zEIm87HgxM2ex8-57" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint y="379.9047619047619" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="7ks481zEIm87HgxM2ex8-57" value="MUX" style="shape=trapezoid;perimeter=trapezoidPerimeter;whiteSpace=wrap;html=1;fixedSize=1;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=3;fontSize=17;fontColor=#000000;fillColor=none;rotation=90;" parent="7ks481zEIm87HgxM2ex8-72" vertex="1">
<mxGeometry x="20" y="320" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="7ks481zEIm87HgxM2ex8-58" value="0" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=0;labelBackgroundColor=none;strokeWidth=3;fontSize=17;fontColor=#000000;" parent="7ks481zEIm87HgxM2ex8-72" vertex="1">
<mxGeometry x="40" y="306" width="40" height="30" as="geometry"/>
</mxCell>
<mxCell id="7ks481zEIm87HgxM2ex8-59" value="1" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=0;labelBackgroundColor=none;strokeWidth=3;fontSize=17;fontColor=#000000;" parent="7ks481zEIm87HgxM2ex8-72" vertex="1">
<mxGeometry x="40" y="366" width="40" height="30" as="geometry"/>
</mxCell>
<mxCell id="7ks481zEIm87HgxM2ex8-60" value="W2" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=0;labelBackgroundColor=none;strokeWidth=3;fontSize=17;fontColor=#000000;" parent="7ks481zEIm87HgxM2ex8-72" vertex="1">
<mxGeometry y="290" width="40" height="30" as="geometry"/>
</mxCell>
<mxCell id="7ks481zEIm87HgxM2ex8-61" value="W3" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=0;labelBackgroundColor=none;strokeWidth=3;fontSize=17;fontColor=#000000;" parent="7ks481zEIm87HgxM2ex8-72" vertex="1">
<mxGeometry x="2" y="351" width="40" height="30" as="geometry"/>
</mxCell>
<mxCell id="7ks481zEIm87HgxM2ex8-62" value="out1" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=0;labelBackgroundColor=none;strokeWidth=3;fontSize=17;fontColor=#000000;" parent="7ks481zEIm87HgxM2ex8-72" vertex="1">
<mxGeometry x="130" y="320" width="40" height="30" as="geometry"/>
</mxCell>
<mxCell id="7ks481zEIm87HgxM2ex8-63" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;strokeColor=#000000;strokeWidth=3;fontSize=17;fontColor=#000000;startArrow=none;startFill=0;endArrow=none;endFill=0;" parent="7ks481zEIm87HgxM2ex8-72" source="7ks481zEIm87HgxM2ex8-67" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="140" y="30" as="targetPoint"/>
<Array as="points">
<mxPoint x="270" y="110"/>
<mxPoint x="140" y="110"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="7ks481zEIm87HgxM2ex8-64" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;strokeColor=#000000;strokeWidth=3;fontSize=17;fontColor=#000000;startArrow=none;startFill=0;endArrow=none;endFill=0;" parent="7ks481zEIm87HgxM2ex8-72" source="7ks481zEIm87HgxM2ex8-67" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="340" y="250.90476190476193" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="7ks481zEIm87HgxM2ex8-65" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.25;exitY=1;exitDx=0;exitDy=0;strokeColor=#000000;strokeWidth=3;fontSize=17;fontColor=#000000;startArrow=none;startFill=0;endArrow=none;endFill=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="7ks481zEIm87HgxM2ex8-72" source="7ks481zEIm87HgxM2ex8-67" target="7ks481zEIm87HgxM2ex8-47" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="190" y="220.90476190476193" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="7ks481zEIm87HgxM2ex8-66" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.75;exitY=1;exitDx=0;exitDy=0;strokeColor=#000000;strokeWidth=3;fontSize=17;fontColor=#000000;startArrow=none;startFill=0;endArrow=none;endFill=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="7ks481zEIm87HgxM2ex8-72" source="7ks481zEIm87HgxM2ex8-67" target="7ks481zEIm87HgxM2ex8-57" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="190" y="280.9047619047619" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="7ks481zEIm87HgxM2ex8-67" value="MUX" style="shape=trapezoid;perimeter=trapezoidPerimeter;whiteSpace=wrap;html=1;fixedSize=1;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=3;fontSize=17;fontColor=#000000;fillColor=none;rotation=90;" parent="7ks481zEIm87HgxM2ex8-72" vertex="1">
<mxGeometry x="210" y="221" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="7ks481zEIm87HgxM2ex8-68" value="0" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=0;labelBackgroundColor=none;strokeWidth=3;fontSize=17;fontColor=#000000;" parent="7ks481zEIm87HgxM2ex8-72" vertex="1">
<mxGeometry x="230" y="207" width="40" height="30" as="geometry"/>
</mxCell>
<mxCell id="7ks481zEIm87HgxM2ex8-69" value="1" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=0;labelBackgroundColor=none;strokeWidth=3;fontSize=17;fontColor=#000000;" parent="7ks481zEIm87HgxM2ex8-72" vertex="1">
<mxGeometry x="230" y="267" width="40" height="30" as="geometry"/>
</mxCell>
<mxCell id="7ks481zEIm87HgxM2ex8-70" value="S1" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=0;labelBackgroundColor=none;strokeWidth=3;fontSize=17;fontColor=#000000;" parent="7ks481zEIm87HgxM2ex8-72" vertex="1">
<mxGeometry x="120" width="40" height="30" as="geometry"/>
</mxCell>
<mxCell id="7ks481zEIm87HgxM2ex8-71" value="out" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=0;labelBackgroundColor=none;strokeWidth=3;fontSize=17;fontColor=#000000;" parent="7ks481zEIm87HgxM2ex8-72" vertex="1">
<mxGeometry x="320" y="221" width="40" height="30" as="geometry"/>
</mxCell>
<mxCell id="7ks481zEIm87HgxM2ex8-74" value="" style="group" parent="1" vertex="1" connectable="0">
<mxGeometry x="30" y="414" width="480" height="380" as="geometry"/>
</mxCell>
<mxCell id="QMG38J2CW0rPUgtdJ5ai-17" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0;exitY=0.75;exitDx=0;exitDy=0;exitPerimeter=0;strokeColor=#000000;strokeWidth=3;endArrow=none;endFill=0;" parent="7ks481zEIm87HgxM2ex8-74" source="QMG38J2CW0rPUgtdJ5ai-18" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="60" y="235" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="QMG38J2CW0rPUgtdJ5ai-18" value="AND" style="verticalLabelPosition=middle;shadow=0;dashed=0;align=center;html=1;verticalAlign=middle;shape=mxgraph.electrical.logic_gates.logic_gate;operation=and;fillColor=none;strokeColor=#000000;strokeWidth=3;fontColor=#000000;fontSize=20;fontStyle=1;labelPosition=center;" parent="7ks481zEIm87HgxM2ex8-74" vertex="1">
<mxGeometry x="190" y="190" width="100" height="60" as="geometry"/>
</mxCell>
<mxCell id="QMG38J2CW0rPUgtdJ5ai-20" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0;exitY=0.25;exitDx=0;exitDy=0;exitPerimeter=0;strokeColor=#000000;strokeWidth=3;endArrow=none;endFill=0;" parent="7ks481zEIm87HgxM2ex8-74" source="QMG38J2CW0rPUgtdJ5ai-22" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="60" y="335" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="QMG38J2CW0rPUgtdJ5ai-21" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0;exitY=0.75;exitDx=0;exitDy=0;exitPerimeter=0;strokeColor=#000000;strokeWidth=3;endArrow=oval;endFill=1;" parent="7ks481zEIm87HgxM2ex8-74" source="QMG38J2CW0rPUgtdJ5ai-22" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="140" y="50" as="targetPoint"/>
<Array as="points">
<mxPoint x="90" y="365"/>
<mxPoint x="90" y="50"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="QMG38J2CW0rPUgtdJ5ai-22" value="AND" style="verticalLabelPosition=middle;shadow=0;dashed=0;align=center;html=1;verticalAlign=middle;shape=mxgraph.electrical.logic_gates.logic_gate;operation=and;fillColor=none;strokeColor=#000000;strokeWidth=3;fontSize=20;fontStyle=1;fontColor=#000000;labelPosition=center;" parent="7ks481zEIm87HgxM2ex8-74" vertex="1">
<mxGeometry x="190" y="320" width="100" height="60" as="geometry"/>
</mxCell>
<mxCell id="QMG38J2CW0rPUgtdJ5ai-23" value="&lt;font color=&quot;#000000&quot; style=&quot;font-size: 20px;&quot;&gt;OR&lt;/font&gt;" style="verticalLabelPosition=middle;shadow=0;dashed=0;align=center;html=1;verticalAlign=middle;shape=mxgraph.electrical.logic_gates.logic_gate;operation=or;strokeColor=#000000;strokeWidth=3;fillColor=none;fontStyle=1;fontSize=20;labelPosition=center;" parent="7ks481zEIm87HgxM2ex8-74" vertex="1">
<mxGeometry x="320" y="250" width="100" height="60" as="geometry"/>
</mxCell>
<mxCell id="QMG38J2CW0rPUgtdJ5ai-16" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0;entryY=0.25;entryDx=0;entryDy=0;entryPerimeter=0;rounded=0;strokeColor=#000000;strokeWidth=3;endArrow=none;endFill=0;" parent="7ks481zEIm87HgxM2ex8-74" source="QMG38J2CW0rPUgtdJ5ai-18" target="QMG38J2CW0rPUgtdJ5ai-23" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="QMG38J2CW0rPUgtdJ5ai-19" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0;entryY=0.75;entryDx=0;entryDy=0;entryPerimeter=0;strokeColor=#000000;strokeWidth=3;endArrow=none;endFill=0;" parent="7ks481zEIm87HgxM2ex8-74" source="QMG38J2CW0rPUgtdJ5ai-22" target="QMG38J2CW0rPUgtdJ5ai-23" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="QMG38J2CW0rPUgtdJ5ai-24" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0;entryY=0.25;entryDx=0;entryDy=0;entryPerimeter=0;strokeColor=#000000;strokeWidth=3;endArrow=none;endFill=0;" parent="7ks481zEIm87HgxM2ex8-74" source="QMG38J2CW0rPUgtdJ5ai-26" target="QMG38J2CW0rPUgtdJ5ai-18" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="QMG38J2CW0rPUgtdJ5ai-25" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;strokeColor=#000000;strokeWidth=3;endArrow=none;endFill=0;" parent="7ks481zEIm87HgxM2ex8-74" source="QMG38J2CW0rPUgtdJ5ai-26" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="140" y="10" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="QMG38J2CW0rPUgtdJ5ai-26" value="" style="verticalLabelPosition=middle;shadow=0;dashed=0;align=center;html=1;verticalAlign=middle;shape=mxgraph.electrical.logic_gates.inverter_2;strokeColor=#000000;strokeWidth=3;fillColor=none;rotation=90;fontColor=#000000;labelPosition=center;fontStyle=1;fontSize=15;" parent="7ks481zEIm87HgxM2ex8-74" vertex="1">
<mxGeometry x="90" y="100" width="100" height="60" as="geometry"/>
</mxCell>
<mxCell id="QMG38J2CW0rPUgtdJ5ai-27" value="&lt;font color=&quot;#000000&quot; style=&quot;font-size: 24px;&quot;&gt;S&lt;/font&gt;" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=0;strokeWidth=3;fontStyle=1;fontSize=24;" parent="7ks481zEIm87HgxM2ex8-74" vertex="1">
<mxGeometry x="130" width="60" height="30" as="geometry"/>
</mxCell>
<mxCell id="QMG38J2CW0rPUgtdJ5ai-28" value="&lt;font color=&quot;#000000&quot;&gt;in0&lt;/font&gt;" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=0;strokeWidth=3;fontStyle=1;fontSize=24;" parent="7ks481zEIm87HgxM2ex8-74" vertex="1">
<mxGeometry y="220" width="60" height="30" as="geometry"/>
</mxCell>
<mxCell id="QMG38J2CW0rPUgtdJ5ai-29" value="&lt;font color=&quot;#000000&quot;&gt;in1&lt;/font&gt;" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=0;strokeWidth=3;fontStyle=1;fontSize=24;" parent="7ks481zEIm87HgxM2ex8-74" vertex="1">
<mxGeometry y="320" width="60" height="30" as="geometry"/>
</mxCell>
<mxCell id="QMG38J2CW0rPUgtdJ5ai-30" value="&lt;font color=&quot;#000000&quot;&gt;out&lt;/font&gt;" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=0;strokeWidth=3;fontStyle=1;fontSize=24;" parent="7ks481zEIm87HgxM2ex8-74" vertex="1">
<mxGeometry x="420" y="265" width="60" height="30" as="geometry"/>
</mxCell>
<mxCell id="QMG38J2CW0rPUgtdJ5ai-31" value="&lt;font color=&quot;#000000&quot; style=&quot;font-size: 17px;&quot;&gt;NOT&lt;/font&gt;" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=0;strokeWidth=3;fontStyle=1;fontSize=17;" parent="7ks481zEIm87HgxM2ex8-74" vertex="1">
<mxGeometry x="110" y="93" width="60" height="30" as="geometry"/>
</mxCell>
<mxCell id="7ks481zEIm87HgxM2ex8-75" value="" style="group" parent="1" vertex="1" connectable="0">
<mxGeometry x="370" y="20" width="170" height="160" as="geometry"/>
</mxCell>
<mxCell id="QwQY3PDaorP3m9qOKkc0-16" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;strokeColor=#000000;strokeWidth=3;fontSize=17;fontColor=#000000;startArrow=none;startFill=0;endArrow=none;endFill=0;" parent="7ks481zEIm87HgxM2ex8-75" source="QwQY3PDaorP3m9qOKkc0-20" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="79.80952380952385" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="QwQY3PDaorP3m9qOKkc0-17" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;strokeColor=#000000;strokeWidth=3;fontSize=17;fontColor=#000000;startArrow=none;startFill=0;endArrow=none;endFill=0;" parent="7ks481zEIm87HgxM2ex8-75" source="QwQY3PDaorP3m9qOKkc0-20" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="150" y="99.90476190476193" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="QwQY3PDaorP3m9qOKkc0-18" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.25;exitY=1;exitDx=0;exitDy=0;strokeColor=#000000;strokeWidth=3;fontSize=17;fontColor=#000000;startArrow=none;startFill=0;endArrow=none;endFill=0;" parent="7ks481zEIm87HgxM2ex8-75" source="QwQY3PDaorP3m9qOKkc0-20" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint y="69.90476190476193" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="QwQY3PDaorP3m9qOKkc0-19" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.75;exitY=1;exitDx=0;exitDy=0;strokeColor=#000000;strokeWidth=3;fontSize=17;fontColor=#000000;startArrow=none;startFill=0;endArrow=none;endFill=0;" parent="7ks481zEIm87HgxM2ex8-75" source="QwQY3PDaorP3m9qOKkc0-20" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint y="129.90476190476193" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="QwQY3PDaorP3m9qOKkc0-20" value="MUX" style="shape=trapezoid;perimeter=trapezoidPerimeter;whiteSpace=wrap;html=1;fixedSize=1;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=3;fontSize=17;fontColor=#000000;fillColor=none;rotation=90;" parent="7ks481zEIm87HgxM2ex8-75" vertex="1">
<mxGeometry x="20" y="70" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="QwQY3PDaorP3m9qOKkc0-21" value="0" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=0;labelBackgroundColor=none;strokeWidth=3;fontSize=17;fontColor=#000000;" parent="7ks481zEIm87HgxM2ex8-75" vertex="1">
<mxGeometry x="40" y="56" width="40" height="30" as="geometry"/>
</mxCell>
<mxCell id="QwQY3PDaorP3m9qOKkc0-22" value="1" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=0;labelBackgroundColor=none;strokeWidth=3;fontSize=17;fontColor=#000000;" parent="7ks481zEIm87HgxM2ex8-75" vertex="1">
<mxGeometry x="40" y="116" width="40" height="30" as="geometry"/>
</mxCell>
<mxCell id="QwQY3PDaorP3m9qOKkc0-23" value="in0" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=0;labelBackgroundColor=none;strokeWidth=3;fontSize=17;fontColor=#000000;" parent="7ks481zEIm87HgxM2ex8-75" vertex="1">
<mxGeometry y="40" width="40" height="30" as="geometry"/>
</mxCell>
<mxCell id="QwQY3PDaorP3m9qOKkc0-24" value="in1" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=0;labelBackgroundColor=none;strokeWidth=3;fontSize=17;fontColor=#000000;" parent="7ks481zEIm87HgxM2ex8-75" vertex="1">
<mxGeometry x="2" y="101" width="40" height="30" as="geometry"/>
</mxCell>
<mxCell id="QwQY3PDaorP3m9qOKkc0-25" value="s" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=0;labelBackgroundColor=none;strokeWidth=3;fontSize=17;fontColor=#000000;" parent="7ks481zEIm87HgxM2ex8-75" vertex="1">
<mxGeometry x="80" width="40" height="30" as="geometry"/>
</mxCell>
<mxCell id="QwQY3PDaorP3m9qOKkc0-26" value="out" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=0;labelBackgroundColor=none;strokeWidth=3;fontSize=17;fontColor=#000000;" parent="7ks481zEIm87HgxM2ex8-75" vertex="1">
<mxGeometry x="130" y="71" width="40" height="30" as="geometry"/>
</mxCell>
<mxCell id="7ks481zEIm87HgxM2ex8-76" value="" style="group" parent="1" vertex="1" connectable="0">
<mxGeometry x="20" y="40" width="330" height="150" as="geometry"/>
</mxCell>
<mxCell id="2" value="&lt;font color=&quot;#000000&quot;&gt;and1&lt;/font&gt;" style="verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;html=1;verticalAlign=top;shape=mxgraph.electrical.logic_gates.logic_gate;operation=and;fillColor=none;strokeColor=#000000;strokeWidth=3;fontStyle=1;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;connectable=1;" parent="7ks481zEIm87HgxM2ex8-76" vertex="1">
<mxGeometry x="40" width="100" height="60" as="geometry"/>
</mxCell>
<mxCell id="3" value="&lt;font color=&quot;#000000&quot;&gt;and2&lt;/font&gt;" style="verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;html=1;verticalAlign=top;shape=mxgraph.electrical.logic_gates.logic_gate;operation=and;fillColor=none;strokeColor=#000000;strokeWidth=3;fontStyle=1;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;connectable=1;" parent="7ks481zEIm87HgxM2ex8-76" vertex="1">
<mxGeometry x="40" y="90" width="100" height="60" as="geometry"/>
</mxCell>
<mxCell id="4" value="and3" style="verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;html=1;verticalAlign=top;shape=mxgraph.electrical.logic_gates.logic_gate;operation=and;fillColor=none;strokeColor=#000000;strokeWidth=3;fontColor=#000000;fontStyle=1;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;connectable=1;" parent="7ks481zEIm87HgxM2ex8-76" vertex="1">
<mxGeometry x="190" y="43" width="100" height="60" as="geometry"/>
</mxCell>
<mxCell id="6" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0;entryY=0.25;entryDx=0;entryDy=0;entryPerimeter=0;strokeColor=#000000;rounded=0;strokeWidth=3;endArrow=none;endFill=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;connectable=1;" parent="7ks481zEIm87HgxM2ex8-76" source="2" target="4" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="7" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0;entryY=0.75;entryDx=0;entryDy=0;entryPerimeter=0;strokeColor=#000000;strokeWidth=3;endArrow=none;endFill=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;connectable=1;" parent="7ks481zEIm87HgxM2ex8-76" source="3" target="4" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="8" value="a" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=0;strokeWidth=3;fontColor=#000000;fontStyle=1;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;connectable=1;" parent="7ks481zEIm87HgxM2ex8-76" vertex="1">
<mxGeometry width="60" height="30" as="geometry"/>
</mxCell>
<mxCell id="9" value="b" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=0;strokeWidth=3;fontColor=#000000;fontStyle=1;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;connectable=1;" parent="7ks481zEIm87HgxM2ex8-76" vertex="1">
<mxGeometry y="30" width="60" height="30" as="geometry"/>
</mxCell>
<mxCell id="11" value="c" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=0;strokeWidth=3;fontColor=#000000;fontStyle=1;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;connectable=1;" parent="7ks481zEIm87HgxM2ex8-76" vertex="1">
<mxGeometry y="90" width="60" height="30" as="geometry"/>
</mxCell>
<mxCell id="12" value="d" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=0;strokeWidth=3;fontColor=#000000;fontStyle=1;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;connectable=1;" parent="7ks481zEIm87HgxM2ex8-76" vertex="1">
<mxGeometry y="120" width="60" height="30" as="geometry"/>
</mxCell>
<mxCell id="13" value="y1" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=0;strokeWidth=3;fontColor=#000000;fontStyle=1;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;connectable=1;" parent="7ks481zEIm87HgxM2ex8-76" vertex="1">
<mxGeometry x="110" width="60" height="30" as="geometry"/>
</mxCell>
<mxCell id="15" value="y2" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=0;strokeWidth=3;fontColor=#000000;fontStyle=1;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;connectable=1;" parent="7ks481zEIm87HgxM2ex8-76" vertex="1">
<mxGeometry x="110" y="90" width="60" height="30" as="geometry"/>
</mxCell>
<mxCell id="16" value="y" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=0;strokeWidth=3;fontColor=#000000;fontStyle=1;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;connectable=1;" parent="7ks481zEIm87HgxM2ex8-76" vertex="1">
<mxGeometry x="270" y="57" width="60" height="30" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
<diagram id="5C8ZGqh4Hf1FeQuMz4j9" name="全加器">
<mxGraphModel dx="1392" dy="1142" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1169" pageHeight="827" background="#ffffff" math="0" shadow="0">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="gzdv8FFXtKBTtcGOgYej-1" value="" style="group" vertex="1" connectable="0" parent="1">
<mxGeometry x="100" y="410" width="609" height="336" as="geometry"/>
</mxCell>
<mxCell id="gzdv8FFXtKBTtcGOgYej-2" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0;exitY=0.25;exitDx=0;exitDy=0;exitPerimeter=0;strokeWidth=3;endArrow=none;endFill=0;" edge="1" parent="gzdv8FFXtKBTtcGOgYej-1" source="gzdv8FFXtKBTtcGOgYej-3">
<mxGeometry relative="1" as="geometry">
<mxPoint x="52" y="134.75862068965523" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="gzdv8FFXtKBTtcGOgYej-3" value="XOR" style="verticalLabelPosition=middle;shadow=0;dashed=0;align=center;html=1;verticalAlign=middle;shape=mxgraph.electrical.logic_gates.logic_gate;operation=xor;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=3;fontColor=#000000;fillColor=none;fontStyle=1;labelPosition=center;" vertex="1" parent="gzdv8FFXtKBTtcGOgYej-1">
<mxGeometry x="122" y="120" width="100" height="60" as="geometry"/>
</mxCell>
<mxCell id="gzdv8FFXtKBTtcGOgYej-4" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0;exitY=0.25;exitDx=0;exitDy=0;exitPerimeter=0;strokeWidth=3;endArrow=oval;endFill=1;" edge="1" parent="gzdv8FFXtKBTtcGOgYej-1" source="gzdv8FFXtKBTtcGOgYej-6">
<mxGeometry relative="1" as="geometry">
<mxPoint x="262" y="46" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="gzdv8FFXtKBTtcGOgYej-5" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0;exitY=0.75;exitDx=0;exitDy=0;exitPerimeter=0;strokeWidth=3;endArrow=oval;endFill=1;" edge="1" parent="gzdv8FFXtKBTtcGOgYej-1" source="gzdv8FFXtKBTtcGOgYej-6">
<mxGeometry relative="1" as="geometry">
<mxPoint x="212" y="15.999999999999886" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="gzdv8FFXtKBTtcGOgYej-6" value="AND" style="verticalLabelPosition=middle;shadow=0;dashed=0;align=center;html=1;verticalAlign=middle;shape=mxgraph.electrical.logic_gates.logic_gate;operation=and;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=3;fontColor=#000000;fillColor=none;labelPosition=center;fontStyle=1" vertex="1" parent="gzdv8FFXtKBTtcGOgYej-1">
<mxGeometry x="282" y="206" width="100" height="60" as="geometry"/>
</mxCell>
<mxCell id="gzdv8FFXtKBTtcGOgYej-7" value="OR" style="verticalLabelPosition=middle;shadow=0;dashed=0;align=center;html=1;verticalAlign=middle;shape=mxgraph.electrical.logic_gates.logic_gate;operation=or;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=3;fontColor=#000000;fillColor=none;fontStyle=1;labelPosition=center;" vertex="1" parent="gzdv8FFXtKBTtcGOgYej-1">
<mxGeometry x="442" y="61" width="100" height="60" as="geometry"/>
</mxCell>
<mxCell id="gzdv8FFXtKBTtcGOgYej-8" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0;entryY=0.25;entryDx=0;entryDy=0;entryPerimeter=0;strokeColor=#000000;strokeWidth=3;fontColor=#000000;startArrow=none;startFill=0;endArrow=none;endFill=0;" edge="1" parent="gzdv8FFXtKBTtcGOgYej-1" source="gzdv8FFXtKBTtcGOgYej-6" target="gzdv8FFXtKBTtcGOgYej-7">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="402" y="236"/>
<mxPoint x="402" y="76"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="gzdv8FFXtKBTtcGOgYej-9" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0;exitY=0.25;exitDx=0;exitDy=0;exitPerimeter=0;strokeWidth=3;endArrow=oval;endFill=1;" edge="1" parent="gzdv8FFXtKBTtcGOgYej-1" source="gzdv8FFXtKBTtcGOgYej-12">
<mxGeometry relative="1" as="geometry">
<mxPoint x="102" y="166" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="gzdv8FFXtKBTtcGOgYej-10" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0;exitY=0.75;exitDx=0;exitDy=0;exitPerimeter=0;strokeWidth=3;endArrow=oval;endFill=1;" edge="1" parent="gzdv8FFXtKBTtcGOgYej-1" source="gzdv8FFXtKBTtcGOgYej-12">
<mxGeometry relative="1" as="geometry">
<mxPoint x="72" y="136" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="gzdv8FFXtKBTtcGOgYej-11" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0;entryY=0.75;entryDx=0;entryDy=0;entryPerimeter=0;strokeWidth=3;endArrow=none;endFill=0;" edge="1" parent="gzdv8FFXtKBTtcGOgYej-1" source="gzdv8FFXtKBTtcGOgYej-12" target="gzdv8FFXtKBTtcGOgYej-7">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="442" y="306"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="gzdv8FFXtKBTtcGOgYej-12" value="AND" style="verticalLabelPosition=middle;shadow=0;dashed=0;align=center;html=1;verticalAlign=middle;shape=mxgraph.electrical.logic_gates.logic_gate;operation=and;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=3;fontColor=#000000;fillColor=none;labelPosition=center;fontStyle=1" vertex="1" parent="gzdv8FFXtKBTtcGOgYej-1">
<mxGeometry x="122" y="276" width="100" height="60" as="geometry"/>
</mxCell>
<mxCell id="gzdv8FFXtKBTtcGOgYej-13" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;strokeWidth=3;endArrow=none;endFill=0;" edge="1" parent="gzdv8FFXtKBTtcGOgYej-1" source="gzdv8FFXtKBTtcGOgYej-15">
<mxGeometry relative="1" as="geometry">
<mxPoint x="541.9999999999998" y="30.470588235294144" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="gzdv8FFXtKBTtcGOgYej-14" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0;exitY=0.25;exitDx=0;exitDy=0;exitPerimeter=0;strokeWidth=3;endArrow=none;endFill=0;" edge="1" parent="gzdv8FFXtKBTtcGOgYej-1" source="gzdv8FFXtKBTtcGOgYej-15">
<mxGeometry relative="1" as="geometry">
<mxPoint x="52" y="16.35294117647061" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="gzdv8FFXtKBTtcGOgYej-15" value="XOR" style="verticalLabelPosition=middle;shadow=0;dashed=0;align=center;html=1;verticalAlign=middle;shape=mxgraph.electrical.logic_gates.logic_gate;operation=xor;labelBackgroundColor=none;strokeColor=#000000;strokeWidth=3;fontColor=#000000;fillColor=none;fontStyle=1;labelPosition=center;" vertex="1" parent="gzdv8FFXtKBTtcGOgYej-1">
<mxGeometry x="282" y="1" width="100" height="60" as="geometry"/>
</mxCell>
<mxCell id="gzdv8FFXtKBTtcGOgYej-16" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0;entryY=0.75;entryDx=0;entryDy=0;entryPerimeter=0;strokeWidth=3;endArrow=none;endFill=0;" edge="1" parent="gzdv8FFXtKBTtcGOgYej-1" source="gzdv8FFXtKBTtcGOgYej-3" target="gzdv8FFXtKBTtcGOgYej-15">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="242" y="150"/>
<mxPoint x="242" y="46"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="gzdv8FFXtKBTtcGOgYej-17" value="Cin" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontStyle=1;fontSize=25;" vertex="1" parent="gzdv8FFXtKBTtcGOgYej-1">
<mxGeometry width="60" height="30" as="geometry"/>
</mxCell>
<mxCell id="gzdv8FFXtKBTtcGOgYej-18" value="A" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontStyle=1;fontSize=25;" vertex="1" parent="gzdv8FFXtKBTtcGOgYej-1">
<mxGeometry y="120" width="60" height="30" as="geometry"/>
</mxCell>
<mxCell id="gzdv8FFXtKBTtcGOgYej-19" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0;exitY=0.75;exitDx=0;exitDy=0;exitPerimeter=0;strokeWidth=3;endArrow=none;endFill=0;" edge="1" parent="gzdv8FFXtKBTtcGOgYej-1" source="gzdv8FFXtKBTtcGOgYej-3" target="gzdv8FFXtKBTtcGOgYej-20">
<mxGeometry relative="1" as="geometry">
<mxPoint x="52" y="165.1034482758621" as="targetPoint"/>
<mxPoint x="122" y="165" as="sourcePoint"/>
</mxGeometry>
</mxCell>
<mxCell id="gzdv8FFXtKBTtcGOgYej-20" value="&lt;span style=&quot;&quot;&gt;B&lt;/span&gt;" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontStyle=1;fontSize=25;" vertex="1" parent="gzdv8FFXtKBTtcGOgYej-1">
<mxGeometry y="150" width="60" height="30" as="geometry"/>
</mxCell>
<mxCell id="gzdv8FFXtKBTtcGOgYej-21" value="S" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontStyle=1;fontSize=25;" vertex="1" parent="gzdv8FFXtKBTtcGOgYej-1">
<mxGeometry x="529" y="15" width="60" height="30" as="geometry"/>
</mxCell>
<mxCell id="gzdv8FFXtKBTtcGOgYej-22" value="Cout" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontStyle=1;fontSize=25;" vertex="1" parent="gzdv8FFXtKBTtcGOgYej-1">
<mxGeometry x="549" y="76" width="60" height="30" as="geometry"/>
</mxCell>
<mxCell id="gzdv8FFXtKBTtcGOgYej-23" value="" style="group" vertex="1" connectable="0" parent="1">
<mxGeometry x="100" y="80" width="100" height="183" as="geometry"/>
</mxCell>
<mxCell id="wTAwAFIw4sOWHSdyWEut-2" style="edgeStyle=none;html=1;exitX=0.25;exitY=0;exitDx=0;exitDy=0;fontColor=#000000;startArrow=block;startFill=1;endArrow=none;endFill=0;strokeColor=#000000;rounded=0;strokeWidth=2;" parent="gzdv8FFXtKBTtcGOgYej-23" source="wTAwAFIw4sOWHSdyWEut-1" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="30" y="22" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="wTAwAFIw4sOWHSdyWEut-3" style="edgeStyle=none;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;fontColor=#000000;endArrow=none;rounded=0;strokeColor=#000000;startArrow=block;startFill=1;endFill=0;strokeWidth=2;" parent="gzdv8FFXtKBTtcGOgYej-23" source="wTAwAFIw4sOWHSdyWEut-1" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="50" y="22" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="wTAwAFIw4sOWHSdyWEut-4" style="edgeStyle=none;html=1;exitX=0.75;exitY=0;exitDx=0;exitDy=0;fontColor=#000000;endArrow=none;rounded=0;strokeColor=#000000;startArrow=block;startFill=1;endFill=0;strokeWidth=2;" parent="gzdv8FFXtKBTtcGOgYej-23" source="wTAwAFIw4sOWHSdyWEut-1" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="70" y="22" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="wTAwAFIw4sOWHSdyWEut-5" style="edgeStyle=none;rounded=0;html=1;exitX=0.25;exitY=1;exitDx=0;exitDy=0;strokeColor=#000000;fontColor=#000000;startArrow=none;startFill=0;endArrow=block;endFill=1;strokeWidth=2;" parent="gzdv8FFXtKBTtcGOgYej-23" source="wTAwAFIw4sOWHSdyWEut-1" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="30" y="162" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="wTAwAFIw4sOWHSdyWEut-6" style="edgeStyle=none;rounded=0;html=1;exitX=0.75;exitY=1;exitDx=0;exitDy=0;strokeColor=#000000;fontColor=#000000;startArrow=none;startFill=0;endArrow=block;endFill=1;strokeWidth=2;" parent="gzdv8FFXtKBTtcGOgYej-23" source="wTAwAFIw4sOWHSdyWEut-1" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="70" y="162" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="wTAwAFIw4sOWHSdyWEut-1" value="FA" style="whiteSpace=wrap;html=1;aspect=fixed;fillColor=none;strokeColor=#000000;strokeWidth=3;fontColor=#000000;fontStyle=1" parent="gzdv8FFXtKBTtcGOgYej-23" vertex="1">
<mxGeometry x="10" y="52" width="80" height="80" as="geometry"/>
</mxCell>
<mxCell id="wTAwAFIw4sOWHSdyWEut-7" value="A" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;labelBackgroundColor=none;strokeWidth=3;fontColor=#000000;fontStyle=1" parent="gzdv8FFXtKBTtcGOgYej-23" vertex="1">
<mxGeometry width="60" height="30" as="geometry"/>
</mxCell>
<mxCell id="wTAwAFIw4sOWHSdyWEut-8" value="B" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;labelBackgroundColor=none;strokeWidth=3;fontColor=#000000;fontStyle=1" parent="gzdv8FFXtKBTtcGOgYej-23" vertex="1">
<mxGeometry x="20" width="60" height="30" as="geometry"/>
</mxCell>
<mxCell id="wTAwAFIw4sOWHSdyWEut-9" value="Cin" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;labelBackgroundColor=none;strokeWidth=3;fontColor=#000000;fontStyle=1" parent="gzdv8FFXtKBTtcGOgYej-23" vertex="1">
<mxGeometry x="40" width="60" height="30" as="geometry"/>
</mxCell>
<mxCell id="wTAwAFIw4sOWHSdyWEut-10" value="S" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;labelBackgroundColor=none;strokeWidth=3;fontColor=#000000;fontStyle=1" parent="gzdv8FFXtKBTtcGOgYej-23" vertex="1">
<mxGeometry y="153" width="60" height="30" as="geometry"/>
</mxCell>
<mxCell id="wTAwAFIw4sOWHSdyWEut-11" value="Cout" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;labelBackgroundColor=none;strokeWidth=3;fontColor=#000000;fontStyle=1" parent="gzdv8FFXtKBTtcGOgYej-23" vertex="1">
<mxGeometry x="40" y="153" width="60" height="30" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
<diagram id="E8JmcAeOklZgZ2l8eJsL" name="第 3 页">
<mxGraphModel dx="696" dy="571" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1169" pageHeight="827" math="0" shadow="0">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
</root>
</mxGraphModel>
</diagram>
</mxfile>