Download Quartus Reference Manual Vol. 3
Transcript
Quartus II Handbook, Volume 3 Properties of the Logic Element This section discusses the following properties of the logic element that can be examined using the Resource Property Editor: ■ ■ ■ ■ ■ Mode of operation LUT equation LUT mask Synchronous mode Register cascade mode Mode of Operation An LE can operate in either normal or arithmetic mode. For more information on the modes of operation, see Volume 1 of the Stratix Device Handbook, Volume 1 of the Cyclone Device Handbook, or the MAX II Device Handbook. When configured in normal mode, the LUT can implement a function of four inputs. When configured in arithmetic mode, the LUT is divided into 2 three-input LUTs. The first LUT generates the signal that drives the output of the LUT, while the second LUT is used to generate the carry-out signal. The carry-out signal can drive only a carry-in signal of another LE. LUT Equation The LUT equation allows you to change the logic equation that is currently implemented by the LUT. When the LE is configured in normal mode, you can only change the SUM equation. When the LE is configured in arithmetic mode, you can change both the SUM and the CARRY equation. When a change is made to the LUT equation, the Quartus II software automatically changes the LUT mask. To change the function implemented by the LUT, you must first understand how the LUT works. A LUT contains storage cells that implement small logic blocks as a function of the inputs. Each storage cell is capable of holding a logic value, either a 0 or a 1. The Stratix, Stratix GX, and Cyclone device families use a four-input LUT and have 16 storage cells. The LUT can store 16 output values in its storage cells. The output from the LUT depends on the signal that is driven into the input ports of the LUT. Assume that you need to build the following logic function: (A XOR B) OR (C AND D) 10–12 Preliminary Altera Corporation June 2004