Microprocessor use in in-circuit emulator having function of discriminating user's space and in-circuit emulator space
AssigneeNEC Corporation
InventorMasahiro Kusuda
Life of this patent
Estimating the term…
Abstract
A microprocessor having three kinds of bus cycle mode including a read cycle, a write cycle and an instruction fetch cycle, comprises a register having three bits corresponding to the read cycle, the write cycle and the instruction fetch cycle, respectively. A combinational circuit is connected to receive a code set in the register and coded information indicating the kind of bus cycle mode. An output circuit receiving an output of the combinational circuit operates to output the output of the combinational circuit in synchronism with a start of a corresponding bus cycle.
Claims8
A microprocessor for use in an in-circuit emulator comprising:
- a first latch storing a bit indicating a first bus cycle mode of a read cycle, a second latch storing a bit indicating a second bus cycle mode of a write cycle, and a third latch storing a bit indicating a third bus cycle of an instruction fetch cycle, said first, second and third latches being responsive to a first strobe signal to temporarily store the bits corresponding to said read cycle, said write cycle and said instruction fetch cycle, respectively;
- a combinational logic circuit connected to receive a code set in said first, second and third latches in response to said first strobe signal and further connected to receive coded information, including an internal read/write signal, a plurality of internal status signals and an in-circuit emulator mode signal, indicating the kind of bus cycle mode, the combinational logic circuit logically combining the code set in said first, second and third latches, the internal read/write signal, the plurality of internal status signals and the in-circuit emulator mode signal to generate an output indicative of an access to a user address space or in-circuit emulator address space;
- fourth and fifth latches respectively connected to receive two types of bus cycle indication signals which are alternatively rendered active, said fourth and fifth latches being responsive to an internal bus cycle progress strobe signal so that said two types of bus cycle indication signals are latched in synchronism to each other in said fourth and fifth latches;
- a sixth latch connected to receive an output of said combinational logic circuit so as to output, in response to said internal bus cycle progress strobe signal, said output of said combinational circuit in synchronism with a start of a corresponding bus cycle;
- and
- an output circuit connected to said fourth, fifth and sixth latches and responsive to an output control signal to selectively supply an external bus cycle start signal and an external bus cycle period indication signal to either user memory address space or in-circuit emulator address space, depending on a logical value of the output of said combinational logic circuit.
A microprocessor for use in an in-circuit emulator comprising:
- a first latch storing a bit indicating a first bus cycle mode of a read cycle, a second latch storing a bit indicating a second bus cycle mode of a write cycle, and a third latch storing a bit indicating a third bus cycle of an instruction fetch cycle, said first, second and third latches being responsive to a first strobe signal to temporarily store the bits corresponding to said read cycle, said write cycle and said instruction fetch cycle, respectively;
- a combinational logic circuit connected to receive a code set in said first, second and third latches in response to said first strobe signal and further connected to receive coded information, including an internal read/write signal, a plurality of internal status signals, two types of bus cycle indication signals which are alternatively rendered active, and an in-circuit emulator mode signal, indicating the kind of bus cycle mode, the combinational logic circuit logically combining the code set in said first, second and third latches, the internal read/write signal, the plurality of internal status signals and the in-circuit emulator mode signal to generate an output indicative of an access to a user address space or in-circuit emulator address space;
- fourth, fifth, sixth, and seventh latches connected to receive outputs of said combinational logic circuit so as to output, in response to an internal bus cycle progress strobe signal, said output of said combinational circuit in synchronism with a start of a corresponding bus cycle;
- and
- an output circuit connected to said fourth, fifth, sixth, and seventh latches and responsive to an output control signal to selectively supply an external bus cycle start signal and an external bus cycle period indication signal to either user memory address space or in-circuit emulator address space, depending on a logical value of the output of said combinational logic circuit.
A microprocessor for performing a bus cycle to access one of a first address space and a second address space, comprising:
- bus cycle means for initiating said bus cycle with generating status information, said status information taking one of a first state indicating that said bus cycle is for an instruction fetch cycle, a second state indicating that said bus cycle is for a data read cycle and a third state indicating that said bus cycle is for a data read cycle;
- a register having first, second and third bits provided correspondingly to said first, second and third states of said status information, each of said first, second and third bits being programmable to be one of a first logic state and a second logic state;
- a combination circuit coupled to said bus cycle means and said register to receive said status information and the logic states of said first, second and third bits and generating access space discrimination information in response thereto, said access space discrimination information assuming a first condition indicative of said first address space being accessed when said status information takes said first state and said first bit is in said first logic state and a second condition indicative of said second address space being accessed when said status information takes said first state and said first bit is in said second logic state or when said status information takes said second state and said second bit is in said second logic state or when said status information takes said third state and said third bit is in said second logic state;
- and
- means for outputting said access space discrimination information in synchronism with said bus cycle.
Dependencies are inferred from the claim text.