In some embodiments, at least one of the layers 510, 520, 530, and 540 is formed and/or measured by some operations of the method 400 shown in 
In some embodiments, a system includes a factory interface, a deposition tool, and at least one measuring device. The factory interface is configured to carry a wafer. The deposition tool is coupled to the factory interface and configured to process the wafer transferred from the factory interface. The at least one measuring device is equipped in the factory interface, the deposition tool, or the combination thereof. The at least one measuring device is configured to perform real-time measurements of a thickness of a material on the wafer that is carried in the factory interface or the deposition tool.