Visible to Intel only — GUID: hco1423077142764
Ixiasoft
Visible to Intel only — GUID: hco1423077142764
Ixiasoft
14.4.21. Counter
The input is a counter enable and allows you to implement irregular counters. The counter initializes to the value that you provide, and counts with the modulo, with the step size you provide:
count = _pre_initialization_value;
while (1) { if (en) count = (count + _step_size) % _modulo}
[<(modulo – step size)> <modulo> <step size>]
Parameter | Description |
---|---|
Output data type mode | Determines how the block sets its output data type:
|
Output data type | Specifies the output data type. For example, sfix(16), uint(8). |
Output scaling value | Specifies the output scaling value. For example, 2^-15. |
Counter setup | A vector that specifies the counter in the format: [<pre_initialization_value> <modulo> <step size>] For example, [0 32 1] |
Signal | Direction | Type | Description | Vector Data Support | Complex Data Support |
---|---|---|---|---|---|
en | Input | Boolean | Count enable | Yes | No |
q | Output | Specified fixed-point type | Result | Yes | No |
Did you find the information on this page useful?
Feedback Message
Characters remaining: