Arduinoで3ビット加算器

  • 1,752 views
Uploaded on

Creators' Night #5

Creators' Night #5

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
1,752
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
2
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    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. 10進数 2進数 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
  • 7. とりあえずこれで出来るよ 全加算器 (full adder) Full Adder ちなみに、崎川のやつは半加算器(half adder)って言うシロモノですMonday, April 23, 12
  • 8. とりあえずこれで出来るよ 全加算器 (full adder) Full Adder ちなみに、崎川のやつは半加算器(half adder)って言うシロモノです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. をしたいのですが1時間 くらいかかるので・・・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での実装 スイッチx6 入力LEDx6 出力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