1. A first macrocell which connects between logic forming circuitry of a programmable logic device and an output terminal of the programmable logic device, the first macrocell comprising: one or more input lines which are connected to receive a corresponding number of logic signals from the logic forming circuitry; one or more distribution circuits, each distribution circuit coupled to one of the input lines, wherein each distribution circuit is independently programmable to a first state or a second state, wherein a distribution circuit programmed in the first state routes received logic signals to the output terminal of the programmable logic device, and wherein a distribution circuit programmed in the second state routes received logic signals to a second macrocell of the programmable logic device; and a cascade control circuit having an input terminal coupled to a third macrocell, the cascade control circuit being programmable to a first state in which the output signals from the third macrocell are routed to the output terminal of the programmable logic device or a second state in which the output signals from the third macrocell are routed to the second macrocell.