USRE36766EExpiredUtilityPatentIndex 91
Microprocessor breakpoint apparatus
Est. expiryJan 24, 2006(expired)· nominal 20-yr term from priority
Inventors:KRAUSKOPF JOSEPH C
G06F 11/3648G06F 15/7832
91
PatentIndex Score
32
Cited by
4
References
10
Claims
Abstract
A breakpoint apparatus incorporated in a single chip microprocessor. The apparatus permits breakpoints on specific references to either program instructions or data. The width of the breakpoint address can be varied, the apparatus includes a logic circuit for determining if the reference represented by the breakpoint address overlaps the current virtual address.
Claims
exact text as granted — not AI-modifiedI claim:
1. In an integrated circuit microprocessor which includes address generation circuitry for generating virtual addresses for reference to program instructions and data, address translation circuitry for converting said virtual addresses to physical addresses, an interpretation unit for interpreting program instructions, and an arithmetic unit for operating upon data in accordance with interpreted instructions, an improvement for providing a breakpoint signal comprising: a first register for storing a virtual address, which determines where a breakpoint is to occur, said virtual address hereinafter referred to as a breakpoint address, said first register being loaded using a predetermined instruction interpreted by said interpretation unit; a second register for storing control bits, which determine conditions when said breakpoint is to occur, said second register being loaded using a predetermined instruction interpreted by said interpretation unit; and breakpoint circuitry for generating said breakpoint signal, said breakpoint circuitry comparing at least a portion of said breakpoint address from said first register with at least a portion of a current virtual address, said breakpoint circuitry coupled to said second register to sense at least one of said stored control bits which determines if a breakpoint is to occur when said current virtual address is a reference to data or to program instructions, said breakpoint circuitry also coupled to receive bus control signals providing an identification of whether said current virtual address is a reference to data or to program instructions, said breakpoint circuitry generating said breakpoint signal when said current virtual address is an address where a breakpoint is to occur and when said at least one of said control bits matches said indentification; said first and second registers and breakpoint circuitry providing a real time breakpoint signal to said microprocessor.
2. The improvement according to claim 1 wherein said second register stores control bits including an indication of a data width for said breakpoint address.
3. The improvement according to claim 1 wherein said second register stores control bits including an indication of whether a breakpoint is to occur on a reference to data during a read cycle only or a read or write cycle.
4. The improvement according to claim 1 in combination with a memory external to said microprocessor, said memory for storing instructions and data referenced by said physical address.
5. The improvement according to claim 1 including a plurality of registers for storing breakpoint addresses at which breakpoints are to occur, said first register being one of said plurality of registers.
6. In an integrated circuit microprocessor which includes address generation circuitry for generating virtual addresses for reference to program instructions and data, address translation circuitry for converting said virtual addresses to physical addresses, an interpretation unit for interpreting program instructions, and an arithmetic unit for operating upon data in accordance with interpreted instructions, a process for providing a real time breakpoint signal to said microprocessor, said process comprising the steps of: providing a first register for storing a virtual address where a breakpoint is to occur, said virtual address hereinafter referred to as a breakpoint address, said first register being loaded using a predetermined instruction interpreted by said interpretation unit; providing a second register for storing control bits defining conditions when a breakpoint is to occur, said control bits defining if a breakpoint is to occur when said breakpoint address is a reference to data or to program instructions, said second register being loaded using a predetermined instruction interpreted by said interpretation unit; receiving a current virtual address; receiving a bus control signal indicating whether said current virtual address is a reference to data or to program instructions; comparing at least a portion of said breakpoint address from said first register with at least a portion of said current virtual address; comparing at least a portion of said control bits from said second register with said bus control signal; and generating said breakpoint signal when, i) said at least a portion of said breakpoint address from said first register matches said at least a portion of said current virtual address, and ii) said at least a portion of said control bits from said second register matches said bus control signal.
7. The process according to claim 6 wherein said second register stores control bits including an indication of a data width for said breakpoint address.
8. The process according to claim 6 wherein said second register stores control bits including an indication of whether a breakpoint is to occur on a reference to data during a read cycle only or a read or write cycle.
9. The process according to claim 6 wherein instructions and data referenced by said physical address are stored in a memory external to said microprocessor.
10. The process according to claim 6 further including a step of providing a .[.second.]. .Iadd.third .Iaddend.register for storing a different breakpoint address at which a different breakpoint is to occur.Cited by (0)
No later patents cite this yet.
References (0)
No backward citations on record.