Microcomputer system
AssigneeNEC Corporation
InventorsMasahiro Nomura, Yukio Maehashi
Life of this patent
Estimating the term…
Abstract
A microcomputer system comprises a microprocessor and a memory chip which has on a single semiconductor substrate a pointer for indicating an address of an instruction code fetch destination, an incrementer for incrementing the pointer and a memory for storing programs and data. The microprocessor controls the update timing of the pointer in the memory chip, so that the instruction codes can be continuously read from the memory of the memory chip without outputting the addresses of the instruction code fetch destination from the microprocessor.
Claims20
A microcomputer system comprising a microprocessor and a memory chip coupled to the microprocessor though an address/data bus and various control signal lines;
- said microprocessor being configured to output an address and data through said address/data bus to said memory chip and also to fetch an instruction code and data through said address/data bus from said memory chip, said microprocessor operating to output an address latch signal, a read signal, a write signal, an instruction/data signal and an instruction read signal through said control signal lines to said memory chip;
- said memory chip including:
- memory means for storing programs and data and being coupled to receive data from said address/data bus and to output an instruction code and data to said address/data bus,
- an address latch coupled to latch an address on said address/data bus in response to said address latch signal,
- an instruction pointer holding an address for an instruction code,
- an update means coupled to said instruction pointer and operating to output an updated address obtained by changing the address held in said instruction pointer by a predetermined number in response to each instruction read signal when said instruction/data signal designates an instruction, said instruction pointer being updated with said updated address outputted from said update means,
- selection means coupled to receive the address latched in said address latch and said updated address outputted from said update means and controlled by said instruction/data signal so as to output the address latched in said address latch when said instruction/data signal designates data and said updated address outputted from said update means when said instruction/data signal designates an instruction, and
- decode means coupled to receive the address outputted from said selection means and to output a decoded address to said memory means so that an instruction code or data is read from said memory means in accordance with the decoded address or data is written to said memory means in accordance with the decoded address, whereby
- said system being operative such that:
- when data is written to said memory means, said microprocessor operates to output an address through said address/data bus to said memory chip and also to output such address latch signal to said memory chip so as to cause the address on said address/data bus to be latched in said address latch of said memory chip, and thereafter, to output data through said address/data bus to said memory chip and also to output said instruction/data signal designating the data and said write signal to said memory chip so that the address latched in said address latch is outputted from said selection means and the data on said address/data bus to be written into said memory means in accordance with the address latched in said address latch;
- when data is read from said memory means, said microprocessor operates to output an address through said address/data bus to said memory chip and also to output said address latch signal to said memory chip so as to cause the address on said address/data bus to be latched in said address of said memory chip, and thereafter, to output data through said address/data bus to said memory chip and also to output said instruction/data signal designating the data and said write signal to said memory chip so that the address latched in said address latch is outputted from said selection means and the data on said address/data bus to be written into said memory means in accordance with the address latched in said address latch;
- when data is read from said memory means, said microprocessor operates to output an address through said address/data bus to said memory chip and also to output said address latch signal to said memory chip so as to cause the address on said address/data bus to be latched in said address latch of said memory chip, and thereafter, to output said instruction/data signal designating the data and said read signal to said memory chip so that the address latched in said address latch is outputted from said selection means and data is read from said memory means in accordance with the address latched in said address latch so as to be outputted through said address/data bus to said microprocessor;
- and
- when instruction codes are read from said memory means, said microprocessor operates to output said instruction/data signal designating the instruction and said read signal to said memory chip and also to intermittently and sequentially output said instruction read signal to said memory chip so that at each time said instruction read signal is outputted from said microprocessor, and address held in said instruction pointer is updated, and an instruction code is read from said memory means in accordance with the updated address, with the result that instruction codes are continuously read from said memory means through said address/data bus to said microprocessor with no address supplied from said microprocessor.
A microcomputer system comprising a microprocessor and a memory chip coupled to the microprocessor through an address/data bus and various control signal lines;
- said microprocessor being configured to output an address and data through said address/data bus to said memory chip and also to fetch an instruction code and data through said address/data bus from said memory chip, said microprocessor operating to output an address latch signal, a read signal, a write signal, an instruction/data signal and an instruction read signal through said control signal lines to said memory chip;
- said memory chip including:
- memory means for storing programs and data and being coupled to receive data from said address/data bus and to output an instruction code and data to said address/data bus,
- an address latch coupled to latch an address on said address/data bus in response to said address latch signal,
- an instruction pointer for holding an address for an instruction code and coupled to latch an address on said address/data bus in response to said instruction/data signal designating an instruction,
- an update means coupled to said instruction pointer and operating to output an updated address obtained by changing the address held in said instruction pointer by a predetermined number in response to each instruction read signal when said instruction/data signal designates an instruction, said instruction pointer being updated with said updated address outputted from said update means,
- selection means coupled to receive the address latched in said address latch and said updated address outputted from said update means and controlled by said instruction/data signal so as to output the address latched in said address latch when said instruction/data signal designates data and said updated address outputted from said update means when said instruction/data signal designates an instruction, and
- decode means coupled to receive the address outputted from said selection means and to output a decoded address to said memory means so that an instruction code or data is read from said memory means in accordance with the decoded address or data is written to said memory means in accordance with the decoded address;
- whereby
- said system being operative such that:
- when data is written to said memory means, said microprocessor operates to output an address through said address/data bus to said memory chip and also to output said address latch signal to said memory chip so as to cause the address on said address/data bus to be latched in said address latch of said memory chip, and thereafter, to output data through said address/data bus to said memory chip and also to output said instruction/data signal designating the data and said write signal to said memory chip so that the address latched in said address latch is outputted from said selection means and the data on said address/data bus to be written into said memory means in accordance with the address latched in said address latch;
- when data is read from said memory means, said microprocessor operates to output an address through said address/data bus to said memory chip and also to output said address latch signal to said memory chip so as to cause the address on said address/data bus to be latched in said address latch of said memory chip, and thereafter, to output said instruction/data signal designating the data and said read signal to said memory chip so that the address latched in said address latch is outputted from said selection means and data is read from said memory means in accordance with the address latched in said address latch so as to be outputted through said address/data bus to said microprocessor;
- and
- when a branch operation is performed, said microprocessor operates to output a branch address through said address/data bus to said memory chip and also to output said instruction/data signal designating the instruction to said memory chip so as to cause the address on said address/data bus to be latched in said instruction pointer of said memory chip, and thereafter, to maintain said instruction/data signal designating the instruction, to output said read signal to said memory chip and also to intermittently and sequentially output said instruction read signal to said memory chip so that at each time said instruction read signal is outputted from said microprocessor, said address held in said instruction pointer is updated, and an instruction code is read from said memory means in accordance with the updated address, with the result that instruction codes starting at said branch address are continuously read from said memory means through said address/data bus to said microprocessor with no address upplied from said microprocessor.
A microcomputer system comprising a microprocessor and a memory chip coupled to the microprocessor through an address/data bus and various control signal lines;
- said microprocessor being configured to output an address and data through said address/data bus to said memory chip and also to fetch an instruction code and data through said address/data bus from said memory chip, said microprocessor operating to output an address latch signal, a read signal, a write signal, an instruction/data signal and an instruction read signal through said control signal lines to said memory chip;
- said memory chip including:
- memory means for storing programs and data and being coupled to receive data from said address/data bus and to output an instruction code and data to said address/data bus,
- an address latch coupled to latch an address on said address/data bus in response to said address latch signal,
- an instruction pointer for holding an address for an instruction code and coupled to latch an address on said address/data bus in response to said instruction/data signal designating an instruction,
- an update means coupled to said instruction pointer and operating to output an updated address obtained by changing the address held in said instruction pointer by a predetermined number in response to each instruction read signal when said instruction/data signal designates an instruction, said instruction pointer being updated with said updated address outputted from said update means,
- selection means coupled to receive the address latched in said address latch and said updated address outputted from said update means and controlled by said instruction/data signal so as to output the address latched in said address latch when said instruction/data signal designates data and said updated address outputted from said update means when said instruction/data signal designates an instruction, and
- decode means coupled to receive the address outputted from said selection means and to output a decoded address to said memory means so that an instruction code or data is read from said memory means in accordance with the decoded address or data is written to said memory means in accordance with the decoded address, whereby
- said system being operative such that:
- when data is written to said memory means, said microprocessor operates to output an address through said address/data bus to said memory chip and also to output said address latch signal to said memory chip so as to cause the address on said address/data bus to be latched in said address latch of said memory chip, and thereafter, to output data through said address/data bus to said memory chip and also to output said instruction/data signal designating the data and said write signal to said memory chip so that the address latched in said address latch is outputted from said selection means and the data on said address/data bus to be written into said memory means in accordance with the address latched in said address latch;
- when data is read from said memory means, said microprocessor operates to output an address through said address/data bus to said memory chip and also to output said address latch signal to said memory chip so as to cause the address on said address/data bus to be latched in said address latch of said memory chip, and thereafter, to output said instruction/data signal designating the data and said read signal to said memory chip so that the address latched in said address latch is outputted from said selection means and data is read from said memory means in accordance with the address latched in said address latch so as to be outputted through said address/data bus to said microprocessor;
- when instruction codes are read from said memory means, said microprocessor operates to output said instruction/data signal designating the instruction and said read signal to said memory chip and also to intermittently and sequentially output said instruction read signal to said memory chip so that at each time said instruction read signal is outputted from said microprocessor, said address held in said instruction pointer is updated, and an instruction code is read from said memory means in accordance with the updated address, with the result that instruction codes are continuously read from said memory means through said address/data bus to said microprocessor with no address supplied from said microprocessor;
- and
- when a branch operation is performed, said microprocessor operates to output a branch address through said address/data bus to said memory chip and also to output said instruction/data signal designating the instruction to said memory chip so as to cause the address on said address/data bus to be latched in said instruction pointer of said memory chip, and thereafter, to maintain said instruction/data signal designating the instruction, to output read signal to said memory chip and also to intermittently and sequentially output said instruction read signal to said memory chip so that at each time said instruction read signal is outputted from said microprocessor, said address held in said instruction pointer is updated, and an instruction code is read from said memory means in accordance with the updated address, with the result that instruction codes starting at said branch address are continuously read from said memory means through said address/data bus to said microprocessor with no address supplied from said microprocessor.
A memory chip coupled to an address/data bus so as to receive an address and data and to output an instruction code and data in response to various control signals including an address latch signal, a read signal, a write signal, an instruction/data signal and an instruction read signal, comprising:
- memory means for storing programs and data and being coupled to receive data from said address/data bus and to output an instruction code and data to said address/data bus,
- an address latch coupled to latch an address on said address/data bus in response to said address latch signal,
- an instruction pointer holding an address for an instruction code,
- an update means coupled to said instruction pointer and operating to output an updated address obtained by changing the address held in said instruction pointer by a predetermined number in response to each instruction read signal when said instruction/data signal designates an instruction, said instruction pointer being updated with said updated address outputted from said update means,
- selection means coupled to receive the address latched in said address latch and said updated address outputted from said update means and controlled by said instruction/data signal so as to output the address latched in said address latch when said instruction/data signal designates an instruction, and
- decode means coupled to receive the address outputted from said selection means and to output a decoded address to said memory means so that an instruction code or data is read from said memory means in accordance with the decoded address or data is written to said memory means in accordance with the decoded address, whereby
- said system being operative such that:
- when data is written to said memory means, the memory chip receives an address through said address/data bus and said address latch signal so that the address on said address/data bus is latched in said address latch, and thereafter, the memory chip receives data through said address/data bus and also receives said instruction/data signal designating the data and said write signal so that the address latched in said address latch is outputted from said selection means and the data on said address/data bus to be written into said memory means in accordance with the address latched in said address latch;
- when data is read from said memory means, the memory chip receives an address through said address/data bus and said address latch signal so that the address on said address/data bus is latched in said address latch, and thereafter, the memory chip receives said instruction/data signal designating the data and said read signal so that the address latched in said address latch is outputted from said selection means and data is read from said memory means in accordance with the address latched in said address latch so as to be outputted through said address/data bus to said microprocessor;
- and
- when instruction codes are read from said memory means, the memory chip receives said instruction/data signal and also receives intermittently and sequentially said instruction read signal so that at each time said instruction read signal is received, said address held in said instruction pointer is updated, and an instruction code is read from said memory means in accordance with the updated address, with the result that instruction codes are continuously read from said memory means through said address/data bus with no address supplied from an external device.
Dependencies are inferred from the claim text.