Operator NOT

Operator Library: Logic

NOT 算子对输入位进行求反。 它执行按位逻辑求反运算。 如果相应的输入位为 "0",则每个输出位都设为逻辑 "1",否则输出为 "0"。 输入连接的数量必须在模块实例化时进行选择。

因此,输出位 i 为

I/O Properties

Property 值
Operator Type O
Input Link I,数据输入
Output Link O,数据输出

Supported Link Format

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

1

对于无符号值,输入 Bit Width 的范围是 [1, 64]。 对于有符号输入,范围是 [2, 64]。 对于无符号彩色输入,范围是 [3, 63],对于有符号彩色输入,范围是 [6, 63]。

参数

无

使用示例

以下示例展示了 NOT 算子的用法: