A three-dimensional semiconductor device, comprising: a programmable logic circuit; and a configuration circuit comprising a non planar memory element, wherein: a portion of the memory element is positioned above or below the logic circuit; and an output of the memory element is coupled to the logic circuit to program the logic circuit.