運算子 COUNTER

Operator Library: Prototype

[警告] 警告

免責聲明:此模組屬於 prototype 圖庫的一部分。它完全屬於初步性質,隨時可能進行大幅更改甚至被移除。因此,此模組不得用於正式生產設計中。它僅供測試之用。

請參閱以下程式碼,以了解該運算子的運作方式:

if (Clr == 1) {
				  O = 0;
				} else if (Add == 1) {
				  O += I;
				}
				return O;			 
		

I/O Properties

Property Value
Operator Type O
Input Links I1,資料輸入
Add,加法條件
Clr,清除條件
Output Link O,資料輸出

Supported Link Format

Link Parameter 輸入連接線 I1 輸入連結 新增 輸入連結 清除 Output Link O
Bit Width [1, 64] 1 1 [1, 64]
Arithmetic {unsigned, signed} as I as I as I
Parallelism any as I as I as I
Kernel Columns any 1 1 any
Kernel Rows any 1 1 any
Img Protocol VALT_IMAGE2D as I as I as I
Color Format any VAF_GRAY VAF_GRAY VAF_GRAY
Color Flavor any FL_NONE FL_NONE FL_NONE
Max. Img Width any any any any
Max. Img Height any any any any

Parameters

ClearEol
Type 靜態/動態寫入參數
Default 0,動態
Range [0, 1]

此參數是將計數器清零的額外條件。若此參數設為 1,則計數器 會在每行結尾時被清零。

ClearEof
Type 靜態/動態寫入參數
Default 0,動態
Range [0, 1]

此參數是將計數器清零(設為零)的額外條件。若此參數的值為 1,則計數器 會在每個幀的起始與結束時被清零。