beans computing page

This commit is contained in:
sejo 2021-08-25 18:54:11 -05:00
parent 25072da4d4
commit a752ed33f6
3 changed files with 29 additions and 0 deletions

23
src/beans_computing.gmo Normal file
View File

@ -0,0 +1,23 @@
# beans computing
digital systems based on manipulating beans according to simple logical rules.
inspired by {the beans computer}, but going at a lower level.
# truth tables
we have only two classes of beans: black (1), and non-black (0).
these tables correspond to the NOT and NOR logical operations.
they show their possible inputs at their left, and their corresponding outputs to the right.
=> ./img/foto_beans-computing_truth-tables.png photo of the NOT and NOR truth tables, composed of beans in a greenish surface
* NOT: the output is the opposite of the input. (table at the top left)
* NOR: the output is black only when none of the inputs are black. in any other case, the output is non-black. (table at the center) {nor}
if you look closely you'll see that NOT can be defined the same way as NOR.
by combining multiple instances of these logic operations, we could build any possible digital behavior.

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

View File

@ -1,3 +1,9 @@
# NOR gate
una de las {compuertas} lógicas más recurrentes en los trabajos de compudanzas.
# truth table
the output is 1 only when none of the inputs are 0.
in any other case, the output is 0.