JP2001092803A - Microcomputer - Google Patents

Microcomputer

Info

Publication number
JP2001092803A
JP2001092803A JP26739199A JP26739199A JP2001092803A JP 2001092803 A JP2001092803 A JP 2001092803A JP 26739199 A JP26739199 A JP 26739199A JP 26739199 A JP26739199 A JP 26739199A JP 2001092803 A JP2001092803 A JP 2001092803A
Authority
JP
Japan
Prior art keywords
storage device
circuit
data
switch
volatile storage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP26739199A
Other languages
Japanese (ja)
Inventor
Katsuo Takagi
勝雄 高木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP26739199A priority Critical patent/JP2001092803A/en
Publication of JP2001092803A publication Critical patent/JP2001092803A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Microcomputers (AREA)

Abstract

PROBLEM TO BE SOLVED: To eliminate the need of manufacturing a glass mask which has been required for a one-chip microcomputer incorporating a flash memory at the time of changing a wiring layer for switching a circuit function as hardware. SOLUTION: A wiring layer can be changed and, in addition, the need of manufacturing a glass mask for changing the wiring layer is eliminated by means of a switching circuit which selectively switches one of the output terminals of a plurality of logic circuit or blocks, a nonvolatile storage device which outputs the signal used for deciding the selection of the switch connection of the switching circuit, a resistor for holding the data corresponding to the signal, and a register control means which controls the writing in a register.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は不揮発性記憶装置を
搭載した半導体集積回路に関する。特に、マイクロコン
ピュータに関する。
The present invention relates to a semiconductor integrated circuit having a nonvolatile memory device. In particular, it relates to a microcomputer.

【0002】[0002]

【従来の技術】従来の技術において不揮発性記憶装置を
用いた半導体装置、特にフラッシュメモリ内蔵ワンチッ
プマイクロコンピュータでは、記憶装置に格納されてい
るデータを中央演算処理装置(以下CPUと記載する)
の制御により取り出していた。
2. Description of the Related Art In a conventional semiconductor device using a nonvolatile memory device, particularly a one-chip microcomputer with a built-in flash memory, data stored in the memory device is processed by a central processing unit (hereinafter referred to as a CPU).
It was taken out under the control of.

【0003】また、文字や図形などのキャラクタデータ
を格納することはあっても、回路機能を切り換えるスイ
ッチデータを格納することはなかった。そのため回路機
能をハード的に切り換えるためには、配線層を変更し、
それに伴いその都度ガラスマスクを作製する必要があっ
た。
In addition, although character data such as characters and figures are stored, switch data for switching circuit functions is not stored. Therefore, to switch the circuit function in hardware, change the wiring layer,
Accordingly, it was necessary to manufacture a glass mask each time.

【0004】また、このような回路機能を切り換えるス
イッチデータ、すなわち顧客が選択できるもので固定的
な多量のスイッチデータを不揮発性記憶装置に格納した
場合その都度CPUを介してデータを読み出す必要があ
る。したがって顧客が選択できるスイッチを容易に切り
換えることができなかった。
Further, when a large amount of fixed switch data which can be selected by a customer, ie, switch data for switching circuit functions, is stored in a non-volatile storage device, it is necessary to read the data via the CPU each time. . Therefore, the switch that can be selected by the customer cannot be easily changed.

【0005】[0005]

【発明が解決しようとする課題】従来の技術においては
記憶装置に格納されているデータをCPUの制御により
取り出していたが、固定データ、例えば回路機能を切り
換えるオプションスイッチなどを不揮発性記憶装置から
取り出す動作はリセット信号の直後等に一回だけ読み出
し動作されればよく、このような固定データが多量にあ
る場合その都度CPUを介してデータを読み出すのはプ
ログラム効率が悪い。
In the prior art, data stored in the storage device is extracted under the control of the CPU. However, fixed data, for example, an option switch for switching circuit functions is extracted from the nonvolatile storage device. The operation only needs to be read once just after the reset signal or the like, and when there is a large amount of such fixed data, reading the data via the CPU each time is inefficient in programming.

【0006】[0006]

【課題を解決するための手段】上記の課題を解決するた
め、本発明のマイクロコンピュータは、複数の信号入力
端子と、前記信号入力端子を入力とするそれぞれ機能の
異なった複数の論理回路もしくはそれぞれ機能の異なっ
た複数のブロックと、前記論理回路もしくは前記ブロッ
クの出力端子のいずれか一つに選択的に切り換えるスイ
ッチ回路と、前記スイッチ回路のスイッチ接続の選択を
決定づけるための信号を出力する不揮発性記憶装置と、
前記信号に応じたデータを保持するためのレジスタと、
前記レジスタへの書き込みを制御するレジスタコントロ
ール手段と、前記スイッチ回路の出力を最終的な出力端
子として次段の論理回路またはブロックに伝送する出力
端子とを備えてなることを特徴とする。
In order to solve the above-mentioned problems, a microcomputer according to the present invention comprises a plurality of signal input terminals and a plurality of logic circuits each having a different function, each of which has the function of inputting the signal input terminal. A plurality of blocks having different functions, a switch circuit for selectively switching to one of the logic circuit and the output terminal of the block, and a nonvolatile circuit for outputting a signal for determining selection of switch connection of the switch circuit A storage device;
A register for holding data according to the signal;
It is characterized by comprising register control means for controlling writing to the register, and an output terminal for transmitting an output of the switch circuit as a final output terminal to a next-stage logic circuit or block.

【0007】上記の本発明によれば、例えば回路機能を
切り換えるオプションスイッチなどを不揮発性記憶装置
に格納することにより、回路機能をハード的に切り換え
るための、配線層の変更、それに伴うガラスマスクを作
製といったことをする必要がなくなる。また機能切り換
えを顧客もしくはテスト時に不揮発性記憶装置のデータ
内容を書き換えるだけで簡単に機能切り換えやテストが
できるようになる。この作用により、顧客に製品開発の
自由度を与えさらに顧客専用のガラスマスク作製の必要
がないため従来よりも短納期での開発が可能となる。
According to the present invention, for example, an option switch for switching a circuit function is stored in a non-volatile storage device, so that a change in a wiring layer and a accompanying glass mask for switching a circuit function in a hardware manner are realized. There is no need to make things. Further, the function switching and the test can be easily performed only by rewriting the data contents of the nonvolatile storage device at the time of the customer or the test. This effect gives the customer a degree of freedom in product development and eliminates the necessity of producing a glass mask dedicated to the customer, thereby enabling development with a shorter delivery time than before.

【0008】また、本発明の第2のマイクロコンピュー
タは、機能の異なった複数の論理回路もしくは機能の異
なった複数のブロックの配線を切り換えるスイッチデー
タを格納する不揮発性記憶装置と、前記スイッチデータ
が入力され保持されてなる揮発性記憶装置と、前記揮発
性記憶装置の出力信号が入力される論理回路または機能
ブロックと、不揮発性記憶装置及び揮発性記憶装置を制
御する制御回路とからなり、前記制御回路からの信号に
より前記不揮発性記憶装置の格納データを前記揮発性記
憶装置に転送し、これ以後転送したアドレスのデータは
不揮発性記憶装置から取り出されないとともに、前記制
御回路がソフトウエアを介在しない自動シーケンス回路
であることを特徴とする。
A second microcomputer according to the present invention includes a nonvolatile storage device for storing switch data for switching wiring of a plurality of logic circuits having different functions or wirings of a plurality of blocks having different functions, A volatile storage device that is inputted and held, a logic circuit or a functional block to which an output signal of the volatile storage device is inputted, and a control circuit that controls the nonvolatile storage device and the volatile storage device, The data stored in the nonvolatile storage device is transferred to the volatile storage device by a signal from the control circuit, and the data of the transferred address is not taken out from the nonvolatile storage device thereafter, and the control circuit intervenes software. It is characterized by an automatic sequence circuit that does not.

【0009】また、上記の本発明によれば、不揮発性記
憶装置に格納されている回路機能を切り換えるオプショ
ンスイッチのデータ内容を取り出す際、不揮発性記憶装
置のデータを揮発性記憶装置に自動制御回路にて転送を
行い以後揮発性記憶装置のデータを使用する。このため
このような固定データが多量にある場合その都度中央演
算処理装置CPUを介してデータを読み出す必要がな
く、その際の面倒なシーケンスを行うことがなくなりソ
フトウエア効率を高めることが可能となる。
Further, according to the present invention, when the data content of the option switch for switching the circuit function stored in the nonvolatile storage device is taken out, the data of the nonvolatile storage device is automatically stored in the volatile storage device. And then use the data in the volatile storage device. Therefore, when there is a large amount of such fixed data, it is not necessary to read out the data via the central processing unit CPU each time, and a troublesome sequence at that time is not performed, and the software efficiency can be improved. .

【0010】[0010]

【発明の実施の形態】以下、本発明の実施の形態につい
て、図面に基づいて説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0011】図1は、本発明の実施形態を示す図であ
る。その構成は不揮発性記憶装置を用いた半導体装置に
おいてある信号の入力端子INPUTと、その入力信号を入
力とする2種類のそれぞれ機能の異なった論理回路もし
くは機能の異なったブロックとして、Function1および
Function2があり、そのそれぞれの出力端子S1,S2
に切り換えるスイッチ回路(selector)と、スイッチ回
路(selecter)のスイッチ接続の選択を決定づけるため
の信号を出力する不揮発性記憶装置と、そのデータを保
持するためのRegistor、及びRegistorへの書き込みを制
御するRegistor control信号があり、スイッチ回路(se
lecter)の出力を最終的な出力端子として次段の論理回
路またはブロックに伝送する出力端子OUTPUTからなって
いる。
FIG. 1 is a diagram showing an embodiment of the present invention. The configuration is such that in a semiconductor device using a non-volatile memory device, an input terminal INPUT of a certain signal and two types of logic circuits having different functions or blocks having different functions, each having the input signal as an input, are provided as Function1 and Function1.
Function 2 and its respective output terminals S1, S2
, A non-volatile storage device that outputs a signal for deciding the selection of the switch connection of the switch circuit (selector), a Registor for holding the data, and writing to the Registor. There is a Registor control signal and the switch circuit (se
An output terminal OUTPUT for transmitting the output of the lecter) to the next-stage logic circuit or block as a final output terminal.

【0012】従来の技術においてフラッシュメモリのよ
うな不揮発性記憶装置を用いた半導体装置、特にフラッ
シュメモリ内蔵ワンチップマイクロコンピュータでは、
フラッシュ記憶装置に格納されているデータを中央演算
処理装置CPUコアの制御により取り出していた。ま
た、文字や図形などのキャラクタデータを格納すること
はあっても、回路機能を切り換えるスイッチデータを格
納することはなかった。ここでいう回路機能を切り換え
るスイッチを顧客が選択できるものをオプションスイッ
チと定義すると、ワンチップマイクロコンピュータにお
いて、多機能をもたせるためにはいくつかのファンクシ
ョンが必要となるが、同時にすべてのファンクションを
限られたチップ面積で機能させることは難しい。
In the prior art, in a semiconductor device using a nonvolatile memory device such as a flash memory, particularly in a one-chip microcomputer with a built-in flash memory,
The data stored in the flash storage device is extracted under the control of the central processing unit CPU core. Further, even though character data such as characters and figures may be stored, switch data for switching circuit functions is not stored. If the switch that switches the circuit functions can be selected by the customer as an optional switch, a single chip microcomputer requires several functions to provide multiple functions, but all functions are limited at the same time. It is difficult to function with a limited chip area.

【0013】例えば、液晶駆動回路において顧客で駆動
デューティを変えたいとか、駆動バイアスを変えたいと
いった場合、今までは配線層データを変えるだけで同じ
機能ブロックを使って実現してきたが、その場合、配線
層データを変えることから、製造時にガラスマスクをそ
の顧客専用に制作しなくてはならない。
For example, when a customer wants to change a drive duty or a drive bias in a liquid crystal drive circuit, it has been realized by using the same functional block just by changing the wiring layer data. Since the wiring layer data is changed, a glass mask must be produced exclusively for the customer at the time of manufacturing.

【0014】そこで本発明のように例えば、図1のごと
くフラッシュメモリに液晶駆動回路の駆動デューティの
データとして、“1”なら1/32デューティ、“0”
なら1/8デューティのようにあらかじめセットしてお
き、1/32デューティを選択した場合functio
n 1の論理回路を使用し、1/8デューティを選択し
た場合はfunction 2の論理回路を使用するよ
うにスイッチ(selecter)を切り換えればフラッシュデ
ータを書き換えるだけで簡単に機能変更ができるように
なる。またスイッチは、トランスミッションゲートを用
いる方法やセレクタ入力付きの論理ゲートを組むことで
実現可能となる。
Therefore, as shown in the present invention, for example, as shown in FIG. 1, as the drive duty data of the liquid crystal drive circuit in the flash memory, if "1", 1/32 duty, "0"
If it is, set it in advance like 1/8 duty, and if 1/32 duty is selected, function
When a logic circuit of n1 is used and a 1/8 duty is selected, a function can be easily changed simply by rewriting flash data by switching a switch so as to use a logic circuit of function2. Become. Further, the switch can be realized by a method using a transmission gate or assembling a logic gate with a selector input.

【0015】図2は、本発明の第2の実施形態を概念的
に説明する図であり、さらに具体的な例を示した図が図
3である。
FIG. 2 is a diagram conceptually illustrating a second embodiment of the present invention, and FIG. 3 shows a more specific example.

【0016】図2の構成は、不揮発性記憶装置を用いた
半導体装置においてそれぞれ機能の異なった論理回路も
しくは機能ブロックの配線を切り換えるスイッチデータ
を格納する不揮発性記憶装置と、その格納データを入力
とし保持する揮発性記憶装置と、前記揮発性記憶装置の
出力信号を用いている論理回路または機能ブロックと、
不揮発性記憶装置及び揮発性記憶装置を制御する制御回
路から成る。
In the configuration shown in FIG. 2, in a semiconductor device using a nonvolatile storage device, a nonvolatile storage device for storing switch data for switching wiring of a logic circuit or a functional block having different functions, and the stored data as an input. A volatile storage device to hold, a logic circuit or a functional block using an output signal of the volatile storage device,
It comprises a control circuit for controlling the nonvolatile storage device and the volatile storage device.

【0017】本実施形態の本質は、不揮発性記憶装置の
データを中央演算処理装置CPUを介さずに揮発性記憶
装置に転送し、以後一度転送されたデータについて不揮
発性記憶装置から読み出さないことである。
The essence of the present embodiment is that data in a nonvolatile storage device is transferred to a volatile storage device without passing through a central processing unit CPU, and data transferred once is not read from the nonvolatile storage device. is there.

【0018】その手順を図2で説明すると、まず、コン
トローラー(controlor)から不揮発性記憶装
置であるフラッシュメモリに対し、読み出し命令を出し
同時に、揮発性記憶装置のRAMやレジスタ(RAM
or Registor)などにアドレス信号と書き込み
信号を送り、フラッシュメモリからRAMへのデータ転
送を行う。この時に、フラッシュメモリのデータをRA
Mのどのアドレスに格納するかをあらかじめ決めてお
く。これは顧客が変更することはなく設計時に任意に決
めればよい。そして、前記のデータ転送処理が終了した
後、RAMの出力やレジスタの出力を常時出力状態にす
ることで、論理回路(Logic Circuit)に
フラッシュメモリにあったデータを供給することができ
る。また、このデータは先に説明しているように回路機
能を切り換えるスイッチデータであり、通常のRAMに
格納されるランダムなものではない。このようなデータ
が多量にある場合データを取り出すために、中央演算処
理装置CPUによるフラッシュメモリの読み出し処理を
その都度行うのはソフトウエア効率が悪いため、本実施
形態のようにフラッシュメモリから一旦RAMやレジス
タに格納して常時出力状態にしておけば以後そのデータ
を使いつづけることができ、中央演算処理装置CPUを
介さないためソフトウエア効率を高めることが可能とな
る。
The procedure will be described with reference to FIG. 2. First, a read command is issued from a controller to a flash memory which is a nonvolatile storage device, and at the same time, a RAM or a register (RAM) of a volatile storage device is issued.
or a register) to transfer data from the flash memory to the RAM. At this time, the flash memory data is
Which address of M is to be stored is determined in advance. This is not changed by the customer and may be arbitrarily determined at the time of design. Then, after the data transfer process is completed, the output of the RAM and the output of the register are always set to the output state, so that the data that is in the flash memory can be supplied to the logic circuit (Logic Circuit). This data is switch data for switching circuit functions as described above, and is not random data stored in a normal RAM. When a large amount of such data is present, it is inefficient to perform the read processing of the flash memory by the central processing unit CPU every time in order to retrieve the data. If the data is stored in the register and kept in the output state, the data can be continuously used thereafter, and the software efficiency can be improved because the data is not passed through the central processing unit CPU.

【0019】図3に図2における不揮発性記憶装置のデ
ータを中央演算処理装置CPUを介さずに揮発性記憶装
置に転送し、そのデータを利用する場合について具体的
な実施例を示す。
FIG. 3 shows a specific embodiment in which data in the nonvolatile storage device shown in FIG. 2 is transferred to the volatile storage device without passing through the central processing unit CPU, and the data is used.

【0020】図3はフラッシュメモリセル1(Flash me
mory cell-1)とフラッシュメモリセル2(Flash memor
y cell-2)のデータをTR1,TR2、IN1,IN
2で構成されるラッチメモリに保持させ今度はそのラッ
チメモリの出力をTR3,TR4,TR5,TR6で構
成されるデータ比較回路にて判定し、TR3とTR4の
ゲート電位がともにLoレベルの場合出力端子OUTに
Hiレベルを出力するような回路を考える。
FIG. 3 shows a flash memory cell 1 (Flash me
mory cell-1) and flash memory cell 2 (Flash memor)
y cell-2) is transferred to TR1, TR2, IN1, IN
2 and the output of the latch memory is determined by a data comparison circuit composed of TR3, TR4, TR5, and TR6. If the gate potentials of TR3 and TR4 are both at the Lo level, the output is output. Consider a circuit that outputs a Hi level to the terminal OUT.

【0021】この動作はまず、フラッシュメモリセル1
(Flash memory cell-1)の出力を、例えばHiレベル
をswitchをオープンにすることでBL線に供給
し、同時にWLをHiレベルにすることで、TR1,T
R2のMOS型Nチャンネル電界効果トランジスタ、I
N1,IN2の否定論理素子で構成されるラッチメモリ
のA点にHiレベルを供給する。またB点にはフラッシ
ュメモリセル1(Flashmemory cell-1)の否定論理デー
タが格納されているフラッシュメモリセル2(Flash me
mory cell-2)のデータよりLoレベルが与えられる。
この後WLをLoにしてラッチメモリへのデータ保持に
切り換える、それとともに二つのswitchを同時に
閉じてフラッシュメモリを回路から切り離す。この動作
でフラッシュメモリからラッチメモリにデータが転送さ
れ、保持される。この時点でTR4のゲートにはLoレ
ベルが与えられているためTR4はOFFする。次にデ
ータ比較動作について述べる。 MOS型Nチャンネル
電界効果トランジスタTR5とMOS型Pチャンネル電
界効果トランジスタTR6のそれぞれの共通ゲートXP
RCGにLoレベルを与えTR6の導通によるHiレベ
ルをC点に与える。この時MOS型Nチャンネル電界効
果トランジスタTR5はOFFしている。これをプリチ
ャージ動作とよぶことにする。そして、XPRCGに今
度はHiレベルを与え、TR5よりGNDレベルすなわ
ちLoレベルを導通させる。この時、TR4はOFFし
ているが、XBL線にLoレベルを与えるとTR3はO
FFするためC点には電界効果型トランジスタの寄生ド
レイン容量によりHiレベルが残る。このHiレベルを
この回路の出力とすることで一連の動作を終了する。こ
の回路においてBL線とXBL線は否定論理の関係にあ
る。
This operation starts with the flash memory cell 1
The output of (Flash memory cell-1) is supplied to the BL line by, for example, opening the switch to Hi level, and by simultaneously setting WL to Hi level, TR1, T
MOS type N-channel field effect transistor of R2, I
The Hi level is supplied to the point A of the latch memory constituted by the negative logic elements N1 and IN2. At point B, the flash memory cell 2 (Flash memory cell-1) storing the negative logical data of the flash memory cell 1 (Flash memory cell-1) is stored.
Lo level is given from the data of mory cell-2).
Thereafter, the WL is set to Lo to switch to data holding in the latch memory. At the same time, two switches are simultaneously closed to disconnect the flash memory from the circuit. With this operation, data is transferred from the flash memory to the latch memory and held. At this time, TR4 is turned off because the Lo level is given to the gate of TR4. Next, the data comparison operation will be described. Common gate XP of each of MOS type N-channel field effect transistor TR5 and MOS type P-channel field effect transistor TR6
The Lo level is applied to RCG, and the Hi level due to the conduction of TR6 is applied to point C. At this time, the MOS N-channel field effect transistor TR5 is off. This is called a precharge operation. Then, the XPRCG is given the Hi level this time, and the GND level, that is, the Lo level is made conductive from TR5. At this time, TR4 is OFF, but when Lo level is applied to the XBL line, TR3 becomes O.
The Hi level remains at the point C due to the parasitic drain capacitance of the field effect transistor for the FF. A series of operations is completed by setting this Hi level as the output of this circuit. In this circuit, the BL line and the XBL line have a negative logic relationship.

【0022】次に、フラッシュメモリセル1(Flash me
mory cell-1)の出力がLoレベルの場合について述べ
る。
Next, the flash memory cell 1 (Flash me
The case where the output of mory cell-1) is at the Lo level will be described.

【0023】まず、switchをオープンにすること
でBL線にLoレベル供給し、同時にWLをHiレベル
にすることで、TR1,TR2のMOS型Nチャンネル
電界効果トランジスタ、IN1,IN2の否定論理素子
で構成されるラッチメモリのA点にLoレベルが供給さ
れる。またB点にはフラッシュメモリセル1(Flashmem
ory cell-1)の否定論理データが格納されているフラッ
シュメモリセル2(Flash memory cell-2)によりHi
レベルが与えられる。この後WLをLoレベルにしてラ
ッチメモリへのデータ保持に切り換える、それとともに
二つのswitchを同時に閉じてフラッシュメモリを
回路から切り離す。この時点でTR4のゲートにはHi
レベルが与えられているためTR4はONする。
First, when the switch is opened, a low level is supplied to the BL line, and at the same time, when the WL is set to the high level, the MOS type N-channel field effect transistors of TR1 and TR2 and the negative logic elements of IN1 and IN2 are used. The Lo level is supplied to point A of the configured latch memory. At point B, the flash memory cell 1 (Flashmem
ory cell-1) is stored in the flash memory cell-2 (Flash memory cell-2).
Levels are given. Thereafter, the WL is set to the Lo level to switch to data holding in the latch memory. At the same time, the two switches are simultaneously closed to disconnect the flash memory from the circuit. At this time, the gate of TR4 is Hi.
TR4 is turned ON because the level is given.

【0024】次に、データ比較動作について述べる。Next, the data comparison operation will be described.

【0025】MOS型Nチャンネル電界効果トランジス
タTR5とMOS型Pチャンネル電界効果トランジスタ
TR6のそれぞれの共通ゲートXPRCGにLoレベル
を与えTR6の導通によるHiレベルをC点に与える。
これでプリチャージ動作を行う。この時MOS型Nチャ
ンネル電界効果トランジスタTR5はOFFしているた
めMOS型Nチャンネル電界効果トランジスタTR4が
ONしていても、またMOS型Nチャンネル電界効果ト
ランジスタTR3のゲートが不定でも、C点にLoレベ
ルが供給されることはない。そして、XPRCGに今度
はHiレベルを与え、TR5よりGNDレベルすなわち
Loレベルを導通させる。この時、TR4はONしてお
り、XBL線にLoもしくはHiレベルを与えてもC点
にLoレベルが供給される。このLoレベルをこの回路
の出力とすることで一連の動作を終了する。したがっ
て、フラッシュメモリのデータがHiレベルかつBL線
がHiレベルならばC点すなわちこの回路の出力はHi
となり、フラッシュメモリのデータがLoレベルならば
C点すなわちこの回路の出力はLoとなる。回路動作と
してはフラッシュメモリのデータとBL線の論理積にな
るが、本実施例のTR3,TR4,TR5,TR6で構
成される比較回路は4トランジスタであるが、通常の論
理積回路はNAND+NOTゲートの組み合わせとなる
ため6トランジスタ必要となる。ただし、本実施例の比
較回路はXPRCGの制御信号を必要とするが本実施例
の回路がメモリアレイのように多数必要になった場合に
は前記2個のトランジスタ数差が通常のロジック回路を
用いたNAND+NOTゲートの組み合わせ回路に比し
て優位性となるためレイアウト面積をより小さくでき
る。
The Lo level is applied to the common gate XPRCG of each of the MOS type N-channel field effect transistor TR5 and the MOS type P-channel field effect transistor TR6, and the Hi level due to the conduction of TR6 is applied to the point C.
Thus, a precharge operation is performed. At this time, since the MOS type N-channel field effect transistor TR5 is OFF, even if the MOS type N-channel field effect transistor TR4 is ON, or if the gate of the MOS type N-channel field effect transistor TR3 is indeterminate, Lo at point C. No level is supplied. Then, the XPRCG is given the Hi level this time, and the GND level, that is, the Lo level is made conductive from TR5. At this time, TR4 is ON, and Lo level is supplied to point C even if Lo or Hi level is applied to the XBL line. A series of operations is completed by setting this Lo level as the output of this circuit. Therefore, if the data of the flash memory is at the Hi level and the BL line is at the Hi level, the point C, that is, the output of this circuit is Hi.
When the data of the flash memory is at the Lo level, the point C, that is, the output of this circuit becomes Lo. The circuit operation is the logical product of the data of the flash memory and the BL line. The comparison circuit composed of TR3, TR4, TR5, and TR6 of this embodiment has four transistors, but the normal logical product circuit has a NAND + NOT gate. Therefore, six transistors are required. However, the comparison circuit of this embodiment requires the control signal of XPRCG. However, when a large number of circuits of this embodiment are required like a memory array, the difference between the two transistors is smaller than that of a normal logic circuit. The layout area can be further reduced since the present embodiment is superior to the used NAND + NOT gate combination circuit.

【0026】また、図3のような回路をメモリアレイの
ように多数使用した場合、図3のswitch、XPR
CG、WLなどの信号を、図2における制御回路con
trolorで自動制御することで中央演算処理装置C
PUを介してデータを読み出す一連の動作がなくなりソ
フトウエア効率を高められる。このケースでは制御回路
はリセットなどの初期信号をトリガとして、カウンタ回
路によるインクリメント動作を応用して各メモリアレイ
へのデータ転送を次々と行い、メモリアレイの数だけイ
ンクリメント動作をさせればよい。そして、インクリメ
ント動作が終了したところで終了信号を中央演算処理装
置CPUに返し、そこから通常のワンチップマイクロコ
ンピュータとして動作開始することになる。
When a large number of circuits as shown in FIG. 3 are used as in a memory array, switching, XPR in FIG.
Signals such as CG and WL are transmitted to the control circuit con in FIG.
The central processing unit C is automatically controlled by the controller.
A series of operations for reading data via the PU is eliminated, and software efficiency can be improved. In this case, the control circuit may perform data transfer to each memory array one after another by applying an increment operation by the counter circuit, using an initial signal such as a reset as a trigger, and perform the increment operation by the number of memory arrays. Then, when the increment operation is completed, an end signal is returned to the central processing unit CPU, and operation as a normal one-chip microcomputer is started therefrom.

【0027】[0027]

【発明の効果】本発明によれば、固定データ、例えばユ
ーザーが回路機能を切り換えるオプションスイッチなど
を不揮発性記憶装置に格納することにより、回路機能を
ハード的に切り換えるための、配線層の変更、それに伴
うガラスマスクの作製といったことが不要となる。
According to the present invention, by storing fixed data, for example, an option switch for switching a circuit function by a user in a non-volatile storage device, it is possible to change a wiring layer for switching a circuit function in a hardware manner. This eliminates the need for producing a glass mask.

【0028】従って、異なる仕様のマイクロコンピュー
タであっても、共通のガラスマスクを用いて、一括して
大量に生産することができ、その結果、多品種を少量ず
つ生産するのに比べ、製造に要する時間、及びエネルギ
ーを削減することができる。
Therefore, even microcomputers of different specifications can be mass-produced collectively using a common glass mask. As a result, compared to producing a large variety of products little by little, it is easier to manufacture. The required time and energy can be reduced.

【0029】また、ユーザーもしくは、ICテスト時に
不揮発性記憶装置のデータ内容を書き換えるだけで簡単
に機能切り換えや機能テストができるようになる。この
作用により、ユーザーに製品開発の自由度を与え、さら
にユーザー専用のガラスマスク作製の必要がないため従
来よりも短納期での製品開発が可能となる。
Further, the function switching and the function test can be easily performed only by rewriting the data contents of the nonvolatile storage device by the user or the IC test. This action gives the user freedom of product development, and eliminates the need to produce a glass mask exclusively for the user, thereby enabling product development with a shorter delivery time than before.

【0030】また、不揮発性記憶装置に格納されている
回路機能を切り換えるオプションスイッチのデータ内容
を取り出す際、不揮発性記憶装置のデータを揮発性記憶
装置に自動制御回路にて転送を行い以後揮発性記憶装置
のデータを使用するため、このような固定データが多量
にある場合その都度中央演算処理装置CPUを介してデ
ータを読み出す必要がなく、その際の面倒なシーケンス
を行うことがなくなりソフトウエア効率を高めることが
可能となる。
Further, when extracting the data content of the option switch for switching the circuit function stored in the nonvolatile storage device, the data of the nonvolatile storage device is transferred to the volatile storage device by the automatic control circuit, and thereafter the volatile storage device is operated. Since the data in the storage device is used, it is not necessary to read out the data via the central processing unit CPU each time a large amount of such fixed data is present. Can be increased.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の実施形態を示すマイクロコンピュータ
の図。
FIG. 1 is a diagram of a microcomputer showing an embodiment of the present invention.

【図2】本発明の別の実施形態を示すマイクロコンピュ
ータの図。
FIG. 2 is a diagram of a microcomputer showing another embodiment of the present invention.

【図3】本発明の別の実施形態の具体例を示すマイクロ
コンピュータの図。
FIG. 3 is a diagram of a microcomputer showing a specific example of another embodiment of the present invention.

【符号の説明】[Explanation of symbols]

S1・・・スイッチの端子1 S2・・・スイッチの端子2 SEL・・・Registorに格納されているスイッチのセレ
クタ信号 ADDR・・・揮発性記憶装置へのアドレス信号 CE・・・揮発性記憶装置の書き込み制御信号 CTRL・・・不揮発性記憶装置からの読み出し制御信
号 TR1・・・MOS型Nチャンネル電界効果トランジス
タ TR2・・・MOS型Nチャンネル電界効果トランジス
タ TR3・・・MOS型Nチャンネル電界効果トランジス
タ TR4・・・MOS型Nチャンネル電界効果トランジス
タ TR5・・・MOS型Nチャンネル電界効果トランジス
タ TR6・・・MOS型Pチャンネル電界効果トランジス
タ IN1・・・否定論理ゲート IN2・・・否定論理ゲート A点・・・・メモリ回路の正論理出力側ノード B点・・・・メモリ回路の負論理出力側ノード C点・・・・データ比較回路の出力ノード WL・・・メモリセルのデータ書き込みを制御する信号
(Hiレベルでメモリセルにデータ書き込み可能) BL・・・メモリセルの正論理入出力線兼外部正論理比
較データ入力線 XBL・・・メモリセルの負論理入出力線兼外部負論理
比較データ入力線 XPRCG・・・プリチャージ信号 VCC・・・プラス極性電源 GND・・・グランドレベル電源
S1: switch terminal 1 S2: switch terminal 2 SEL: switch selector signal stored in the register ADDR: address signal to the volatile storage device CE: volatile storage device Write control signal CTRL: Read control signal from nonvolatile storage device TR1: MOS N-channel field effect transistor TR2: MOS N-channel field effect transistor TR3: MOS N-channel field effect transistor TR4: MOS-type N-channel field-effect transistor TR5: MOS-type N-channel field-effect transistor TR6: MOS-type P-channel field-effect transistor IN1: Negative logic gate IN2: Negative logic gate Point A ... Positive logic output node B of memory circuit ··· Negative logic output side node of memory circuit Point C ··· Output node of data comparison circuit WL ··· Control signal for writing data to memory cell (data can be written to memory cell at Hi level) BL・ Positive logic input / output line of memory cell and external positive logic comparison data input line XBL ・ ・ ・ Negative logic input / output line of memory cell and external negative logic comparison data input line XPRCG ・ ・ ・ Precharge signal VCC ・ ・ ・ Positive polarity Power supply GND: Ground level power supply

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 複数の信号入力端子と、 前記信号入力端子を入力とするそれぞれ機能の異なった
複数の論理回路もしくはそれぞれ機能の異なった複数の
ブロックと、 前記論理回路もしくは前記ブロックの出力端子のいずれ
か一つに選択的に切り換えるスイッチ回路と、 前記スイッチ回路のスイッチ接続の選択を決定づけるた
めの信号を出力する不揮発性記憶装置と、 前記信号に応じたデータを保持するためのレジスタと、 前記レジスタへの書き込みを制御するレジスタコントロ
ール手段と、 前記スイッチ回路の出力を最終的な出力端子として次段
の論理回路またはブロックに伝送する出力端子とを備え
てなることを特徴とするマイクロコンピュータ。
A plurality of signal input terminals; a plurality of logic circuits having different functions, each of which receives the signal input terminals, or a plurality of blocks each having a different function; and an output terminal of the logic circuit or the block. A switch circuit that selectively switches to any one of the switches, a nonvolatile storage device that outputs a signal for determining selection of a switch connection of the switch circuit, a register that holds data corresponding to the signal, A microcomputer comprising: register control means for controlling writing to a register; and an output terminal for transmitting an output of the switch circuit as a final output terminal to a next-stage logic circuit or block.
【請求項2】 機能の異なった複数の論理回路もしくは
機能の異なったブロックの配線を切り換えるスイッチデ
ータを格納する不揮発性記憶装置と、 前記スイッチデータが入力され保持されてなる揮発性記
憶装置と、 前記揮発性記憶装置の出力信号が入力される論理回路ま
たは機能ブロックと、 不揮発性記憶装置及び揮発性記憶装置を制御する制御回
路とからなり、 前記制御回路からの信号により前記不揮発性記憶装置の
格納データを前記揮発性記憶装置に転送し、これ以後転
送したアドレスのデータは不揮発性記憶装置から取り出
されないとともに、前記制御回路がソフトウエアを介在
しない自動シーケンス回路であることを特徴とするマイ
クロコンピュータ。
2. A non-volatile storage device for storing switch data for switching a plurality of logic circuits having different functions or wirings of blocks having different functions, a volatile storage device for receiving and storing the switch data, A logic circuit or a functional block to which an output signal of the volatile storage device is input; and a control circuit for controlling the nonvolatile storage device and the volatile storage device. The stored data is transferred to the volatile storage device, and the data of the address transferred thereafter is not taken out from the non-volatile storage device, and the control circuit is an automatic sequence circuit without software. Computer.
JP26739199A 1999-09-21 1999-09-21 Microcomputer Withdrawn JP2001092803A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26739199A JP2001092803A (en) 1999-09-21 1999-09-21 Microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26739199A JP2001092803A (en) 1999-09-21 1999-09-21 Microcomputer

Publications (1)

Publication Number Publication Date
JP2001092803A true JP2001092803A (en) 2001-04-06

Family

ID=17444207

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26739199A Withdrawn JP2001092803A (en) 1999-09-21 1999-09-21 Microcomputer

Country Status (1)

Country Link
JP (1) JP2001092803A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7315939B2 (en) 2003-05-29 2008-01-01 Nec Electronics Corporation Microcomputer having clock control circuit and initializing method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7315939B2 (en) 2003-05-29 2008-01-01 Nec Electronics Corporation Microcomputer having clock control circuit and initializing method thereof

Similar Documents

Publication Publication Date Title
JP3647996B2 (en) Nonvolatile semiconductor memory device and method for reading and programming the same
JP5311784B2 (en) Semiconductor device
USRE36732E (en) Non-volatile memory device with a sense amplifier capable of copying back
US4953129A (en) Nonvolatile semiconductor memory device capable of reliably writing data and a data writing method therefor
US4188670A (en) Associative interconnection circuit
KR100839700B1 (en) Non-volatile semiconductor memory device
US7187610B1 (en) Flash/dynamic random access memory field programmable gate array
US20050190626A1 (en) Flash/dynamic random access memory field programmable gate array
JPH05299616A (en) Semiconductor storage device
JP2002150789A (en) Non-volatile semiconductor memory
US6714451B2 (en) Semiconductor memory device including bit select circuit
US6034910A (en) Semiconductor memory device to which serial access is made and a method for accessing the same
KR20060072061A (en) Semiconductor memory device capable of switching from multiplex method to non-multiplex method
US6465818B1 (en) Semiconductor memory device capable of performing data writing or erasing operation and data reading operation in parallel
US6178132B1 (en) Non-volatile integrated circuit having read while write capability using one address register
US6256681B1 (en) Data buffer for programmable memory
US5696716A (en) Programmable memory element
JPH05282882A (en) Nonvolatile semiconductor memory
US6597602B2 (en) Semiconductor memory device
JP2001092803A (en) Microcomputer
US7505317B2 (en) Method, apparatus, and system for providing initial state random access memory
JP3400135B2 (en) Semiconductor storage device
JP2000173283A (en) Semiconductor memory and data processing device
JPS62287498A (en) Semiconductor memory unit
JP3392839B2 (en) Non-volatile semiconductor memory

Legal Events

Date Code Title Description
A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20031224