We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8ad4580 + eac4ef3 commit c5452ecCopy full SHA for c5452ec
1 file changed
source/SpinalHDL/Libraries/utils.rst
@@ -123,13 +123,15 @@ The Counter tool can be used to easily instantiate a hardware counter.
123
* - Instantiation syntax
124
- Notes
125
* - ``Counter(start: BigInt, end: BigInt[, inc : Bool])``
126
- -
+ -
127
* - ``Counter(range : Range[, inc : Bool])``
128
- Compatible with the ``x to y`` ``x until y`` syntaxes
129
* - ``Counter(stateCount: BigInt[, inc : Bool])``
130
- Starts at zero and ends at ``stateCount - 1``
131
* - ``Counter(bitCount: BitCount[, inc : Bool])``
132
- Starts at zero and ends at ``(1 << bitCount) - 1``
133
+ * - ``Counter(time: TimeNumber[, inc : Bool])``
134
+ - Starts at zero and ends after ``time`` clocks
135
136
A counter can be controlled by methods, and signals can be read:
137
0 commit comments