https://hackmd.io/@zxcj04/i2c-logic
助教: 黃爾群
FanRende (030Mortal#5525)
http://140.121.197.13/tutorial
請想辦法記住這個網址
不然就加到書籤裡
今天及未來的作業都要交到這上面
Input 1 | Input 2 | Output |
---|---|---|
False | False | False |
False | True | False |
True | False | False |
True | True | True |
Input 1 | Input 2 | Output |
---|---|---|
False | False | False |
False | True | True |
True | False | True |
True | True | True |
Input 1 | Output |
---|---|
False | True |
True | False |
Input 1 | Input 2 | Output |
---|---|---|
False | False | True |
False | True | False |
True | False | False |
True | True | False |
Input 1 | Input 2 | Output |
---|---|---|
False | False | False |
False | True | True |
True | False | True |
True | True | False |
用來將 1-bit 二進位的數字相加
結果以 S 表示 進位以 Cout 表示
A | B | S | Cout |
---|---|---|---|
0 | 0 | 0 | 0 |
0 | 1 | 1 | 0 |
1 | 0 | 1 | 0 |
1 | 1 | 0 | 1 |
用來將 1-bit 二進位的數字相加
有前一步的進位
A | B | Cin | S | Cout |
---|---|---|---|---|
0 | 0 | 0 | 0 | 0 |
0 | 0 | 1 | 1 | 0 |
0 | 1 | 0 | 1 | 0 |
0 | 1 | 1 | 0 | 1 |
1 | 0 | 0 | 1 | 0 |
1 | 0 | 1 | 0 | 1 |
1 | 1 | 0 | 0 | 1 |
1 | 1 | 1 | 1 | 1 |
作業做完請上傳到 http://140.121.197.13/tutorial
並且注意上傳時間限制、檔名、其他規範
上課時提前做完可以直接給助教 demo 登記
就不需要上傳 demo 過的部分
利用 LogicCircuit 畫出前面介紹過的 1-bit Full Adder
並產生出他的 Truth Table
請注意接點位置及工整度
結合上面的 1-bit Full Adder 做出 2-bit Full Adder
(*) 結合上面的 2-bit Full Adder 做出 4-bit Full Adder
(不計分)
6. 多 bit 的 Full Adder 被稱為 Ripple Carry Adder
請查閱與 Carry Lookahead Adder 的差別
or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing