Difference between revisions of "Digital Logic Toolbox"
Line 99: | Line 99: | ||
==Integer Not Equal== | ==Integer Not Equal== | ||
Not Equal for use with integers. | Not Equal for use with integers. | ||
− | [[File:notequal.gif]] | + | [[File:notequal.gif|left]] |
{{module properties | {{module properties | ||
|topinput=Input 2, integer(1) | |topinput=Input 2, integer(1) | ||
Line 113: | Line 113: | ||
==Integer Add== | ==Integer Add== | ||
Addition for use with integers. | Addition for use with integers. | ||
− | [[File:add.gif]] | + | [[File:add.gif|left]] |
{{module properties | {{module properties | ||
|topinput= | |topinput= | ||
Line 127: | Line 127: | ||
==Integer Multiply== | ==Integer Multiply== | ||
Multiplication for use with integers. | Multiplication for use with integers. | ||
− | [[File:multiply.gif]] | + | [[File:multiply.gif|left]] |
==Integer Subtract== | ==Integer Subtract== | ||
Subtraction for use with integers. | Subtraction for use with integers. | ||
− | [[File:subtract.gif]] | + | [[File:subtract.gif|left]] |
==Integer Divide== | ==Integer Divide== | ||
− | [[File:divide.gif]] Division for use with integers. | + | [[File:divide.gif|left]] Division for use with integers. |
==Integer Absolute Value== | ==Integer Absolute Value== | ||
− | [[File:absvalue.gif]] Calculates absolute value. | + | [[File:absvalue.gif|left]] Calculates absolute value. |
==Integer Power== | ==Integer Power== | ||
− | [[File:power.gif]] Raises integer to a power. | + | [[File:power.gif|left]] Raises integer to a power. |
==Integer Maximum== | ==Integer Maximum== | ||
− | [[File:max.gif]] Outputs the maximum integer value. | + | [[File:max.gif|left]] Outputs the maximum integer value. |
==Integer Minimum== | ==Integer Minimum== | ||
− | [[File:min.gif]] Outputs the minimum integer value. | + | [[File:min.gif|left]] Outputs the minimum integer value. |
==Integer Percent== | ==Integer Percent== | ||
− | [[File:percent.gif]] Calculates remainder (for use with integers). | + | [[File:percent.gif|left]] Calculates remainder (for use with integers). |
==Integer Random== | ==Integer Random== | ||
− | [[File:random.gif]] Generates a random integer value. | + | [[File:random.gif|left]] Generates a random integer value. |
==Control== | ==Control== | ||
− | [[File:control.gif]] Opens and closes a switch. | + | [[File:control.gif|left]] Opens and closes a switch. |
==Sample== | ==Sample== | ||
− | [[File:sample.gif]] Sample input values on demand. | + | [[File:sample.gif|left]] Sample input values on demand. |
==Pulse== | ==Pulse== | ||
− | [[File:pulse.gif]] Event production shaped pulse. | + | [[File:pulse.gif|left]] Event production shaped pulse. |
==Delay== | ==Delay== | ||
− | [[File:delay.gif]] Delays sending current value until next event is received. | + | [[File:delay.gif|left]] Delays sending current value until next event is received. |
==Accumulator== | ==Accumulator== | ||
− | [[File:accumulate.gif]] Counts events. | + | [[File:accumulate.gif|left]] Counts events. |
==Multiplexer== | ==Multiplexer== | ||
− | [[File:mux.gif]] Selects on input to be current output. | + | [[File:mux.gif|left]] Selects on input to be current output. |
==DeMultiplexer== | ==DeMultiplexer== | ||
− | [[File:demux.gif]] Sends signal input to selected output. | + | [[File:demux.gif|left]] Sends signal input to selected output. |
==Encoder== | ==Encoder== | ||
− | [[File:encode.gif]] Converts bytes to integers. | + | [[File:encode.gif|left]] Converts bytes to integers. |
==Decoder== | ==Decoder== | ||
− | [[File:decode.gif]] Converts the byte values of integers. | + | [[File:decode.gif|left]] Converts the byte values of integers. |
==Exclusive== | ==Exclusive== | ||
− | [[File:exclusive.gif]] For radio button. | + | [[File:exclusive.gif|left]] For radio button. |
==Clock Divider== | ==Clock Divider== | ||
− | [[File:clockdivide.gif]] Cycling clock. | + | [[File:clockdivide.gif|left]] Cycling clock. |
==Time== | ==Time== | ||
− | [[File:time.gif]] Provides current time (use with date module). | + | [[File:time.gif|left]] Provides current time (use with date module). |
==High Performance Counter== | ==High Performance Counter== | ||
− | [[File:HPC.gif]] For fast timing. | + | [[File:HPC.gif|left]] For fast timing. |
==Calibrate== | ==Calibrate== | ||
− | [[File:calibrate.gif]] Accommodates signal range (min to max). | + | [[File:calibrate.gif|left]] Accommodates signal range (min to max). |
==Average Filter== | ==Average Filter== | ||
− | [[File:average.gif]] Running average. | + | [[File:average.gif|left]] Running average. |
==Delay Sustain== | ==Delay Sustain== | ||
− | [[File:delaysustain.gif]] For use with musical modules. | + | [[File:delaysustain.gif|left]] For use with musical modules. |
==State Object== | ==State Object== | ||
− | [[File:state.gif]] State machine element (advanced). | + | [[File:state.gif|left]] State machine element (advanced). |
==Timers== | ==Timers== | ||
− | [[File:timer.gif]] Activates at regular specified time intervals. | + | [[File:timer.gif|left]] Activates at regular specified time intervals. |
Revision as of 14:16, 23 January 2010
Contents
- 1 Not
- 2 And
- 3 Or
- 4 Exclusive Or
- 5 Integer Greater Than
- 6 Integer Greater Than or Equal
- 7 Integer Equal
- 8 Integer Not Equal
- 9 Integer Add
- 10 Integer Multiply
- 11 Integer Subtract
- 12 Integer Divide
- 13 Integer Absolute Value
- 14 Integer Power
- 15 Integer Maximum
- 16 Integer Minimum
- 17 Integer Percent
- 18 Integer Random
- 19 Control
- 20 Sample
- 21 Pulse
- 22 Delay
- 23 Accumulator
- 24 Multiplexer
- 25 DeMultiplexer
- 26 Encoder
- 27 Decoder
- 28 Exclusive
- 29 Clock Divider
- 30 Time
- 31 High Performance Counter
- 32 Calibrate
- 33 Average Filter
- 34 Delay Sustain
- 35 State Object
- 36 Timers
Not
Logical Negate (bitwise).
Module I/O | |
Left Input(s): | integer(1) |
Right Output(s): | integer(∞) |
Module Properties | |
moduleColor | sets 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.
Module I/O | |
Left Input(s): | integer(∞) |
Right Output(s): | integer(∞) |
Module Properties | |
moduleColor | sets 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.
Module I/O | |
Left Input(s): | integer(∞) |
Right Output(s): | integer(∞) |
Module Properties | |
moduleColor | sets 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.
Module I/O | |
Left Input(s): | integer(∞) |
Right Output(s): | integer(∞) |
Module Properties | |
moduleColor | sets module color(RGB). |
N bit(s) | sets bit depth of output(1-32). |
Integer Greater Than
Greater than for use with integers.
Module I/O | |
Top Input(s): | Input 2, integer(1) |
Left Input(s): | Input 1, integer(1) |
Module Properties | |
moduleColor | sets 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.
Module I/O | |
Top Input(s): | Input 2, integer(1) |
Left Input(s): | Input 1, integer(1) |
Right Output(s): | integer(∞) |
Module Properties | |
moduleColor | sets 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.
Module I/O | |
Top Input(s): | Input 2, integer(1) |
Left Input(s): | Input 1, integer(1) |
Right Output(s): | integer(∞) |
Module Properties | |
moduleColor | sets 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.
Module I/O | |
Top Input(s): | Input 2, integer(1) |
Left Input(s): | Input 1, integer(1) |
Right Output(s): | integer(∞) |
Module Properties | |
moduleColor | sets 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.
Module I/O | |
Left Input(s): | integer(∞) |
Right Output(s): | integer(∞) |
Module Properties | |
moduleColor | sets 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.
Integer Subtract
Subtraction for use with integers.
Integer Divide
Division for use with integers.
Integer Absolute Value
Calculates absolute value.
Integer Power
Raises integer to a power.
Integer Maximum
Outputs the maximum integer value.
Integer Minimum
Outputs the minimum integer value.
Integer Percent
Calculates remainder (for use with integers).
Integer Random
Generates a random integer value.
Control
Opens and closes a switch.
Sample
Sample input values on demand.
Pulse
Event production shaped pulse.
Delay
Delays sending current value until next event is received.
Accumulator
Counts events.
Multiplexer
Selects on input to be current output.
DeMultiplexer
Sends signal input to selected output.
Encoder
Converts bytes to integers.
Decoder
Converts the byte values of integers.
Exclusive
For radio button.
Clock Divider
Cycling clock.
Time
Provides current time (use with date module).
High Performance Counter
For fast timing.
Calibrate
Accommodates signal range (min to max).
Average Filter
Running average.
Delay Sustain
For use with musical modules.
State Object
State machine element (advanced).
Timers
Activates at regular specified time intervals.