Parameterized for data width
Asynchronous clear / Asynchronous preset
SX, Axcelerator
SmartGen can generate Gray Counters parameterized for a specified Data Width and with a choice of Enable, Asynchronous Clear, and Asynchronous Preset signals.
Port Description |
Port Name |
Size |
Type |
Req/Opt |
Function |
Clock |
WIDTH |
Input |
Req. |
Input Data |
Q |
WIDTH |
Output |
Req. |
Output Data |
Clr |
1 |
Input |
Opt. |
Clear |
Pre |
1 |
Input |
Opt. |
Preset |
Enable |
1 |
Input |
Opt. |
Enable |
Parameter Description |
Parameter |
Value |
Function |
GRAYCOUNT |
2-99 |
Output Data Width |
CLR_POLARITY |
0,1,2 |
Clear Polarity |
PRE_POLARITY |
0,1,2 |
Preset Polarity |
EN_POLARITY |
0,1 |
Enable Polarity |
CLK_EDGE |
RISE,FALL |
Clock Edge |
Implementation Parameters |
Parameter |
Value |
Function |
LPMTYPE |
LPM_GRAY COUNTER |
Gray Counter |