Operator Library: Logic
如果輸入連線 A 的數值不等於輸入連線 B 的數值,則 operator CMP_NotEqual 會將輸出設為邏輯「1」,否則輸出為「0」。
若要將輸入 A 的數值與動態引數數值進行比較,請改用 operator IS_NotEqual。
| Link Parameter | Input Link A | Input Link B | Output Link O |
|---|---|---|---|
| Bit Width | [1, 64] 無符號,[2, 64] 有符號 | [1, 64] 無符號,[2, 64] 有符號 | 1 |
| Arithmetic | {unsigned, signed} | 作為 A | unsigned |
| Parallelism | any | 作為 A | as I |
| Kernel Columns | any | 作為 A | as I |
| Kernel Rows | any | 作為 A | as I |
| Img Protocol | {VALT_IMAGE2D, VALT_LINE1D, VALT_PIXEL0D} | 作為 A | as I |
| Color Format | VAF_GRAY | 作為 A | as I |
| Color Flavor | FL_NONE | 作為 A | as I |
| Max. Img Width | any | 作為 A | as I |
| Max. Img Height | any | 作為 A | as I |
| ImplementationType | ||||
|---|---|---|---|---|
| Type | 靜態寫入參數 | |||
| Default | AUTO | |||
| Range | (AUTO, EmbeddedALU, LUT) | |||
|
引數 ImplementationType 允許您影響 operator 的實作方式,亦即定義用於實作該 operator 的邏輯元素。 您可以選擇以下其中一個值: AUTO: 當執行個體化 operator 時,系統會根據 operator 的參數化,自動為特定的 FPGA 架構選擇最佳的實作策略。 EmbeddedALU:此 Operator 使用 FPGA 的內嵌 ALU 元素。 LUT: operator 使用 FPGA 的 LUT 元素。
|
||||
以下範例展示了 operator CMP_NotEqual 的使用方式:

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

