Operator NOT

Operator Library: Logic

Operator NOT 會反轉輸入位元。 它會執行按位元的邏輯反轉操作。 如果對應的輸入位元為 "0",則每個輸出位元都會設為邏輯 "1",否則輸出為 "0"。 輸入連接的數量必須在模組執行個體化時進行選擇。

因此,輸出位元 i 為

I/O Properties

Property Value
Operator Type O
Input Link I, data input
Output Link O, data output

支援的 Link 格式

Link Parameter Input Link I Output Link O
Bit Width [1, 64]1 as I
Arithmetic {unsigned, signed} as I
Parallelism any as I
Kernel Columns any as I
Kernel Rows any as I
Img Protocol {VALT_IMAGE2D, VALT_LINE1D, VALT_PIXEL0D, VALT_SIGNAL} as I
Color Format any as I
Color Flavor any as I
Max. Img Width any as I
Max. Img Height any as I

1

The range of the input Bit Width is [1, 64] for unsigned values. For signed inputs, the range is [2, 64]. For unsigned color inputs, the range is [3, 63] and for signed color, the range is [6, 63].

參數

無

使用範例

以下範例展示了 Operator NOT 的使用方式: