Claims
- 1. An improved computer processor, the improvement comprising:
- a processor core;
- an internal address bus coupled to said processor core, said internal address bus comprising a plurality of data lines, said internal address bus accessed during a plurality of bus cycles, a subset of said plurality of bus cycles being memory cycles;
- an internal bus controller coupled to said internal address bus, said internal bus controller comprising at least one match register, said match register storing a match address, said internal bus controller comparing said match address in said match register against a bus address on said internal address bus during memory cycles, said match register further comprising at least one match granularity bits, said match granularity bits defining a size of the comparison done by said internal bus controller such that said match granularity bits determine a number of match address bits in said match register compared against said bus address on said internal address bus; and
- a memory mapping module, said memory mapping module mapping a memory cycle to an external debug memory when said internal bus controller detects a match.
- 2. The computer processor as claimed in claim 1 wherein said computer processor has more than one operating modes and wherein said match register further comprises at least one computer processor operating mode bits corresponding to said computer processor operating modes, said internal bus controller comparing a computer processor operating mode with said computer processor operating mode bits, said internal bus controller activating said memory mapping module when said computer processor mode bits match a current computer processor operating mode.
- 3. A method of mapping internal bus cycles in a computer processor with a single internal address bus and more than one external address bus to a debug memory, said method comprising the steps of:
- determining if a bus cycle on said single internal address bus is a memory cycle;
- comparing a bus address value on said single internal address bus in said computer processor against a match address in a match address register, said match register further comprising at least one match granularity bits, said match granularity bits defining a size of the comparison such that said match granularity bits determine a number of match address bits in said match register compared against said bus address on said internal address bus; and
- directing said bus address value on said single internal address bus to said debug memory if said bus address value on said single internal address bus matches said match address in said address match register.
- 4. The method of mapping internal bus cycles in a computer processor as claimed in claim 3 wherein said step of comparing is performed by an internal bus controller in said computer processor.
- 5. The method of mapping internal bus cycles in a computer processor as claimed in claim 3 wherein said method further comprises the steps of:
- comparing a computer processor operating mode with at least one computer processor operating mode bit in said match register; and
- directing said bus address value on said single internal address bus to said debug memory if said computer processor operating mode matches said computer processor operating mode bit.
- 6. A computer processor, said computer processor comprising:
- a processor core;
- an internal address bus coupled to said processor core, said internal address bus comprising a plurality of data lines, said internal address bus accessed during a plurality of bus cycles, said bus cycles comprising a plurality of different types of bus cycles, one type of bus cycle comprises an external bus cycle;
- an internal bus controller coupled to said internal address bus, said internal bus controller comprising at least one match register, said match register storing a match address, said internal bus controller comparing said match address in said match register against a bus address on said internal address bus during memory cycles, said match register further comprising at least one match granularity bits, said match granularity bits defining a size of the comparison done by said internal bus controller such that said match granularity bits determine a number of match address bits in said match register compared against said bus address on said internal address bus:
- more than one external address bus, each of said external address buses coupled to said internal address bus through said internal bus controller;
- an external bus indicator, said external bus indicator specifying on when an external bus cycle occurs on said internal data bus; and
- a breakpoint module coupled to said internal bus controller and said external bus indicator, said breakpoint module monitoring said internal address bus, said breakpoint module halting said computer processor upon when an external bus cycle occurs and a match of said match register with said address internal bus occurs.
- 7. A method of causing breakpoints in a computer processor, said computer processor having one internal address bus and more than one external address buses, said method comprising:
- comparing a bus address on an internal address bus in said computer processor against breakpoint address in an breakpoint match register during a bus cycle said breakpoint match register comprising at least one match granularity bits, said match granularity bits defining size of the comparison done between said internal address bus and said breakpoint match register:
- comparing an external bus destination indicator with an external bus bit in a breakpoint control register; and
- halting said computer processor if said bus address on said internal bus matches said breakpoint address in said breakpoint match register and said external bus destination indicator matches said external bus bit in said breakpoint control register.
Parent Case Info
This is a continuation of application Ser. No. 08/145,757, filed Oct. 29, 1993, now abandoned.
US Referenced Citations (22)
Non-Patent Literature Citations (2)
| Entry |
| Designing a VLSI microprocessor for emulation by Rivin, 1990 I.E.E.E publication pp. p5-8.1,p5-8.4. |
| An In-circuit analyzer for mixed signal digital signal processor by Beline et al, I.E.E.E. publication pp. 1109-1112, (1991). |
Continuations (1)
|
Number |
Date |
Country |
| Parent |
145757 |
Oct 1993 |
|