KBone12 / nand2tetris-rs

I try doing [Nand to Tetris](https://www.nand2tetris.org/) in Rust.
https://kbone12.github.io/nand2tetris-rs/
1 stars 0 forks source link

Xor, Mux, DMux を実装する #8

Closed KBone12 closed 3 years ago

KBone12 commented 3 years ago

Xor, Multiplexor, Demultiplexor を実装する。

KBone12 commented 3 years ago

Xor

X Y out
0 0 0
0 1 1
1 0 1
1 1 0

Mux

X Y selector out
0 0 0 0
0 1 0 0
1 0 0 1
1 1 0 1
0 0 1 0
0 1 1 1
1 0 1 0
1 1 1 1

DMux

in selector X Y
0 0 0 0
0 1 0 0
1 0 1 0
1 1 0 1
KBone12 commented 3 years ago

680bacd で実装したので close します。