0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

基本情報(論理回路と基本回路)

Posted at

論理回路

論理回路という言葉が出てきた時に、「論理演算とどう違うんじゃ」と思いました。
「論理演算する回路が論理回路。そもそもパソコンは機械だからね」という説明を見たときに3回パソコンの前で頷きました。一人で。

まずは基本的な3つの回路である

  • 論理積回路(AND回路)
  • 論理和回路(OR回路)
  • 否定回路(NOT回路)

3つの回路は基本回路と呼ばれているらしいです。

論理積回路(AND回路)

AND-gate-US.png
AとB入力がどちらも1だと出力は1

真理値表が出てきたので、まとめてみます

A B Y
0 0 0
0 1 0
1 0 0
1 1 1

全部で4パターンですね。シンプル。

論理和回路(OR回路)

OR-gate-US.png
AかBのどちらかが1だと出力も1

A B Y
0 0 0
0 1 1
1 0 1
1 1 1

否定回路(NOT回路)

128px-Not-gate-en.svg.png
おでんにしか見えない

A Y
0 1
1 0

2パターンしかないですね。図で表すとわかりやすいですね。

まとめ

組み合わせると複雑になるのでシンプルに考えるように鍛えます。
明日は引き続き回路を書いていきます。

参考

論理回路

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?