docs: 修改全加器文档

This commit is contained in:
Liphen 2023-11-03 14:20:14 +08:00
parent 2fbc9e243c
commit 60116a1c15
2 changed files with 11 additions and 6 deletions

5
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,5 @@
{
"files.watcherExclude": {
"**/target": true
}
}

View File

@ -24,9 +24,9 @@
<img src="全加器.assets/全加器.svg" style="zoom:150%;" />
- `A``B` 是输入端口,表示要相加的两个二进制位。
- `Cin` 是输入进位端口,表示上一位的进位。
- `Cin`进位输入端口,表示上一位的进位。
- `S` 也就是 `Sum` 是输出端口,表示相加结果的当前位。
- `Cout` 是输出进位端口,表示相加结果的进位。
- `Cout`进位输出端口,表示相加结果的进位。
### 2. 电路图
@ -56,8 +56,8 @@ endmodule
在上述代码中,顶层模块名为 `FullAdder`,它有五个端口:
- `A``B` 是输入端口,表示要相加的两个二进制位。
- `Cin` 是输入进位端口,表示上一位的进位。
- `Sum` 是输出端口,表示相加结果的当前位。
- `Cout` 是输出进位端口,表示相加结果的进位。
- `Cin`进位输入端口,表示上一位的进位。
- `S` 是输出端口,表示相加结果的当前位。
- `Cout`进位输出端口,表示相加结果的进位。
请补充代码,完成全加器的设计。
请补充代码,完成全加器的设计。