JavaScript is disabled on your browser. Please enable JavaScript to enjoy all the features of this site.
Operator Library: Logic
CASE 運算子可用於多工處理具有相同格式的多個輸入鏈結。
輸入鏈結的數量必須在模組執行個體化時進行選擇,並決定輸入鏈結「Switch」的 Bit Width。
Switch 輸入鏈結的值決定了要選擇哪一個輸入鏈結並轉送至輸出。
當 Switch 輸入選擇了一個不存在的輸入鏈結時,運算子的輸出將變為零。
此運算子可搭配核心使用。每個核心元件皆可獨立選擇。
Property
Value
Operator Type
O
輸入連結
I0,資料輸入 I1..In-1,資料輸入 Switch,資料輸入
Output Link
O, data output
Link Parameter
輸入連線 I0
Input Link I1..In-1
Input Link Switch
Output Link O
Bit Width
[1, 64]
如 I0
自動
如 I0
Arithmetic
{unsigned, signed}
如 I0
unsigned
如 I0
Parallelism
any
如 I0
如 I0
如 I0
Kernel Columns
any
如 I0
如 I0
如 I0
Kernel Rows
any
如 I0
如 I0
如 I0
Img Protocol
{VALT_IMAGE2D, VALT_LINE1D, VALT_PIXEL0D, VALT_SIGNAL}
如 I0
如 I0
如 I0
Color Format
any
如 I0
VAF_GRAY
如 I0
Color Flavor
any
如 I0
FL_NONE
如 I0
Max. Img Width
any
如 I0
如 I0
如 I0
Max. Img Height
any
如 I0
如 I0
如 I0
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].
若使用 VALT_SIGNAL 影像協定,則只能定址和使用 2 個輸入。
switch 輸入的 Bit Width 會根據輸入鏈結的數量 n 自動決定