US5799144A
Expired / Lapsed
US
⏱️ 0.0 years remaining
Microcomputer for resolving problems found in a program stored in a ROM
Assignee: Mitsubishi Electric Corp
•
Filing: 1996-11-26
•
Granted: 1998-08-25
•
Expires: 2016-11-26
Abstract
Abstract There is a problem that a mechanism for patching a bug of a program stored in a ROM does not function correctly when a queue buffer for prefetching an instruction is provided. According to a microcomputer of the present invention, a comparison circuit compares address information stored in a register with address data on an address bus and a latch circuit is put in a set state by a match signal activated by the comparison circuit and put in a reset state by a branch-generation signal or a JMP-instruction-code end signal. In the reset state, an operation to output data from a JMP-instruction-code ROM to a data base is disabled.
Inventors
- 👤 Masao Mio
Bibliographic Details
Application Number
—
Jurisdiction
US
Data Source
google_patents
Last Synchronized
2026-11-03 20:22
CPC Classifications
G; G06; G06F; G06F9/00; G06F9/06; G06F9/30; G06F8/00; G06F8/60; G06F8/65; G06F8/66; G06F9/22; G06F9/26; G06F9/262; G06F9/268; G06F9/32; G06F9/322; G06F9/328
Claims Analysis
Total Claims: 7
Claim 1
Independent Claim
181 words
A microcomputer comprising: a queue buffer for prefetching each instruction of a program stored in a first ROM prior to execution of the instruction by a CPU, contents of said queue buffer being cleared by a branch-generation signal for indicating completion of execution of a branch instruction by said CPU; a second ROM for storing an instruction for branching to an address space outside an address space of said first ROM; and an address-information storing unit for storing address information, said microcomputer further comprising a ROM-output switching unit for comparing address information stored in said address-information storing unit with contents of a program counter of said queue buffer, for enabling an operation to output data from said second ROM and disabling an operation to output data from said first ROM when said address information matches said contents, and for enabling an operation to output data from said first ROM and disabling an operation to output data from said second ROM when said branch-generation signal or an instruction-code-end signal indicating that an instruction has been output from said second ROM is input.
Claim 2
Dependent Claim
181 words
A microcomputer comprising: a queue buffer for prefetching each instruction of a program stored in a first ROM prior to execution of the instruction by a CPU, contents of said queue buffer being cleared by a branch-generation signal for indicating completion of execution of a branch instruction by said CPU; a second ROM for storing an instruction for branching to an address space outside an address space of said first ROM; and an address-information storing unit for storing address information, said microcomputer further comprising a ROM-output switching unit for comparing address information stored in said address-information storing unit with contents of a program counter of said queue buffer, for enabling an operation to output data from said second ROM and disabling an operation to output data from said first ROM when said address information matches said contents, and for enabling an operation to output data from said first ROM and disabling an operation to output data from said second ROM when said branch-generation signal or an instruction-code-end signal indicating that an instruction has been output from said second ROM is input.
Claim 3
Dependent Claim
65 words
A microcomputer according to claim 1 wherein said ROM-output switching circuit comprises a comparison circuit for comparing address information stored in said address-information storing unit with address data on an address bus, and a latch circuit which is put in a set state by a match signal from said comparison circuit and put in a reset state by said branch-generation signal or said instruction-code-end signal.
Claim 4
Dependent Claim
362 words
A microcomputer comprising: a queue buffer for prefetching each instruction of a program stored in a first ROM prior to execution of the instruction by a CPU, contents of said queue buffer being cleared by a branch-generation signal for indicating completion of execution of a branch instruction by said CPU: a second ROM for storing an instruction for branching to an address space outside an address space of said first ROM; and an address-information storing unit for storing address information, said microcomputer further comprising a ROM-output switching unit for comparing address information stored in said address-information storing unit with contents of a program counter of said queue buffer, for enabling an operation to output data from said second ROM and disabling an operation to output data from said first ROM when said address information matches said contents, and for enabling an operation to output data from said first ROM and disabling an operation to output data from said second ROM when said branch-generation signal or an instruction-code-end signal indicating that an instruction has been output from said second ROM is input; wherein said ROM-output switching circuit comprises a comparison circuit for comparing address information stored in said address-information storing unit with address data on an address bus, and a latch circuit which is put in a set state by a match signal from said comparison circuit and put in a reset state by said branch-generation signal or said instruction-code-end signal, wherein said ROM-output switching circuit further comprises: a first logic circuit for passing on a ROM-read signal from said queue buffer when said latch circuit is put in a reset state; a second logic circuit for receiving data output from said first ROM and passing on or blocking said first ROM output data in accordance with a signal output by said first logic circuit; a third logic circuit for passing on said ROM-read signal from said queue buffer when said latch circuit is put in a set state; and a fourth logic circuit for receiving data output by said second ROM and passing on or blocking said second ROM output data in accordance with a signal output by said third logic circuit.
Claim 5
Dependent Claim
362 words
A microcomputer comprising: a queue buffer for prefetching each instruction of a program stored in a first ROM prior to execution of the instruction by a CPU, contents of said queue buffer being cleared by a branch-generation signal for indicating completion of execution of a branch instruction by said CPU: a second ROM for storing an instruction for branching to an address space outside an address space of said first ROM; and an address-information storing unit for storing address information, said microcomputer further comprising a ROM-output switching unit for comparing address information stored in said address-information storing unit with contents of a program counter of said queue buffer, for enabling an operation to output data from said second ROM and disabling an operation to output data from said first ROM when said address information matches said contents, and for enabling an operation to output data from said first ROM and disabling an operation to output data from said second ROM when said branch-generation signal or an instruction-code-end signal indicating that an instruction has been output from said second ROM is input; wherein said ROM-output switching circuit comprises a comparison circuit for comparing address information stored in said address-information storing unit with address data on an address bus, and a latch circuit which is put in a set state by a match signal from said comparison circuit and put in a reset state by said branch-generation signal or said instruction-code-end signal, wherein said ROM-output switching circuit further comprises: a first logic circuit for passing on a ROM-read signal from said queue buffer when said latch circuit is put in a reset state; a second logic circuit for receiving data output from said first ROM and passing on or blocking said first ROM output data in accordance with a signal output by said first logic circuit; a third logic circuit for passing on said ROM-read signal from said queue buffer when said latch circuit is put in a set state; and a fourth logic circuit for receiving data output by said second ROM and passing on or blocking said second ROM output data in accordance with a signal output by said third logic circuit.
Claim 6
Dependent Claim
209 words
A microcomputer comprising: a queue buffer for prefetching each instruction of a program stored in a first ROM prior to execution of the instruction by a CPU, contents of said queue buffer being cleared by a branch-generation signal for indicating completion of execution of a branch instruction by said CPU; a second ROM for storing an instruction for branching to an address space outside an address space of said first ROM; an address-information storing unit for storing address information; and a comparison circuit for comparing address information stored in said address-information storing unit with contents of a program counter in said CPU, said microcomputer further comprising: a latch circuit which is put in a set state by a match signal from said comparison circuit, said match signal indicating that address information stored in said address-information storing unit matches contents of said program counter in said CPU, and put in a reset state by an instruction-code-end signal indicating that said second ROM has output an instruction; and a switch circuit for disabling an operation to provide an instruction from said queue buffer to said CPU and enabling an operation to provide an instruction from said second ROM to said CPU when said latch circuit is put in a set state.
Claim 7
Dependent Claim
209 words
A microcomputer comprising: a queue buffer for prefetching each instruction of a program stored in a first ROM prior to execution of the instruction by a CPU, contents of said queue buffer being cleared by a branch-generation signal for indicating completion of execution of a branch instruction by said CPU; a second ROM for storing an instruction for branching to an address space outside an address space of said first ROM; an address-information storing unit for storing address information; and a comparison circuit for comparing address information stored in said address-information storing unit with contents of a program counter in said CPU, said microcomputer further comprising: a latch circuit which is put in a set state by a match signal from said comparison circuit, said match signal indicating that address information stored in said address-information storing unit matches contents of said program counter in said CPU, and put in a reset state by an instruction-code-end signal indicating that said second ROM has output an instruction; and a switch circuit for disabling an operation to provide an instruction from said queue buffer to said CPU and enabling an operation to provide an instruction from said second ROM to said CPU when said latch circuit is put in a set state.
References Cited (Backward Citations)
US4542453A
Cited
US4769767A
Cited
US4751703A
Cited
US4847753A
Cited
JPS63156231A
Cited
JPS63304563A
Cited
US4992932A
Cited
DE3900187A1
Cited
JPH01232447A
Cited
US5051897A
Cited
US5072364A
Cited
US5497459A
Cited
US5623665A
Cited
US5251174A
Cited
US5454100A
Cited
US5666482A
Cited
US5652858A
Cited
US5664135A
Cited
USPTO Annuity & Maintenance Windows
| Annuity Stage | Window Opens | Payment Deadline | Surcharge Period Until | Estimated Fee | Status |
|---|---|---|---|---|---|
| 3.5 Years (Year 4) | 2001-08-24 | 2002-02-23 | 2002-08-25 | $2000.00 | Window Closed / Lapsed |
| 7.5 Years (Year 8) | 2005-08-24 | 2006-02-23 | 2006-08-25 | $3760.00 | Window Closed / Lapsed |
| 11.5 Years (Year 12) | 2009-08-24 | 2010-02-23 | 2010-08-25 | $7700.00 | Window Closed / Lapsed |