Digital Logic Toolbox
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): | 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 | |
Top Input(s): | 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). |
Pulse
Event production shaped pulse.
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). |
Delay
Delays sending current value until next event is received.
Module I/O | |
Left Input(s): | integer(1) |
Right Output(s): | integer(∞) |
Module Properties | |
moduleColor | sets module color(RGB). |
Accumulator
Counts events.
Module I/O | |
Top Input(s): | Enable, integer(1) |
Left Input(s): | Clock, integer(1) |
Right Output(s): | integer(∞) |
Module Properties | |
moduleColor | sets module color(RGB). |
Multiplexer
Selects on input to be current output.
Module I/O | |
Top Input(s): | N, integer(1); Select, integer(1) |
Left Input(s): | polymorph(1 per N) |
Right Output(s): | matching type(∞) |
Module Properties | |
moduleColor | sets module color(RGB). |
N | sets the number of inputs (2-512). |
select | sets the input selected value (0-[N-1]). |
DeMultiplexer
Sends signal input to selected output.
Module I/O | |
Top Input(s): | N, integer(1); Select, integer(1) |
Left Input(s): | polymorph(1) |
Right Output(s): | matching type(∞ per N) |
Module Properties | |
moduleColor | sets module color(RGB). |
N | sets the number of inputs (2-512). |
select | sets the input selected value (0-[N-1]). |
sendResetEvent | clears the non-triggered outputs (Boolean). |
Encoder
Converts bytes to integers.*
Module I/O | |
Top Input(s): | N, integer(1) |
Left Input(s): | integer(1 per N) |
Right Output(s): | integer(∞) |
Module Properties | |
moduleColor | sets module color(RGB). |
N | sets the number of inputs (2-32). |
Decoder
Converts the byte values of integers.*
Module I/O | |
Top Input(s): | N, integer(1) |
Left Input(s): | integer(1) |
Right Output(s): | integer(∞ per N) |
Module Properties | |
moduleColor | sets module color(RGB). |
N | sets the number of outputs (2-32). |
Exclusive
For radio button.*
Module I/O | |
Top Input(s): | N, integer(1) |
Left Input(s): | integer(∞ per N) |
Right Output(s): | integer(∞ per N) |
Module Properties | |
trueEventOnly |
Clock Divider
Cycling clock.
Module I/O | |
Left Input(s): | Clock, integer(1) |
Right Output(s): | Clock / N, integer (∞ per N) |
Module Properties | |
moduleColor | sets module color(RGB). |
N bit(s) | sets the number of outputs (2-512). |
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 |