Semiconductor device, microcomputer and flash memory
First Claim
1. A semiconductor device on a semiconductor chip, comprising:
- a control voltage generating circuit which generates a control voltage on the basis of control data;
a circuit using a current source generating a reference current on the basis of said control voltage;
a current measuring transistor whose control terminal is connected to a signal line for providing said control voltage to said reference current source;
an external measuring terminal, connected to a current terminal of said current measuring transistor, for making possible external measurement of a current flowing in said current measuring transistor; and
a memory means which holds said control data and provides them to said control voltage generating circuit.
5 Assignments
0 Petitions
Accused Products
Abstract
A semiconductor device whose characteristics are highly reliably regulated for circuits whose desired characteristics need to be realized without being affect by unevenness in device characteristics is to be provided. A replica MOS transistor for amperage measurement connected to an external measuring terminal is provided. A delay circuit and other circuits whose desired characteristics are to be realized have a constant current source MOS transistor formed in the same process as the replica MOS transistor, and a trimming voltage vtri is commonly applied to the respective gates of the constant current source MOS transistor and the replica MOS transistor. Trimming data determined on the basis of an amperage measured from the external measuring terminal are stored into a memory means such as an electrically rewritable non-volatile memory or the like. The trimming data determine the trimming voltage vtri.
72 Citations
35 Claims
-
1. A semiconductor device on a semiconductor chip, comprising:
-
a control voltage generating circuit which generates a control voltage on the basis of control data;
a circuit using a current source generating a reference current on the basis of said control voltage;
a current measuring transistor whose control terminal is connected to a signal line for providing said control voltage to said reference current source;
an external measuring terminal, connected to a current terminal of said current measuring transistor, for making possible external measurement of a current flowing in said current measuring transistor; and
a memory means which holds said control data and provides them to said control voltage generating circuit. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21)
wherein said circuit using said current source has, as first circuits for selectively making a charging reference current flow, a first MOS transistor and a second MOS transistor receiving at their respective control terminals a first voltage supplied from said current source circuit and a third MOS transistor arranged between those first and second MOS transistors and subjected to switching control; - and as second circuits for selectively making a discharging reference current flow, a fourth MOS transistor and a fifth MOS transistor receiving at their respective control terminals a second voltage supplied from said current source circuit and a sixth MOS transistor arranged between those fourth and fifth MOS transistors and subjected to switching control.
-
16. The semiconductor device according to claim 3, wherein said circuit using said current source is a clamp circuit provided with a differential amplifier having said current source MOS transistor as its current source and with an output circuit receiving at its control terminal the differential output voltage of said differential amplifier, said clamp circuit being capable of negatively feeding back the output voltage of said output circuit to the voltage via said differential amplifier.
-
17. The semiconductor device according to claim 3, comprising:
-
a non-volatile memory element whose threshold voltage is made programmable;
a reference circuit for generating a decision level for a voltage emerging on a data line according to the threshold voltage of said non-volatile memory element; and
a sense amplifier for comparing the decision level of said reference circuit and the voltage emerging on the data line according to the threshold voltage of said non-volatile memory element, wherein said reference circuit constitutes a circuit having on its discharge path said current source MOS transistor and using said current source.
-
-
18. The semiconductor device according to claim 17, wherein said reference circuit has, as circuits for selectively making a reference current flow, a first MOS transistor and a second MOS transistor receiving at their respective control terminals a voltage and a third MOS transistor arranged between those first and second MOS transistors and subjected to switching control.
-
19. The semiconductor device according to claim 3, comprising:
-
a non-volatile memory element whose threshold voltage is made electrically changeable;
a program control circuit for controlling the threshold voltage change for said non-volatile memory element; and
a verify sense amplifier for detecting whether or not the threshold voltage change by said program control circuit has been completed, wherein said verify sense amplifier includes;
a logic gate having a prescribed logic threshold voltage connected to the data terminal element of said non-volatile memory element;
a current source circuit, having said current source MOS transistor, for generating a reference voltage in the vicinity of said logic threshold voltage on the basis of a current flowing therein; and
a load MOS transistor, receiving said reference voltage generated by said current source circuit and subjected to mutual conductance control, for supplying a current to the data terminal of said non-volatile memory element and, when the threshold voltage of said non-volatile memory element has reached a prescribed state, controlling the input to the logic gate to a voltage in the vicinity of said logic threshold voltage.
-
-
20. The semiconductor device according to claim 19, further comprising:
-
a first selecting circuit provided between said external measuring terminal and said current measuring transistor;
a second selecting circuit; and
another circuit connected between said external measuring terminal and said first selecting circuit via said second selecting circuit.
-
-
21. The semiconductor device according to claim 20, wherein said other circuit is a voltage output circuit for supplying a voltage according to voltage control data stored in the memory, and the voltage supplied by said voltage output circuit is made observable from said external measuring terminal via said second selecting circuit.
-
-
22. A microcomputer including a CPU and other circuits over one semiconductor chip,
wherein said other circuits include a control voltage generating circuit for generating a control voltage on the basis of control data; - a circuit using a current source transistor for generating a reference current on the basis of said control voltage;
a current measuring transistor whose control terminal is connected to a path for supplying said control voltage to said current source transistor;
an external measuring terminal, connected to the current terminal of said current measuring transistor, for making possible external measurement of the current flowing in said current measuring transistor; and
a memory which holds control data and provides them to said control voltage generating circuit. - View Dependent Claims (23, 24, 25, 26, 27, 28, 29, 30)
- a circuit using a current source transistor for generating a reference current on the basis of said control voltage;
-
31. A flash memory having over one semiconductor chip an array of non-volatile memory elements whose threshold voltages are made electrically changeable, a program circuit for changing the threshold voltages of said non-volatile memory elements, and a read circuit for reading out stored information in the non-volatile memory elements,
either said program circuit or read circuit or both have a current source MOS transistor, receiving a control voltage, for generating a reference current, said flash memory further including: -
a signal line for providing a control voltage to said current source MOS transistor;
a current measuring MOS transistor whose control terminal is connected to said signal line;
an external measuring terminal, connected to the current terminal of said current measuring MOS transistor, for making possible external measurement of the current flowing in said current measuring MOS transistor;
a control voltage generating circuit for generating said control voltage on the basis of control data; and
a memory for holding said control data and providing them to said control voltage generating circuit. - View Dependent Claims (32, 33, 34, 35)
wherein said read circuit has a reference circuit for generating a decision level for a voltage emerging on a data line according to the threshold voltages of said non-volatile memory elements, and a sense amplifier for comparing the decision level of said reference circuit with the voltage emerging on the data line according to the threshold voltages of said non-volatile memory elements, and wherein said reference circuit is a circuit having on its discharge path said current source MOS transistor and using said current source transistor. -
33. The flash memory according to claim 32, wherein said reference circuit comprises a first current source MOS transistor and a second current source MOS transistor receiving at their respective control terminals a voltage and a third MOS transistor arranged between said first and second current source MOS transistors and subjected to switching control, and wherein the reference circuit is a circuit making a current flow in the turned-on state of said third MOS transistor.
-
34. The flash memory according to claim 31,
wherein said program circuit has a verify sense amplifier for detecting whether or not the threshold voltage change has been completed, wherein said verify sense amplifier includes: -
a logic gate having a prescribed logic threshold voltage connected to the data terminal element of said non-volatile memory element;
a current source circuit, having said current source MOS transistor, for generating a reference voltage in the vicinity of said logic threshold voltage on the basis of a current flowing therein; and
a load MOS transistor, receiving said reference voltage generated by said current source circuit and subjected to mutual conductance control, for supplying a current to the data terminal of said non-volatile memory element and, when the threshold voltage of said non-volatile memory element has reached a prescribed state, controlling the input to the logic gate to a voltage in the vicinity of said logic threshold voltage.
-
-
35. The flash memory according to claim 34, wherein said program circuit sets one of four or more threshold voltages designated by multi-bit programming data for each non-volatile memory element, said read circuit supplies the state of the threshold voltage as corresponding multi-bit stored information for each non-volatile memory element, and a multi-value flash memory in which stored information in each non-volatile memory element is expressed in a plurality of bits is thereby realized.
-
Specification