Operator Library: Logic
如果輸入連線 I 的數值小於引數 Number 的數值,則 operator IS_LessThan 會將輸出設為邏輯「1」,否則輸出為「0」。
若要比較兩個輸入連線的數值,請改用 operator CMP_AltB。
| Link Parameter | Input Link I | Output Link O |
|---|---|---|
| Bit Width | [1, 63] unsigned, [2, 64] signed | 1 |
| Arithmetic | {unsigned, signed} | unsigned |
| Parallelism | any | as I |
| Kernel Columns | any | as I |
| Kernel Rows | any | as I |
| Img Protocol | {VALT_IMAGE2D, VALT_LINE1D, VALT_PIXEL0D} | as I |
| Color Format | VAF_GRAY | as I |
| Color Flavor | FL_NONE | as I |
| Max. Img Width | any | as I |
| Max. Img Height | any | as I |
| Number | |
|---|---|
| Type | static/dynamic read/write parameter |
| Default | 0 |
| Range | 與輸入連線 I 的範圍相同 |
|
要與輸入連線數值進行比較的數值。 |
|
| ImplementationType | ||||
|---|---|---|---|---|
| Type | 靜態寫入參數 | |||
| Default | AUTO | |||
| Range | (AUTO, EmbeddedALU, LUT) | |||
|
引數 ImplementationType 允許您影響 operator 的實作方式,亦即定義用於實作該 operator 的邏輯元素。 您可以選擇以下其中一個值: AUTO: 當執行個體化 operator 時,系統會根據 operator 的參數化,自動為特定的 FPGA 架構選擇最佳的實作策略。 EmbeddedALU: operator 使用 FPGA 的內嵌 ALU 元素。 LUT: operator 使用 FPGA 的 LUT 元素。
|
||||
The use of operator IS_LessThan is shown in the following examples:
-
範例 - 使用高強度斑點係數進行卷積。 對於高於閾值的結果,相應的像素將被染成紅色。

![[備註]](../common/images/admon/note.png)
上一頁

