Parameterized XOR gate megafunction. Altera recommends using the XOR primitive or operator rather than lpm_xor for easier implementation and to improve compilation time. However, lpm_xor may be useful if you need parameterized inputs. The lpm_xor megafunction is available for all Altera devices.
Altera recommends instantiating this function with the IP Catalog .
When you create your megafunction, you can use the IP Catalog to generate a netlist for third-party synthesis tools.