Scan#
The scan operation (or qpl_operation.qpl_op_scan
)
outputs a bit-vector with the 1-bits correspond to
input elements that satisfy a numerical relationship. I.e. it can search
for elements that are EQ, NE, GT (etc.) a specified value, or for those
values that fall within an inclusive range.
The range is specified with the job fields:
qpl_job.param_low
and qpl_job.param_high
.
The operation will look for those values X that satisfy the following conditions:
Operation |
Condition |
---|---|
X = param_low |
|
X ≠ param_low |
|
X < param_low |
|
X ≤ param_low |
|
X > param_low |
|
X ≥ param_low |
|
param_low ≤ X AND X ≤ param_high |
|
X < param_low OR X > param_high |
The number of output bits (i.e. the number of output elements) is the same as the number of input elements.