10.1.9.3 Linear Binary Counter Parameter Description
The following table describes all the parameters of a Linear Binary Counter.
| Parameter | Value | Function |
|---|---|---|
| WIDTH | 2–32 | Word length of Data and Q |
| DIRECTION | UP DOWN UPDOWN | Counter direction |
| CLR_POLARITY | 0 1 2 | Aclr can be active low, active high or not used |
| EN_POLARITY | 0 1 | Enable can be active low, or active high |
| LD_POLARITY | 0 1 2 | Sload can be active low, active high or not used |
| CLK_EDGE | RISE FALL | |
| TCNT_POLARITY | 1 2 | Tcnt can be active high or not used |
The following table describes all the parameters for Fan-in Control of a Linear Binary Counter.
| Parameter | Value |
|---|---|
| CLR_FANIN | AUTO MANUAL |
| CLR_VAL | <val> [default value for AUTO is 8, 1 for MANUAL] |
| LD_FANIN | AUTO MANUAL |
| LD_VAL | <val> [default value for AUTO is 6, 1 for MANUAL] |
| CLK_FANIN | AUTO MANUAL |
| CLK_VAL | <val> [default value for AUTO is 8, 1 for MANUAL] |
The following table describes all the functional description of a Linear Binary Counter.
| Data | Aclr | Enable | Sload | Clock | Up down | Qn+1 | Tcnt n+1 |
|---|---|---|---|---|---|---|---|
| X | 0 | X | X | X | X | 0’s | 0 |
| X | 1 | X | X | ¦ | X | Qn | Qn+1== 2width-1 |
| X | 1 | 0 | 0 | ¦ | X | Qn | Qn+1== 2width-1 |
| m | 1 | X | 1 | ¦ | X | m | Qn+1== 2width-1 |
| X | 1 | 1 | 0 | ¦ | 1 | Qn + 1 | Qn+1== 2width-1 |
| X | 1 | 1 | 0 | ¦ | 0 | Qn - 1 | Qn+1== 2width-1 |
Note: Assume that Aclr is active low, Enable is active high, Sload is active high, Clock is rising and Tcnt is active high.
