This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
FAQ: Logic and Voltage Translation > Output Parameters >> Current FAQ
Flip-flops, latches, and registers do not have a default state on power up. The output is in an 'unknown' state until data is clocked through.
This is because the underlying latch circuit used to store the output value is inherently unstable at startup. It could become a HIGH or a LOW at the output, and the value is impossible to determine before it is measured.
The most basic CMOS latch circuit is shown here:
When Vcc = 0V, all values in the CMOS circuit are 0V and it's easy to determine the output (0V), however as the supply increases, it becomes impossible to know which side of the latch will be "HIGH" and which side will be "LOW" when the system reaches steady state without additional information. It's very easy for a latch like this to have different states on each successive startup.
Due to imperfections in manufacturing and system loading, it is possible for a latch to appear to start the same way every time, even when tested many times. It is important to note that this does _not_ guarantee that the output will _always_ be that value. Different devices can have different imperfections that can result in a different "default" output state, and this state can be changed by system loading. Lingering charge in a system very commonly will determine the state of a latch at startup.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.