Difference between revisions of "Digital Logic Toolbox"

From NeatTools
Line 12: Line 12:
 
|data2=sets bit depth of output(1-32).
 
|data2=sets bit depth of output(1-32).
 
}}
 
}}
 +
If input is true, output is false, and vice versa.
 
==And==
 
==And==
 
Logical And.
 
Logical And.
Line 25: Line 26:
 
|data2=sets bit depth of output(1-32).
 
|data2=sets bit depth of output(1-32).
 
}}
 
}}
 +
If all the outputs are true, then output is true.
 +
If any inputs are
 
==Or==
 
==Or==
 
Logical Or.
 
Logical Or.
Line 38: Line 41:
 
|data2=sets bit depth of output(1-32).
 
|data2=sets bit depth of output(1-32).
 
}}
 
}}
 +
If at least one of the inputs are true, then output is true.
 
==Exclusive Or==
 
==Exclusive Or==
 
Logical Xor.
 
Logical Xor.
Line 52: Line 56:
 
}}
 
}}
 
==Integer Greater Than==
 
==Integer Greater Than==
Greater than for use with integers.[[File:greater.gif|left]]
+
Greater than for use with integers.
 +
[[File:greater.gif|left]]
 
{{module properties
 
{{module properties
 
|topinput=Input 2, integer(1)
 
|topinput=Input 2, integer(1)
 
|leftinput=Input 1, integer(1)
 
|leftinput=Input 1, integer(1)
|rightoutput=integer(∞)
+
|rightoutput=
 
|bottomoutput=
 
|bottomoutput=
 
|label1=moduleColor
 
|label1=moduleColor
Line 63: Line 68:
 
|data2=sets bit depth of output(1-32).
 
|data2=sets bit depth of output(1-32).
 
}}
 
}}
 +
If Input 1 (left) is greater than Input 2 (top), output is true.
 
==Integer Greater Than or Equal==
 
==Integer Greater Than or Equal==
Greater than or equal for use with integers.[[File:greaterequal.gif|left]]  
+
Greater than or equal for use with integers.
 +
[[File:greaterequal.gif|left]]  
 
{{module properties
 
{{module properties
|topinput=
+
|topinput=Input 2, integer(1)
|leftinput=Input 2, integer(1)
+
|leftinput=Input 1, integer(1)
|rightoutput=Input 1, integer(1)
+
|rightoutput=integer()
 
|bottomoutput=
 
|bottomoutput=
 
|label1=moduleColor
 
|label1=moduleColor
Line 75: Line 82:
 
|data2=sets bit depth of output(1-32).
 
|data2=sets bit depth of output(1-32).
 
}}
 
}}
 
+
If Input 1 (left) is greater than or equal to Input 2 (top), output is true.
 
==Integer Equal==
 
==Integer Equal==
Equal for use with integers.[[File:equal.gif|left]]  
+
Equal for use with integers.
 +
[[File:equal.gif|left]]
 +
{{module properties
 +
|topinput=Input 2, integer(1)
 +
|leftinput=Input 1, integer(1)
 +
|rightoutput=integer(∞)
 +
|bottomoutput=
 +
|label1=moduleColor
 +
|data1=sets module color(RGB).
 +
|label2=N bit(s)
 +
|data2=sets bit depth of output(1-32).
 +
}}
 +
If Input 1 is equal to Input 2, the output is true.
 
==Integer Not Equal==
 
==Integer Not Equal==
Not Equal for use with integers.[[File:notequal.gif]]  
+
Not Equal for use with integers.
 +
[[File:notequal.gif]]
 +
{{module properties
 +
|topinput=Input 2, integer(1)
 +
|leftinput=Input 1, integer(1)
 +
|rightoutput=integer(∞)
 +
|bottomoutput=
 +
|label1=moduleColor
 +
|data1=sets module color(RGB).
 +
|label2=N bit(s)
 +
|data2=sets bit depth of output(1-32).
 +
}}
 +
If Input 1 is not equal to Input 2, the output is true.
 
==Integer Add==
 
==Integer Add==
Addition for use with integers.[[File:add.gif]]  
+
Addition for use with integers.
 +
[[File:add.gif]]
 +
{{module properties
 +
|topinput=
 +
|leftinput=integer(∞)
 +
|rightoutput=integer(∞)
 +
|bottomoutput=
 +
|label1=moduleColor
 +
|data1=sets module color(RGB).
 +
|label2=N bit(s)
 +
|data2=sets bit depth of output(1-32).
 +
}}
 +
Sums all inputs and outputs the result.
 
==Integer Multiply==
 
==Integer Multiply==
Multiplication for use with integers.[[File:multiply.gif]]  
+
Multiplication for use with integers.
 +
[[File:multiply.gif]]  
 
==Integer Subtract==
 
==Integer Subtract==
[[File:subtract.gif]] Subtraction for use with integers.
+
Subtraction for use with integers.
 +
[[File:subtract.gif]]
 
==Integer Divide==
 
==Integer Divide==
 
[[File:divide.gif]] Division for use with integers.
 
[[File:divide.gif]] Division for use with integers.

Revision as of 14:14, 23 January 2010

Not

Logical Negate (bitwise).

Not.gif
Module I/O
Left Input(s): integer(1)
Right Output(s): integer(∞)
Module Properties
moduleColorsets module color(RGB).
N bit(s)sets bit depth of output(1-32).

If input is true, output is false, and vice versa.

And

Logical And.

And.gif
Module I/O
Left Input(s): integer(∞)
Right Output(s): integer(∞)
Module Properties
moduleColorsets module color(RGB).
N bit(s)sets bit depth of output(1-32).

If all the outputs are true, then output is true. If any inputs are

Or

Logical Or.

Or.gif
Module I/O
Left Input(s): integer(∞)
Right Output(s): integer(∞)
Module Properties
moduleColorsets module color(RGB).
N bit(s)sets bit depth of output(1-32).

If at least one of the inputs are true, then output is true.

Exclusive Or

Logical Xor.

Xor.gif
Module I/O
Left Input(s): integer(∞)
Right Output(s): integer(∞)
Module Properties
moduleColorsets module color(RGB).
N bit(s)sets bit depth of output(1-32).

Integer Greater Than

Greater than for use with integers.

Greater.gif
Module I/O
Top Input(s): Input 2, integer(1)
Left Input(s): Input 1, integer(1)
Module Properties
moduleColorsets module color(RGB).
N bit(s)sets bit depth of output(1-32).

If Input 1 (left) is greater than Input 2 (top), output is true.

Integer Greater Than or Equal

Greater than or equal for use with integers.

Greaterequal.gif
Module I/O
Top Input(s): Input 2, integer(1)
Left Input(s): Input 1, integer(1)
Right Output(s): integer(∞)
Module Properties
moduleColorsets module color(RGB).
N bit(s)sets bit depth of output(1-32).

If Input 1 (left) is greater than or equal to Input 2 (top), output is true.

Integer Equal

Equal for use with integers.

Equal.gif
Module I/O
Top Input(s): Input 2, integer(1)
Left Input(s): Input 1, integer(1)
Right Output(s): integer(∞)
Module Properties
moduleColorsets module color(RGB).
N bit(s)sets bit depth of output(1-32).

If Input 1 is equal to Input 2, the output is true.

Integer Not Equal

Not Equal for use with integers. Notequal.gif

Module I/O
Top Input(s): Input 2, integer(1)
Left Input(s): Input 1, integer(1)
Right Output(s): integer(∞)
Module Properties
moduleColorsets module color(RGB).
N bit(s)sets bit depth of output(1-32).

If Input 1 is not equal to Input 2, the output is true.

Integer Add

Addition for use with integers. Add.gif

Module I/O
Left Input(s): integer(∞)
Right Output(s): integer(∞)
Module Properties
moduleColorsets module color(RGB).
N bit(s)sets bit depth of output(1-32).

Sums all inputs and outputs the result.

Integer Multiply

Multiplication for use with integers. Multiply.gif

Integer Subtract

Subtraction for use with integers. Subtract.gif

Integer Divide

Divide.gif Division for use with integers.

Integer Absolute Value

Absvalue.gif Calculates absolute value.

Integer Power

Power.gif Raises integer to a power.

Integer Maximum

Max.gif Outputs the maximum integer value.

Integer Minimum

Min.gif Outputs the minimum integer value.

Integer Percent

Percent.gif Calculates remainder (for use with integers).

Integer Random

Random.gif Generates a random integer value.

Control

Control.gif Opens and closes a switch.

Sample

Sample.gif Sample input values on demand.

Pulse

Pulse.gif Event production shaped pulse.

Delay

Delay.gif Delays sending current value until next event is received.

Accumulator

Accumulate.gif Counts events.

Multiplexer

Mux.gif Selects on input to be current output.

DeMultiplexer

Demux.gif Sends signal input to selected output.

Encoder

Encode.gif Converts bytes to integers.

Decoder

Decode.gif Converts the byte values of integers.

Exclusive

Exclusive.gif For radio button.

Clock Divider

Clockdivide.gif Cycling clock.

Time

Time.gif Provides current time (use with date module).

High Performance Counter

HPC.gif For fast timing.

Calibrate

Calibrate.gif Accommodates signal range (min to max).

Average Filter

Average.gif Running average.

Delay Sustain

Delaysustain.gif For use with musical modules.

State Object

State.gif State machine element (advanced).

Timers

Timer.gif Activates at regular specified time intervals.