Truth Table/Functionality
Some of the input and output ports of the lpm_bustri function are optional. The following three configurations are
valid:
- Only the input ports
data[LPM_WIDTH-1..0]andenabledtare present, and only the output portstridata[LPM_WIDTH-1..0]are present. This configuration has the following function:text-align:left;
Inputs
Outputs
enabledttridata[LPM_WIDTH-1..0]0
Z
1
DATA[LPM_WIDTH-1..0] - Only the input ports
tridata[LPM_WIDTH-1..0]and enabletr are present, and only the output portsresult[LPM_WIDTH-1..0]are present. This configuration has the following function:text-align:left;
Inputs
Outputs
enabletrresult[LPM_WIDTH-1..0]0
Z
1
tridata[LPM_WIDTH-1..0] - All ports are present: input ports
data[LPM_WIDTH-1..0],enabledt, andenabletr; output portsresult[LPM_WIDTH-1..0]; and bidirectional portstridata[LPM_WIDTH-1..0]. This configuration has the following function:text-align:left;
Input
Bidirectional
Output
enabledtenabletrtridata[LPM_WIDTH-1..0]result[LPM_WIDTH-1..0]0
0
Z (input)
Z
0
1
Z (input)
tridata[LPM_WIDTH-1..0]1
0
data[LPM_WIDTH-1..0]Z
1
1
data[LPM_WIDTH-1..0]data[LPM_WIDTH-1..0]