Logic Decision
The threshold value crossing detector at the input of the binary process.
blockType: SubSystem
Path in the library:
|
Description
Block Logic Decision generates an output event with a fixed delay, almost from the moment when the input signal crosses the decision threshold. This block provides a transition from a uniformly sampled input signal to an event-driven digital logic subsystem.
Ports
Input
#
wave
—
Input signal
a discrete signal with a fixed pitch | discrete signal with variable pitch | scalar
Details
An input signal specified as a floating-point scalar. The input signal can be inherited or defined by a block Logic Decision as a discrete signal with a fixed pitch.
| Data types |
|
| Complex numbers support |
I don’t |
#
vth
—
the value of the decision threshold
scalar
Details
The value of the decision threshold, set as a scalar. The value on the port vth determines the moment of delay of the input signal by a fixed amount.
| Data types |
|
| Complex numbers support |
I don’t |
Output
#
events
—
Output signal
0 | 1
Details
The output signal returned as 0 or 1.
| Data types |
|
| Complex numbers support |
I don’t |
Parameters
Parameters
#
Sample Time —
the source of the sampling period
Inherited | Fixed
Details
The source of the sampling period:
-
Choose
Inheritedto inherit the sampling period from the previous block. -
Choose
Fixedto set a fixed value for the sampling period.
| Values |
|
| Default value |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
Yes |
# Sample time value — the actual value of the sampling period
Details
The actual value of the sampling period, set as a real number not equal to zero.
Dependencies
To use this parameter, set for the parameter Sample Time meaning Fixed.
| Default value |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
Yes |
# Minimum delay value — minimum propagation delay
Details
The minimum propagation delay for a block, set as a positive scalar value. For a discrete signal with a fixed sampling period, the actual delay is equal to the maximum value of this parameter and a fixed step size.
| Default value |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
Yes |
# Buffer size — number of crossings of the threshold for buffering
Details
The number of pending output events that can be stored in a block, set as a positive integer scalar.
| Default value |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
Yes |