LoginSignup
1

More than 3 years have passed since last update.

Nandはすごい(コンピュータシステムの理論と実装)

Posted at

Nand(a=in,b=in,out=out)
でNotになる
110
001
反転

Nand(a=a,b=b,out=w)
Nand(a=w,b=w,out=out)
でAndになる
Nandの結果をNot
0011
0101
1110
0001
Nandして反転

Nand(a=a,b=a,out=w1)
Nand(a=b,b=b,out=w2)
Nand(a=w1,b=w2,out=out)
でOrになる
入力値をNotして、Nand
0011>1100
0101>1010
1110>0111
入力を反転してNand

  • 総当たりでこの組み合わせを見つけたが、方法はこれでよかったのだろうか。。
  • 読んでる時は、できそう!て感じだったけど、やってみると理解しきれていないことに気づいた。

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
1