JPH07169916A - Semiconductor integrated circuit - Google Patents

Semiconductor integrated circuit

Info

Publication number
JPH07169916A
JPH07169916A JP5313597A JP31359793A JPH07169916A JP H07169916 A JPH07169916 A JP H07169916A JP 5313597 A JP5313597 A JP 5313597A JP 31359793 A JP31359793 A JP 31359793A JP H07169916 A JPH07169916 A JP H07169916A
Authority
JP
Japan
Prior art keywords
input
output
signal line
output port
port
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.)
Pending
Application number
JP5313597A
Other languages
Japanese (ja)
Inventor
Yoshinori Doi
良規 土居
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP5313597A priority Critical patent/JPH07169916A/en
Publication of JPH07169916A publication Critical patent/JPH07169916A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To make it possible to select arbitrarily any bit from a plurality of bits owned by a data signal lines in a connection point between an input/ output port specified with one address and a data signal line connected to the input/output port. CONSTITUTION:There is installed an input/output means 2 which inputs and outputs outside data and provides an input/output port having a plurality of bits selected with one of address signal combinations. The combinations of data signal lines 4a and 4b are connected to each bit of the input/output port 2 on a one-to-one basis. The combination of the bits can be changed over with a change-over switch 1.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、シングルチップマイ
クロコンピュータにおいて、信号の入力,出力あるいは
入出力を行う入出力回路を有する半導体集積回路に関す
るものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a semiconductor integrated circuit having an input / output circuit for inputting, outputting or inputting / outputting signals in a single chip microcomputer.

【0002】[0002]

【従来の技術】例えば、80ピンのパッケージに納める
ために、80ピンの入出力端子を備えた仕様を持つ半導
体集積回路の製品に対して、その仕様の一部機能や端子
を省略し、64ピンのパッケージにすることで低価格を
実現した製品を開発したい場合がある。
2. Description of the Related Art For example, for a semiconductor integrated circuit product having a specification with an 80-pin input / output terminal in order to be housed in an 80-pin package, some functions and terminals of the specification are omitted. There are times when you want to develop a product that achieves a low price by using a pin package.

【0003】このような場合には、新たに64ピンのパ
ッケージ用に専用のチップを開発すると、開発コスト上
および期間的に負担が大きくなるために、多くは80ピ
ンの製品に使用しているものと同じチップを使用し、8
0ピンのチップから、必要な64本のみを選択すること
により64ピンの仕様の製品化を実現している。
In such a case, if a new dedicated chip for a 64-pin package is developed, the development cost and the burden on the period increase, so that most of the chips are used for 80-pin products. Use the same chip as the one, 8
By selecting only the required 64 chips from the 0-pin chip, the product with 64-pin specifications has been realized.

【0004】従って、64ピンのパッケージの製品で
は、80ピンのパッケージの製品に対し16本のピンを
減ずる必要がある。
Therefore, in a product with a package of 64 pins, it is necessary to reduce 16 pins with respect to a product with a package of 80 pins.

【0005】また、80ピン用に開発されたチップは、
一般に80ピン全てのピンを用いて、電源,入出力ポー
ト,制御用信号等を入出力しているので、チップに内蔵
されている周辺機能であるタイマやシリアル入出力部な
どの入出力ピンを汎用の入出力ピンと共用しているもの
は、特に必要とする入出力ピンのみを選択することによ
り64ピンのパッケージの製品を実現していた。
The chip developed for 80 pins is
Generally, all 80 pins are used to input / output power, input / output ports, control signals, etc., so the input / output pins such as timer and serial input / output part which are the peripheral functions built into the chip can be used. The products commonly used as general-purpose input / output pins have been realized as 64-pin package products by selecting only the input / output pins that are particularly required.

【0006】図7は従来の半導体集積回路を示すブロッ
ク図であり、図において、2はポート出力ラッチ/入出
力方向レジスタとしてのラッチ/方向レジスタ、3はパ
ッド、4aはデータ出力線、6aは入出力ポートを選択
するために、ラッチ/方向レジスタ2に入力されるアド
レス信号としての信号(以下、デコード信号という)を
出力するデコード信号線である。
FIG. 7 is a block diagram showing a conventional semiconductor integrated circuit. In FIG. 7, 2 is a latch / direction register as a port output latch / input / output direction register, 3 is a pad, 4a is a data output line, and 6a is a line. A decode signal line for outputting a signal (hereinafter referred to as a decode signal) as an address signal input to the latch / direction register 2 for selecting an input / output port.

【0007】次に動作について説明する。データ出力線
4aおよびパッド3間ではデータの入出力がラッチ/方
向レジスタ2を介して実施され、このとき、アドレス信
号から得られたデコード信号により、上記入出力が制御
される。
Next, the operation will be described. Input / output of data is performed between the data output line 4a and the pad 3 via the latch / direction register 2. At this time, the input / output is controlled by the decode signal obtained from the address signal.

【0008】また、図8は上記ラッチ/方向レジスタを
複数有する半導体集積回路の入出力回路を示すブロック
図であり、2a〜2hはラッチ/方向レジスタ、3a〜
3hはパッド、4はデータ信号線、6は複数ある入出力
ポートの一つを選択する為のデコード信号を出力する信
号線、15は周辺機能の専用入出力信号線、26はデコ
ード信号をアドレス信号より作成するアドレスデコード
回路、27はアドレス信号線、28a〜28cはタイマ
やシリアル入出力部等の周辺機能回路である。
FIG. 8 is a block diagram showing an input / output circuit of a semiconductor integrated circuit having a plurality of the above latch / direction registers. Reference numerals 2a to 2h are latch / direction registers and 3a to.
3h is a pad, 4 is a data signal line, 6 is a signal line for outputting a decode signal for selecting one of a plurality of input / output ports, 15 is a dedicated input / output signal line for peripheral functions, and 26 is an address for the decode signal. Address decode circuits created from signals, 27 are address signal lines, and 28a to 28c are peripheral function circuits such as timers and serial input / output units.

【0009】図8のように、ラッチ/方向レジスタ2a
〜2hとパッド3a〜3hと、データ信号線4との組み
合わせはハードウエアで固定されており、製品化された
後の変更はできない。また、周辺機能回路28a〜28
cからの各専用入出力信号線15についても同様であ
る。
As shown in FIG. 8, the latch / direction register 2a
.About.2h, pads 3a to 3h, and data signal line 4 are fixed by hardware and cannot be changed after being commercialized. In addition, the peripheral function circuits 28a to 28
The same applies to each dedicated input / output signal line 15 from c.

【0010】[0010]

【発明が解決しようとする課題】従来の半導体集積回路
は以上のように構成されているので、例えば、80ピン
の端子の中から必要とする64ピンを選択しようとする
場合には、必要とする周辺機能を優先して端子を選択す
るために、図9のように、80ピンパッケージではポー
トP70〜ポートP77まで8ビットを連続して使用で
きるが、64ピンパッケージではポートP70〜ポート
P72までとポートP77というように、使用できる入
出力ポートのビットが跳び跳びとなる。
Since the conventional semiconductor integrated circuit is constructed as described above, it is necessary to select the required 64 pins from the 80 pin terminals, for example. In order to prioritize the peripheral functions to be selected and to select the pins, as shown in FIG. 9, 8 bits can be continuously used from port P70 to port P77 in the 80-pin package, but from port P70 to port P72 in the 64-pin package. And the port P77, the bit of the usable input / output port jumps.

【0011】このため、入出力ポートとして使用すると
きは、入出力ポートの持つ複数のビットを連続して扱う
ことができなくなり、データの処理においてプログラム
が複雑になってしまうなどの問題点があった。
Therefore, when it is used as an input / output port, it is impossible to successively handle a plurality of bits of the input / output port, and there is a problem that a program becomes complicated in data processing. It was

【0012】また、不必要となった端子は、図10に示
すように外部に接続されないため、外部に接続されてい
ない入出力ポートのビットの処理をしなければならなく
なる。これは、入出力ポートで入力モードのままフロー
ティング状態にしておくと、C−MOS回路で構成され
ている入出力バッファのPチャネルトランジスタとNチ
ャネルトランジスタに貫通電流が流れてしまうためであ
る。
Further, since the unnecessary terminal is not connected to the outside as shown in FIG. 10, it is necessary to process the bit of the input / output port which is not connected to the outside. This is because if the input / output port is left in the input mode in a floating state, a through current will flow through the P-channel transistor and the N-channel transistor of the input / output buffer configured by the C-MOS circuit.

【0013】これを防止するためには出力モードにし
て、入出力パッドの状態を電源電圧(Vcc)レベル
(以下、`H´という)、または接地(GND)レベル
(以下、`L´という)に固定する処理をしなければな
らず、これにより、ソフトウエアにおけるプログラム処
理が複雑になり、処理速度が低下するなどの問題点があ
った。
To prevent this, the output mode is set, and the state of the input / output pad is set to the power supply voltage (Vcc) level (hereinafter referred to as "H '") or the ground (GND) level (hereinafter referred to as "L'"). Therefore, there is a problem in that the program processing in software becomes complicated and the processing speed is reduced.

【0014】また、図10に示すように、チップ19の
外部との接続用端子(以下、パッドという)20とフレ
ーム22とをボンディングワイヤ21で接続する場合、
ボンディングワイヤ21を接続するパッド20どうしの
間隔が、ボンディングワイヤ21で接続するパッド20
の間に無接続のパッド20が存在することにより、不規
則になり、ボンディングワイヤ21を接続するパッド2
0が一箇所に集中し易くなる。
Further, as shown in FIG. 10, when connecting terminals (hereinafter, referred to as pads) 20 for connecting to the outside of the chip 19 and the frame 22 with a bonding wire 21,
The distance between the pads 20 that connect the bonding wires 21 is such that the pads 20 that connect with the bonding wires 21
The presence of the unconnected pad 20 between the two makes the pad 2 irregular and connects the bonding wire 21.
It becomes easy for 0 to concentrate in one place.

【0015】そうすると、必然的にボンディングワイヤ
21が長くなり、ボンディングワイヤ21がチップ19
に接触して電気的に短絡したり、またフレーム22の形
が複雑になって、製作しにくくなり、これにより、製品
の歩留まり、信頼性の低下を招くなどの問題点があっ
た。
Then, the bonding wire 21 inevitably becomes long, and the bonding wire 21 becomes the chip 19.
There is a problem in that it is difficult to manufacture due to the fact that the frame 22 is electrically short-circuited due to the contact with the frame 22 and the shape of the frame 22 is complicated, resulting in a decrease in product yield and reliability.

【0016】請求項1の発明は一つのアドレスで指定さ
れる入出力ポートと、その入出力ポートに接続されるデ
ータ信号線との接続点において、データ信号線の持つ複
数のビットから任意のビットを選択することができる半
導体集積回路を得ることを目的とする。
According to the invention of claim 1, at a connection point between an input / output port designated by one address and a data signal line connected to the input / output port, an arbitrary bit is selected from a plurality of bits of the data signal line. It is an object of the present invention to obtain a semiconductor integrated circuit capable of selecting.

【0017】請求項2の発明は複数の入出力ポートに接
続されるデコード信号を複数用意し、入出力ポートとデ
コード信号の組み合わせを切り替えることができる半導
体集積回路を得ることを目的とする。
An object of the present invention is to provide a semiconductor integrated circuit capable of preparing a plurality of decode signals connected to a plurality of input / output ports and switching the combination of the input / output ports and the decode signals.

【0018】請求項3の発明は入出力ポートの各ビット
に接続された周辺機能の専用入出力信号の接続点におい
て、複数ある専用入出力信号から任意の信号を選択する
ことができる半導体集積回路を得ることを目的とする。
According to a third aspect of the present invention, a semiconductor integrated circuit capable of selecting an arbitrary signal from a plurality of dedicated input / output signals at a connection point of dedicated input / output signals of peripheral functions connected to each bit of the input / output port. Aim to get.

【0019】[0019]

【課題を解決するための手段】請求項1の発明に係る半
導体集積回路は、外部とのデータの入力,出力あるいは
入出力を行い、アドレス信号の組み合わせの一つで選択
される複数のビットを持つ入出力ポートを有する入出力
ポート手段が設けられ、上記各入出力ポートの持つ各ビ
ットと一対一に対応して接続されるデータ信号線のビッ
トの組み合わせを切替器により、任意に切り替えるよう
にしたものである。
According to another aspect of the present invention, there is provided a semiconductor integrated circuit for inputting, outputting or inputting / outputting data to / from an external device, and selecting a plurality of bits selected by one of a combination of address signals. An input / output port unit having an input / output port is provided, and a combination of bits of a data signal line connected in a one-to-one correspondence with each bit of each input / output port can be arbitrarily switched by a switch. It was done.

【0020】請求項2の発明に係る半導体集積回路は、
外部とのデータの入力,出力あるいは入出力を行い、ア
ドレス信号の組み合わせの一つで選択される複数のビッ
トを持つ入出力ポートを有する入出力ポート手段が設け
られ、上記各入出力ポートを構成している複数のビット
群に対して割り付けられるアドレスを、アドレス選択用
の切替器によりビットごとに変更可能にしたものであ
る。
A semiconductor integrated circuit according to the invention of claim 2 is
Input / output of data to / from the outside and input / output, and input / output port means having an input / output port having a plurality of bits selected by one of a combination of address signals are provided, and each of the input / output ports is configured. Addresses assigned to a plurality of bit groups are changed by each bit by a switch for address selection.

【0021】請求項3の発明に係る半導体集積回路は、
外部とのデータの入力,出力あるいは入出力を行い、ア
ドレス信号の組み合わせの一つで選択される複数のビッ
トを持つ入出力ポートを有する入出力ポート手段が設け
られ、タイマや割り込み等の制御用信号などの専用入出
力信号線と上記いずれかの入出力ポート手段との接続を
切替器により切り替えるようにしたものである。
A semiconductor integrated circuit according to the invention of claim 3 is
Input / output or input / output of data with the outside is provided, and input / output port means having an input / output port having a plurality of bits selected by one of combinations of address signals is provided for controlling timers, interrupts, etc. The connection between a dedicated input / output signal line for signals or the like and any one of the above input / output port means is switched by a switch.

【0022】[0022]

【作用】請求項1の発明における半導体集積回路は、切
替器に入力される切替信号を`H´または`L´に制御
し、入出力ポートのラッチ/方向レジスタに接続される
データ信号線のビットを切り替え、入出力ポートの持つ
データのビットを変更する。
In the semiconductor integrated circuit according to the invention of claim 1, the switching signal inputted to the switching device is controlled to "H '" or "L', and the data signal line connected to the latch / direction register of the input / output port is controlled. Switch the bit and change the bit of the data that the I / O port has.

【0023】請求項2の発明における半導体集積回路
は、切替信号を制御することにより、入出力ポートの持
つ複数のビットに接続されたデコード信号を切替器で切
り替えることにより、入出力ポートのビット単位のアド
レスを変更する。
According to another aspect of the semiconductor integrated circuit of the present invention, by controlling the switching signal, the decode signal connected to a plurality of bits of the input / output port is switched by the switching unit. Change the address of.

【0024】請求項3の発明における半導体集積回路
は、切替信号を制御することにより、専用入出力信号が
接続される入出力ポートのビットを切り替え、専用入出
力信号が入出力される端子を変更する。
According to another aspect of the semiconductor integrated circuit of the present invention, by controlling the switching signal, the bit of the input / output port to which the dedicated input / output signal is connected is switched and the terminal to which the dedicated input / output signal is input / output is changed. To do.

【0025】[0025]

【実施例】実施例1.以下、請求項1の発明の一実施例
を図について説明する。図1において、1は切替器、2
は入出力ポート手段としてのラッチ/方向レジスタ、3
はパッド、4a〜4bは切替器1に接続されるデータ信
号線、5は切替器1からラッチ/方向レジスタ2に接続
されるデータ信号線、6aはラッチ/方向レジスタ2の
デコード信号線、7は切替器の切替信号線である。
EXAMPLES Example 1. An embodiment of the invention of claim 1 will be described below with reference to the drawings. In FIG. 1, 1 is a switching device, 2
Is a latch / direction register as input / output port means, 3
Is a pad, 4a to 4b are data signal lines connected to the switch 1, 5 is a data signal line connected from the switch 1 to the latch / direction register 2, 6a is a decode signal line of the latch / direction register 2, and 7a Is a switching signal line of the switching device.

【0026】次に動作について説明する。まず、切替器
5は切替信号線7を通して入力される切替信号により、
切替器1およびラッチ/方向レジスタ2間に接続される
データ信号線5上のデータ信号をデータ信号線4aまた
はデータ信号線4bのどちらかに切り替える。こうする
ことにより、ラッチ/方向レジスタ2に入力されるデー
タバス信号線をDB0からDB1に切り替えることがで
きる。
Next, the operation will be described. First, the switching device 5 receives a switching signal input through the switching signal line 7,
The data signal on the data signal line 5 connected between the switch 1 and the latch / direction register 2 is switched to either the data signal line 4a or the data signal line 4b. By doing so, the data bus signal line input to the latch / direction register 2 can be switched from DB0 to DB1.

【0027】図2は上記切替器1の詳細を示す回路図で
あり、同図において、8a,8bはNチャネルトランジ
スタ、9a,9bはPチャネルトランジスタ、10はイ
ンバータ回路、11a,11bは切替器1の入力信号線
である。
FIG. 2 is a circuit diagram showing the details of the switching device 1. In FIG. 2, 8a and 8b are N-channel transistors, 9a and 9b are P-channel transistors, 10 is an inverter circuit, and 11a and 11b are switching devices. 1 input signal line.

【0028】また、12は切替器1の切替信号線、13
は切替器の出力信号線で、切替器1の入力信号線11
a,11bはそれぞれ図1のデータ信号線4a,4b
に、切替器1の切替信号線12は図1の切替信号線7
に、切替器1の出力信号線13は図1のデータ信号線5
にそれぞれ接続されている。
Further, 12 is a switching signal line of the switching device 1, and 13
Is an output signal line of the switching unit, and an input signal line 11 of the switching unit 1
a and 11b are the data signal lines 4a and 4b of FIG. 1, respectively.
In addition, the switching signal line 12 of the switching device 1 is the switching signal line 7 of FIG.
In addition, the output signal line 13 of the switch 1 is the data signal line 5 of FIG.
Respectively connected to.

【0029】この図2に示す回路では、切替器1の切替
信号線12の電圧レベルが`L´の場合には、インバー
タ回路10の出力は、`H´となり、Nチャネルトラン
ジスタ8aおよびPチャネルトランジスタ9aがオンに
なり、さらに、Nチャネルトランジスタ8bおよびPチ
ャネルトランジスタ9bがオフとなる。これにより、入
力信号線11aの入力の信号が出力信号線13に出力さ
れ、図1におけるデータ信号線4aのデータ信号がデー
タ信号線5を通って、ラッチ/方向レジスタ2に入力さ
れる。
In the circuit shown in FIG. 2, when the voltage level of the switching signal line 12 of the switch 1 is "L '", the output of the inverter circuit 10 becomes "H" and the N-channel transistor 8a and the P-channel The transistor 9a is turned on, and the N-channel transistor 8b and the P-channel transistor 9b are turned off. As a result, the input signal of the input signal line 11a is output to the output signal line 13, and the data signal of the data signal line 4a in FIG. 1 is input to the latch / direction register 2 through the data signal line 5.

【0030】また、切替器1の切替信号線12の電圧レ
ベルが`H´の場合にはインバータ回路10の出力が`
L´となり、Nチャネルトランジスタ8aおよびPチャ
ネルトランジスタ9aがオフになり、さらに、Nチャネ
ルトランジスタ8bおよびPチャネルトランジスタ9b
がオンとなる。これにより、入力信号線11bの入力の
信号が切替器の出力信号線13に出力される。
Further, when the voltage level of the switching signal line 12 of the switch 1 is "H ', the output of the inverter circuit 10 is" H ".
L ', the N-channel transistor 8a and the P-channel transistor 9a are turned off, and the N-channel transistor 8b and the P-channel transistor 9b are further turned on.
Turns on. As a result, the signal input to the input signal line 11b is output to the output signal line 13 of the switch.

【0031】また、この回路では、入力信号線11a,
入力信号線11bと出力信号線13との入力,出力の関
係が反対でもよく、その場合、切替器の切替信号線12
の電圧レベルが`H´の場合、出力信号線13の入力信
号が入力信号線11aに出力され、切替器の切替信号線
12の電圧レベルが`L´の場合、出力信号線13の入
力信号が入力信号線11bに出力されることとなる。
Further, in this circuit, the input signal lines 11a,
The input signal line 11b and the output signal line 13 may have the opposite input / output relationship. In that case, the switching signal line 12 of the switching device
, The input signal of the output signal line 13 is output to the input signal line 11a, and when the voltage level of the switching signal line 12 of the switch is "L ', the input signal of the output signal line 13 Will be output to the input signal line 11b.

【0032】また、この実施例を例えば図10のような
半導体集積回路について検討すると、80ピンパッケー
ジの場合、ポートP71〜ポートP77はそれぞれデー
タ信号DB1〜データ信号DB7まで連続したビットに
接続されるが、64ピンパッケージの場合はデータ信号
DB1,データ信号DB2,データ信号DB7しか接続
されないので、データ信号DB1〜データ信号DB3ま
で連続したビットのデータバスに接続させることができ
る。
Considering this embodiment for a semiconductor integrated circuit as shown in FIG. 10, for example, in the case of an 80-pin package, the ports P71 to P77 are connected to consecutive bits from the data signal DB1 to the data signal DB7, respectively. However, in the case of the 64-pin package, since only the data signal DB1, the data signal DB2, and the data signal DB7 are connected, the data signal DB1 to the data signal DB3 can be connected to the data bus of continuous bits.

【0033】この結果、例えば、3ビットのデータをポ
ートP71,ポートP72,ポートP77に出力する場
合、従来の場合、3ビット目のデータを7ビット目のデ
ータとなるよう、演算を行った上でポートP7に書込む
必要があるが、この実施例では単純にデータをポートP
7に書込むだけで済む。
As a result, for example, when outputting 3-bit data to the port P71, port P72, and port P77, in the conventional case, the operation is performed such that the third bit data becomes the seventh bit data. It is necessary to write the data to the port P7 at the time of
All you have to do is write to 7.

【0034】実施例2.図3は請求項2の発明の一実施
例を示し、図において、1Aは切替器、2は入出力ポー
ト手段としてのラッチ/方向レジスタ、3はパッド、4
aはデータ信号、6a,6bは切替器1に接続されるデ
コード信号線、7は切替器の切替信号線、14はラッチ
/方向レジスタ2のデコード信号線である。
Example 2. FIG. 3 shows an embodiment of the invention of claim 2, in which 1A is a switch, 2 is a latch / direction register as input / output port means, 3 is a pad, and 4 is a pad.
a is a data signal, 6a and 6b are decode signal lines connected to the switch 1, 7 is a switch signal line of the switch, and 14 is a decode signal line of the latch / direction register 2.

【0035】この実施例では、切替信号線7を通して切
替器1に切替信号が入力されると、切替器1Aがラッチ
/方向レジスタ2のデコード信号線14に、デコード信
号線6aまたはデコード信号線6bのどちらかを切り替
え接続し、2つのデコード信号のどちらかを選択する。
In this embodiment, when a switch signal is input to the switch 1 through the switch signal line 7, the switch 1A causes the decode signal line 14 of the latch / direction register 2 to be connected to the decode signal line 6a or the decode signal line 6b. One of the two decode signals is selected by switching and connecting one of the two.

【0036】また、この実施例では、例えば、連続した
2つのアドレスに割り当てられたポートP6とポートP
7において、一方のポートP6のデータ信号DB0〜デ
ータ信号DB3、もう一方のポートP7のデータ信号D
B4〜信号DB7が必要となった場合、ポートP6とポ
ートP7を合わせてビットのポートとして使用できる。
Further, in this embodiment, for example, the port P6 and the port P assigned to two consecutive addresses are assigned.
7, data signal DB0 to data signal DB3 of one port P6, data signal D of the other port P7
When B4 to signal DB7 are required, port P6 and port P7 can be combined and used as a bit port.

【0037】これにより、8ビットのデータを出力する
際に、従来であれば、ポートP6とポートP7に別々に
データを出力する必要があるが、この実施例によれば一
度に8ビットのデータを出力できる効果がある。
As a result, when outputting 8-bit data, it is necessary to separately output the data to the port P6 and the port P7 in the conventional case, but according to this embodiment, the 8-bit data can be output at a time. There is an effect that can be output.

【0038】以上は、ある一つの条件について説明した
ものであり、上記ポートの各ビットについては任意のデ
ータバスが選択できるのでポートP6がデータ信号DB
0,ポートP7がデータ信号DB1〜データ信号DB7
の場合、ポートP6がデータ信号DB0,データ信号D
B2,データ信号DB4,データ信号DB6で、ポート
P7がデータ信号DB1,データ信号DB3,データ信
号DB5,データ信号DB7の場合等であっても一つの
8ビットデータを持つアドレスに配置することができ
る。
The above is a description of a certain condition. Since an arbitrary data bus can be selected for each bit of the port, the port P6 outputs the data signal DB.
0, port P7 is data signal DB1 to data signal DB7
, The port P6 outputs the data signal DB0 and the data signal D.
Even if the port P7 is B2, data signal DB4, or data signal DB6 and the port P7 is data signal DB1, data signal DB3, data signal DB5, or data signal DB7, it can be arranged at an address having one 8-bit data. .

【0039】なお、一般に、アドレス信号が示す一つの
アドレスには8ビットを一組とするデータが割り当てら
れる。
Generally, one address indicated by the address signal is assigned with a set of 8 bits of data.

【0040】また、この回路では、デコード信号を切り
替えるものについて述べたが、デコード信号を作成する
デコード回路(図示しない)に入力されるアドレス信号
を切り替えても、上記実施例と同様の動作を実現でき
る。
Also, in this circuit, the one in which the decode signal is switched has been described, but even if the address signal input to the decode circuit (not shown) for creating the decode signal is switched, the same operation as that of the above-described embodiment is realized. it can.

【0041】実施例3.図4は請求項1および請求項2
の発明の他の実施例を示し、1,1Aは切替器、2はラ
ッチ/方向レジスタ、3はパッド、4a,4bは切替器
1に接続されるデータ信号線、5は切替器1Aからラッ
チ/方向レジスタ2に接続されるデータ信号線である。
Example 3. FIG. 4 shows claims 1 and 2.
Another embodiment of the present invention is shown, in which 1, 1A is a switch, 2 is a latch / direction register, 3 is a pad, 4a and 4b are data signal lines connected to the switch 1, and 5 is a latch from the switch 1A. A data signal line connected to the / direction register 2.

【0042】また、6a,6bは切替器1Aに接続され
るデコード信号線、7は切替器1,切替器1Aの切替信
号線、14はラッチ/方向レジスタ2のデコード信号線
である。
Further, 6a and 6b are decode signal lines connected to the switch 1A, 7 is a switch signal line of the switch 1 and switch 1A, and 14 is a decode signal line of the latch / direction register 2.

【0043】この回路では、切替信号線7を通して切替
器1,切替器1Aに入力される切替信号により、切替器
1はラッチ/方向レジスタ2に接続されるデータ信号線
5に、データ信号線4aまたはデータ信号線4bのどち
らかを切り替え接続する。
In this circuit, according to the switching signal input to the switching device 1 and the switching device 1A through the switching signal line 7, the switching device 1 is connected to the data signal line 5 connected to the latch / direction register 2 and the data signal line 4a. Alternatively, one of the data signal lines 4b is switched and connected.

【0044】また、切替器1Aはラッチ/方向レジスタ
2のデコード信号線14にデコード信号線6aまたはデ
コード信号線6bのどちらかを切り替え接続する。
Further, the switch 1A switches and connects either the decode signal line 6a or the decode signal line 6b to the decode signal line 14 of the latch / direction register 2.

【0045】なお、この実施例では切替器1と切替器1
Aの切替信号を同一としたが、別々の信号にしてもよ
い。
In this embodiment, the switch 1 and the switch 1
Although the switching signals of A are the same, they may be different signals.

【0046】また、上記実施例では2入力の切替器1,
切替器1Aを使用するものを示したが、3入力以上の切
替器を使用してもよく、また上記実施例を組み合わせて
もよい。
In the above embodiment, the 2-input switch 1,
Although the one using the switch 1A is shown, a switch having three or more inputs may be used, and the above embodiments may be combined.

【0047】実施例4.図5は請求項3の発明の一実施
例を示し、図において、1Bは切替器、2,2Aは入力
ポート手段としてのラッチ/方向レジスタ、3,3Aは
パッド、7は切替器1Bの切替信号線、15は専用入出
力信号線、16,16Aは、各ラッチ/方向レジスタ
2,2Aから切替器1Bに接続する各一の専用入出力信
号線である。
Example 4. FIG. 5 shows an embodiment of the invention of claim 3, in which 1B is a switching device, 2 and 2A are latch / direction registers as input port means, 3 and 3A are pads, and 7 is a switching device 1B. A signal line, 15 is a dedicated input / output signal line, and 16 and 16A are respective dedicated input / output signal lines connected from the respective latch / direction registers 2 and 2A to the switch 1B.

【0048】この回路では、切替信号線7を通して切替
器1Bに入力される切替信号により、切替器1Bが専用
入出力信号線15を出力側の専用入出力信号線16また
は専用入出力信号線16Aのどちらかに切り替えること
ができる。
In this circuit, the switching signal input to the switching unit 1B through the switching signal line 7 causes the switching unit 1B to output the dedicated input / output signal line 15 to the output-side dedicated input / output signal line 16 or the dedicated input / output signal line 16A. You can switch to either.

【0049】また、この実施例では、例えばポートP6
0〜ポートP67にそれぞれ信号TM0〜信号TM7と
いう信号の専用入出力信号線が接続されており、信号T
M1,信号TM2,信号TM5,信号TM7という信号
が必ず必要な場合において、ポートP6の任意のビット
に上記各信号の専用入出力信号線を接続できるようにす
る。
In this embodiment, for example, the port P6
Dedicated input / output signal lines for signals TM0 to TM7 are connected to 0 to port P67, respectively.
When the signals M1, signal TM2, signal TM5, and signal TM7 are absolutely necessary, the dedicated input / output signal line for each signal can be connected to an arbitrary bit of the port P6.

【0050】これにより、ポートP60〜ポートP67
の8ポート中、4ポートを外部に接続する際、従来は、
ポートP60,ポートP61,ポートP65,ポートP
67という具合に必ず必要とする専用入出力信号線が接
続されたが、この実施例によれば、ポートP60〜ポー
トP63の連続したポートを残すことができる。
As a result, port P60 to port P67
When connecting 4 of the 8 ports of
Port P60, Port P61, Port P65, Port P
Although the dedicated input / output signal line which is absolutely necessary is connected in the state of 67, according to this embodiment, it is possible to leave the continuous ports P60 to P63.

【0051】実施例5.図6は請求項1〜請求項3の発
明における切替信号作成のための回路の一実施例で、切
替信号線7に接続されているパッド23をボンディング
ワイヤ21を用いて、電源24に接続されているパッド
23に接続したり、グランド25に接続されているパッ
ド23に接続することにより、切替信号の電圧レベルを
それぞれ`H´および`L´にすることができる。
Example 5. FIG. 6 shows an embodiment of a circuit for generating a switching signal according to the inventions of claims 1 to 3, in which a pad 23 connected to a switching signal line 7 is connected to a power supply 24 using a bonding wire 21. The voltage level of the switching signal can be set to "H '" and "L'", respectively, by connecting to the pad 23 that is connected to the pad 23 or connected to the pad 23 that is connected to the ground 25.

【0052】[0052]

【発明の効果】以上のように、請求項1の発明によれ
ば、外部とのデータの入力,出力あるいは入出力を行
い、アドレス信号の組み合わせの一つで選択される複数
のビットを持つ入出力ポートを有する入出力ポート手段
を設け、上記各入出力ポートの持つ各ビットと一対一に
対応して接続されるデータ信号線のビットの組み合わせ
を切替器により、任意に切り替えるように構成したの
で、入出力ポートのラッチ/方向レジスタに接続される
データ信号線のビットを切り替え、入出力ポートの持つ
データのビットを変更することができるものが得られる
効果がある。
As described above, according to the first aspect of the present invention, input / output or input / output of data with the outside is performed, and an input having a plurality of bits selected by one of the combinations of address signals is input. Since the input / output port means having the output port is provided and the bit combination of the data signal lines connected in a one-to-one correspondence with each bit of each of the input / output ports is configured to be arbitrarily switched by the switcher, It is possible to obtain the effect that the bit of the data signal line connected to the latch / direction register of the input / output port can be switched to change the bit of the data of the input / output port.

【0053】この結果、ピン数の異なる半導体集積回路
の製品を同一のチップで開発する際、アドレスやデータ
バスを規則正しくならべかえることができ、これにより
プログラムすることが容易になるという効果がある。
As a result, when developing products of semiconductor integrated circuits having different numbers of pins with the same chip, the address and data buses can be regularly reordered, which has the effect of facilitating programming.

【0054】また、必要な信号を入出力するためのボン
ディングパッドを任意の位置にすることができるため、
ワイヤボンディングしないボンディングパッドを任意の
位置に決めることができ、アセンブリを行うときに最適
な位置にすることができ、無理なフレームの製作やチッ
プの製作をする必要がなくなり、設計の容易化を計るこ
とができるものが得られる効果がある。
Further, since the bonding pad for inputting / outputting a necessary signal can be set at an arbitrary position,
The bonding pad without wire bonding can be set at an arbitrary position, and can be set at an optimum position when performing assembly, and it is not necessary to fabricate a frame or a chip, which facilitates design. There is an effect that what can be obtained.

【0055】また、請求項2の発明によれば、外部との
データの入力,出力あるいは入出力を行い、アドレス信
号の組み合わせの一つで選択される複数のビットを持つ
入出力ポートを有する入出力ポート手段を設け、上記各
入出力ポートを構成している複数のビット群に対して割
り付けられるアドレスを、アドレス選択用の切替器によ
りビットごとに変更可能にするように構成したので、上
記入出力ポートの持つ複数のビットに接続されたデコー
ド信号を切替器で切り替えることにより、入出力ポート
のビット単位のアドレスを変更することができ、同一チ
ップにおいてアドレスやデータバスを規則正しくならべ
変えることができるほか、信号の入出力に使用し、また
はワイヤボンディングしないボンディングパッドの位置
の設定を容易化かつ最適化できるものが得られる効果が
ある。
According to the second aspect of the present invention, input / output or input / output of data with the outside is performed, and an input / output port having a plurality of bits selected by one of the combinations of address signals is provided. Since the output port means is provided and the address assigned to the plurality of bit groups forming each of the input / output ports can be changed bit by bit by the switch for address selection, By switching the decode signal connected to multiple bits of the output port with the switch, the bit unit address of the input / output port can be changed, and the address and data bus can be regularly arranged and changed in the same chip. Besides, whether it is easy to set the position of the bonding pad used for signal input / output or not wire bonding. The effect of which can be optimized to obtain.

【0056】請求項3の発明によれば、外部とのデータ
の入力,出力あるいは入出力を行い、アドレス信号の組
み合わせの一つで選択される複数のビットを持つ入出力
ポートを有する入出力ポート手段を設け、タイマや割り
込み等の制御用信号などの専用入出力信号線と上記いず
れかの入出力ポート手段との接続を切替器により切り替
えるように構成したので、専用入力信号が入出力される
端子を容易に変更できるものが得られる効果がある。
According to the invention of claim 3, an input / output port having a plurality of bits for inputting, outputting or inputting / outputting data to / from the outside and having a plurality of bits selected by one of the combination of address signals Since the means is provided and the connection between the dedicated input / output signal line for controlling signals such as timers and interrupts and any one of the above input / output port means is configured to be switched by the switch, the dedicated input signal is input / output. There is an effect that a terminal whose terminal can be easily changed can be obtained.

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

【図1】請求項1の発明の一実施例による半導体集積回
路を示すブロック図である。
FIG. 1 is a block diagram showing a semiconductor integrated circuit according to an embodiment of the present invention.

【図2】図1における切替器の詳細を示す回路図であ
る。
FIG. 2 is a circuit diagram showing details of a switch in FIG.

【図3】請求項2の発明の一実施例による半導体集積回
路を示すブロック図である。
FIG. 3 is a block diagram showing a semiconductor integrated circuit according to an embodiment of the invention of claim 2;

【図4】請求項1および請求項2の発明の他の実施例に
よる半導体集積回路を示すブロック図である。
FIG. 4 is a block diagram showing a semiconductor integrated circuit according to another embodiment of the invention of claims 1 and 2;

【図5】請求項3の発明の一実施例による半導体集積回
路を示すブロック図である。
FIG. 5 is a block diagram showing a semiconductor integrated circuit according to an embodiment of the invention of claim 3;

【図6】請求項1〜請求項3の発明における切替信号作
成のための回路を示す切替器入力回路図である。
FIG. 6 is a switch input circuit diagram showing a circuit for generating a switching signal in the inventions of claims 1 to 3;

【図7】従来の半導体集積回路を示すブロック図であ
る。
FIG. 7 is a block diagram showing a conventional semiconductor integrated circuit.

【図8】従来の半導体集積回路の周辺に複数のポートラ
ッチおよび方向レジスタを持った半導体集積回路を示す
ブロック図である。
FIG. 8 is a block diagram showing a semiconductor integrated circuit having a plurality of port latches and direction registers around a conventional semiconductor integrated circuit.

【図9】従来の半導体集積回路の製品の外部端子と内部
端子を示す説明図である。
FIG. 9 is an explanatory diagram showing external terminals and internal terminals of a conventional semiconductor integrated circuit product.

【図10】従来の半導体集積回路のチップとフレームの
接続を示す説明図である。
FIG. 10 is an explanatory diagram showing a connection between a chip and a frame of a conventional semiconductor integrated circuit.

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

1,1A,1B 切替器 2,2A ラッチ/方向レジスタ(入出力ポート手段) 4a,4b データ信号線 1, 1A, 1B switching device 2, 2A latch / direction register (input / output port means) 4a, 4b data signal line

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 外部とのデータの入力,出力あるいは入
出力を行い、アドレス信号の組み合わせの一つで選択さ
れる複数のビットを持つ入出力ポートが設けられた入出
力ポート手段と、上記各入出力ポートの持つ各ビットと
一対一に対応して接続されるデータ信号線のビットの組
み合わせを任意に切り替える切替器とを備えた半導体集
積回路。
1. An input / output port means for inputting / outputting / inputting / outputting data to / from the outside and having an input / output port having a plurality of bits selected by one of a combination of address signals; A semiconductor integrated circuit comprising: a switch for arbitrarily switching a combination of bits of a data signal line connected in a one-to-one correspondence with each bit of an input / output port.
【請求項2】 外部とのデータの入力,出力あるいは入
出力を行い、アドレス信号の組み合わせの一つで選択さ
れる複数のビットを持つ入出力ポートが設けられた入出
力ポート手段と、上記各入出力ポートを構成している複
数のビット群に対して割り付けられるアドレスを、ビッ
トごとに変更可能にするためのアドレス選択用の切替器
とを備えた半導体集積回路。
2. Input / output port means for inputting / outputting / inputting / outputting data to / from the outside and having an input / output port having a plurality of bits selected by one of a combination of address signals; A semiconductor integrated circuit comprising an address selection switcher for changing an address assigned to a plurality of bit groups constituting an input / output port for each bit.
【請求項3】 外部とのデータの入力,出力あるいは入
出力を行い、アドレス信号の組み合わせの一つで選択さ
れる複数のビットを持つ入出力ポートが設けられた入出
力ポート手段と、タイマや割り込み等の制御用信号など
の専用入出力信号線と上記いずれかの入出力ポートとの
接続を切り替える切替器とを備えた半導体集積回路。
3. An input / output port means for inputting, outputting or inputting / outputting data to / from the outside and having an input / output port having a plurality of bits selected by one of a combination of address signals, a timer and A semiconductor integrated circuit comprising a switch for switching connection between a dedicated input / output signal line for control signals such as interrupts and any one of the above input / output ports.
JP5313597A 1993-12-14 1993-12-14 Semiconductor integrated circuit Pending JPH07169916A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5313597A JPH07169916A (en) 1993-12-14 1993-12-14 Semiconductor integrated circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5313597A JPH07169916A (en) 1993-12-14 1993-12-14 Semiconductor integrated circuit

Publications (1)

Publication Number Publication Date
JPH07169916A true JPH07169916A (en) 1995-07-04

Family

ID=18043237

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5313597A Pending JPH07169916A (en) 1993-12-14 1993-12-14 Semiconductor integrated circuit

Country Status (1)

Country Link
JP (1) JPH07169916A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000216342A (en) * 1999-01-21 2000-08-04 Mitsubishi Electric Corp Integrated circuit chip and processing method for unused pad

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000216342A (en) * 1999-01-21 2000-08-04 Mitsubishi Electric Corp Integrated circuit chip and processing method for unused pad

Similar Documents

Publication Publication Date Title
US5737235A (en) FPGA with parallel and serial user interfaces
US4772811A (en) Programmable logic device
JPH07169916A (en) Semiconductor integrated circuit
JP2719620B2 (en) Counter cell and dual mode N-bit register
JPH0257377B2 (en)
JPS6240800B2 (en)
JPH08204582A (en) Semiconductor integrated circuit
JPS6264124A (en) Programmable logic device
JPH048949B2 (en)
JP2703902B2 (en) Semiconductor integrated circuit
JP2002305439A (en) Programmable logic circuit and semiconductor device
JP2922963B2 (en) Sequence controller
JPH07160379A (en) Signal processor
JPH06150022A (en) Memory chip selection control circuit
JPH09181260A (en) Semiconductor integrated circuit device
JP3255662B2 (en) Output circuit and data transfer device
JPH05128283A (en) One-chip microcomputer
JPS62173557A (en) Microprocessor
JP2740374B2 (en) Semiconductor integrated circuit device
JPH04305960A (en) Semiconductor device
JPH08288460A (en) Externally controllable bonding method for semiconductor device
JPH05334234A (en) High speed dma transferring device
JP2002164431A (en) Field programmable gate array apparatus
JPH07106932A (en) Bus output circuit
JPH02158844A (en) Microcontroller