JP3455684B2 - Semiconductor integrated circuit - Google Patents

Semiconductor integrated circuit

Info

Publication number
JP3455684B2
JP3455684B2 JP29710698A JP29710698A JP3455684B2 JP 3455684 B2 JP3455684 B2 JP 3455684B2 JP 29710698 A JP29710698 A JP 29710698A JP 29710698 A JP29710698 A JP 29710698A JP 3455684 B2 JP3455684 B2 JP 3455684B2
Authority
JP
Japan
Prior art keywords
circuit
output
data
external control
rom
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.)
Expired - Fee Related
Application number
JP29710698A
Other languages
Japanese (ja)
Other versions
JP2000122888A (en
Inventor
淳史 大原
博雅 北川
勝 安田
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.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial Co Ltd
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 Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP29710698A priority Critical patent/JP3455684B2/en
Publication of JP2000122888A publication Critical patent/JP2000122888A/en
Application granted granted Critical
Publication of JP3455684B2 publication Critical patent/JP3455684B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、IC内部の標準特
性のばらつきを調整するためのROM、例えばツェナー
ザップ方式のPROM(プログラマブルロム)回路を内
蔵したバイポーラまたはBICMOS(バイシーモス)
半導体集積回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a ROM for adjusting variations in standard characteristics inside an IC, for example, a bipolar or BICMOS (Vice Moss) having a built-in Zener-Zap type PROM (Programmable ROM) circuit.
The present invention relates to a semiconductor integrated circuit.

【0002】[0002]

【従来の技術】半導体集積回路(Integrated Circuit)
では、ユーザがIC内部での出力振幅や出力周波数を含
む標準特性のばらつきを調整する必要のない無調整化を
実現するために、それらのばらつきを調整するための調
整データを保持したROMデバイスを内蔵することが知
られている。近年、電気的或いは光学的なROMデバイ
スを内蔵することが困難である、バイポーラまたはBI
CMOSプロセスを用いた半導体集積回路においても、
上述のような無調整化の要請に応じて、例えばツェナー
ザップ方式のPROM回路を内蔵することが一般的なも
のとなってきている。さらに、このような半導体集積回
路では、樹脂封止による特性シフト(特性変化)の影響
を抑制するために、プローバ・テスト時(拡散終了時)
ではなく、出荷検査時に内蔵したPROM回路に調整デ
ータを書き込みを行うものも開発・実用化されてきてい
る。また、このような半導体集積回路では、ピン数を削
減するためにシリアルコントロール信号によって調整デ
ータをPROM回路に書き込むことが一般的である。
2. Description of the Related Art Semiconductor integrated circuits
Then, in order to realize the adjustment-free operation in which the user does not need to adjust the variations of the standard characteristics including the output amplitude and the output frequency inside the IC, a ROM device holding adjustment data for adjusting those variations is used. Known to be built-in. In recent years, it is difficult to embed an electrical or optical ROM device in a bipolar or BI device.
Even in a semiconductor integrated circuit using a CMOS process,
In response to the above-mentioned demand for no adjustment, for example, it has become common to incorporate a Zener-Zap type PROM circuit. Furthermore, in such a semiconductor integrated circuit, in order to suppress the effect of characteristic shift (characteristic change) due to resin encapsulation, during the prober test (at the end of diffusion)
Instead, a device for writing adjustment data to a built-in PROM circuit at the time of shipping inspection has been developed and put into practical use. Further, in such a semiconductor integrated circuit, it is common to write adjustment data in the PROM circuit by a serial control signal in order to reduce the number of pins.

【0003】ここで、従来の半導体集積回路について、
図10を参照して具体的に説明する。尚、以下の説明で
は、mビット(mは整数)の値からなる調整データを使
用する場合について説明する。図10は、従来の半導体
集積回路の構成例を示す回路ブロック図である。図10
に示すように、従来の半導体集積回路101は、CPU
100に接続され、CPU100からシリアルコントロ
ール信号によって入力した調整データをパラレル信号に
変換するシリアル/パラレル変換回路102、及び前記
シリアル/パラレル変換回路102に接続され、調整デ
ータを記憶するPROM回路105を備えている。さら
に、従来の半導体集積回路101には、上記PROM回
路105に接続され、PROM回路105からの調整デ
ータをアナログ信号に変換するD/Aコンバータ回路1
07、及び前記D/Aコンバータ回路107に接続さ
れ、アナログ信号に変換された調整データを入力する被
調整回路108が設けられている。被調整回路8には、
n個(nは整数)の特性をそれぞれ調整するための第1
乃至第nブロック181〜18nが設けられ、出力振幅
や出力周波数の特性がそれぞれ調整される。
Here, regarding the conventional semiconductor integrated circuit,
This will be specifically described with reference to FIG. It should be noted that in the following description, a case will be described in which adjustment data having a value of m bits (m is an integer) is used. FIG. 10 is a circuit block diagram showing a configuration example of a conventional semiconductor integrated circuit. Figure 10
As shown in FIG. 1, the conventional semiconductor integrated circuit 101 has a CPU
A serial / parallel conversion circuit 102 connected to the CPU 100 for converting adjustment data input by the serial control signal from the CPU 100 into a parallel signal, and a PROM circuit 105 connected to the serial / parallel conversion circuit 102 and storing the adjustment data. ing. Further, the conventional semiconductor integrated circuit 101 is connected to the PROM circuit 105, and a D / A converter circuit 1 for converting the adjustment data from the PROM circuit 105 into an analog signal.
07, and an adjusted circuit 108 which is connected to the D / A converter circuit 107 and inputs the adjustment data converted into an analog signal. The circuit to be adjusted 8 has
First for adjusting each of n characteristics (n is an integer)
Through the nth blocks 181 to 18n, the characteristics of the output amplitude and the output frequency are adjusted.

【0004】シリアル/パラレル変換回路102には、
調整データおよびビット選択出力回路26が設けられて
いる。この調整データおよびビット選択出力回路26に
は、調整データの値をビット単位に指示するための第1
乃至第nブロック261〜26nが被調整回路108内
の第1乃至第nブロック181〜18nにそれぞれ対応
して設けられている。シリアル/パラレル変換回路10
2は、CPU100からのシリアルコントロール信号を
パラレル信号に変換したあと、そのシリアルコントロー
ル信号のアドレスに応じて調整データおよびビット選択
出力回路26からPROM回路105に調整データをパ
ラレル出力する。具体的にいえば、例えば第1ブロック
261は、シリアルコントロール信号に基づいて、出力
2611〜261mをハイレベル(以下、”H”ともい
う)またはローレベル(以下、”L”ともいう)のいず
れかのレベルとする。これにより、調整データの値をビ
ット単位に選定することが可能となる。また、PROM
回路105に調整データの値を書き込むとき、第1ブロ
ック261は書き込み対象のビットのみ出力をLとし
て、それ以外のビットでは出力をHとする。さらに、P
ROM回路105に調整データの値を書き込んだあとで
は、第1ブロック261は全ての出力2611〜261
mをLとする。尚、ここでいう、調整データの値を書き
込むとは、後述のPROM書き込み端子151に所定の
書き込み電圧又は電流を与えてPROM回路105から
の出力をHとして固定することをいう。
The serial / parallel conversion circuit 102 includes:
Adjustment data and bit selection output circuit 26 is provided. The adjustment data and bit selection output circuit 26 has a first data for indicating the value of the adjustment data in bit units.
The to nth blocks 261 to 26n are provided corresponding to the first to nth blocks 181 to 18n in the adjusted circuit 108, respectively. Serial / parallel conversion circuit 10
After converting the serial control signal from the CPU 100 into a parallel signal, 2 outputs the adjustment data and the adjustment data from the bit selection output circuit 26 to the PROM circuit 105 in parallel according to the address of the serial control signal. Specifically, for example, the first block 261 determines whether the outputs 2611 to 261m are at a high level (hereinafter also referred to as “H”) or a low level (hereinafter also referred to as “L”) based on the serial control signal. It is a level. This allows the value of the adjustment data to be selected in bit units. Also, PROM
When writing the value of the adjustment data to the circuit 105, the first block 261 sets the output to L only for the write target bit and sets the output to H for the other bits. Furthermore, P
After writing the value of the adjustment data in the ROM circuit 105, the first block 261 outputs all the outputs 2611 to 261.
Let m be L. Note that, here, writing the value of the adjustment data means applying a predetermined write voltage or current to a PROM write terminal 151 described later to fix the output from the PROM circuit 105 as H.

【0005】PROM回路105は、第1乃至第nブロ
ック181〜18n用の各調整データの値をビット単位
に記憶して、HまたはLのいずれかのレベルをD/Aコ
ンバータ回路107に出力している。具体的にいえば、
PROM回路105は、例えば第1ブロック181用の
調整データの値として出力1511〜151mをビット
単位に出力する。これらの出力1511〜151mは、
HまたはLのいずれかのレベルであり、ビット単位に調
整データの値を指示する。PROM回路105には、所
定の書き込み電圧又は電流を入力するPROM書き込み
端子151が設けられている。上述の書き込み電圧又は
電流を一度入力すると、PROM回路105の全ての出
力はHまたはLのいずれかのレベル(1または0の値)
に固定され、保持される。D/Aコンバータ回路107
は、被調整回路108内の第1乃至第nブロック181
〜18nにそれぞれ対応して設けられた第1乃至第nブ
ロック171〜17nを備えている。D/Aコンバータ
回路107では、例えば第1ブロック171は出力15
11〜151mのレベルによって指定された調整データ
の値をPROM回路105から入力しアナログ信号17
01に変換する。第1ブロック171は、アナログ信号
1701を被調整回路108の第1ブロック181に出
力する。これにより、第1ブロック181が、例えば半
導体集積回路101内の出力振幅の特性を調整して、そ
のばらつきを抑制することが可能となる。
The PROM circuit 105 stores the value of each adjustment data for the first to n-th blocks 181 to 18n in bit units and outputs either the H level or the L level to the D / A converter circuit 107. ing. Specifically,
The PROM circuit 105 outputs, for example, the outputs 1511 to 151m as the value of the adjustment data for the first block 181 in bit units. These outputs 1511-151 m are
The level is either H or L and indicates the value of the adjustment data in bit units. The PROM circuit 105 is provided with a PROM write terminal 151 for inputting a predetermined write voltage or current. Once the above-mentioned write voltage or current is input, all outputs of the PROM circuit 105 are at either H or L level (value of 1 or 0).
Fixed to and held in. D / A converter circuit 107
Are the first to nth blocks 181 in the adjusted circuit 108.
To 18n, the first to nth blocks 171 to 17n are provided. In the D / A converter circuit 107, for example, the first block 171 outputs 15
The value of the adjustment data designated by the level of 11 to 151 m is input from the PROM circuit 105, and the analog signal 17
Convert to 01. The first block 171 outputs the analog signal 1701 to the first block 181 of the adjusted circuit 108. As a result, the first block 181 can adjust the characteristic of the output amplitude in the semiconductor integrated circuit 101, for example, to suppress the variation.

【0006】ここで、図11を参照して、PROM回路
105の詳細な構成について説明する。尚、以下の説明
では、説明の簡略化のために、第1ブロック181用の
1ビット目〜3ビット目の調整データの値を記憶する回
路構成を例示して説明する。図11は、図10に示した
PROM回路の一部分の詳細な構成を示す回路図であ
る。図11において、例えば1ビット目の調整データの
値を記憶する回路構成は、1つのツェナーダイオード2
511、3つの電流源7511〜7513、8つのトラ
ンジスタ8511〜8518、及び3つの抵抗9511
〜9513により構成されている。シリアル/パラレル
変換回路102(図10)からの出力2611は、抵抗
9511、及び抵抗9512をそれぞれ介してトランジ
スタ8511のベース、及びトランジスタ8517のベ
ースに入力されるよう構成されている。PROM書き込
み端子151からの所定の書き込み電圧又は電流は、そ
のPROM書き込み端子151に対して逆向きに接続さ
れたツェナーダイオード2511にトランジスタ851
3を経て入力するよう構成されている。つまり、ツェナ
ーダイオード2511のカソードがトランジスタ851
3のエミッタに接続され、アノードはトランジスタ85
12のコレクタに接続されている。1ビット目の調整デ
ータの値は、ツェナーダイオード2511の状態によっ
て出力1511のレベルはHまたはLのいずれかのレベ
ルに固定されて記憶されている。
Here, the detailed configuration of the PROM circuit 105 will be described with reference to FIG. In the following description, for simplification of the description, a circuit configuration that stores the value of the adjustment data of the first bit to the third bit for the first block 181 will be described as an example. FIG. 11 is a circuit diagram showing a detailed configuration of a part of the PROM circuit shown in FIG. In FIG. 11, for example, the circuit configuration for storing the value of the adjustment data of the first bit is one Zener diode 2
511, three current sources 7511 to 7513, eight transistors 8511 to 8518, and three resistors 9511.
˜9513. The output 2611 from the serial / parallel conversion circuit 102 (FIG. 10) is configured to be input to the base of the transistor 8511 and the base of the transistor 8517 via the resistors 9511 and 9512, respectively. A predetermined write voltage or current from the PROM write terminal 151 causes a transistor 851 to a Zener diode 2511 connected in the opposite direction to the PROM write terminal 151.
It is configured to input via 3. That is, the cathode of the Zener diode 2511 is the transistor 851.
3 is connected to the emitter and the anode is the transistor 85
It is connected to 12 collectors. The value of the adjustment data of the first bit is stored with the level of the output 1511 fixed to either the H or L level depending on the state of the Zener diode 2511.

【0007】詳細にいえば、上記書き込み電圧又は電流
によってツェナーダイオード2511を高インピーダン
スな状態から低インピーダンスな状態に変化させた場
合、1ビット目の調整データの値が書き込まれて、出力
1511のレベルはHに固定される。一方、ツェナーダ
イオード2511を高インピーダンスな状態のまま維持
した場合、1ビット目の調整データの値は書き込まれず
に出力1511のレベルはLに固定される。同様に、2
ビット目の調整データの値を記憶する回路構成は、ツェ
ナーダイオード2521、電流源7521〜7523、
トランジスタ8521〜8528、及び抵抗9521〜
9523により構成されている。また、3ビット目の調
整データの値を記憶する回路構成は、ツェナーダイオー
ド2531、電流源7531〜7533、トランジスタ
8531〜8538、及び抵抗9531〜9533によ
り構成されている。
More specifically, when the Zener diode 2511 is changed from the high impedance state to the low impedance state by the write voltage or current, the value of the adjustment data of the first bit is written and the level of the output 1511 is written. Is fixed at H. On the other hand, when the Zener diode 2511 is maintained in a high impedance state, the level of the output 1511 is fixed to L without writing the value of the adjustment data of the first bit. Similarly, 2
The circuit configuration for storing the value of the adjustment data of the bit is Zener diode 2521, current sources 7521 to 7523,
Transistors 8521 to 8528 and resistors 9521 to
It is composed of 9523. The circuit configuration for storing the value of the adjustment data of the third bit is composed of a Zener diode 2531, current sources 7531-7533, transistors 8531-8538, and resistors 9531-9533.

【0008】以下、従来の半導体集積回路101の動作
について、図10と図11を用いて具体的に説明する。
尚、以下の説明では、説明の簡略化のために、第1ブロ
ック181用の1ビット目の値を選定し、書き込む動作
を主に例示して説明する。まず、PROM回路105に
調整データの値を書き込む前に、その最適な書き込み値
を選定する選定動作について説明する。この選定動作を
行うとき、所定の書き込み電圧又は電流はPROM書き
込み端子151に供給されていない。このため、PRO
M回路105の内部では、ツェナーダイオード2511
は高インピーダンスな状態であり、トランジスタ851
4のベース・エミッタ間も高インピーダンスな状態であ
る。それゆえ、電流源7512からの電流は全てトラン
ジスタ8515の方に流れる。このような状態のとき、
調整データおよびビット選択出力回路26からの出力2
611をHとすると、トランジスタ8517のベースは
Hとなり、そのトランジスタ8517のコレクタ、すな
わちトランジスタ8518のベースはLとなる。したが
って、トランジスタ8518のコレクタはHとなって出
力1511もまたHとなる。
The operation of the conventional semiconductor integrated circuit 101 will be specifically described below with reference to FIGS. 10 and 11.
In the following description, for simplification of the description, the operation of selecting and writing the value of the first bit for the first block 181 will be mainly illustrated and described. First, the selection operation for selecting the optimum write value before writing the adjustment data value in the PROM circuit 105 will be described. When performing this selection operation, a predetermined write voltage or current is not supplied to the PROM write terminal 151. Therefore, PRO
Inside the M circuit 105, the Zener diode 2511
Is a high impedance state, and the transistor 851
The base 4 and the emitter of 4 are also in a high impedance state. Therefore, all the current from the current source 7512 flows toward the transistor 8515. In this situation,
Output 2 from the adjustment data and bit selection output circuit 26
When 611 is H, the base of the transistor 8517 is H and the collector of the transistor 8517, that is, the base of the transistor 8518 is L. Therefore, the collector of the transistor 8518 becomes H and the output 1511 also becomes H.

【0009】一方、出力2611をLとすると、トラン
ジスタ8517のベースはLとなり、そのトランジスタ
8517のコレクタ、すなわちトランジスタ8518の
ベースはHとなる。したがって、トランジスタ8518
のコレクタはLとなって出力1511もまたLとなる。
このように、従来の半導体集積回路101では、出力2
611のレベルを変化させることにより、出力1511
のレベルを変化させて、その最適な値を選定することが
できる。そして、従来の半導体集積回路101では、他
のビットの値についても同様な動作を行い、被調整回路
108の第1乃至第nブロック181〜18nの特性を
それぞれ調整することが可能となり、最適な調整データ
を選定することができる。
On the other hand, when the output 2611 is L, the base of the transistor 8517 is L and the collector of the transistor 8517, that is, the base of the transistor 8518 is H. Therefore, transistor 8518
The collector of L becomes L and the output 1511 also becomes L.
Thus, in the conventional semiconductor integrated circuit 101, the output 2
By changing the level of 611, the output 1511
The optimum value can be selected by changing the level of. Then, in the conventional semiconductor integrated circuit 101, the same operation is performed for the values of the other bits, and the characteristics of the first to nth blocks 181 to 18n of the adjusted circuit 108 can be adjusted, respectively, which is optimal. Adjustment data can be selected.

【0010】次に、PROM回路105に調整データの
値を書き込む動作について説明する。PROM回路10
5への調整データの書き込み時には、調整データおよび
ビット選択出力回路26は、上述したように、書き込み
を行うブロックのビットのみ出力Lとし、他のビットの
出力を全てHとする。これにより、PROM回路105
の内部では、出力2611がLなのでトランジスタ85
11はカットオフして、電流源7511からの電流は全
てトランジスタ8512のベースに供給される。その結
果、トランジスタ8512はオン状態となり、そのトラ
ンジスタ8512のコレクタは飽和して、低インピーダ
ンスな状態になる。この状態でPROM書き込み端子1
51に所定の書き込み電圧又は電流が供給されると、ツ
ェナーダイオード2511は高インピーダンスな状態か
ら低インピーダンスな状態に変化する。このとき、出力
2612はHなのでトランジスタ8521はオン状態で
あり、そのトランジスタ8521のコレクタはLであ
る。このため、トランジスタ8522はカットオフし
て、そのトランジスタ8522のコレクタは高インピー
ダンスな状態となる。それゆえ、PROM書き込み端子
151に所定の書き込み電圧又は電流が与えられてもツ
ェナーダイオード2521は高インピーダンスな状態の
まま変化しない。同様に、他のビットのツェナーダイオ
ードもまた、高インピーダンスな状態のまま維持され
る。すなわち他のビットの値は書き込まれない。
Next, the operation of writing the value of the adjustment data in the PROM circuit 105 will be described. PROM circuit 10
At the time of writing the adjustment data to 5, the adjustment data and bit selection output circuit 26 outputs only the bit of the block to be written to L and outputs the other bits to H, as described above. As a result, the PROM circuit 105
In the inside of the transistor, since the output 2611 is L, the transistor 85
11 is cut off, and all the current from the current source 7511 is supplied to the base of the transistor 8512. As a result, the transistor 8512 is turned on, the collector of the transistor 8512 is saturated, and a low impedance state is set. In this state, PROM writing terminal 1
When a predetermined write voltage or current is supplied to 51, the Zener diode 2511 changes from a high impedance state to a low impedance state. At this time, since the output 2612 is H, the transistor 8521 is on, and the collector of the transistor 8521 is L. Therefore, the transistor 8522 is cut off, and the collector of the transistor 8522 is in a high impedance state. Therefore, even if a predetermined write voltage or current is applied to the PROM write terminal 151, the Zener diode 2521 remains in a high impedance state and does not change. Similarly, the Zener diodes of the other bits are also kept in the high impedance state. That is, the values of other bits are not written.

【0011】次に、PROM回路105に調整データの
値を書き込んだ後、半導体集積回路101を通常に使用
する場合での動作について説明する。この動作を行うと
き、調整データおよびビット選択出力回路26の全て出
力はLである。それゆえ、PROM回路105の内部で
は、例えば図11において、トランジスタ8511、8
521、及び8531がカットオフして、トランジスタ
8512、8522、及び8532はオン状態となる。
第1ブロック181用の1ビット目の値のみ書き込まれ
ている場合、ツェナーダイオード2511は低インピー
ダンスな状態となっているので、電流源7512からの
電流はトランジスタ8514の方に流れてトランジスタ
8515の方には流れない。このため、トランジスタ8
518はカットオフして、出力1511はHとなる。
Next, the operation when the semiconductor integrated circuit 101 is normally used after the value of the adjustment data is written in the PROM circuit 105 will be described. When this operation is performed, all outputs of the adjustment data and bit selection output circuit 26 are L. Therefore, in the PROM circuit 105, for example, in FIG.
521 and 8531 are cut off, and the transistors 8512, 8522, and 8532 are turned on.
When only the value of the first bit for the first block 181 is written, the Zener diode 2511 is in a low impedance state, so that the current from the current source 7512 flows toward the transistor 8514 and the transistor 8515 does. Does not flow to. Therefore, the transistor 8
518 is cut off, and the output 1511 becomes H.

【0012】一方、ツェナーダイオード2521は高イ
ンピーダンスな状態であるので、電流源7522からの
電流はトランジスタ8524の方に流れずにトランジス
タ8525の方に流れる。このため、トランジスタ85
28はオン状態となり、そのトランジスタ8528のコ
レクタは飽和して、出力1512はLとなる。同様など
うさによって3ビット目の出力1513もLとなる。こ
のように、PROM回路105に調整データの値を書き
込んだ後、半導体集積回路101を通常に使用する場
合、ツェナーダイオードの状態を変化したビットではP
ROM回路105の出力は常にHとなり、ツェナーダイ
オードの状態を変化していないビットではPROM回路
105の出力は常にLとなる。その結果、上記第1乃至
第nブロック181〜18nの特性は、それぞれ最適な
ものに調整される。
On the other hand, since the Zener diode 2521 is in a high impedance state, the current from the current source 7522 does not flow to the transistor 8524 but to the transistor 8525. Therefore, the transistor 85
28 is turned on, the collector of the transistor 8528 is saturated, and the output 1512 becomes L. By the same reason, the output 1513 of the third bit also becomes L. As described above, when the semiconductor integrated circuit 101 is normally used after the value of the adjustment data is written in the PROM circuit 105, the P bit is changed to P when the state of the Zener diode is changed.
The output of the ROM circuit 105 is always H, and the output of the PROM circuit 105 is always L for a bit whose zener diode state has not changed. As a result, the characteristics of the first to nth blocks 181 to 18n are adjusted to the optimum ones.

【0013】以上のように、この従来の半導体集積回路
101では、調整データおよびビット選択出力回路26
が、調整対象の全てのブロックに対して、ビット単位に
調整データの値を指示するよう構成されていた。
As described above, in the conventional semiconductor integrated circuit 101, the adjustment data and bit selection output circuit 26 is provided.
However, it is configured to instruct the value of the adjustment data in bit units for all blocks to be adjusted.

【0014】[0014]

【発明が解決しようとする課題】上記のような従来の半
導体集積回路101では、PROM回路105に調整デ
ータの値を書き込んだあとは、CPU100からの外部
制御によりPROM回路105の出力をハイレベルから
ローレベルに変更できないという問題点があった。具体
的にいえば、PROM回路105に調整データの値を書
き込む前では、例えばトランジスタ8514の方に電流
が流れないことを前提にして、CPU100からのシリ
アルコントロール信号によりトランジスタ8517をオ
ン・オフし出力1511のレベルを変化することは可能
であった。しかしながら、この従来の半導体集積回路1
01では、調整データの値を書き込んでツェナーダイオ
ード2511を低インピーダンスな状態とすると、シリ
アルコントロール信号に基づく出力2611のレベルに
関係なく、トランジスタ8518はカットオフした。こ
のため、従来の半導体集積回路101では、出力151
1をハイレベルとした後に強制的にローレベルに変更す
ることはできず、その調整データの値を再調整すること
は不可能であった。その結果、従来の半導体集積回路1
01では、そのIC内部の標準特性を再調整できなかっ
た。
In the conventional semiconductor integrated circuit 101 as described above, after the value of the adjustment data is written in the PROM circuit 105, the output of the PROM circuit 105 is changed from the high level by the external control from the CPU 100. There was a problem that it could not be changed to low level. Specifically, before writing the value of the adjustment data to the PROM circuit 105, for example, on the assumption that no current flows through the transistor 8514, the transistor 8517 is turned on / off by the serial control signal from the CPU 100 and output. It was possible to change the level of 1511. However, this conventional semiconductor integrated circuit 1
In 01, when the value of the adjustment data was written to bring the Zener diode 2511 into a low impedance state, the transistor 8518 was cut off regardless of the level of the output 2611 based on the serial control signal. Therefore, in the conventional semiconductor integrated circuit 101, the output 151
It was not possible to forcibly change to low level after setting 1 to high level, and it was impossible to readjust the value of the adjustment data. As a result, the conventional semiconductor integrated circuit 1
In 01, the standard characteristics inside the IC could not be readjusted.

【0015】この発明は、上記のような従来の問題点を
解決するためになされたものであり、調整データの値を
ROM(PROM回路)に書き込んだあとでも、外部制
御を用いてビット単位に書き込んだ調整データの値を最
適なものとすることができる半導体集積回路を提供する
ことを目的とする。
The present invention has been made in order to solve the above-mentioned conventional problems, and even after the value of the adjustment data is written in the ROM (PROM circuit), it is bit-unit-wise by using the external control. An object of the present invention is to provide a semiconductor integrated circuit capable of optimizing the value of written adjustment data.

【0016】[0016]

【課題を解決するための手段】本発明は、IC内部の標
準特性のばらつきを調整するためのROM、及び複数の
標準特性をそれぞれ調整する複数のブロックを内蔵した
半導体集積回路であって、前記半導体集積回路は、コン
トロール信号を外部から入力する入力回路、前記コント
ロール信号に含まれたROM制御・外部制御切換信号と
ブロック選択信号とをデコードしてデコード信号を生成
するブロック選択デコード回路、及び前記デコード信号
に基づいて、前記複数のブロックのうち1つのブロック
を選択し、さらに前記ROMからのROMデータと前記
コントロール信号に含まれた外部制御データとを切り換
えて、選択したブロックに出力するROMデータ/外部
制御データ切換スイッチ及びラッチ回路、を備え、 前記
ブロック選択デコード回路は、前記ROM制御・外部制
御切換信号がROMモード、かつ前記コントロール信号
がリードモードのときにローレベルを出力し、前記RO
M制御・外部制御切換信号が外部制御モードまたは前記
コントロール信号がライトモードのときにハイレベルを
出力するOR回路と、前記ブロック選択信号をデコード
してローレベルでアクティブとなる第一の論理回路群
と、前記OR回路の出力と第一の論理回路群の出力をそ
れぞれ入力とするNAND回路群とを備え、 前記ROM
データ/外部制御データ切換スイッチ及びラッチ回路
は、前記ROMデータと前記外部制御データとを前記R
OM制御・外部制御切換信号により切り換える第二の論
理回路群と、前記NAND回路群の出力をラッチ入力
に、前記第二の論理回路群の出力をD入力にそれぞれ入
力するラッチ回路群とを備えている。このように構成す
ることにより、ROMデータによる納入先での無調整化
を標準としながらも、必要な部分のビット値だけを納入
先やエンドユーザーなどで再調整、プリセットを行うこ
とができる。
This onset bright [Means for solving problems], a semiconductor integrated circuit incorporating a plurality of blocks for adjusting ROM, and a plurality of standard characteristics respectively for adjusting the variation in the standard characteristics of the internal IC, the semiconductor integrated circuit includes an input circuit, said control signal includes a ROM control and external control switching signal and the block selection signal and a block selection decode circuit for generating a decode signal by decoding for inputting a control signal from the outside, And one of the plurality of blocks is selected based on the decode signal, and the ROM data from the ROM and the external control data included in the control signal are switched and output to the selected block. ROM data / external control data selector switch and the latch circuit, Bei example, said
The block selection decoding circuit is based on the ROM control / external control.
Control signal is ROM mode and the control signal
Outputs a low level when the
M control / external control switching signal is in external control mode or above
High level when the control signal is in light mode
OR circuit for outputting and decoding the block selection signal
The first logic circuit group that becomes active at low level
And the output of the OR circuit and the output of the first logic circuit group.
The ROM having the NAND circuit group for each input,
Data / external control data changeover switch and latch circuit
Stores the ROM data and the external control data in the R
Second theory of switching by OM control / external control switching signal
Latch input to the output of the logic circuit group and the NAND circuit group
Input the output of the second logic circuit group to the D input respectively.
And a latch circuit group for applying a force . With this configuration, it is possible to readjust and preset only the bit value of a necessary portion by the delivery destination or the end user while making the adjustment by ROM data at the delivery destination as standard.

【0017】[0017]

【0018】[0018]

【0019】別の観点による発明の半導体集積回路は、
前記ROMデータ/外部制御データ切換スイッチ及びラ
ッチ回路が、外部制御データを入力する前にブロックの
選択を行うように、遅延回路を前記ROMデータ/外部
制御データ切換スイッチ及びラッチ回路に接続した。こ
のように構成することにより、例えば上記ラッチ回路の
ラッチ入力がハイレベルでアクティブな状態の場合、そ
のラッチ入力の立ち下がりよりも、外部制御データの切
り替わりが遅くなり、誤動作を未然に防止できる。
A semiconductor integrated circuit according to another aspect of the invention is
A delay circuit is connected to the ROM data / external control data changeover switch and latch circuit so that the ROM data / external control data changeover switch and latch circuit selects a block before inputting external control data. With such a configuration, for example, when the latch input of the latch circuit is in a high level and in an active state, switching of the external control data becomes slower than the fall of the latch input, and malfunction can be prevented in advance.

【0020】[0020]

【発明の実施の形態】以下、本発明の半導体集積回路を
示す好ましい実施例について、図面を参照しながら説明
する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments showing a semiconductor integrated circuit of the present invention will be described below with reference to the drawings.

【0021】《第1の実施例》図1は、本発明の第1の
実施例である半導体集積回路の構成を示す回路ブロック
図である。図1において、本実施例の半導体集積回路1
は、CPU9に接続され、そのCPU9からのシリアル
コントロール信号をパラレル信号に変換するシリアル/
パラレル変換回路2を備えている。このシリアル/パラ
レル変換回路2には、入力したシリアルコントロール信
号に基づき出力のレベルをハイレベル(以下、”H”と
もいう)またはローレベル(以下、”L”ともいう)に
変化する、書き込み/読み出し切換出力回路21、RO
M制御・外部制御切換信号出力回路22、ブロック選択
出力回路23、ビット選択出力回路24、及び外部制御
データ出力回路25が設けられている。さらに、本実施
例の半導体集積回路1は、書き込み/読み出し切換出力
回路21、ROM制御・外部制御切換信号出力回路2
2、及びブロック選択出力回路23に接続されたブロッ
ク選択デコード回路3、前記ブロック選択デコード回路
3と書き込み/読み出し切換出力回路21とビット選択
出力回路24に接続されたPROM書き込み制御信号デ
コード回路4、及び前記PROM書き込み制御信号デコ
ード回路4に接続されたPROM回路5を具備してい
る。さらに、本実施例の半導体集積回路1には、ブロッ
ク選択デコード回路3、PROM回路5、ROM制御・
外部制御切換信号出力回路22、及び外部制御データ出
力回路25に接続されたROMデータ/外部制御データ
切換スイッチ及びラッチ回路6、前記ROMデータ/外
部制御データ切換スイッチ及びラッチ回路6に接続され
たD/Aコンバータ回路7、及び前記D/Aコンバータ
回路7に接続された被調整回路8が設けられている。
<< First Embodiment >> FIG. 1 is a circuit block diagram showing a configuration of a semiconductor integrated circuit according to a first embodiment of the present invention. In FIG. 1, a semiconductor integrated circuit 1 of this embodiment
Is connected to the CPU 9 and converts a serial control signal from the CPU 9 into a parallel signal.
The parallel conversion circuit 2 is provided. The serial / parallel conversion circuit 2 changes the output level to a high level (hereinafter, also referred to as “H”) or a low level (hereinafter, also referred to as “L”) based on the input serial control signal. Read switching output circuit 21, RO
An M control / external control switching signal output circuit 22, a block selection output circuit 23, a bit selection output circuit 24, and an external control data output circuit 25 are provided. Further, the semiconductor integrated circuit 1 of the present embodiment has a write / read switching output circuit 21, a ROM control / external control switching signal output circuit 2.
2, a block selection decoding circuit 3 connected to the block selection output circuit 23, a PROM write control signal decoding circuit 4 connected to the block selection decoding circuit 3, the write / read switching output circuit 21, and the bit selection output circuit 24, And a PROM circuit 5 connected to the PROM write control signal decoding circuit 4. Further, in the semiconductor integrated circuit 1 of this embodiment, the block selection decoding circuit 3, the PROM circuit 5, the ROM control /
ROM data / external control data changeover switch and latch circuit 6 connected to the external control changeover signal output circuit 22 and external control data output circuit 25, and D connected to the ROM data / external control data changeover switch and latch circuit 6. An A / A converter circuit 7 and an adjusted circuit 8 connected to the D / A converter circuit 7 are provided.

【0022】書き込み/読み出し切換出力回路21は、
出力211をブロック選択デコード回路3及びPROM
書き込み制御信号デコード回路4に出力して、PROM
回路5でのデータの書き込み(ライトモード)または読
み出し(リードモード)の切換を指示する。このデータ
は、当該半導体集積回路1内部の標準特性、例えば出力
振幅特性や出力周波数特性のばらつきを調整するための
データであり、被調整回路8内に設けられた第1、第2
ブロック81,82に供給される。ROM制御・外部制
御切換信号出力回路22は、ROM制御・外部制御切換
信号である出力221をブロック選択デコード回路3及
びROMデータ/外部制御データ切換スイッチ及びラッ
チ回路6に出力する。これにより、ROMデータ/外部
制御データ切換スイッチ及びラッチ回路6でのデータの
ROMモードまたは外部制御モードの切換が行われる。
ブロック選択出力回路23は、ブロック選択信号である
出力231〜233をブロック選択デコード回路3に出
力して、データの書き込みまたは読み出しを行うブロッ
クを選択し指示する。ビット選択出力回路24は、出力
241,242をPROM書き込み制御信号デコード回
路4に出力して、データのビットを選択し指示する。外
部制御データ出力回路25は、出力251〜253をR
OMデータ/外部制御データ切換スイッチ及びラッチ回
路6に出力して、シリアルコントロール信号に含まれた
外部からの外部制御データを伝達する。
The write / read switching output circuit 21 includes
The output 211 is used as the block selection decoding circuit 3 and the PROM.
The write control signal is output to the decode circuit 4 to output the PROM.
Instructing switching of data writing (write mode) or reading (read mode) in the circuit 5. This data is data for adjusting the standard characteristic inside the semiconductor integrated circuit 1, for example, the variation of the output amplitude characteristic and the output frequency characteristic, and is the first and second data provided in the adjusted circuit 8.
It is supplied to blocks 81 and 82. The ROM control / external control switching signal output circuit 22 outputs an output 221 which is a ROM control / external control switching signal to the block selection decoding circuit 3, the ROM data / external control data changeover switch and the latch circuit 6. As a result, the ROM data / external control data changeover switch and the latch circuit 6 switch the data between the ROM mode and the external control mode.
The block selection output circuit 23 outputs outputs 231 to 233 which are block selection signals to the block selection decoding circuit 3 to select and instruct a block for writing or reading data. The bit selection output circuit 24 outputs the outputs 241 and 242 to the PROM write control signal decoding circuit 4 to select and instruct a bit of data. The external control data output circuit 25 outputs the outputs 251 to 253 to R
It outputs to the OM data / external control data changeover switch and the latch circuit 6, and transmits the external control data from the outside included in the serial control signal.

【0023】尚、上記ブロック選択出力回路23の出力
数を3ビット(出力231〜233)に構成しているの
で、ブロック選択デコード回路3の出力数、すなわち制
御可能なブロック数は最大8(=23)ブロックとな
る。しかしながら、以下の説明では、説明の簡略化のた
めに、制御を行うブロックは第1、第2ブロック81,
82の2ブロックとする。同様に、ビット選択出力回路
24の出力数を2ビット(出力241,242)に構成
しているので、外部制御データ出力回路25の出力数、
すなわち制御可能なデータのビット数は最大4(=
2)ビットまで可能であるが、3ビットとする。
Since the number of outputs of the block selection output circuit 23 is configured to be 3 bits (outputs 231 to 233), the number of outputs of the block selection decoding circuit 3, that is, the number of controllable blocks is 8 (= maximum). 2 3 ) It becomes a block. However, in the following description, in order to simplify the description, the blocks to be controlled are the first and second blocks 81,
There are two blocks 82. Similarly, since the number of outputs of the bit selection output circuit 24 is configured to be 2 bits (outputs 241 and 242), the number of outputs of the external control data output circuit 25,
That is, the maximum number of controllable data bits is 4 (=
Up to 2 2 ) bits are possible, but 3 bits.

【0024】ブロック選択デコード回路3は、上記RO
M制御・外部制御切換信号とブロック選択信号とをデコ
ードして、デコード信号として出力31,32をPRO
M書き込み制御信号デコード回路4に出力する。これら
の出力31,32は、ROMデータ/外部制御データ切
換スイッチ及びラッチ回路6内に設けた第1ブロック6
1,62にもそれぞれ出力されている。PROM書き込
み制御信号デコード回路4はライトモードにおいて、上
記出力31,32と出力241,242とをデコードし
て、第1ブロック81用の出力411〜413,及び第
2ブロック用の出力421〜423をPROM回路5に
出力する。PROM回路5は、第1、第2ブロック8
1,82用のデータの値をビット単位に記憶して、Hま
たはLのいずれかのレベルをD/Aコンバータ回路7に
出力する。具体的にいえば、PROM回路5は、例えば
第1ブロック81用のROMデータの値として出力51
1〜513をビット単位に出力する。これらの出力51
1〜513は、HまたはLのいずれかのレベルであり、
ビット単位にデータの値を指示する。PROM回路5に
は、所定の書き込み電圧又は電流を入力するPROM書
き込み端子51が設けられている。上述の書き込み電圧
又は電流を入力すると、PROM回路5の全ての出力は
HまたはLのいずれかのレベル(1または0の値)に固
定され、保持される。
The block selection decoding circuit 3 includes the RO
The M control / external control switching signal and the block selection signal are decoded, and the outputs 31 and 32 are PRO as decoding signals.
The M write control signal is output to the decoding circuit 4. These outputs 31 and 32 are the first block 6 provided in the ROM data / external control data changeover switch and latch circuit 6.
It is also output to 1 and 62, respectively. In the write mode, the PROM write control signal decoding circuit 4 decodes the outputs 31 and 32 and the outputs 241 and 242 to output the outputs 411 to 413 for the first block 81 and the outputs 421 to 423 for the second block. Output to the PROM circuit 5. The PROM circuit 5 includes the first and second blocks 8
The data values for 1 and 82 are stored in bit units, and either the H level or the L level is output to the D / A converter circuit 7. Specifically, the PROM circuit 5 outputs 51 as the value of the ROM data for the first block 81, for example.
1 to 513 are output in bit units. These outputs 51
1 to 513 are levels of either H or L,
Specify the data value in bit units. The PROM circuit 5 is provided with a PROM write terminal 51 for inputting a predetermined write voltage or current. When the above-mentioned write voltage or current is input, all the outputs of the PROM circuit 5 are fixed to either H or L level (value of 1 or 0) and held.

【0025】ここで、図2を参照して、PROM回路5
の詳細な構成について説明する。尚、以下の説明では、
説明の簡略化のために、第1ブロック81用の1ビット
目〜3ビット目のROMデータの値を記憶する回路構成
を例示して説明する。また、図11に示した従来例との
比較を容易なものとするために、ツェナーザップ方式を
用いてPROM回路5を構成した例について説明する。
図2は、図1に示したPROM回路の一部分の詳細な構
成を示す回路図である。図2において、例えば1ビット
目のROMデータの値を記憶する回路構成は、1つのツ
ェナーダイオード3511、3つの電流源4511〜4
513、8つのトランジスタ5511〜5518、及び
2つの抵抗6511,6512により構成されている。
PROM書き込み制御信号デコード回路4(図1)から
の出力411は、抵抗6511を介してトランジスタ5
511のベースに入力されるよう構成されている。PR
OM書き込み端子51からの所定の書き込み電圧又は電
流は、そのPROM書き込み端子51に対して逆向きに
接続されたツェナーダイオード3511にトランジスタ
5513を経て入力するよう構成されている。つまり、
ツェナーダイオード3511のカソードがトランジスタ
5513のエミッタに接続され、アノードはトランジス
タ5512のコレクタに接続されている。トランジスタ
5518がオン状態のときに流れるコレクタ電流は、電
流源4513の電流値より大きい値に設定されている。
これにより、トランジスタ5518がオン状態のとき出
力511はLとなり、オフ状態の時は出力511はHと
なる。これらの出力511のレベルは、ツェナーダイオ
ード3511の状態によって固定され記憶されている。
Now, referring to FIG. 2, the PROM circuit 5
The detailed configuration of will be described. In the following explanation,
For simplification of description, a circuit configuration for storing the values of the first to third bits of ROM data for the first block 81 will be exemplified and described. Further, in order to facilitate comparison with the conventional example shown in FIG. 11, an example in which the PROM circuit 5 is configured by using the Zener zap method will be described.
FIG. 2 is a circuit diagram showing a detailed configuration of a part of the PROM circuit shown in FIG. In FIG. 2, for example, the circuit configuration for storing the value of the ROM data of the first bit has one Zener diode 3511 and three current sources 4511-4.
513, eight transistors 5511 to 5518, and two resistors 6511 and 6512.
The output 411 from the PROM write control signal decoding circuit 4 (FIG. 1) is supplied to the transistor 5 via the resistor 6511.
It is configured to be input to the base of 511. PR
A predetermined write voltage or current from the OM write terminal 51 is configured to be input to the Zener diode 3511 connected in the opposite direction to the PROM write terminal 51 via the transistor 5513. That is,
The cathode of the Zener diode 3511 is connected to the emitter of the transistor 5513, and the anode is connected to the collector of the transistor 5512. The collector current flowing when the transistor 5518 is in the ON state is set to a value larger than the current value of the current source 4513.
Thus, the output 511 is L when the transistor 5518 is in the ON state, and the output 511 is H when the transistor 5518 is in the OFF state. The levels of these outputs 511 are fixed and stored according to the state of the Zener diode 3511.

【0026】詳細にいえば、上記書き込み電圧又は電流
によってツェナーダイオード3511を高インピーダン
スな状態から低インピーダンスな状態に変化させた場
合、1ビット目のROMデータの値が書き込まれて、出
力511のレベルはHに固定される。一方、ツェナーダ
イオード3511を高インピーダンスな状態のまま維持
した場合、1ビット目のROMデータの値は書き込まれ
ずに出力511のレベルはLに固定される。同様に、2
ビット目のROMデータの値を記憶する回路構成は、ツ
ェナーダイオード3521、電流源4521〜452
3、トランジスタ5521〜5528、及び抵抗652
1,6522により構成されている。また、3ビット目
のROMデータの値を記憶する回路構成は、ツェナーダ
イオード3531、電流源4531〜4533、トラン
ジスタ5531〜5538、及び抵抗6531,653
2により構成されている。
More specifically, when the Zener diode 3511 is changed from a high impedance state to a low impedance state by the write voltage or current, the value of the ROM data of the first bit is written and the level of the output 511 is written. Is fixed at H. On the other hand, when the Zener diode 3511 is maintained in a high impedance state, the value of the ROM data of the first bit is not written and the level of the output 511 is fixed at L. Similarly, 2
The circuit configuration for storing the ROM data value of the bit is the Zener diode 3521 and the current sources 4521 to 452.
3, transistors 5521 to 5528, and a resistor 652
1, 6522. The circuit configuration for storing the value of the ROM data of the third bit is the Zener diode 3531, the current sources 4531 to 4533, the transistors 5531 to 5538, and the resistors 6531 and 653.
It is composed of two.

【0027】図1に戻って、ROMデータ/外部制御デ
ータ切換スイッチ及びラッチ回路6は、被調整回路8内
の第1、第2ブロック81,82にそれぞれ対応して設
けられた第1、第2ブロック61,62を備えている。
ROMデータ/外部制御データ切換スイッチ及びラッチ
回路6は、ブロック選択デコード回路3からのデコード
信号、及びROM制御・外部制御切換信号出力回路22
からの出力221に基づいて、PROM回路5からのR
OMデータと外部制御データ出力回路25からの外部制
御データを切り換えてD/Aコンバータ回路7に出力す
る。具体的にいえば、例えば第1ブロック61は、ブロ
ック選択デコード回路3からの出力31、及びROM制
御・外部制御切換信号出力回路22からの出力221に
基づいて、PROM回路5からの出力511〜513ま
たは外部制御データ出力回路25からの出力251〜2
53を選択して出力611〜613として出力する。R
OMデータ/外部制御データ切換スイッチ及びラッチ回
路6は、後に詳述するように、データを保持する機能
(ラッチ機能)を備えたものであり、外部制御モードに
おいて、第1、第2ブロック61,62のうち上記デコ
ード信号により選択されていないブロックのデータは保
持される。このように、本実施例の半導体集積回路1で
は、ROMデータ/外部制御データ切換スイッチ及びラ
ッチ回路6がブロック選択デコード回路3からのデコー
ド信号に基づいて、ROM制御と外部制御との切換を行
っているため、PROM回路5に調整用のデータを書き
込む前に、その最適な書き込み値を選定する外部制御機
能をPROM回路5に設けることは不要となる。
Returning to FIG. 1, the ROM data / external control data changeover switch and the latch circuit 6 are provided in correspondence with the first and second blocks 81 and 82 in the adjusted circuit 8, respectively. Two blocks 61 and 62 are provided.
The ROM data / external control data changeover switch and the latch circuit 6 includes a decode signal from the block selection decode circuit 3 and a ROM control / external control changeover signal output circuit 22.
R from the PROM circuit 5 based on the output 221 from
The OM data and the external control data from the external control data output circuit 25 are switched and output to the D / A converter circuit 7. Specifically, for example, the first block 61 outputs the outputs 511 to 511 from the PROM circuit 5 based on the output 31 from the block selection decoding circuit 3 and the output 221 from the ROM control / external control switching signal output circuit 22. 513 or outputs 251 and 2 from the external control data output circuit 25
53 is selected and output as outputs 611 to 613. R
The OM data / external control data changeover switch and the latch circuit 6 have a function of retaining data (latch function), as will be described later, and in the external control mode, the first and second blocks 61, The data of the blocks of 62 which are not selected by the decode signal are held. As described above, in the semiconductor integrated circuit 1 of this embodiment, the ROM data / external control data changeover switch and the latch circuit 6 switch between the ROM control and the external control based on the decode signal from the block selection decode circuit 3. Therefore, it is not necessary to provide the PROM circuit 5 with an external control function for selecting the optimum write value before writing the adjustment data in the PROM circuit 5.

【0028】D/Aコンバータ回路7は、被調整回路8
内の第1、第2ブロック81,82にそれぞれ対応して
設けられた第1、第2ブロック71,72を備えてい
る。D/Aコンバータ回路7では、例えば第1ブロック
71は出力611〜613のレベルによって指定された
データの値をROMデータ/外部制御データ切換スイッ
チ及びラッチ回路6から入力しアナログ信号701に変
換する。第1ブロック71は、アナログ信号701を被
調整回路8の第1ブロック81に出力する。これによ
り、第1ブロック81が、例えば半導体集積回路1内の
出力振幅の特性を調整して、そのばらつきを抑制するこ
とが可能となる。
The D / A converter circuit 7 includes an adjusted circuit 8
The first and second blocks 71 and 72 are provided corresponding to the first and second blocks 81 and 82, respectively. In the D / A converter circuit 7, for example, the first block 71 inputs a data value designated by the levels of the outputs 611 to 613 from the ROM data / external control data changeover switch and the latch circuit 6 and converts it into an analog signal 701. The first block 71 outputs the analog signal 701 to the first block 81 of the adjusted circuit 8. As a result, the first block 81 can adjust the characteristic of the output amplitude in the semiconductor integrated circuit 1, for example, and suppress the variation thereof.

【0029】以下、本実施例の半導体集積回路1の動作
について、図1乃至図3を参照して説明する。図3は、
図1に示した半導体集積回路の動作を示すタイミングチ
ャートである。尚、以下の説明では、PROM書き込み
制御信号デコード回路4からの出力411〜413,4
21〜423はローレベルでアクティブになるものと
し、それ以外の全ての回路からの出力はハイレベルでア
クティブになるとして説明する。まず、PROM回路5
に書き込み前に最適な書き込み値を選定する外部制御モ
ードでの動作について説明する。この外部制御モードで
は、図3の(a)に示すように、シリアル/パラレル変
換回路2のROM制御・外部制御切換信号出力回路22
の出力221は、外部制御モード指示するHとなる。ま
た、このとき、書き込み/読み出し切換出力回路21の
出力211はLとなり、PROM回路5へのデータの書
き込みを禁止するリードモードを指示する。さらに、ブ
ロック選択出力回路23では、CPU9からのシリアル
コントロール信号によって指定されたブロックを選択し
て、選択したブロックのみ出力をハイレベルでアクティ
ブとする。つまり、図3の(a)に示すように、出力2
33,232,231をL,L,Hとして、第1ブロッ
ク81(=001)を選択する。これにより、ブロック
選択デコード回路3は出力31をHとし、出力32をL
のまま変化させない。
The operation of the semiconductor integrated circuit 1 of this embodiment will be described below with reference to FIGS. Figure 3
3 is a timing chart showing the operation of the semiconductor integrated circuit shown in FIG. 1. In the following description, the outputs 411 to 413, 4 from the PROM write control signal decoding circuit 4 will be described.
It is assumed that 21 to 423 are active at a low level and outputs from all other circuits are active at a high level. First, the PROM circuit 5
The operation in the external control mode for selecting the optimum write value before writing will be described below. In the external control mode, as shown in FIG. 3A, the ROM control / external control switching signal output circuit 22 of the serial / parallel conversion circuit 2 is output.
Output 221 of H becomes H indicating the external control mode. At this time, the output 211 of the write / read switching output circuit 21 becomes L, which indicates the read mode in which the writing of data to the PROM circuit 5 is prohibited. Further, the block selection output circuit 23 selects a block designated by the serial control signal from the CPU 9 and activates the output of only the selected block at a high level. That is, as shown in FIG.
33, 232, and 231 are set to L, L, and H, and the first block 81 (= 001) is selected. As a result, the block selection decoding circuit 3 sets the output 31 to H and the output 32 to L.
Leave it unchanged.

【0030】続いて、ROMデータ/外部制御データ切
換スイッチ及びラッチ回路6では、出力31、及び出力
221に基づいて、PROM回路5からの出力511〜
513を選択せずに、外部制御データ出力回路からの出
力251〜253を選択する。ROMデータ/外部制御
データ切換スイッチ及びラッチ回路6は、出力251〜
253に応じて出力611〜613をそれぞれ変化させ
る。このとき、ブロック選択デコード回路3からの出力
32はLなので、ROMデータ/外部制御データ切換ス
イッチ及びラッチ回路6は、出力621〜623を変化
させない。このように、外部制御モードでは、ブロック
が選択されて、外部制御データ出力回路からの出力25
1〜253が選択されたブロック用のデータとしてRO
Mデータ/外部制御データ切換スイッチ及びラッチ回路
6からD/Aコンバータ回路7に出力される。その後、
D/Aコンバータ回路7では、入力したデータをアナロ
グ信号に変換して第1ブロック81に出力する。そし
て、第1ブロック81では、特性のばらつきを調整する
ことができ、その最適な値を選定することが可能とな
る。
Subsequently, in the ROM data / external control data changeover switch and latch circuit 6, based on the output 31 and the output 221, the outputs 511 to 511 from the PROM circuit 5 are outputted.
The outputs 251 to 253 from the external control data output circuit are selected without selecting 513. The ROM data / external control data changeover switch and the latch circuit 6 have outputs 251 ...
The outputs 611 to 613 are changed according to 253. At this time, since the output 32 from the block selection decoding circuit 3 is L, the ROM data / external control data changeover switch and the latch circuit 6 do not change the outputs 621 to 623. Thus, in the external control mode, the block is selected and the output 25 from the external control data output circuit is selected.
1 to 253 are RO as data for the selected block
It is output from the M data / external control data changeover switch and latch circuit 6 to the D / A converter circuit 7. afterwards,
The D / A converter circuit 7 converts the input data into an analog signal and outputs it to the first block 81. Then, in the first block 81, the variation of the characteristics can be adjusted, and the optimum value can be selected.

【0031】次に、PROM回路5へのROMデータの
書き込みを行う動作について説明する。この動作では、
書き込み/読み出し切換出力回路21の出力211は
H、すなわちライトモードとなり、且つROM制御・外
部制御切換出力回路22の出力221はL、すなわちR
OMモードとなる。ブロック選択出力回路23は、外部
制御モードと同様に、CPU9からのシリアルコントロ
ール信号によって指定されたブロックを選択して、選択
したブロックのみ出力をハイレベルでアクティブとす
る。例えば第1ブロック81が選択されると、図3の
(b)に示すように、ブロック選択デコード回路3は出
力31をHとする。続いて、PROM書き込み制御信号
デコード回路4では、ブロック選択デコード回路3の出
力31とビット選択出力回路24の出力241〜242
とのデコードを行う。具体的には、図3の(b)に示す
ように、ビット選択出力回路24の出力241,242
はともにHであり、3ビット目が選択されている。ま
た、ブック選択デコード回路3の出力31はHであり、
第1ブロック81が選択されている。このため、PRO
M書き込み制御信号デコード回路4では、出力31と出
力241,242をデコードした結果、出力413のみ
をローレベルでアクティブとして、第1ブロック81用
のデータの3ビット目を選択する。そして、PROM書
き込み制御信号デコード回路4の出力411,412,
413がそれぞれH,H,Lのとき、PROM書き込み
端子51に所定の書き込み電圧又は電流が与えられる
と、第1ブロック81用のデータの3ビット目の値がP
ROM回路5に書き込まれる。その結果、図3の(b)
に示すように、出力513はHとなる。
Next, the operation of writing ROM data to the PROM circuit 5 will be described. In this behavior,
The output 211 of the write / read switching output circuit 21 is H, that is, the write mode, and the output 221 of the ROM control / external control switching output circuit 22 is L, that is, R.
The OM mode is set. Similarly to the external control mode, the block selection output circuit 23 selects a block designated by the serial control signal from the CPU 9 and activates the output of only the selected block at a high level. For example, when the first block 81 is selected, the block selection decoding circuit 3 sets the output 31 to H, as shown in FIG. Then, in the PROM write control signal decoding circuit 4, the output 31 of the block selection decoding circuit 3 and the outputs 241 to 242 of the bit selection output circuit 24.
And decode. Specifically, as shown in FIG. 3B, the outputs 241 and 242 of the bit selection output circuit 24 are output.
Are both H, and the third bit is selected. The output 31 of the book selection decoding circuit 3 is H,
The first block 81 is selected. Therefore, PRO
In the M write control signal decoding circuit 4, as a result of decoding the output 31 and the outputs 241, 242, only the output 413 is activated at the low level and the third bit of the data for the first block 81 is selected. The outputs 411, 412, 412 of the PROM write control signal decoding circuit 4 are
When a predetermined write voltage or current is applied to the PROM write terminal 51 when 413 is H, H, L, the value of the third bit of the data for the first block 81 is P.
It is written in the ROM circuit 5. As a result, FIG. 3 (b)
The output 513 becomes H as shown in FIG.

【0032】詳細にいえば、PROM回路5の内部で
は、PROM書き込み制御信号デコード回路4の出力4
13のみローレベルでアクティブになると、トランジス
タ5531はカットオフする。これにより、電流源45
31の電流は全てトランジスタ5532のベース電流と
して供給され、トランジスタ5532はオン状態とな
る。そして、トランジスタ5532のコレクタは飽和し
て低インピーダンスな状態となる。このとき、PROM
書き込み端子51に所定の書き込み電圧又は電流が与え
られると、ツェナーダイオード3531が高インピーダ
ンスな状態から低インピーダンス状態に変化する。ま
た、このとき、PROM書き込み制御信号デコード回路
4の出力412はHなので、トランジスタ5521のコ
レクタはLでありトランジスタ5522はカットオフし
て、そのコレクタは高インピーダンスな状態である。し
たがって、所定の書き込み電圧又は電流が与えられても
ツェナーダイオード3521は高インピーダンスな状態
のままである。同様に、他のビットおよびブロックのツ
ェナーダイオードもまた高インピーダンスな状態が維持
され、データは書き込まれない。
More specifically, in the PROM circuit 5, the output 4 of the PROM write control signal decoding circuit 4 is provided.
When only 13 becomes active at a low level, the transistor 5531 is cut off. As a result, the current source 45
All the current of 31 is supplied as the base current of the transistor 5532, and the transistor 5532 is turned on. Then, the collector of the transistor 5532 is saturated and is in a low impedance state. At this time, PROM
When a predetermined write voltage or current is applied to the write terminal 51, the Zener diode 3531 changes from a high impedance state to a low impedance state. At this time, since the output 412 of the PROM write control signal decoding circuit 4 is H, the collector of the transistor 5521 is L, the transistor 5522 is cut off, and the collector is in a high impedance state. Therefore, the Zener diode 3521 remains in a high impedance state even when a predetermined write voltage or current is applied. Similarly, the Zener diodes of the other bits and blocks are also kept in the high impedance state, and no data is written.

【0033】次に、PROM回路5にデータを書き込ん
だ後の通常使用時での動作について説明する。この通常
使用時では、図3の(c)に示すように、書き込み/読
み出し切換出力回路21の出力211はLとなり、PR
OM回路5へのデータの書き込みを禁止するリードモー
ドを指示する。さらに、ROM制御・外部制御切換出力
回路22の出力221もまたLとなって、ROMモード
を指示する。これにより、ROMデータ/外部制御デー
タ切換スイッチ及びラッチ回路6では、PROM回路5
からのROMデータを選択する。具体的には、図3の
(c)に示すように、第1ブロック81用の3ビット目
のみ書き込まれているので、ROMデータ/外部制御デ
ータ切換スイッチ及びラッチ回路6の出力613のみH
となる。
Next, the operation in normal use after writing data in the PROM circuit 5 will be described. In this normal use, as shown in FIG. 3C, the output 211 of the write / read switching output circuit 21 becomes L, and PR
A read mode is instructed to prohibit writing of data to the OM circuit 5. Further, the output 221 of the ROM control / external control switching output circuit 22 also becomes L to indicate the ROM mode. As a result, in the ROM data / external control data changeover switch and latch circuit 6, the PROM circuit 5
Select ROM data from. Specifically, as shown in (c) of FIG. 3, since only the third bit for the first block 81 is written, only the output 613 of the ROM data / external control data changeover switch and the latch circuit 6 is H.
Becomes

【0034】次に、PROM回路5にデータを書き込む
動作に続けて、再度外部制御モードに戻した場合での動
作について説明する。図3の(d)において、まずRO
M制御・外部制御切換出力回路22の出力221をHと
して外部制御モードに戻すと、ROMデータ/外部制御
データ切換スイッチ及びラッチ回路6では、ブロック選
択デコード回路3によって選択されたブロックのみ外部
制御データ出力回路25からの外部制御データを選択す
るよう動作する。具体的には、図3の(d)に示すよう
に、ブロック選択出力回路23が、例えば出力233,
232,231をL,L,Hとして、第1ブロック81
(=001)を選択したとき、ブロック選択デコード回
路3の出力31はHとなっている。このため、ROMデ
ータ/外部制御データ切換スイッチ及びラッチ回路6で
は、出力621〜623をPROM回路5からのROM
データのままとし、出力611〜613のみ外部制御デ
ータ出力回路25からの出力251〜253に応じてそ
れぞれ変化させる。この時、ROMデータ/外部制御デ
ータ切換スイッチ及びラッチ回路6はラッチ機能を有し
ているため、出力31,32が変化して選択されたブロ
ックが第1ブロック81から第2ブロック82に変化し
ても、第1ブロック81への外部制御データの値は保持
される。この保持された外部制御データは、外部制御モ
ードのままで再び第1ブロック81が選択され、かつ外
部制御データ出力回路25の出力251〜253に異な
る値が与えられた場合、通常モードまたはROMモード
に戻った場合、あるいは電源が再起動された場合にはク
リアされるが、それ以外は保持され続ける。
Next, the operation in the case of returning to the external control mode again after the operation of writing data in the PROM circuit 5 will be described. In FIG. 3D, first, RO
When the output 221 of the M control / external control switching output circuit 22 is returned to the external control mode by setting it to H, the ROM data / external control data changeover switch and the latch circuit 6 only output the external control data of the block selected by the block selection decoding circuit 3. It operates to select the external control data from the output circuit 25. Specifically, as shown in FIG. 3D, the block selection output circuit 23 outputs, for example, the output 233.
232 and 231 are set to L, L, and H, and the first block 81
When (= 001) is selected, the output 31 of the block selection decoding circuit 3 is H. Therefore, in the ROM data / external control data changeover switch and latch circuit 6, the outputs 621 to 623 are output from the PROM circuit 5 to the ROM.
The data is left as it is, and only the outputs 611 to 613 are changed according to the outputs 251 to 253 from the external control data output circuit 25. At this time, since the ROM data / external control data changeover switch and the latch circuit 6 have a latch function, the outputs 31 and 32 change and the selected block changes from the first block 81 to the second block 82. However, the value of the external control data for the first block 81 is retained. When the first block 81 is selected again in the external control mode and the outputs 251 to 253 of the external control data output circuit 25 are given different values, the held external control data is in the normal mode or the ROM mode. It is cleared when returning to the above or when the power supply is restarted, but otherwise it is retained.

【0035】具体的にいえば、図3の(d)、及び図3
の(e)に示すように、ブロック選択出力回路23の出
力233,232,231がL,L,HからL,H,L
にそれぞれ変化し、第1ブロック81(=001)から
第2ブロック82(=010)に選択するブロックが変
化すると、ブロック選択デコード回路3の出力31,3
2はH,LからL,Hにそれぞれ変化する。このとき、
ROMデータ/外部制御データ切換スイッチ及びラッチ
回路6では、第1ブロック81用のデータである出力6
13,612,611は変化前の値L,H,Lをそれぞ
れ保持する。そして、図3の(e)に示すように、RO
Mデータ/外部制御データ切換スイッチ及びラッチ回路
6は、第2ブロック82用のデータとして、外部制御デ
ータ出力回路25からの出力251〜253に応じて、
出力621〜623のみ変化させる。このように、複数
のブロックの外部制御を行う場合、外部制御モードのま
まで続けて別のブロックを選択すればよい。尚、図3の
(e)に示した動作は、第2ブロック82用のデータと
してPROM回路5に書き込む前の調整用のデータを選
定する動作である。したがって、本実施例の半導体集積
回路1では、外部制御モードは、PROM回路5にデー
タを書き込み動作に関係なく、独立して行うことが可能
である。
Specifically, FIG. 3D and FIG.
(E), the outputs 233, 232 and 231 of the block selection output circuit 23 are changed from L, L, H to L, H, L.
When the block selected from the first block 81 (= 001) to the second block 82 (= 010) changes, the outputs 31 and 3 of the block selection decoding circuit 3 change.
2 changes from H, L to L, H, respectively. At this time,
In the ROM data / external control data changeover switch and latch circuit 6, the output 6 which is the data for the first block 81 is output.
Reference numerals 13, 612 and 611 hold the values L, H and L before change, respectively. Then, as shown in (e) of FIG.
The M data / external control data changeover switch and latch circuit 6 receives data 251 to 253 from the external control data output circuit 25 as data for the second block 82.
Only the outputs 621 to 623 are changed. In this way, when performing external control of a plurality of blocks, another block may be continuously selected in the external control mode. The operation shown in (e) of FIG. 3 is an operation of selecting the adjustment data before writing to the PROM circuit 5 as the data for the second block 82. Therefore, in the semiconductor integrated circuit 1 of the present embodiment, the external control mode can be independently performed regardless of the data writing operation to the PROM circuit 5.

【0036】また、PROM回路5では、図3の(c)
〜図3(e)に示した動作では書き込んだROMデータ
の読み出しを行うリードモードとなる。このリードモー
ドでは、PROM書き込み制御信号デコード回路4の出
力411〜413はLであり、ツェナーダイオード35
31は低インピーダンスな状態になっているので、電流
源4532の電流はトランジスタ5514の方に流れ
て、トランジスタ5515の方には流れない。このた
め、トランジスタ5538はカットオフして、出力51
3はHとなる。一方、ツェナーダイオード3521は高
インピーダンスな状態になっているので、電流源452
2の電流はトランジスタ5525の方に流れて、トラン
ジスタ5528はオン状態となり出力512はLとな
る。このように、PROM回路5からは、書き込まれた
ビットはH、また書き込まれていないビットはLが読み
出される。ただし、このPROM回路5からのROMデ
ータは、図3の(d)、及び図3の(e)に示した外部
制御モードでは、上述したように、ブロック選択デコー
ド回路3の出力31により第1ブッロク81が外部制御
の対象に選択されている。このため、後続のROMデー
タ/外部制御データ切換スイッチ及びラッチ回路6は、
PROM回路5からのROMデータとは無関係に外部制
御データ出力回路25の出力251〜253に応じて外
部制御を行う。このように、本実施例の半導体集積回路
1では、PROM回路5はデータの書き込み前後に関係
なく、リードモードでは単純に書き込み値を読み出せば
よく、外部制御のための回路を必要としない。
Further, in the PROM circuit 5, (c) of FIG.
The operation shown in FIG. 3E is in the read mode for reading the written ROM data. In this read mode, the outputs 411 to 413 of the PROM write control signal decoding circuit 4 are L, and the zener diode 35
Since 31 is in a low impedance state, the current of the current source 4532 flows to the transistor 5514 and does not flow to the transistor 5515. Therefore, the transistor 5538 is cut off and the output 51
3 becomes H. On the other hand, since the Zener diode 3521 is in a high impedance state, the current source 452
The current of 2 flows to the transistor 5525, the transistor 5528 is turned on, and the output 512 becomes L. In this way, from the PROM circuit 5, the written bit is read as H, and the unwritten bit is read as L. However, in the external control mode shown in FIGS. 3D and 3E, the ROM data from the PROM circuit 5 is first output by the output 31 of the block selection decoding circuit 3 as described above. The block 81 is selected as an external control target. Therefore, the subsequent ROM data / external control data changeover switch and the latch circuit 6 are
External control is performed according to the outputs 251 to 253 of the external control data output circuit 25 regardless of the ROM data from the PROM circuit 5. As described above, in the semiconductor integrated circuit 1 of the present embodiment, the PROM circuit 5 simply needs to read the write value in the read mode regardless of before and after writing the data, and does not need a circuit for external control.

【0037】以上のように、本実施例の半導体集積回路
1では、CPU9からのシリアルコントロール信号をパ
ラレル変換するシリアル/パラレル変換回路2と、RO
M制御・外部制御切換信号とブロック選択信号とをデコ
ードして、デコード信号を出力するブロック選択デコー
ド回路3と、上記デコード信号を用いて選択したブロッ
クに関して、シリアル/パラレル変換回路2からの外部
制御データとPROM回路5からのROMデータとを切
り換えて、その値をラッチするROMデータ/外部制御
データ切換スイッチ及びラッチ回路6を備えている。こ
れにより、本実施例の半導体集積回路1では、PROM
回路5にデータを書き込んだ後においても、選択したブ
ロックのみ外部からの外部制御によりビット単位にデー
タを変更することができる。その結果、本実施例の半導
体集積回路1では、PROM回路5による納入先での無
調整化を標準としながらも、必要に応じて、かつ最小限
のCPUの負担増に抑えながら必要な部分のビット値だ
け、納入先やエンドユーザーなどで再調整、プリセット
を行うことが可能である。
As described above, in the semiconductor integrated circuit 1 of this embodiment, the serial / parallel conversion circuit 2 for converting the serial control signal from the CPU 9 into parallel signals and the RO signal.
External control from the serial / parallel conversion circuit 2 with respect to the block selection decoding circuit 3 that decodes the M control / external control switching signal and the block selection signal and outputs the decoding signal, and the block selected using the decoding signal. A ROM data / external control data changeover switch for switching between data and ROM data from the PROM circuit 5 and latching the value and a latch circuit 6 are provided. As a result, in the semiconductor integrated circuit 1 of the present embodiment, the PROM
Even after the data is written in the circuit 5, the data can be changed bit by bit only by external control of the selected block. As a result, in the semiconductor integrated circuit 1 of the present embodiment, the PROM circuit 5 does not require adjustment at the customer's destination as a standard, but if necessary and with a minimum increase in the CPU load, the necessary parts are not required. Only the bit value can be readjusted and preset by the customer or end user.

【0038】尚、上述の説明では、ブロック選択出力回
路23の出力数を3ビット、ブロック選択デコード回路
3の出力数、すなわち制御可能なブロック数を2ブロッ
ク、ビット選択出力回路24の出力数を2ビット、外部
制御データ出力回路25の出力数、すなわち制御可能な
ビット数を3ビットとして説明した。しかしながら、本
実施例の半導体集積回路1では、ブロック選択出力回路
23の出力数をjビット、ブロック選択デコード回路3
の出力数、すなわち制御可能なブロック数をnブロッ
ク、ビット選択出力回路24の出力数をkビット、外部
制御データ出力回路25の出力数、すなわち制御可能ビ
ット数をmビットとすることも可能である。すなわち、
図4に示すように、本実施例の半導体集積回路1を構成
することも可能である。尚、図4において、ブロック選
択出力回路23、ビット選択出力回路24、及び外部制
御データ出力回路25は、出力23j、出力24k、及
び出力25mをそれぞれ出力する。さらに、ブロック選
択デコード回路3、PROM書き込み制御信号デコード
回路4、PROM回路5、ROMデータ/外部制御デー
タ切換スイッチ及びラッチ回路6、及びD/Aコンバー
タ回路7は、それぞれ出力3n、出力4nm、出力51
m〜5nm、出力61m〜6nm、及び出力70nを出
力する。また、このとき、j、k、m、nは整数であ
り、さらにj及びkの値を任意の値に設定でき、nをn
≦2j 、mをm≦2k の範囲内の任意の値にそれぞれ設
定できる。
In the above description, the number of outputs of the block selection output circuit 23 is 3 bits, the number of outputs of the block selection decoding circuit 3, that is, the number of controllable blocks is 2, and the number of outputs of the bit selection output circuit 24 is. 2 bits, the number of outputs of the external control data output circuit 25, that is, the number of controllable bits is 3 bits. However, in the semiconductor integrated circuit 1 of the present embodiment, the number of outputs of the block selection output circuit 23 is j bits, and the block selection decoding circuit 3
, The number of controllable blocks is n blocks, the number of outputs of the bit selection output circuit 24 is k bits, and the number of outputs of the external control data output circuit 25, that is, the number of controllable bits is m bits. is there. That is,
As shown in FIG. 4, it is possible to configure the semiconductor integrated circuit 1 of this embodiment. In FIG. 4, the block selection output circuit 23, the bit selection output circuit 24, and the external control data output circuit 25 output an output 23j, an output 24k, and an output 25m, respectively. Further, the block selection decoding circuit 3, the PROM write control signal decoding circuit 4, the PROM circuit 5, the ROM data / external control data changeover switch and latch circuit 6, and the D / A converter circuit 7 have outputs 3n, 4nm, and 4nm, respectively. 51
It outputs m to 5 nm, output 61 m to 6 nm, and output 70n. Further, at this time, j, k, m, and n are integers, and the values of j and k can be set to arbitrary values, and n is n.
≦ 2 j and m can be set to arbitrary values within the range of m ≦ 2 k .

【0039】《第2の実施例》図5は、本発明の第2の
実施例の半導体集積回路でのブロック選択デコード回路
及びPROM書き込み制御信号デコード回路の一部分の
詳細な構成を示す回路図である。図6は、本発明の第2
の実施例の半導体集積回路でのROMデータ/外部制御
データ切換スイッチ及びラッチ回路の一部分の詳細な構
成を示す回路図である。この実施例では、ブロック選択
デコード回路、PROM書き込み制御信号デコード回
路、及びROMデータ/外部制御データ切換スイッチ及
びラッチ回路を論理回路を用いて構成した具体的な構成
例について説明する。それ以外の各部は第1の実施例の
ものと同様であるのでそれらの重複した説明は省略す
る。図5に示すように、ブロック選択デコード回路3
は、OR素子1301、インバータ素子1311〜13
13、及びNAND素子1321,1322,133
1,1332を備えている。PROM書き込み制御信号
デコード回路4は、インバータ素子1411,141
2、NAND素子1431〜1436、及びAND素子
1421〜1423,1441〜1446を備えてい
る。図6に示すように、ROMデータ/外部制御データ
切換スイッチ及びラッチ回路6は、インバータ素子16
01、NAND素子1611〜1616,1621〜1
626,1631〜1636、及びラッチ回路1641
〜1646を具備している。
<Second Embodiment> FIG. 5 is a circuit diagram showing a detailed structure of a part of a block selection decode circuit and a PROM write control signal decode circuit in a semiconductor integrated circuit according to a second embodiment of the present invention. is there. FIG. 6 shows a second embodiment of the present invention.
FIG. 6 is a circuit diagram showing a detailed configuration of a part of a ROM data / external control data changeover switch and a latch circuit in the semiconductor integrated circuit of the example of FIG. In this embodiment, a specific configuration example in which the block selection decoding circuit, the PROM write control signal decoding circuit, the ROM data / external control data changeover switch and the latch circuit are configured by using a logic circuit will be described. The other parts are the same as those in the first embodiment, and the duplicated description thereof will be omitted. As shown in FIG. 5, the block selection decoding circuit 3
Is an OR element 1301 and inverter elements 1311 to 13
13, and NAND elements 1321, 1322, 133
1, 1332. The PROM write control signal decoding circuit 4 includes inverter elements 1411, 141.
2, NAND elements 1431 to 1436, and AND elements 1421 to 1423, 1441 to 1446. As shown in FIG. 6, the ROM data / external control data changeover switch and the latch circuit 6 includes an inverter element 16
01, NAND elements 1611 to 1616, 1621-1
626, 1631 to 1636, and a latch circuit 1641
.About.1646.

【0040】以上のように構成された第2の実施例の半
導体集積回路の動作について、図5、及び図6を参照し
て説明する。尚、以下の説明では、まず各素子に遅延が
生じていない場合について、図3に示したタイミングチ
ャートを用いて説明する。また、第1の実施例のものと
同様に、PROM書き込み制御信号デコード回路4から
の出力411〜413,421〜423はローレベルで
アクティブになるものとし、それ以外の全ての回路から
の出力はハイレベルでアクティブになるとして説明す
る。まず、PROM回路5に書き込み前に最適な書き込
み値を選定する外部制御モードでの動作について説明す
る。この外部制御モードでは、ROM制御・外部制御切
換信号出力回路22からの出力221がHであり、OR
素子1301の出力もHとなる。このとき、ブロック選
択出力回路23により選択されたブロックのみの出力が
ハイレベルでアクティブになる。つまり、図3の(a)
に示したように、出力233,232,231はL,
L,Hであり、NAND素子1321の入力は全てHと
なってその出力はLとなる。このため、NAND素子1
331の出力31はHとなる。このように、第1ブロッ
ク81が選択される。また、NAND素子1322で
は、3つ入力のうち、出力232はLなので、その出力
はHとなる。さらに、OR素子1301の出力もHであ
るので、NAND素子1332の出力32はLとなる。
その結果、第1ブロック81以外の第2ブロック82は
選択されない。
The operation of the semiconductor integrated circuit of the second embodiment configured as described above will be described with reference to FIGS. 5 and 6. In the following description, first, a case where no delay occurs in each element will be described with reference to the timing chart shown in FIG. Further, as in the first embodiment, outputs 411 to 413 and 421 to 423 from the PROM write control signal decoding circuit 4 are active at a low level, and outputs from all other circuits are the same. Described as being active at a high level. First, the operation in the external control mode for selecting the optimum write value before writing to the PROM circuit 5 will be described. In this external control mode, the output 221 from the ROM control / external control switching signal output circuit 22 is H, and OR
The output of the element 1301 also becomes H. At this time, the output of only the block selected by the block selection output circuit 23 becomes active at the high level. That is, (a) of FIG.
, The outputs 233, 232, 231 are L,
L and H, all inputs of the NAND element 1321 are H and its output is L. Therefore, the NAND element 1
The output 31 of 331 becomes H. In this way, the first block 81 is selected. Further, in the NAND element 1322, the output 232 of the three inputs is L, so the output thereof is H. Further, since the output of the OR element 1301 is also H, the output 32 of the NAND element 1332 is L.
As a result, the second blocks 82 other than the first block 81 are not selected.

【0041】続いて、ROMデータ/外部制御データ切
換スイッチ及びラッチ回路6では、ROM制御・外部制
御切換信号出力回路22からの出力221がHであるの
で、NAND素子1621〜1623の出力は各々外部
制御データ出力回路25からの出力251〜253を反
転した値となる。また、インバータ素子1601の出力
がLであるので、NAND素子1611〜1613の各
出力はHとなる。したがって、NAND素子1631〜
1633の出力は各々NAND素子1621〜1623
の出力を反転して、出力251〜253と同じ値とな
る。このとき、ラッチ回路1641〜1643のL入力
には出力31のHが入力されるので、ラッチ回路164
1〜1643のQ出力からの出力611〜613も各々
出力251〜253と同じ値となる。このように、出力
611〜613が出力251〜253と連動して変化
し、第1ブロック81用のデータとして外部制御データ
が選択され、D/Aコンバータ回路7に出力される。ま
た、このとき、上述したように、ブロック選択デコード
回路3の出力32はLであり、第2ブロック82は選択
されていないので、ラッチ回路1644〜1646は動
作せず、そのQ出力からの出力621〜623は変化し
ない。
Next, in the ROM data / external control data changeover switch and latch circuit 6, since the output 221 from the ROM control / external control changeover signal output circuit 22 is H, the outputs of the NAND elements 1621-1623 are external. It becomes a value obtained by inverting the outputs 251 to 253 from the control data output circuit 25. Further, since the output of the inverter element 1601 is L, the outputs of the NAND elements 1611 to 1613 are H. Therefore, the NAND elements 1631 to
The outputs of 1633 are NAND elements 1621-1623, respectively.
Output is inverted to have the same value as the outputs 251 to 253. At this time, since the H of the output 31 is input to the L inputs of the latch circuits 1641 to 1643, the latch circuit 164
The outputs 611 to 613 from the Q outputs 1 to 1643 also have the same values as the outputs 251 to 253, respectively. In this way, the outputs 611 to 613 change in association with the outputs 251 to 253, the external control data is selected as the data for the first block 81, and is output to the D / A converter circuit 7. At this time, as described above, since the output 32 of the block selection decoding circuit 3 is L and the second block 82 is not selected, the latch circuits 1644 to 1646 do not operate and the output from the Q output thereof. 621 to 623 do not change.

【0042】次に、PROM回路5へのROMデータの
書き込みを行う動作について説明する。この動作では、
書き込み/読み出し切換出力回路21の出力211は
H、すなわちライトモードとなり、且つROM制御・外
部制御切換信号出力回路22の出力221はL、すなわ
ちROMモードとなる。この場合も、外部制御モードと
同様に、OR素子1301の出力はHであるので、ブロ
ック選択出力回路23により選択されたブロックのみの
出力がハイレベルでアクティブになる。つまり、NAN
D素子1331の出力31もまたHとなって第1ブロッ
ク81が選択されている。そして、PROM書き込み制
御信号デコード回路4が、ブロック選択デコード回路3
の出力31とビット選択出力回路24の出力241,2
42とのデコードを行う。図3の(b)に示したよう
に、ビット選択出力回路24からの出力241,242
がともにHのとき、AND素子1421,1422の出
力がL、AND素子1423の出力はHとなり、3ビッ
ト目が選択される。ここで、NAND素子1331の出
力31はHであるので、NAND素子1433、及びA
ND素子1443の出力はともにLとなる。また、NA
ND素子1431,1432,1434〜1436で
は、2つの入力のうち一方の入力がLになっているの
で、各出力はLとなる。このため、AND素子144
1,1442,1444〜1446の出力はHとなる。
尚、PROM書き込み制御信号デコード回路4からの出
力411〜413,421〜423は、上述したよう
に、ローレベルでアクティブになるので、AND素子1
443の出力のみがLであるとき、第1ブロック81用
の3ビット目が選択されていることになる。この状態で
PROM書き込み端子51に所定の書き込み電圧又は電
流が与えられると、第1ブロック81用の3ビット目の
値のみPROM回路5に書き込まれる。その結果、図3
の(b)に示したように、出力513はHとなる。
Next, the operation of writing ROM data to the PROM circuit 5 will be described. In this behavior,
The output 211 of the write / read switching output circuit 21 becomes H, that is, the write mode, and the output 221 of the ROM control / external control switching signal output circuit 22 becomes L, that is, the ROM mode. Also in this case, as in the external control mode, the output of the OR element 1301 is H, so that the output of only the block selected by the block selection output circuit 23 becomes active at a high level. That is, NAN
The output 31 of the D element 1331 also becomes H, and the first block 81 is selected. Then, the PROM write control signal decoding circuit 4 causes the block selection decoding circuit 3
Output 31 and outputs 241, 2 of the bit selection output circuit 24
Decoding with 42. As shown in FIG. 3B, outputs 241 and 242 from the bit selection output circuit 24
When both are H, the outputs of the AND elements 1421 and 1422 are L, the output of the AND element 1423 is H, and the third bit is selected. Since the output 31 of the NAND element 1331 is H, the NAND element 1433 and A
Both outputs of the ND element 1443 become L. Also, NA
In the ND elements 1431, 1432, 1434 to 1436, one of the two inputs is L, so each output is L. Therefore, the AND element 144
The output of 1, 1442, 1444 to 1446 becomes H.
Since the outputs 411 to 413 and 421 to 423 from the PROM write control signal decoding circuit 4 become active at the low level as described above, the AND element 1
When only the output of 443 is L, it means that the third bit for the first block 81 is selected. When a predetermined write voltage or current is applied to the PROM write terminal 51 in this state, only the value of the third bit for the first block 81 is written in the PROM circuit 5. As a result,
The output 513 becomes H as shown in FIG.

【0043】次に、PROM回路5にデータを書き込ん
だ後の通常使用時での動作について説明する。この通常
使用時では、図3の(c)に示したように、書き込み/
読み出し切換出力回路21からの出力211とROM制
御・外部制御切換信号出力回路22からの出力221は
ともにLなので、OR素子1301の出力もまたLとな
る。したがって、NAND素子1331,1332の出
力31,32はともにHとなる。このとき、ROMデー
タ/外部制御データ切換スイッチ及びラッチ回路6で
は、出力221はLであるので、NAND素子1621
〜1626の各出力はHとなる。また、インバータ素子
1601の出力はHであるので、NAND素子1611
〜1616の出力は各々PROM回路5からの出力51
1〜523を反転した値となる。したがって、NAND
素子1631〜1636の出力は、各々NAND素子1
611〜1616の出力を反転して、出力511〜52
3と同じ値となる。このとき、ラッチ回路1641〜1
643のL入力、及びラッチ回路1644〜1646の
L入力には、Hである出力31,32がそれぞれ入力さ
れるので、ラッチ回路1641〜1646のQ出力から
の出力611〜613,621〜623もまた各々PR
OM回路5からの出力511〜513,521〜523
と同じ値となる。このように、通常使用時では、ROM
データ/外部制御データ切換スイッチ及びラッチ回路6
は全てのブロックにおいて、PROM回路5からのRO
Mデータが選択される。そして、PROM回路5からの
ROMデータをD/Aコンバータ回路7に出力する。こ
れにより、PROM回路5に保持されていたROMデー
タにより、第1、第2ブロック81,82の各調整が行
われる。図3の(c)に示したように、第1ブロック8
1用の3ビット目のみPROM回路5に書き込まれてい
るので、ROMデータ/外部制御データ切換スイッチ及
びラッチ回路6の出力613のみHとなっている。尚、
電源投入時に、書き込み/読み出し切換出力回路21の
出力211、及びROM制御・外部制御切換信号出力回
路22の出力221がLになるようにシリアル/パラレ
ル変換回路2を構成した場合、CPU9からの選択を待
たず、通常モード(ROMデータのリードモード)にデ
フォルト設定することが可能となる。
Next, an operation in normal use after writing data in the PROM circuit 5 will be described. In this normal use, as shown in FIG.
Since the output 211 from the read switching output circuit 21 and the output 221 from the ROM control / external control switching signal output circuit 22 are both L, the output of the OR element 1301 is also L. Therefore, the outputs 31 and 32 of the NAND elements 1331 and 1332 both become H. At this time, in the ROM data / external control data changeover switch and latch circuit 6, since the output 221 is L, the NAND element 1621
Each output of ˜1626 becomes H. Further, since the output of the inverter element 1601 is H, the NAND element 1611
The outputs of 1616 are output 51 from the PROM circuit 5, respectively.
It is a value obtained by inverting 1 to 523. Therefore, NAND
The outputs of the elements 1631 to 1636 are the NAND elements 1 respectively.
The outputs of 611 to 1616 are inverted to output 511 to 52.
It will be the same value as 3. At this time, the latch circuits 1641 to 1
Since the outputs 31 and 32 which are H are input to the L input of 643 and the L inputs of the latch circuits 1644 to 1646, respectively, the outputs 611 to 613, 621 to 623 from the Q outputs of the latch circuits 1641 to 1646 are also input. Also PR
Outputs 511 to 513, 521 to 523 from the OM circuit 5
It will be the same value as. Thus, in normal use, the ROM
Data / external control data changeover switch and latch circuit 6
RO from the PROM circuit 5 in all blocks
M data is selected. Then, the ROM data from the PROM circuit 5 is output to the D / A converter circuit 7. As a result, each adjustment of the first and second blocks 81 and 82 is performed by the ROM data held in the PROM circuit 5. As shown in FIG. 3C, the first block 8
Since only the third bit for 1 is written in the PROM circuit 5, only the output 613 of the ROM data / external control data changeover switch and latch circuit 6 is H. still,
When the serial / parallel conversion circuit 2 is configured so that the output 211 of the writing / reading switching output circuit 21 and the output 221 of the ROM control / external control switching signal output circuit 22 become L when the power is turned on, selection from the CPU 9 It is possible to set the default mode to the normal mode (ROM data read mode) without waiting.

【0044】次に、PROM回路5にデータを書き込む
動作に続けて、再度外部制御モードに戻した場合での動
作について説明する。図3の(d)に示したように、R
OM制御・外部制御切換信号出力回路22の出力221
をHとして、外部制御モードに再度戻すと、OR素子1
301の出力もHとなる。このとき、PROM回路5に
データの書き込み前と同様、ブロック選択出力回路23
により選択されたブロックのみの出力がハイレベルでア
クティブになる。つまり、図3の(d)に示したよう
に、出力233,232,231はL,L,Hであり、
NAND素子1321の入力は全てHとなってその出力
はLとなる。このため、NAND素子1331の出力は
Hとなる。このように、第1ブロック81が選択され
る。NAND素子1322では、3つ入力のうち出力2
32がLであるので、その出力はHとなる。また、OR
素子1301の出力もHであるので、NAND素子13
32の出力32はLとなる。このように、第1ブロック
81以外の第2ブロック82は選択されない。
Next, the operation in the case of returning to the external control mode again after the operation of writing data in the PROM circuit 5 will be described. As shown in FIG. 3D, R
Output 221 of OM control / external control switching signal output circuit 22
When H is set to H and the external control mode is returned to again, the OR element 1
The output of 301 also becomes H. At this time, as in the case before the data is written in the PROM circuit 5, the block selection output circuit 23
The output of only the block selected by becomes active at the high level. That is, as shown in FIG. 3D, the outputs 233, 232, and 231 are L, L, and H,
The inputs of the NAND element 1321 all become H, and the output thereof becomes L. Therefore, the output of the NAND element 1331 becomes H. In this way, the first block 81 is selected. In the NAND element 1322, output 2 out of 3 inputs
Since 32 is L, its output is H. Also, OR
Since the output of the element 1301 is also H, the NAND element 13
The output 32 of 32 becomes L. In this way, the second blocks 82 other than the first block 81 are not selected.

【0045】ROMデータ/外部制御データ切換スイッ
チ及びラッチ回路6では、ROM制御・外部制御切換信
号出力回路22からの出力221はHであるので、NA
ND素子1621〜1626の出力は各々外部制御デー
タ出力回路25からの出力251〜253を反転した値
となる。また、インバータ素子1601の出力はLであ
るので、NAND素子1611〜1616の各出力はH
となる。したがって、NAND素子1631〜1633
の出力は、各々NAND素子1621〜1623の出力
を反転し、出力251〜253と同じ値となる。このと
き、ラッチ回路1641〜1643のL入力には、出力
31のHが入力されるので、ラッチ回路1641〜16
43のQ出力からの出力611〜613も各々出力25
1〜253と同じ値となる。一方、ラッチ回路1644
〜1646のL入力には、出力32のLが入力されるの
で、ラッチ回路1644〜1646のQ出力からの出力
621〜623は、図3の(c)に示したROMデータ
をラッチしたまま、各々PROM回路5からの出力52
1〜523と同じ値を保持する。このように、出力61
1〜613は、出力251〜253と連動して変化し、
第1ブロック81用のデータとして外部制御データが選
択され、D/Aコンバータ回路7に出力される。また、
このとき、上述したように、ブロック選択デコード回路
3の出力32はLであり、第2ブロック82は選択され
ていないので、ラッチ回路1644〜1646は動作せ
ず、そのQ出力からの出力621〜623はROMデー
タと同じ値を出力して変化しない。
In the ROM data / external control data changeover switch and latch circuit 6, the output 221 from the ROM control / external control changeover signal output circuit 22 is H, so NA
The outputs of the ND elements 1621 to 1626 are values obtained by inverting the outputs 251 to 253 from the external control data output circuit 25, respectively. Since the output of the inverter element 1601 is L, the outputs of the NAND elements 1611 to 1616 are H.
Becomes Therefore, the NAND elements 1631 to 1633 are
Output is the same as the outputs 251 to 253 by inverting the outputs of the NAND elements 1621 to 1623, respectively. At this time, since the H of the output 31 is input to the L inputs of the latch circuits 1641 to 1643, the latch circuits 1641 to 16
Outputs 611 to 613 from the Q output of 43 are also output 25, respectively.
It has the same value as 1 to 253. On the other hand, the latch circuit 1644
Since the L input of the output 32 is input to the L inputs of ˜1646, the outputs 621 to 623 from the Q outputs of the latch circuits 1644 to 1646 are latched with the ROM data shown in FIG. Output 52 from each PROM circuit 5
It holds the same value as 1 to 523. Thus, output 61
1 to 613 change in conjunction with the outputs 251 to 253,
External control data is selected as data for the first block 81 and output to the D / A converter circuit 7. Also,
At this time, as described above, since the output 32 of the block selection decoding circuit 3 is L and the second block 82 is not selected, the latch circuits 1644 to 1646 do not operate, and the outputs 621 to 621 from its Q output. 623 outputs the same value as the ROM data and does not change.

【0046】図3の(d)、及び図3の(e)に示した
ように、ブロック選択出力回路23からの出力233,
232,231が、L,L,HからL,H,Lにそれぞ
れ変化すると、NAND素子1321の出力はLからH
に変化し、NAND素子1322の出力はHからLに変
化する。このため、NAND素子1331の出力31は
HからLに変化し、NAND素子1332の出力32は
LからHに変化する。また、ラッチ回路1641〜16
43のL入力には、Lに変化した出力31が入力される
ので、そのQ出力からの出力611〜613は変化せ
ず、L,H,Lに保持される。ラッチ回路1644〜1
646のL入力には、Hに変化した出力32が入力され
るので、そのQ出力からの出力621〜623は、各々
NAND素子1634〜1636の出力、すなわち外部
制御データ出力回路25からの出力251〜253と同
じ値となる。このように、複数のブロックについて外部
制御を行う場合、続けて別のブロックを選択すればよ
い。また、ROM(内部)制御に戻す場合、書き込み/
読み出し切換出力回路21からの出力211、及びRO
M制御・外部制御切換信号出力回路22からの出力22
1をLにすることにより、上述の通常モード(ROMリ
ードモード)となり、全てのブロックについて、ROM
データ/外部制御データ切換スイッチ及びラッチ回路6
は、PROM回路5からのROMデータを選択する。
As shown in (d) of FIG. 3 and (e) of FIG. 3, outputs 233 from the block selection output circuit 23.
When 232 and 231 change from L, L, H to L, H, L respectively, the output of the NAND element 1321 changes from L to H.
, And the output of the NAND element 1322 changes from H to L. Therefore, the output 31 of the NAND element 1331 changes from H to L, and the output 32 of the NAND element 1332 changes from L to H. Further, the latch circuits 1641 to 16
Since the output 31 changed to L is input to the L input of 43, the outputs 611 to 613 from the Q output do not change and are held at L, H, and L. Latch circuit 1644-1
Since the output 32 changed to H is input to the L input of 646, the outputs 621 to 623 from the Q output thereof are the outputs of the NAND elements 1634 to 1636, that is, the output 251 from the external control data output circuit 25. It becomes the same value as ˜253. In this way, when performing external control on a plurality of blocks, another block may be selected subsequently. When returning to ROM (internal) control, write /
The output 211 from the read switching output circuit 21 and the RO
Output 22 from M control / external control switching signal output circuit 22
By setting 1 to L, the above-mentioned normal mode (ROM read mode) is set, and all blocks are set to ROM
Data / external control data changeover switch and latch circuit 6
Selects ROM data from the PROM circuit 5.

【0047】続いて、図7を参照して、素子の遅延を考
慮したときの動作について説明する。図7は、図3の
(d)に示した動作から図3の(e)に示した動作に変
化するときの過渡状態における動作を示す説明図であ
る。ラッチ回路1641〜1643のL入力、すなわち
ブロック選択デコード回路3の出力31がハイレベルで
アクティブな状態からLに変化するとき、ラッチ回路の
Q出力はその直前の値(状態)を保持する。したがっ
て、調整対象のブロックを第1のブロック81から第2
ブロック82に変更するとき、図7の(a)に示すよう
に、外部制御データ出力回路25からの第2ブロック8
2用の外部制御データがラッチ回路1641〜1643
のD入力に伝達されるより、ブロック選択デコード回路
3からの出力31がラッチ回路1641〜1643のL
入力に遅くれて入力されると、第2ブロック82用の最
初の外部制御データL,H,Lがラッチ回路1641〜
1643のQ出力、すなわちROMデータ/外部制御デ
ータ切換スイッチ及びラッチ回路6からの出力611〜
613として出力される。すなわち、第2ブロック82
用の最初の外部制御データが、誤って第1ブロック81
用のROMデータとして保持され出力される。このよう
な誤動作を防止するため、本実施例では、図7の(b)
に示すように、例えばブロック選択デコード回路3から
の出力31が外部制御データ出力回路25より先に変化
するよう、CPU9側でブロック選択信号(出力231
〜233)と外部制御データの送信タイミングをコント
ロールしている。
Next, with reference to FIG. 7, the operation in consideration of the delay of the element will be described. FIG. 7 is an explanatory diagram showing an operation in a transient state when the operation shown in FIG. 3D is changed to the operation shown in FIG. When the L inputs of the latch circuits 1641 to 1643, that is, the output 31 of the block selection decoding circuit 3 changes from the active state at the high level to the L level, the Q output of the latch circuit holds the value (state) immediately before that. Therefore, the blocks to be adjusted are changed from the first block 81 to the second block.
When changing to the block 82, as shown in FIG. 7A, the second block 8 from the external control data output circuit 25
The external control data for 2 is latch circuits 1641 to 1643.
Output to the L input of the latch circuits 1641 to 1643 rather than being transmitted to the D input of the block selection decoding circuit 3.
If the input is delayed, the first external control data L, H, L for the second block 82 will be transferred to the latch circuits 1641 to 1641.
1643 Q output, that is, the output 611 from the ROM data / external control data changeover switch and the latch circuit 6
It is output as 613. That is, the second block 82
The first external control data for
It is held and output as ROM data for use in. In order to prevent such an erroneous operation, in the present embodiment, FIG.
, The block selection signal (output 231) is set on the CPU 9 side so that the output 31 from the block selection decoding circuit 3 changes before the external control data output circuit 25, for example.
˜233) and the transmission timing of the external control data are controlled.

【0048】以上のように、本実施例の半導体集積回路
では、ブロック選択デコード回路3は、ROM制御・外
部制御切換信号(出力221)がROMモード、かつ書
き込み/読み出し切換出力回路21の出力211がリー
ドモードのときにローレベルを出力し、ROM制御・外
部制御切換信号が外部制御モードまたは書き込み/読み
出し切換出力回路21の出力211がライトモードの時
にハイレベルを出力するOR素子1301を備えてい
る。さらに、ブロック選択デコード回路3は、インバー
タ素子1311〜1313とNAND素子1321,1
322により構成され、ブロック選択出力回路23から
の出力231〜233をデコードして、ローレベルでア
クティブとなる第一の論理回路群、及び上記OR素子1
301の出力と第一の論理回路群のNAND素子132
1,1322の各出力を入力とするNAND素子133
1,1332からなるNAND回路群を備えている。さ
らに、ROMデータ/外部制御データ切換スイッチ及び
ラッチ回路6は、上記ROMデータである出力511〜
523と外部制御データである出力251〜253とを
ROM制御・外部制御切換信号出力回路22からの出力
221によってそれぞれ切り換えるNAND素子161
1〜1616,1621〜1626,1631〜163
6からなる第二の論理回路群と、上記NAND回路群の
NAND素子1331,1332からの各出力31,3
2をラッチ入力(L入力)に入力し、上記第二の論理回
路群のNAND1631〜1636の出力をD入力にそ
れぞれ入力とするラッチ回路1641〜1646を備え
ている。これにより、本実施例の半導体集積回路では、
PROM回路5にデータを書き込んだ後においても、選
択したブロックのみ外部からの外部制御によりビット単
位にデータを変更することができる。その結果、本実施
例の半導体集積回路では、PROM回路5による納入先
での無調整化を標準としながらも、必要に応じて、かつ
最小限のCPUの負担増に抑えながら必要な部分のビッ
ト値だけ、納入先やエンドユーザーなどで再調整、プリ
セットを行うことが可能である。
As described above, in the semiconductor integrated circuit of this embodiment, the block selection decoding circuit 3 has the ROM control / external control switching signal (output 221) in the ROM mode and the output 211 of the write / read switching output circuit 21. Includes an OR element 1301 which outputs a low level in the read mode and outputs a high level when the ROM control / external control switching signal is in the external control mode or the output 211 of the write / read switching output circuit 21 is in the write mode. There is. Further, the block selection decoding circuit 3 includes inverter elements 1311 to 1313 and NAND elements 1321, 1
A first logic circuit group constituted by 322, which decodes the outputs 231 to 233 from the block selection output circuit 23 and becomes active at a low level, and the OR element 1
The output of 301 and the NAND element 132 of the first logic circuit group
NAND element 133 having each output of 1, 1322 as an input
1, a NAND circuit group composed of 1332. Further, the ROM data / external control data changeover switch and the latch circuit 6 outputs the ROM data outputs 511 to 511.
NAND element 161 that switches 523 and outputs 251 to 253 that are external control data by output 221 from ROM control / external control switching signal output circuit 22.
1-1616, 1621-1626, 1631-163
A second logic circuit group consisting of 6 and outputs 31 and 3 from the NAND elements 1331 and 1332 of the NAND circuit group.
2 is input to the latch input (L input), and the latch circuits 1641 to 1646 are provided to input the outputs of the NANDs 1631 to 1636 of the second logic circuit group to the D input, respectively. As a result, in the semiconductor integrated circuit of this embodiment,
Even after writing the data to the PROM circuit 5, only the selected block can be changed in bit units by external control from the outside. As a result, in the semiconductor integrated circuit of the present embodiment, the PROM circuit 5 does not require adjustment at the delivery destination as a standard, but if necessary and with a minimum increase in the CPU load, bits of the required portion are set. Only the value can be readjusted and preset by the customer or end user.

【0049】《第3の実施例》図8は、本発明の第3の
実施例の半導体集積回路でのROMデータ/外部制御デ
ータ切換スイッチ及びラッチ回路の一部分の詳細な構成
を示す回路図である。この実施例では、半導体集積回路
の構成において、ROMデータ/外部制御データ切換ス
イッチ及びラッチ回路が、外部制御データを入力する前
にブロックの選択を行うように、遅延回路をROMデー
タ/外部制御データ切換スイッチ及びラッチ回路に接続
した。それ以外の各部は第2の実施例のものと同様であ
るのでそれらの重複した説明は省略する。図8に示すよ
うに、本実施例の半導体集積回路では、インバータ素子
1001〜1006からなる遅延回路10が外部制御デ
ータ出力回路25とROMデータ/外部制御データ切換
スイッチ及びラッチ回路6の間に設けられている。イン
バータ素子1001,1003,1005は、インバー
タ素子1002,1004,1006にそれぞれ直列に
接続され、外部制御データ出力回路25の出力251〜
253をそれぞれ入力するよう構成されている。インバ
ータ素子1002は、上述の第二の論理回路群のNAN
D素子1621,1624に接続されている。同様に、
インバータ素子1004は第二の論理回路群のNAND
素子1622,1625に接続され、インバータ素子1
006は第二の論理回路群のNAND素子1623,1
626に接続されている。これにより、本実施例の半導
体集積回路では、ROMデータ/外部制御データ切換ス
イッチ及びラッチ回路6が、外部制御データ出力回路2
5から外部制御データを入力する前に、ブロック選択デ
コード回路3からのブロック選択信号に基づきブロック
の選択を行うことが可能となる。その結果、本実施例の
半導体集積回路では、ブロック選択信号と外部制御デー
タの送信タイミングを半導体集積回路の内部で最適なも
のとすることができ、CPU9の負担を軽減することが
できる。
<< Third Embodiment >> FIG. 8 is a circuit diagram showing a detailed structure of a part of a ROM data / external control data changeover switch and a latch circuit in a semiconductor integrated circuit of a third embodiment of the present invention. is there. In this embodiment, in the structure of the semiconductor integrated circuit, the ROM data / external control data changeover switch and the latch circuit select the block before inputting the external control data. It was connected to the changeover switch and the latch circuit. The other parts are the same as those in the second embodiment, and thus their duplicated description will be omitted. As shown in FIG. 8, in the semiconductor integrated circuit of this embodiment, the delay circuit 10 including the inverter elements 1001 to 1006 is provided between the external control data output circuit 25 and the ROM data / external control data changeover switch and the latch circuit 6. Has been. The inverter elements 1001, 1003, 1005 are connected in series to the inverter elements 1002, 1004, 1006, respectively, and output from the outputs 251 to 251 of the external control data output circuit 25.
253 are input respectively. The inverter element 1002 is the NAN of the second logic circuit group described above.
It is connected to the D elements 1621 and 1624. Similarly,
The inverter element 1004 is a NAND of the second logic circuit group.
Inverter element 1 connected to elements 1622 and 1625
006 is the NAND elements 1623, 1 of the second logic circuit group
It is connected to 626. As a result, in the semiconductor integrated circuit of the present embodiment, the ROM data / external control data changeover switch and the latch circuit 6 become the external control data output circuit 2
Before inputting the external control data from 5, the block can be selected based on the block selection signal from the block selection decoding circuit 3. As a result, in the semiconductor integrated circuit of this embodiment, the transmission timing of the block selection signal and the external control data can be optimized inside the semiconductor integrated circuit, and the load on the CPU 9 can be reduced.

【0050】以上のように構成された第3の実施例の半
導体集積回路の動作について、図8と図9を用いて説明
する。図9は、図8に示した半導体集積回路の動作を示
すタイミングチャートである。図9に示すように、外部
制御データ出力回路25の出力251〜253がH,
L,HからL,H,Lにそれぞれ変化すると、インバー
タ素子1002,1004,1006の出力、及びラッ
チ回路1641〜1643のD入力も同様に変化する。
しかしながら、ラッチ回路1641〜1643のD入力
が変化するタイミングは、遅延回路10により、同図に
示すように、上記ラッチ回路1641〜1643の各ラ
ッチ入力(L入力)がハイレベルでアクティブな状態か
らローレベルに変化するタイミングより遅延されてい
る。このため、ラッチ回路1641〜1643のQ出力
からの出力611〜613は、出力251〜253がラ
ッチ回路1641〜1643のD入力にそれぞれ伝達さ
れても変化しない。その結果、第1ブロック81用のR
OMデータは、第2ブロック82用の最初の外部制御デ
ータに誤って書き換えられずに保持される。
The operation of the semiconductor integrated circuit of the third embodiment configured as above will be described with reference to FIGS. 8 and 9. FIG. 9 is a timing chart showing the operation of the semiconductor integrated circuit shown in FIG. As shown in FIG. 9, the outputs 251 to 253 of the external control data output circuit 25 are H,
When L, H changes to L, H, L, respectively, the outputs of the inverter elements 1002, 1004, 1006 and the D inputs of the latch circuits 1641-1643 also change.
However, the timing at which the D inputs of the latch circuits 1641 to 1643 change is determined by the delay circuit 10 from the active state in which the respective latch inputs (L inputs) of the latch circuits 1641 to 1643 are at the high level as shown in FIG. It is delayed from the timing of changing to low level. Therefore, the outputs 611 to 613 from the Q outputs of the latch circuits 1641 to 1643 do not change even if the outputs 251 to 253 are transmitted to the D inputs of the latch circuits 1641 to 1643, respectively. As a result, R for the first block 81
The OM data is retained without being accidentally rewritten with the first external control data for the second block 82.

【0051】このように、第3の実施例の半導体集積回
路では、ROMデータ/外部制御データ切換スイッチ及
びラッチ回路6が、外部制御データを入力する前にブロ
ックの選択を行うように、遅延回路10をROMデータ
/外部制御データ切換スイッチ及びラッチ回路6に接続
した。このことにより、本実施例の半導体集積回路で
は、ブロック選択信号と外部制御データの送信タイミン
グを半導体集積回路の内部で最適なものとすることがで
き、CPU9の負担を軽減することができる。尚、上述
の説明では、インバータ素子により遅延回路を構成した
例について説明したが、抵抗、及びコンデンサを含んだ
フィルタ回路を用いて遅延回路を構成してもよい。さら
に、遅延回路の構成において、直列に接続した2個のイ
ンバータ素子を用いた例について説明したが、外部制御
データ出力回路からの各出力のレベルを変更することな
く、所定の遅延時間だけ遅延することができる構成であ
ればよい。つまり、遅延回路は、上述の各出力が所定の
遅延時間で遅延されるよう偶数個のインバータ素子を直
列に接続した構成でよい。
As described above, in the semiconductor integrated circuit of the third embodiment, the delay circuit is arranged so that the ROM data / external control data changeover switch and the latch circuit 6 select the block before inputting the external control data. 10 was connected to the ROM data / external control data changeover switch and the latch circuit 6. As a result, in the semiconductor integrated circuit of the present embodiment, the transmission timing of the block selection signal and the external control data can be optimized inside the semiconductor integrated circuit, and the load on the CPU 9 can be reduced. In the above description, the example in which the delay circuit is configured by the inverter element has been described, but the delay circuit may be configured by using the filter circuit including the resistor and the capacitor. Furthermore, in the configuration of the delay circuit, an example using two inverter elements connected in series has been described, but the delay of a predetermined delay time is achieved without changing the level of each output from the external control data output circuit. Any configuration can be used. That is, the delay circuit may have a configuration in which an even number of inverter elements are connected in series so that each output described above is delayed by a predetermined delay time.

【0052】上述の第1乃至第3の実施例では、CPU
からのシリアルコントロール信号をシリアル/パラレル
変換回路により入力する構成について説明したが、これ
に限定されるものではなく、外部制御データ、ROM制
御・外部制御切換信号、及びブロック選択信号を少なく
とも含んだコントロール信号を外部から入力する入力回
路であればよい。
In the first to third embodiments described above, the CPU
The configuration for inputting the serial control signal from the serial / parallel conversion circuit has been described, but the present invention is not limited to this, and the control including at least the external control data, the ROM control / external control switching signal, and the block selection signal. Any input circuit that inputs a signal from the outside may be used.

【0053】[0053]

【発明の効果】以上のように、本発明の半導体集積回路
は、コントロール信号を外部から入力する入力回路と、
コントロール信号に含まれたROM制御・外部制御切換
信号とブロック選択信号とをデコードして、デコード信
号を生成するブロック選択デコード回路、及びデコード
信号に基づいて、複数のブロックのうち1つのブロック
を選択し、さらにROMからのROMデータとコントロ
ール信号に含まれた外部制御データとを切り換えて、選
択したブロックに出力するROMデータ/外部制御デー
タ切換スイッチ及びラッチ回路を備えている。このよう
に構成することにより、ROMデータによる納入先での
無調整化を標準としながらも、必要な部分のビット値だ
けを納入先やエンドユーザーなどで再調整、プリセット
を行うことができる。
As described above, the semiconductor integrated circuit of the present invention includes an input circuit for inputting a control signal from the outside,
A block selection decoding circuit that decodes a ROM control / external control switching signal and a block selection signal included in the control signal to generate a decoding signal, and selects one block from a plurality of blocks based on the decoding signal In addition, a ROM data / external control data changeover switch for switching between ROM data from the ROM and external control data included in the control signal and outputting to the selected block, and a latch circuit are provided. With this configuration, it is possible to readjust and preset only the bit value of a necessary portion by the delivery destination or the end user while making the adjustment by ROM data at the delivery destination as standard.

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

【図1】本発明の第1の実施例である半導体集積回路の
構成を示す回路ブロック図
FIG. 1 is a circuit block diagram showing a configuration of a semiconductor integrated circuit according to a first embodiment of the present invention.

【図2】図1に示したPROM回路の一部分の詳細な構
成を示す回路図
FIG. 2 is a circuit diagram showing a detailed configuration of a part of the PROM circuit shown in FIG.

【図3】図1に示した半導体集積回路の動作を示すタイ
ミングチャート
FIG. 3 is a timing chart showing the operation of the semiconductor integrated circuit shown in FIG.

【図4】図1に示した半導体集積回路の変形例の構成を
示す回路ブロック図
FIG. 4 is a circuit block diagram showing a configuration of a modified example of the semiconductor integrated circuit shown in FIG.

【図5】本発明の第2の実施例の半導体集積回路でのブ
ロック選択デコード回路及びPROM書き込み制御信号
デコード回路の一部分の詳細な構成を示す回路図
FIG. 5 is a circuit diagram showing a detailed configuration of a part of a block selection decoding circuit and a PROM write control signal decoding circuit in a semiconductor integrated circuit according to a second embodiment of the present invention.

【図6】本発明の第2の実施例の半導体集積回路でのR
OMデータ/外部制御データ切換スイッチ及びラッチ回
路の一部分の詳細な構成を示す回路図
FIG. 6 shows R in the semiconductor integrated circuit according to the second embodiment of the present invention.
Circuit diagram showing a detailed configuration of a part of the OM data / external control data changeover switch and the latch circuit.

【図7】図3の(d)に示した動作から図3の(e)に
示した動作に変化するときの過渡状態における動作を示
す説明図
FIG. 7 is an explanatory diagram showing an operation in a transient state when the operation shown in FIG. 3D is changed to the operation shown in FIG.

【図8】本発明の第3の実施例の半導体集積回路でのR
OMデータ/外部制御データ切換スイッチ及びラッチ回
路の一部分の詳細な構成を示す回路図
FIG. 8 shows R in the semiconductor integrated circuit according to the third embodiment of the present invention.
Circuit diagram showing a detailed configuration of a part of the OM data / external control data changeover switch and the latch circuit.

【図9】図8に示した半導体集積回路の動作を示すタイ
ミングチャート
9 is a timing chart showing the operation of the semiconductor integrated circuit shown in FIG.

【図10】従来の半導体集積回路の構成例を示す回路ブ
ロック図
FIG. 10 is a circuit block diagram showing a configuration example of a conventional semiconductor integrated circuit.

【図11】図10に示したPROM回路の一部分の詳細
な構成を示す回路図
11 is a circuit diagram showing a detailed configuration of a part of the PROM circuit shown in FIG.

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

1 半導体集積回路 2 シリアル/パラレル変換回路 3 ブロック選択デコード回路 4 PROM書き込み制御信号デコード回路 5 PROM回路 6 ROMデータ/外部制御データ切換スイッチ及びラ
ッチ回路 7 D/Aコンバータ回路 8 被調整回路 9 CPU 10 遅延回路 21 書き込み/読み出し切換出力回路 22 ROM制御・外部制御切換信号出力回路 23 ブロック選択出力回路 24 ビット選択出力回路 25 外部制御データ出力回路
1 semiconductor integrated circuit 2 serial / parallel conversion circuit 3 block selection decoding circuit 4 PROM write control signal decoding circuit 5 PROM circuit 6 ROM data / external control data changeover switch and latch circuit 7 D / A converter circuit 8 adjusted circuit 9 CPU 10 Delay circuit 21 Write / read switching output circuit 22 ROM control / external control switching signal output circuit 23 Block selection output circuit 24 Bit selection output circuit 25 External control data output circuit

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平9−330135(JP,A) 特開 平1−57498(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 11/22 - 11/26 G06F 9/06 ─────────────────────────────────────────────────── ─── Continuation of front page (56) References JP-A-9-330135 (JP, A) JP-A-1-57498 (JP, A) (58) Fields investigated (Int.Cl. 7 , DB name) G06F 11/22-11/26 G06F 9/06

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 IC内部の標準特性のばらつきを調整す
るためのROM、及び複数の標準特性をそれぞれ調整す
る複数のブロックを内蔵した半導体集積回路であって、前記半導体集積回路は、 コントロール信号を外部から入力する入力回路、 前記コントロール信号に含まれたROM制御・外部制御
切換信号とブロック選択信号とをデコードしてデコード
信号を生成するブロック選択デコード回路、及び前記デ
コード信号に基づいて、前記複数のブロックのうち1つ
のブロックを選択し、さらに前記ROMからのROMデ
ータと前記コントロール信号に含まれた外部制御データ
とを切り換えて、選択したブロックに出力するROMデ
ータ/外部制御データ切換スイッチ及びラッチ回路、を
え、 前記ブロック選択デコード回路は、前記ROM制御・外
部制御切換信号がROMモード、かつ前記コントロール
信号がリードモードのときにローレベルを出力し、前記
ROM制御・外部制御切換信号が外部制御モードまたは
前記コントロール信号がライトモードのときにハイレベ
ルを出力するOR回路と、前記ブロック選択信号をデコ
ードしてローレベルでアクティブとなる第一の論理回路
群と、前記OR回路の出力と第一の論理回路群の出力を
それぞれ入力とするNAND回路群とを備え、 前記ROMデータ/外部制御データ切換スイッチ及びラ
ッチ回路は、前記ROMデータと前記外部制御データと
を前記ROM制御・外部制御切換信号により切り換える
第二の論理回路群と、前記NAND回路群の出力をラッ
チ入力に、前記第二の論理回路群の出力をD入力にそれ
ぞれ入力するラッチ回路群とを備え たことを特徴とする
半導体集積回路。
1. A semiconductor integrated circuit including a ROM for adjusting variations in standard characteristics inside an IC and a plurality of blocks for respectively adjusting a plurality of standard characteristics, wherein the semiconductor integrated circuit transmits a control signal. input circuit for inputting from outside, the control signal includes a ROM control and external control switching signal and the block selection signal and a block selection decode circuit for generating a decode signal by decoding, and based on the decode signal, the A ROM data / external control data changeover switch for selecting one block from a plurality of blocks, switching between ROM data from the ROM and external control data included in the control signal, and outputting to the selected block, and latch circuits, the <br/> Bei example, the block select decode circuit, said ROM Control / outside
Part control switching signal is in ROM mode, and the control
Outputs low level when the signal is in read mode,
ROM control / external control switching signal is in external control mode or
High level when the control signal is in write mode
And an OR circuit that outputs a block selection signal
The first logic circuit that becomes active at low level
The output of the OR circuit and the output of the first logic circuit group
And a NAND circuit group for inputting, respectively, the ROM data / external control data changeover switch and the latch.
Switch circuit, the ROM data and the external control data
Is switched by the ROM control / external control switching signal
The outputs of the second logic circuit group and the NAND circuit group are latched.
Output to the D input.
A semiconductor integrated circuit comprising: a latch circuit group for inputting each .
【請求項2】 前記ROMデータ/外部制御データ切換
スイッチ及びラッチ回路が、外部制御データを入力する
前にブロックの選択を行うように、遅延回路を前記RO
Mデータ/外部制御データ切換スイッチ及びラッチ回路
に接続したことを特徴とする請求項1に記載の半導体集
積回路。
2. The ROM data / external control data switching
Switch and latch circuits input external control data
In order to select the block before, the delay circuit is set to the RO
M data / external control data changeover switch and latch circuit
The semiconductor integrated circuit according to claim 1, wherein the semiconductor integrated circuit is connected to .
JP29710698A 1998-10-19 1998-10-19 Semiconductor integrated circuit Expired - Fee Related JP3455684B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29710698A JP3455684B2 (en) 1998-10-19 1998-10-19 Semiconductor integrated circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29710698A JP3455684B2 (en) 1998-10-19 1998-10-19 Semiconductor integrated circuit

Publications (2)

Publication Number Publication Date
JP2000122888A JP2000122888A (en) 2000-04-28
JP3455684B2 true JP3455684B2 (en) 2003-10-14

Family

ID=17842298

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29710698A Expired - Fee Related JP3455684B2 (en) 1998-10-19 1998-10-19 Semiconductor integrated circuit

Country Status (1)

Country Link
JP (1) JP3455684B2 (en)

Also Published As

Publication number Publication date
JP2000122888A (en) 2000-04-28

Similar Documents

Publication Publication Date Title
US7408379B2 (en) Impedance calibration circuit and semiconductor device including the same
JP2665457B2 (en) Programmable buffer
US6492853B1 (en) Master/slave method for a ZQ-circuitry in multiple die devices
US6147537A (en) Reset circuit for flipflop
JP3455684B2 (en) Semiconductor integrated circuit
KR20050059081A (en) Reconfigurable electronic device having interconnected data storage devices
US7323906B2 (en) Simultaneous bi-directional buffer including self-test circuit having function of generating input signal and self testing method of the simultaneous bi-directional buffer
JP2002340981A (en) Semiconductor device
US10395703B2 (en) Column decoder of memory device
GB2271032A (en) IC reset circuit
US20020026609A1 (en) Semiconductor integrated circuit and test method of built-in analog circuit
JP3285208B2 (en) Semiconductor device
US20110169542A1 (en) Delay circuit of semiconductor memory apparatus and method for delaying
JP3189808B2 (en) Semiconductor integrated circuit
JP3184101B2 (en) Semiconductor device
JPH08180668A (en) Memory system
JPH07312384A (en) Signal line switching circuit
JPH076154A (en) Operation mode setting circuit
KR101003113B1 (en) Selecting Circuit or method of CAS latency for combo memory
JPH1183922A (en) Attenuator test circuit and attenuator test method
KR20050057022A (en) Electronic device with data storage device
KR100506044B1 (en) Composition selection circuit
KR19990057269A (en) Programmable Buffers in Semiconductor Devices
JP2013081011A (en) Mode selection circuit
JP2000349606A (en) Semiconductor integrated circuit device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070725

Year of fee payment: 4

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080725

Year of fee payment: 5

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090725

Year of fee payment: 6

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090725

Year of fee payment: 6

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100725

Year of fee payment: 7

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110725

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees