Method and apparatus for constructing and operating an integrated circuit
in an electronic device. In some embodiments, a generic service layer is
integrated in a three dimensional integrated circuit and tested using a
testing pattern stored in a non-volatile memory. The generic service
layer is reconfigured to a permanent non-testing functional component of
the integrated circuit.