Difference between revisions of "Digital Logic Toolbox"

From NeatTools
Line 13: Line 13:
 
}}
 
}}
 
If input is true, output is false, and vice versa.
 
If input is true, output is false, and vice versa.
 +
 
==And==
 
==And==
 
Logical And.
 
Logical And.
Line 28: Line 29:
 
If all the outputs are true, then output is true.
 
If all the outputs are true, then output is true.
 
If any inputs are  
 
If any inputs are  
 +
 
==Or==
 
==Or==
 
Logical Or.
 
Logical Or.
Line 42: Line 44:
 
}}
 
}}
 
If at least one of the inputs are true, then output is true.
 
If at least one of the inputs are true, then output is true.
 +
 
==Exclusive Or==
 
==Exclusive Or==
 
Logical Xor.
 
Logical Xor.
Line 55: Line 58:
 
|data2=sets bit depth of output(1-32).
 
|data2=sets bit depth of output(1-32).
 
}}
 
}}
 +
 
==Integer Greater Than==
 
==Integer Greater Than==
 
Greater than for use with integers.
 
Greater than for use with integers.
Line 69: Line 73:
 
}}
 
}}
 
If Input 1 (left) is greater than Input 2 (top), output is true.
 
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.
 
Greater than or equal for use with integers.
Line 83: Line 88:
 
}}
 
}}
 
If Input 1 (left) is greater than or equal to Input 2 (top), output is true.
 
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.
 
Equal for use with integers.
Line 97: Line 103:
 
}}
 
}}
 
If Input 1 is equal to Input 2, the output is true.
 
If Input 1 is equal to Input 2, the output is true.
 +
 
==Integer Not Equal==
 
==Integer Not Equal==
 
Not Equal for use with integers.
 
Not Equal for use with integers.
Line 111: Line 118:
 
}}
 
}}
 
If Input 1 is not equal to Input 2, the output is true.
 
If Input 1 is not equal to Input 2, the output is true.
 +
 
==Integer Add==
 
==Integer Add==
 
Addition for use with integers.
 
Addition for use with integers.
Line 121: Line 129:
 
|label1=moduleColor
 
|label1=moduleColor
 
|data1=sets module color(RGB).
 
|data1=sets module color(RGB).
|label2=N bit(s)
 
|data2=sets bit depth of output(1-32).
 
 
}}
 
}}
 
Sums all inputs and outputs the result.
 
Sums all inputs and outputs the result.
 +
 
==Integer Multiply==
 
==Integer Multiply==
 
Multiplication for use with integers.
 
Multiplication for use with integers.
 
[[File:multiply.gif|left]]  
 
[[File:multiply.gif|left]]  
 +
{{module properties
 +
|topinput=
 +
|leftinput=integer(∞)
 +
|rightoutput=integer(∞)
 +
|bottomoutput=
 +
|label1=moduleColor
 +
|data1=sets module color(RGB).
 +
}}
 +
Outputs the product of all the inputs.
 +
 
==Integer Subtract==
 
==Integer Subtract==
 
Subtraction for use with integers.
 
Subtraction for use with integers.
 
[[File:subtract.gif|left]]
 
[[File:subtract.gif|left]]
 +
{{module properties
 +
|topinput= Input 2, integer(1)
 +
|leftinput=Input 1, integer(1)
 +
|rightoutput=integer(1)
 +
|bottomoutput=
 +
|label1=moduleColor
 +
|data1=sets module color(RGB).
 +
}}
 +
Input 1 minus Input 2 equals output.
 +
 
==Integer Divide==
 
==Integer Divide==
[[File:divide.gif|left]] Division for use with integers.
+
Division for use with integers.
 +
[[File:divide.gif|left]]  
 +
==Integer Subtract==
 +
Subtraction for use with integers.
 +
[[File:subtract.gif|left]]
 +
{{module properties
 +
|topinput= Input 2, integer(1)
 +
|leftinput=Input 1, integer(1)
 +
|rightoutput=integer(1)
 +
|bottomoutput=
 +
|label1=moduleColor
 +
|data1=sets module color(RGB).
 +
}}
 +
Input 1 divided by Input 2 equals output.
 +
 
 
==Integer Absolute Value==
 
==Integer Absolute Value==
[[File:absvalue.gif|left]] Calculates absolute value.
+
Calculates absolute value.
 +
[[File:absvalue.gif|left]]
 +
 
 
==Integer Power==
 
==Integer Power==
[[File:power.gif|left]] Raises integer to a power.
+
Raises integer to a power.
 +
[[File:power.gif|left]]  
 +
 
 
==Integer Maximum==
 
==Integer Maximum==
[[File:max.gif|left]] Outputs the maximum integer value.
+
Outputs the maximum integer value.
 +
[[File:max.gif|left]]  
 +
 
 
==Integer Minimum==
 
==Integer Minimum==
[[File:min.gif|left]] Outputs the minimum integer value.
+
Outputs the minimum integer value.
 +
[[File:min.gif|left]]  
 +
 
 
==Integer Percent==
 
==Integer Percent==
[[File:percent.gif|left]] Calculates remainder (for use with integers).
+
Calculates remainder (for use with integers).
 +
[[File:percent.gif|left]]  
 +
 
 
==Integer Random==
 
==Integer Random==
[[File:random.gif|left]] Generates a random integer value.
+
Generates a random integer value.
 +
[[File:random.gif|left]]  
 +
 
 
==Control==
 
==Control==
[[File:control.gif|left]] Opens and closes a switch.
+
Opens and closes a switch.
 +
[[File:control.gif|left]]  
 +
 
 
==Sample==
 
==Sample==
[[File:sample.gif|left]] Sample input values on demand.
+
Sample input values on demand.
 +
[[File:sample.gif|left]]  
 +
 
 
==Pulse==
 
==Pulse==
[[File:pulse.gif|left]] Event production shaped pulse.
+
Event production shaped pulse.
 +
[[File:pulse.gif|left]]  
 +
 
 
==Delay==
 
==Delay==
[[File:delay.gif|left]] Delays sending current value until next event is received.
+
Delays sending current value until next event is received.
 +
[[File:delay.gif|left]]  
 +
 
 
==Accumulator==
 
==Accumulator==
[[File:accumulate.gif|left]] Counts events.
+
Counts events.
 +
[[File:accumulate.gif|left]]  
 +
 
 
==Multiplexer==
 
==Multiplexer==
[[File:mux.gif|left]] Selects on input to be current output.
+
Selects on input to be current output.
 +
[[File:mux.gif|left]]  
 +
 
 
==DeMultiplexer==
 
==DeMultiplexer==
[[File:demux.gif|left]] Sends signal input to selected output.
+
Sends signal input to selected output.
 +
[[File:demux.gif|left]]  
 +
 
 
==Encoder==
 
==Encoder==
[[File:encode.gif|left]] Converts bytes to integers.
+
Converts bytes to integers.
 +
[[File:encode.gif|left]]  
 +
 
 
==Decoder==
 
==Decoder==
[[File:decode.gif|left]] Converts the byte values of integers.
+
Converts the byte values of integers.
 +
[[File:decode.gif|left]]  
 +
 
 
==Exclusive==
 
==Exclusive==
[[File:exclusive.gif|left]] For radio button.
+
For radio button.
 +
[[File:exclusive.gif|left]]  
 +
 
 
==Clock Divider==
 
==Clock Divider==
[[File:clockdivide.gif|left]] Cycling clock.
+
Cycling clock.
 +
[[File:clockdivide.gif|left]]  
 +
 
 
==Time==
 
==Time==
[[File:time.gif|left]] Provides current time (use with date module).
+
Provides current time (use with date module).
 +
[[File:time.gif|left]]  
 +
 
 
==High Performance Counter==
 
==High Performance Counter==
[[File:HPC.gif|left]] For fast timing.
+
For fast timing.
 +
[[File:HPC.gif|left]]  
 +
 
 
==Calibrate==
 
==Calibrate==
[[File:calibrate.gif|left]] Accommodates signal range (min to max).
+
Accommodates signal range (min to max).
 +
[[File:calibrate.gif|left]]  
 +
 
 
==Average Filter==
 
==Average Filter==
[[File:average.gif|left]] Running average.
+
Running average.
 +
[[File:average.gif|left]]  
 +
 
 
==Delay Sustain==
 
==Delay Sustain==
[[File:delaysustain.gif|left]] For use with musical modules.
+
For use with musical modules.
 +
[[File:delaysustain.gif|left]]  
 +
 
 
==State Object==
 
==State Object==
[[File:state.gif|left]] State machine element (advanced).
+
State machine element (advanced).
 +
[[File:state.gif|left]]  
 +
 
 
==Timers==
 
==Timers==
[[File:timer.gif|left]] Activates at regular specified time intervals.
+
Activates at regular specified time intervals.
 +
[[File:timer.gif|left]]

Revision as of 08:47, 24 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).

Sums all inputs and outputs the result.

Integer Multiply

Multiplication for use with integers.

Multiply.gif
Module I/O
Left Input(s): integer(∞)
Right Output(s): integer(∞)
Module Properties
moduleColorsets module color(RGB).

Outputs the product of all the inputs.

Integer Subtract

Subtraction for use with integers.

Subtract.gif
Module I/O
Top Input(s): Input 2, integer(1)
Left Input(s): Input 1, integer(1)
Right Output(s): integer(1)
Module Properties
moduleColorsets module color(RGB).

Input 1 minus Input 2 equals output.

Integer Divide

Division for use with integers.

Divide.gif

Integer Subtract

Subtraction for use with integers.

Subtract.gif
Module I/O
Top Input(s): Input 2, integer(1)
Left Input(s): Input 1, integer(1)
Right Output(s): integer(1)
Module Properties
moduleColorsets module color(RGB).

Input 1 divided by Input 2 equals output.

Integer Absolute Value

Calculates absolute value.

Absvalue.gif

Integer Power

Raises integer to a power.

Power.gif

Integer Maximum

Outputs the maximum integer value.

Max.gif

Integer Minimum

Outputs the minimum integer value.

Min.gif

Integer Percent

Calculates remainder (for use with integers).

Percent.gif

Integer Random

Generates a random integer value.

Random.gif

Control

Opens and closes a switch.

Control.gif

Sample

Sample input values on demand.

Sample.gif

Pulse

Event production shaped pulse.

Pulse.gif

Delay

Delays sending current value until next event is received.

Delay.gif

Accumulator

Counts events.

Accumulate.gif

Multiplexer

Selects on input to be current output.

Mux.gif

DeMultiplexer

Sends signal input to selected output.

Demux.gif

Encoder

Converts bytes to integers.

Encode.gif

Decoder

Converts the byte values of integers.

Decode.gif

Exclusive

For radio button.

Exclusive.gif

Clock Divider

Cycling clock.

Clockdivide.gif

Time

Provides current time (use with date module).

Time.gif

High Performance Counter

For fast timing.

HPC.gif

Calibrate

Accommodates signal range (min to max).

Calibrate.gif

Average Filter

Running average.

Average.gif

Delay Sustain

For use with musical modules.

Delaysustain.gif

State Object

State machine element (advanced).

State.gif

Timers

Activates at regular specified time intervals.

Timer.gif