Claims
- 1. A semiconductor circuit, comprising:
a processor for executing one or more instructions; a memory device; and a circuit for detecting whether said semiconductor circuit is unused.
- 2. The semiconductor circuit of claim 1, further comprising means for ensuring said unused state is permanently cleared once said semiconductor circuit has been initialized.
- 3. The semiconductor circuit of claim 1, wherein said circuit initiates a testing of said semiconductor circuit in response to said detection of said unused state.
- 4. The semiconductor circuit of claim 1, wherein said circuit initiates an initialization of said semiconductor circuit in response to said detection of said unused state.
- 5. The semiconductor circuit of claim 4, further comprising an external interface for receiving a plurality of instructions for initializing said semiconductor circuit.
- 6. The semiconductor circuit of claim 1, wherein said circuit uses a state of a non-volatile memory array to detect whether said semiconductor circuit is unused.
- 7. The semiconductor circuit of claim 1, wherein said circuit comprises a dedicated mini-array of non-volatile memory cells for use in unused detection.
- 8. The semiconductor circuit of claim 7, wherein said dedicated mini-array of non-volatile memory cells includes at least two active bit lines, blprg and bler, corresponding to program and erase, and wherein said first bit line, blprg, is only programmable and said second bit line, bler, is only eraseable.
- 9. The semiconductor circuit of claim 8, wherein said cells in said dedicated mini-array of non-volatile memory are initially in approximately a same state and wherein said unused state is detected by sensing said at least two active bit lines, blprg and bler.
- 10. The semiconductor circuit of claim 8, wherein an offset current is added to one of said at least two active bit lines, blprg and bler, to detect when said semiconductor circuit is first used.
- 11. The semiconductor circuit of claim 1, wherein said memory device is a non-volatile memory array and wherein said circuit comprises a dedicated region of said non-volatile memory array.
- 12. The semiconductor circuit of claim 11, wherein one or more dedicated bytes in said dedicated region are compared to a reference current.
- 13. The semiconductor circuit of claim 12, wherein said one or more dedicated bytes in said dedicated region are in a neutral state when said semiconductor circuit is unused and wherein a used state of said semiconductor circuit is detected by evaluating a current generated by said one or more dedicated bytes.
- 14. The semiconductor circuit of claim 11, wherein one or more dedicated bytes in said dedicated region are compared to a predefined pattern.
- 15. The semiconductor circuit of claim 11, wherein one or more dedicated bytes in said dedicated region can be erased but never programmed to indicate a used state.
- 16. The semiconductor circuit of claim 14, wherein said one or more dedicated bytes in said dedicated region have a uniform pattern that does not match a predefined pattern until said semiconductor circuit has been used.
- 17. The semiconductor circuit of claim 1, wherein said circuit further comprises a plurality of said circuits for detecting whether said semiconductor circuit is unused, each of said plurality of circuits having an output and further comprising an OR gate to determine whether said semiconductor circuit is unused.
- 18. A method of testing a semiconductor circuit, said method comprising the steps of:
detecting whether said semiconductor circuit has been previously unused; and initiating a testing of said semiconductor circuit in response to said detecting step.
- 19. The method of claim 18, further comprising the step of ensuring said unused state is cleared once said semiconductor circuit has been tested.
- 20. The method of claim 18, wherein said detecting step further comprises the step of evaluating a circuit indicating whether said semiconductor circuit is unused.
- 21. The method of claim 18, wherein said detecting step further comprises the step of evaluating an unused state detection circuit embedded on said semiconductor circuit.
- 22. A method of initializing a semiconductor circuit, said method comprising the steps of:
detecting whether said semiconductor circuit has been previously unused; and initializing said semiconductor circuit in response to said detecting step.
- 23. The method of claim 22, further comprising the step of ensuring said unused state is cleared once said semiconductor circuit has been iniatialized.
- 24. The method of claim 22, wherein said detecting step further comprises the step of evaluating a circuit indicating whether said semiconductor circuit is unused.
- 25. The method of claim 22, further comprising the step of receiving a plurality of instructions for initializing said semiconductor circuit from an external interface.
- 26. The method of claim 22, wherein said detecting step further comprises the step of evaluating an unused state detection circuit embedded on said semiconductor circuit.
CROSS REFERENCE TO RELATED APPLICATION
[0001] The present application is related to U.S. patent application Ser. No. ______, entitled “Method and Apparatus for Initializing a Semiconductor Circuit From an External Interface,” (Attorney Docket Number ATM-633), filed contemporaneously herewith, assigned to the assignee of the present invention and incorporated by reference herein.