0
Upcoming SlideShare
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Standard text messaging rates apply

# Arduinoで3ビット加算器

1,827

Published on

Creators' Night #5

Creators' Night #5

Published in: Technology
0 Likes
Statistics
Notes
• Full Name
Comment goes here.

Are you sure you want to Yes No
• Be the first to comment

• Be the first to like this

Views
Total Views
1,827
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
3
0
Likes
0
Embeds 0
No embeds

No notes for slide

### Transcript

1. 加算器の実装をしてみた NPLab - Creators’ Night #5 2012/4/20 杉本 知洋Monday, April 23, 12
2. 2進数の加算Monday, April 23, 12
3. 今回は・・・Monday, April 23, 12
4. 中途半端な 3-bit adder! (unsigned)Monday, April 23, 12
5. １０進数 ２進数 0+0=0 000 + 000 = (0)000 0+1=1 000 + 001 = (0)001 1+1=2 001 + 001 = (0)010 1+2=3 010 + 001 = (0)011 2+2=4 010 + 010 = (0)100 . . . . . . 7 + 7 = 14 111 + 111 = (1)110 （0）← キャリービットですMonday, April 23, 12
6. 足し算の繰上り（carry）が 発生しますよねMonday, April 23, 12
9. Half o0 a0 b0 Adder c0 Full o1 a1 b1 Adder c1 Full o2 a2 b2 Adder c2 c2o2o1o0 = a2a1a0 + b2b1b0Monday, April 23, 12
10. 少しエンジニアっぽい話しをするとMonday, April 23, 12
11. 弱点は遅延ですMonday, April 23, 12
12. Half o0 a0 b0 Adder c0 Full o1 a1 b1 Adder c1 Full o2 a2 b2 Adder c2Monday, April 23, 12
13. Half o0 a0 b0 Adder c0 Full o1 a1 b1 Adder c1 Full o2 a2 b2 Adder c2 急にビットが来たので・・・ は許されない！Monday, April 23, 12
14. そこで先読加算器の話・・・Monday, April 23, 12
15. をしたいのですが１時間 くらいかかるので・・・Monday, April 23, 12
16. 絵だけをお楽しみ下さいMonday, April 23, 12
17. Monday, April 23, 12
18. Monday, April 23, 12
19. 実装Monday, April 23, 12
20. コードは簡単ですMonday, April 23, 12
21. Arudinoでの実装 スイッチｘ６ 入力LEDｘ６ 出力LED x 4Monday, April 23, 12
22. Monday, April 23, 12
23. これだけもあれなんでMonday, April 23, 12
24. VerilogやっちゃいますかMonday, April 23, 12
25. 3-bit adderのシミュレーションMonday, April 23, 12
26. Monday, April 23, 12
27. 全組み合わせのテスト 書いてるだけですMonday, April 23, 12
28. シミュレーション結果Monday, April 23, 12
29. ということでMonday, April 23, 12
30. 簡単なデモでもどうぞMonday, April 23, 12
31. ご清聴ありがとうございましたMonday, April 23, 12