Difference between revisions of "Digital Logic Toolbox"
Line 268: | Line 268: | ||
==Sample== | ==Sample== | ||
Sample input values on demand. | Sample input values on demand. | ||
− | [[File:sample.gif|left]] | + | [[File:sample.gif|left]] |
+ | {{module properties | ||
+ | |topinput= | ||
+ | |leftinput= | ||
+ | |rightoutput= | ||
+ | |bottomoutput= | ||
+ | }} | ||
==Pulse== | ==Pulse== | ||
Event production shaped pulse. | Event production shaped pulse. | ||
− | [[File:pulse.gif|left]] | + | [[File:pulse.gif|left]] |
+ | {{module properties | ||
+ | |topinput= | ||
+ | |leftinput= | ||
+ | |rightoutput= | ||
+ | |bottomoutput= | ||
+ | }} | ||
==Delay== | ==Delay== | ||
Delays sending current value until next event is received. | Delays sending current value until next event is received. | ||
− | [[File:delay.gif|left]] | + | [[File:delay.gif|left]] |
+ | {{module properties | ||
+ | |topinput= | ||
+ | |leftinput= | ||
+ | |rightoutput= | ||
+ | |bottomoutput= | ||
+ | }} | ||
==Accumulator== | ==Accumulator== | ||
Counts events. | Counts events. | ||
− | [[File:accumulate.gif|left]] | + | [[File:accumulate.gif|left]] |
+ | {{module properties | ||
+ | |topinput= | ||
+ | |leftinput= | ||
+ | |rightoutput= | ||
+ | |bottomoutput= | ||
+ | }} | ||
==Multiplexer== | ==Multiplexer== | ||
Selects on input to be current output. | Selects on input to be current output. | ||
− | [[File:mux.gif|left]] | + | [[File:mux.gif|left]] |
+ | {{module properties | ||
+ | |topinput= | ||
+ | |leftinput= | ||
+ | |rightoutput= | ||
+ | |bottomoutput= | ||
+ | }} | ||
==DeMultiplexer== | ==DeMultiplexer== | ||
Sends signal input to selected output. | Sends signal input to selected output. | ||
− | [[File:demux.gif|left]] | + | [[File:demux.gif|left]] |
+ | {{module properties | ||
+ | |topinput= | ||
+ | |leftinput= | ||
+ | |rightoutput= | ||
+ | |bottomoutput= | ||
+ | }} | ||
==Encoder== | ==Encoder== | ||
Converts bytes to integers. | Converts bytes to integers. | ||
− | [[File:encode.gif|left]] | + | [[File:encode.gif|left]] |
+ | {{module properties | ||
+ | |topinput= | ||
+ | |leftinput= | ||
+ | |rightoutput= | ||
+ | |bottomoutput= | ||
+ | }} | ||
==Decoder== | ==Decoder== | ||
Converts the byte values of integers. | Converts the byte values of integers. | ||
− | [[File:decode.gif|left]] | + | [[File:decode.gif|left]] |
+ | {{module properties | ||
+ | |topinput= | ||
+ | |leftinput= | ||
+ | |rightoutput= | ||
+ | |bottomoutput= | ||
+ | }} | ||
==Exclusive== | ==Exclusive== | ||
For radio button. | For radio button. | ||
− | [[File:exclusive.gif|left]] | + | [[File:exclusive.gif|left]] |
+ | {{module properties | ||
+ | |topinput= | ||
+ | |leftinput= | ||
+ | |rightoutput= | ||
+ | |bottomoutput= | ||
+ | }} | ||
==Clock Divider== | ==Clock Divider== | ||
Cycling clock. | Cycling clock. | ||
− | [[File:clockdivide.gif|left]] | + | [[File:clockdivide.gif|left]] |
+ | {{module properties | ||
+ | |topinput= | ||
+ | |leftinput= | ||
+ | |rightoutput= | ||
+ | |bottomoutput= | ||
+ | }} | ||
==Time== | ==Time== | ||
Provides current time (use with date module). | Provides current time (use with date module). | ||
− | [[File:time.gif|left]] | + | [[File:time.gif|left]] |
+ | {{module properties | ||
+ | |topinput= | ||
+ | |leftinput= | ||
+ | |rightoutput= | ||
+ | |bottomoutput= | ||
+ | }} | ||
==High Performance Counter== | ==High Performance Counter== | ||
For fast timing. | For fast timing. | ||
− | [[File:HPC.gif|left]] | + | [[File:HPC.gif|left]] |
+ | {{module properties | ||
+ | |topinput= | ||
+ | |leftinput= | ||
+ | |rightoutput= | ||
+ | |bottomoutput= | ||
+ | }} | ||
==Calibrate== | ==Calibrate== | ||
Accommodates signal range (min to max). | Accommodates signal range (min to max). | ||
− | [[File:calibrate.gif|left]] | + | [[File:calibrate.gif|left]] |
+ | {{module properties | ||
+ | |topinput= | ||
+ | |leftinput= | ||
+ | |rightoutput= | ||
+ | |bottomoutput= | ||
+ | }} | ||
==Average Filter== | ==Average Filter== | ||
Running average. | Running average. | ||
− | [[File:average.gif|left]] | + | [[File:average.gif|left]] |
+ | {{module properties | ||
+ | |topinput= | ||
+ | |leftinput= | ||
+ | |rightoutput= | ||
+ | |bottomoutput= | ||
+ | }} | ||
==Delay Sustain== | ==Delay Sustain== | ||
For use with musical modules. | For use with musical modules. | ||
− | [[File:delaysustain.gif|left]] | + | [[File:delaysustain.gif|left]] |
+ | {{module properties | ||
+ | |topinput= | ||
+ | |leftinput= | ||
+ | |rightoutput= | ||
+ | |bottomoutput= | ||
+ | }} | ||
==State Object== | ==State Object== | ||
State machine element (advanced). | State machine element (advanced). | ||
− | [[File:state.gif|left]] | + | [[File:state.gif|left]] |
+ | {{module properties | ||
+ | |topinput= | ||
+ | |leftinput= | ||
+ | |rightoutput= | ||
+ | |bottomoutput= | ||
+ | }} | ||
==Timers== | ==Timers== | ||
Activates at regular specified time intervals. | Activates at regular specified time intervals. | ||
[[File:timer.gif|left]] | [[File:timer.gif|left]] | ||
+ | {{module properties | ||
+ | |topinput= | ||
+ | |leftinput= | ||
+ | |rightoutput= | ||
+ | |bottomoutput= | ||
+ | }} |
Revision as of 09:51, 17 July 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 Remainder
- 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). |
Sums all inputs and outputs the result.
Integer Multiply
Multiplication for use with integers.
Module I/O | |
Left Input(s): | integer(∞) |
Right Output(s): | integer(∞) |
Module Properties | |
moduleColor | sets module color(RGB). |
Outputs the product of all the inputs.
Integer Subtract
Subtraction 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). |
Input 1 minus Input 2 equals output.
Integer Divide
Division 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). |
Input 1 divided by Input 2 equals output.
Integer Absolute Value
Calculates absolute value.
Module I/O | |
Left Input(s): | integer(1)) |
Right Output(s): | integer(∞) |
Module Properties | |
moduleColor | sets module color(RGB). |
Outputs the absolute value of the input.
Integer Power
Raises integer to a power.
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). |
Input 1 raised to the power of Input 2.
Integer Maximum
Outputs the maximum integer value.
Module I/O | |
Left Input(s): | integer(∞) |
Right Output(s): | integer(∞) |
Module Properties | |
moduleColor | sets module color(RGB). |
Returns the highest current value from all the inputs.
Integer Minimum
Outputs the minimum integer value.
Module I/O | |
Left Input(s): | integer(∞) |
Right Output(s): | integer(∞) |
Module Properties | |
moduleColor | sets module color(RGB). |
Returns the lowest current value from all the inputs.
Integer Remainder
The Modulus operator. Calculates remainder (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). |
The remainder of Input 1 divided by Input 2. (e.g. 5%2=1).
Integer Random
Generates a random integer value.
Module I/O | |
Top Input(s): | Control, integer(1) |
Right Output(s): | integer(∞) |
Module Properties | |
moduleColor | sets module color(RGB). |
N bit(s) | sets bit depth of output(1-32). |
When Control receives a signal, it outputs a random integer of set bit depth.
Control
Opens and closes a switch.
Module I/O | |
Top Input(s): | Drag N, integer(1); Control, integer(1) |
Left Input(s): | In, polymorph(1 per N) |
Right Output(s): | Out, matching type(∞ per N) |
Module Properties | |
moduleColor | sets module color(RGB). |
N | sets the number of matching input and output pairs(1-512). |
When Control receives a signal, a connection is made between corresponding inputs and outputs.
Sample
Sample input values on demand.
Module I/O |
Module Properties |
Pulse
Event production shaped pulse.
Module I/O |
Module Properties |
Delay
Delays sending current value until next event is received.
Module I/O |
Module Properties |
Accumulator
Counts events.
Module I/O |
Module Properties |
Multiplexer
Selects on input to be current output.
Module I/O |
Module Properties |
DeMultiplexer
Sends signal input to selected output.
Module I/O |
Module Properties |
Encoder
Converts bytes to integers.
Module I/O |
Module Properties |
Decoder
Converts the byte values of integers.
Module I/O |
Module Properties |
Exclusive
For radio button.
Module I/O |
Module Properties |
Clock Divider
Cycling clock.
Module I/O |
Module Properties |
Time
Provides current time (use with date module).
Module I/O |
Module Properties |
High Performance Counter
For fast timing.
Module I/O |
Module Properties |
Calibrate
Accommodates signal range (min to max).
Module I/O |
Module Properties |
Average Filter
Running average.
Module I/O |
Module Properties |
Delay Sustain
For use with musical modules.
Module I/O |
Module Properties |
State Object
State machine element (advanced).
Module I/O |
Module Properties |
Timers
Activates at regular specified time intervals.
Module I/O |
Module Properties |