November 2017
Intermediate to advanced
670 pages
17h 35m
English
Unix pipes can also be used to model the flow control of NAND gates of a CMOS device.
Assuming nil represents and electron then, /dev/zero (aka VSS) provides an infinite supply of electrons and /dev/null (aka VDD) will consume every electron sent to it.

In our model, the UNIX pipe acts like a wire. When the pipe is connected to Vss, its buffer fills up with nil-bytes and the pipe acts like a negatively charged metal plate. When it is connected to Vdd, the pipe's buffer is drained, and the pipe acts like a positively charged metal plate. Unix pipes are used to model flow control in our NAND logic ...
Read now
Unlock full access