Claims Analysis
Total Claims: 3
Claim 1
Independent Claim
601 words
A single chip microcomputer for coupling to an external memory through at least an external address bus and an external data bus, the single chip microcomputer comprising: an internal address bus connected to an address bus interface terminal for coupling to said external address bus; an internal data bus connected to a data bus interface terminal for coupling to said external data bus; an internal memory coupled to said internal address bus; a selector having a first input connected to an output of said internal memory and a second input connected to said internal data bus, an output of said selector being connected to said internal data bus; an address discriminating circuit coupled to said internal address bus for discriminating whether an address on said internal address bus is directed to said internal memory or said external memory and for generating a selection signal to said selector, so that when the address on said internal address bus is directed to said internal memory, said address discriminating circuit causes said selector to select and output said output of said internal memory, and when the address on said internal address bus is directed to said external memory, said address discriminating circuit causes said selector to select and output data supplied to said internal data bus from said external memory; a central processing unit coupled to said internal data bus and connected to a reset terminal; a latch circuit having a data input connected to an operation mode designation terminal and a latch timing control input connected to said rest terminal sot hat said latch circuit latches a logical level on said operation mode designation terminal when said rest terminal is brought from a resetting level to a non-resetting level, an output of said latch circuit connected to said address discriminating circuit and indicating a selected one of said internal memory and said external memory so that when said output of said latch circuit indicates said external memory, said address discriminating circuit causes said selector to select and output the data supplied to said internal data bus from said external memory, regardless of the address on said internal address bus; whereby, when an operation is started during an external memory operation mode, even if the logical value of said operation mode designation terminal is changed after the resetting is released, the output of said latch circuit does not change, and therefore, the operation mode is in no way changed to an internal read-only (ROM) operation mode in the course of execution of a program, said single chip microcomputer further comprising a second selector having a first input connected to said internal address bus and a second input connected to a first output port latch, an output of said second selector being connected to said address bus interface terminal, a third selector having a first input connected to said internal data bus and a second input connected to a second output port latch, an output of said third selector being connected to said data bus interface terminal, and a logic gate having a first input coupled to a memory extension flag an a second input connected to said output of said latch circuit, an output of said logic gate being connected to a control input of each of said second and third selectors, so that when said output of said latch circuit indicates said internal memory and said memory extension flag does not indicate a memory extension, said first and second output port latches are coupled to said address bus interface terminal and said data bus interface terminal through said second and third selectors, respectively.
Claim 2
Dependent Claim
601 words
A single chip microcomputer for coupling to an external memory through at least an external address bus and an external data bus, the single chip microcomputer comprising: an internal address bus connected to an address bus interface terminal for coupling to said external address bus; an internal data bus connected to a data bus interface terminal for coupling to said external data bus; an internal memory coupled to said internal address bus; a selector having a first input connected to an output of said internal memory and a second input connected to said internal data bus, an output of said selector being connected to said internal data bus; an address discriminating circuit coupled to said internal address bus for discriminating whether an address on said internal address bus is directed to said internal memory or said external memory and for generating a selection signal to said selector, so that when the address on said internal address bus is directed to said internal memory, said address discriminating circuit causes said selector to select and output said output of said internal memory, and when the address on said internal address bus is directed to said external memory, said address discriminating circuit causes said selector to select and output data supplied to said internal data bus from said external memory; a central processing unit coupled to said internal data bus and connected to a reset terminal; a latch circuit having a data input connected to an operation mode designation terminal and a latch timing control input connected to said rest terminal sot hat said latch circuit latches a logical level on said operation mode designation terminal when said rest terminal is brought from a resetting level to a non-resetting level, an output of said latch circuit connected to said address discriminating circuit and indicating a selected one of said internal memory and said external memory so that when said output of said latch circuit indicates said external memory, said address discriminating circuit causes said selector to select and output the data supplied to said internal data bus from said external memory, regardless of the address on said internal address bus; whereby, when an operation is started during an external memory operation mode, even if the logical value of said operation mode designation terminal is changed after the resetting is released, the output of said latch circuit does not change, and therefore, the operation mode is in no way changed to an internal read-only (ROM) operation mode in the course of execution of a program, said single chip microcomputer further comprising a second selector having a first input connected to said internal address bus and a second input connected to a first output port latch, an output of said second selector being connected to said address bus interface terminal, a third selector having a first input connected to said internal data bus and a second input connected to a second output port latch, an output of said third selector being connected to said data bus interface terminal, and a logic gate having a first input coupled to a memory extension flag an a second input connected to said output of said latch circuit, an output of said logic gate being connected to a control input of each of said second and third selectors, so that when said output of said latch circuit indicates said internal memory and said memory extension flag does not indicate a memory extension, said first and second output port latches are coupled to said address bus interface terminal and said data bus interface terminal through said second and third selectors, respectively.
Claim 3
Dependent Claim
16 words
A single chip microcomputer claimed in claim 1 wherein said logic gate comprises an AND gate.