In-circuit emulator
First Claim
1. An integrated circuit in-circuit emulator for testing a microprocessor system including at least one microprocessor which forms a portion of said integrated circuit comprising:
- capture logic means including a plurality of latches coupled to a program counter, internal data bus and control lines disposed within said microprocessor and to an address and data bus of said microprocessor, which latches store the data from said program counter, internal data bus, address and data bus and control lines, each clock cycle of said microprocessor, said capture logic means for storing predetermined data in a memory and comparing said predetermined data with said stored data generated by said microprocessor and generating an output signal whose value depends on the results of said comparison;
comparison means including a content addressable memory and at least one comparator for storing predetermined data in a memory and comparing said predetermined data with said stored data generated by said microprocessor and generating an output signal whose value depends on the results of said comparison;
logic means for receiving said output signal and selectively generating a trace signal and break signal depending upon the value of said output signal, wherein said content addressable memory is coupled to said logic means and stores said predetermined data, and said at least one comparator is coupled to said plurality of latches for comparing at least one of the opcode, program counter address, source address, destination address, address space and data of instructions executed by said microprocessor with a corresponding field of a memory location within said content addressable memory;
means for selectivily enabling said data generated by said microprocessor to be available externally to said integrated circuit depending upon the value of said trace signal; and
means for controlling the mode of operation of said emulator depending upon the value of said break signal.
2 Assignments
0 Petitions
Accused Products
Abstract
A circuit is disclosed which is implemented on the same silicon chip as a microprocessor to be utilized in a microprocessor system such as a microcontroller, which circuit allows a user to perform in-circuit emulation ("ICE") for the purpose of debugging the microprocessor system. The ICE circuitry comprises (i) capture logic which monitors the contents of the program address register and the internal data bus and various control lines of the processor; (ii) trace circuitry comprising a FIFO buffer which puts data from the capture logic to the output pins of the chip; and (iii) a content addressable memory and a software programmable logic array with emulation counters which together function as a finite state machine which performs the desired predetermined testing of the system.
212 Citations
11 Claims
-
1. An integrated circuit in-circuit emulator for testing a microprocessor system including at least one microprocessor which forms a portion of said integrated circuit comprising:
-
capture logic means including a plurality of latches coupled to a program counter, internal data bus and control lines disposed within said microprocessor and to an address and data bus of said microprocessor, which latches store the data from said program counter, internal data bus, address and data bus and control lines, each clock cycle of said microprocessor, said capture logic means for storing predetermined data in a memory and comparing said predetermined data with said stored data generated by said microprocessor and generating an output signal whose value depends on the results of said comparison; comparison means including a content addressable memory and at least one comparator for storing predetermined data in a memory and comparing said predetermined data with said stored data generated by said microprocessor and generating an output signal whose value depends on the results of said comparison; logic means for receiving said output signal and selectively generating a trace signal and break signal depending upon the value of said output signal, wherein said content addressable memory is coupled to said logic means and stores said predetermined data, and said at least one comparator is coupled to said plurality of latches for comparing at least one of the opcode, program counter address, source address, destination address, address space and data of instructions executed by said microprocessor with a corresponding field of a memory location within said content addressable memory; means for selectivily enabling said data generated by said microprocessor to be available externally to said integrated circuit depending upon the value of said trace signal; and means for controlling the mode of operation of said emulator depending upon the value of said break signal. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
Specification