Logic Gates Effects

 

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.

Ex: The NOT operator works as follows:   not(0) = 1   not(1) = 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.

Ex: The chip with the electronic NOT operator works as follows:   Roughly, if you apply +5 volts to the input wire of a "NOT CHIP"   its output wire will be set to 0 volt (GROUND).   Conversely, if you set the input wire to 0 volt (GROUND) its output   wire will be set to (+5 volt).

  * 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.

Ex: The "NOT alien ship" could be solve this way:   When you fire the input antenna of a "NOT ship" with a RED discharge , its output antenna will be set to GREEN.  Conversely, if you hit the input antenna with a GREEN discharge, its output wire will be set to RED.  

Logic design in LG1 VS computer architecture

Lg1 design

Logic design

Description

Inverter (NOT)

 

 

 Or gate

 

 

 

 

And gate

 

 

Eor gate

(Exclusive OR gate)

 

 

  Back to main menu Learn logic gates with the LG1 game

Hosted by www.Geocities.ws

1