1. A configurable logic element (CLE) for a programmable logic device (PLD), the CLE comprising: a plurality of logic blocks each configurable as a P-input product term (Pterm) generator; one or more expanders configurably interconnecting two or more of the plurality of logic blocks, each expander having two or more configurable functions; and an expander control circuit coupled to the one or more expanders, the expander control circuit configurably controlling the one or more expanders to create from the plurality of logic blocks a Q-input Pterm, where Q is greater than P.