diff --git a/src/beans_computing.gmo b/src/beans_computing.gmo index 584fd7d..1da3edc 100644 --- a/src/beans_computing.gmo +++ b/src/beans_computing.gmo @@ -14,10 +14,34 @@ they show their possible inputs at their left, and their corresponding outputs t => ./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) +## NOT -* 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} +NOT: the output is the opposite of the input. (table at the top left) + ++ ++ ++ ++ ++
inputoutput
01
10
+& * input: 0, output: 1 +& * input: 1, output: 0 + +## NOR + +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} + ++ ++ ++ ++ ++ ++ ++
inputsoutput
001
010
100
110
+& * inputs: 00, output: 1 +& * inputs: 01, output: 0 +& * inputs: 10, output: 0 +& * inputs: 11, output: 0 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. +by combining multiple instances of this logic operation, we could build any possible digital behavior. diff --git a/src/compuertas.gmo b/src/compuertas.gmo index f7ae4ec..6dd8777 100644 --- a/src/compuertas.gmo +++ b/src/compuertas.gmo @@ -1,12 +1,15 @@ # compuertas lógicas -las bases de los circuitos digitales. +las bases de los circuitos digitales, o {digital systems} -estos incluyen, claro está, a las {danzas compuertas} +estos incluyen, claro está, a las: + +=> ./danzas_compuertas.gmi {danzas compuertas} +=> ./coloring_computers.gmi {coloring computers} +=> ./beans_computing.gmi {beans computing} usamos la convención de utilizar dos valores posibles: 1 para denominar arriba, o verdadero, y 0 para denominar abajo, o falso. - # una entrada ## buffer @@ -19,6 +22,14 @@ la salida es lo opuesto a la entrada. también podríamos decir que la salida es lo que no es la entrada. ++ ++ ++ ++ ++
inputoutput
01
10
+& * input: 0, output: 1 +& * input: 1, output: 0 + # dos entradas @@ -55,6 +66,18 @@ que es lo mismo que decir que su salida es verdadera cuando todas sus entradas s en cualquier otro caso, su salida es falsa. ++ ++ ++ ++ ++ ++ ++
inputsoutput
001
010
100
110
+& * inputs: 00, output: 1 +& * inputs: 01, output: 0 +& * inputs: 10, output: 0 +& * inputs: 11, output: 0 + NOR es una de las compuertas universales: con ella se puede construir a todas las demás. esto se debe en parte a que NOR se convierte en NOT si sus dos entradas están conectadas como una sola. diff --git a/src/digital_systems.gmi b/src/digital_systems.gmi new file mode 100644 index 0000000..36c1460 --- /dev/null +++ b/src/digital_systems.gmi @@ -0,0 +1,9 @@ +# digital systems + +systems based on logic rules/gates ({compuertas}) and binary values. + +see: + +=> ./danzas_compuertas.gmi {danzas compuertas} +=> ./coloring_computers.gmi {coloring computers} +=> ./beans_computing.gmi {beans computing} diff --git a/src/nor.gmo b/src/nor.gmo index 0aaae08..89a04d3 100644 --- a/src/nor.gmo +++ b/src/nor.gmo @@ -2,8 +2,22 @@ una de las {compuertas} lógicas más recurrentes en los trabajos de compudanzas. +una de las compuertas universales: con ella podemos construir a cualquier otra. + # truth table the output is 1 only when none of the inputs are 0. in any other case, the output is 0. + ++ ++ ++ ++ ++ ++ ++
inputsoutput
001
010
100
110
+& * inputs: 00, output: 1 +& * inputs: 01, output: 0 +& * inputs: 10, output: 0 +& * inputs: 11, output: 0