Download ispEXPERT Compiler User Manual

Transcript
Symbol Attributes
Symbol Attributes
This section describes the following Design Attributes that are used as or assigned to
symbols in your design.
■
■
■
■
LXOR2
OPTIMIZE
PROTECT
REGTYPE
Implementing an Exclusive-Or
The LXOR2 Symbol Attribute enforces implementation of a two-input exclusive-or
function using a hardware, two-input exclusive-or.
Synopsis
LXOR2[=]node_name
Description
In schematic-based applications, specify this attribute through instantiation of a
library primitive, normally named “LXOR2”. In ABEL-HDL environments, you can
achieve the same results by using an ABEL-HDL ISTYPE ‘XOR’. This removes any
ambiguity in recognizing the exclusive-or gate.
✍ NOTE
The LXOR2 is a Lattice Semiconductor primitive for 2-input
XOR gates. The limitation is one 2-input XOR gate per GLB
output. Check the ISP Encyclopedia for the maximum number
of LXORs allowed per device.
ispEXPERT Compiler User Manual
58