Logic concepts:
In pure logic, there are only two logical values: "TRUE" and "FALSE".
There are three fundamental logical operators. They are "NOT", "AND" and "OR".
From the combinaison of those 3 logical operators the other logical operators can be build.
Ex: The NOT operator works as follow:
If it is NOT "TRUE" then it must be "FALSE".
Conversely, if it is NOT "FALSE", it must be "TRUE".
Logic in Mathematics:
In boolean mathematics "TRUE" is also represented by 1
and "FALSE" is represented by 0.
Check here to get the thruth table of all basic operators.
Logic in computer hardware:
In most of the computer "TRUE" represents voltage, and "FALSE" is the grount (0 volt)
(e.g.: 0 volt, represents 0 which means "FALSE"
5 volts* represents 1 which means "TRUE"
* It may be a different voltage in a different computer but the concept is still the same.
* It may be a different voltage in a different computer but the concept is still the same.
Logic Gates are used to control the flow of electricity around an electrical circuit. Opening or closing gates allows electricity to flow or impedes its flow. Logic gates are more than simple switches because they usually have two inputs and the output depends upon the combination of inputs streams. There are different types of Logic Gates with different matches of input to output.
Modern logic gates are built of transistors and have many thousands on a simple chip.
Logic in the LG1 shareware game:
In the LG1 game, "TRUE" is represented by the RED + and "FALSE" by the GREEN -.
You must fire positive and negative electrical discharges at each gate to make the circuit's output polarity match a target charge.
Logic design in LG1 VS computer architecture
|
Lg1 design |
Logic design |
Description |
|
|
|
Inverter (NOT)
|
|
|
|
Or gate
|
|
|
|
And gate
|
|
|
|
Eor gate (Exclusive OR gate) |
Learn logic gates with the LG1 game