Truth Table/Functionality
Inputs  | 
Outputs  | 
|
|---|---|---|
enable  | 
data[LPM_WIDTH-1..0]  | 
eq[LPM_DECODES-1..0]  | 
0  | 
X  | 
0000...00  | 
1  | 
LPM_DECODES-1  | 
1000...00  | 
1  | 
LPM_DECODES-2  | 
0100...00  | 
...  | 
...  | 
...  | 
1  | 
1  | 
0000...10  | 
1  | 
0  | 
0000...01  | 
The enable input port is optional. When enable is omitted, the decoder is permanently enabled.