A Look-Up Table (LUT) is an array that stores an input/output relationship for combinatorial logic. The outputs of the LUTs can be configured to any user defined function, including the following standard digital logic devices (AND, NAND, OR, NOR, XOR, XNOR, Inverter, Buffer).

Examples


Logic cells:

LUT can be configured with standard logics (AND, OR, XOR, NAND, NOR, NXOR, Inverter, Buffer) or defined by a user for specific functions.

Edge detectors:

As propagation through the LUT takes some time, an edge detector can be created using two LUTs. To create an Edge detector, use 2 LUTs. Connect the input to both a LUT for delay and a LUT to compare, while connecting the output of the delay LUT to the input of the compare LUT. The compare LUT should be configured to output HIGH whenever the 2 inputs are different.

Latches:

If the output of the LUT is connected to its input and it is configured in a proper way the output can be latched when the defined signal appears on one of the remaining LUT inputs.

Multiplexers:

Use one or more inputs to control which of the signals propagates to the output.

Parameters


Type:

For Combinational Blocks only (4-bit LUT0/ PGEN) the user may choose which function to use. Please go to the relative info block for more information.

LUT;

PGEN;


OUT:

This column is where the user can define the input-to-output relationship. Inputs are IN2, IN1 and IN0 as connected through the Designer. (hover over the block to see which pins correspond to which input). A Warning is given if a LUT is being used but no outputs are configured.

Standard gates:

Quick-Select from the standard gates (AND, NAND, OR, NOR, XOR, XNOR, Inverter, Buffer) in the drop down menu.

Regular shape:

Enables/disables the gate-depended shape of the item.

All to 0:

Reset all OUT values to 0.

All to 1:

Set all OUT values to 1.

Invert:

Set all OUT values to opposite.