Claims
- 1. A protection system for protecting internal data in a CPU, comprising:
- a protected internal register for storing the internal data without change except when accessed, said protected register having an enable input, and being configured to allow access thereto when an enable signal is received on said enable input;
- access register means for receiving and storing access data;
- compare means, connected to said access register means, for comparing said stored access data in said access register means with a predetermined access work and outputting a true compare signal if a match exists between said predetermined access word and said stored access data; and
- enable timing means, connected to said enable input of said protected register, for generating said enable signal for a predetermined amount of time when said true compare signal is detected on the output of said compare means such that said protected internal register is accessible only during said predetermined time after receipt of access data corresponding to said predetermined access word.
- 2. The protection system of claim 1, and further comprising:
- intermediate timing means for generating an intermediate period of time if a match exists between said stored access data and said predetermined access word;
- said compare means being connected to said intermediate timing means, and being operable to compare said stored access data with a predetermined intermediate access word and to start said intermediate timing means if a match exists between said predetermined intermediate access word and said stored access data; and
- said enable timing means being operable to generate said enable signal when said true compare signal output by said compare means is generated during the period of said intermediate timing means.
- 3. A circuit for protecting data in a register, comprising:
- a protected register which is sought to be protected against accidental overwriting;
- an access register, and a comparator connected to compare data stored in said access register with first or second predetermined access keywords and configured to output a compare signal accordingly;
- timed access logic, connected to receive said compare signal from said comparator, and connected to control access to said protected register;
- said protected register, said comparator, and said timed access logic being connected, together with at least one timing circuit, in a configuration such that said timed access logic allows access to said protected register only if said first predetermined keyword is written into said access register, AND thereafter said second predetermined keyword is written into said access register within a first predetermined maximum duration after said first predetermined keyword is written into said access register.
- 4. The circuit of claim 3, wherein:
- whenever said timed access logic allows access to said protected register, said timed access logic allows access only for a second predetermined maximum duration after said first predetermined keyword is written into said access register.
- 5. The circuit of claim 3, wherein said protected register is an internal register of a microprocessor.
- 6. The circuit of claim 3, wherein said protected register and said access register are both internal registers of a microprocessor.
- 7. The circuit of claim 3, wherein said protected register and said access register is an internal register of a central processing unit (CPU).
Parent Case Info
This is a continuation of application Ser. No. 163,980, filed Mar. 4, 1988 now abandoned.
US Referenced Citations (3)
Number |
Name |
Date |
Kind |
3469239 |
Richmond et al. |
Sep 1969 |
|
4570217 |
Allen et al. |
Feb 1986 |
|
4740890 |
William |
Apr 1988 |
|
Continuations (1)
|
Number |
Date |
Country |
Parent |
163980 |
Mar 1988 |
|