JPH05197666A - Cpu interface circuit - Google Patents

Cpu interface circuit

Info

Publication number
JPH05197666A
JPH05197666A JP884292A JP884292A JPH05197666A JP H05197666 A JPH05197666 A JP H05197666A JP 884292 A JP884292 A JP 884292A JP 884292 A JP884292 A JP 884292A JP H05197666 A JPH05197666 A JP H05197666A
Authority
JP
Japan
Prior art keywords
circuit
data
cpu
lsi
register
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
JP884292A
Other languages
Japanese (ja)
Inventor
Junichi Asada
淳一 浅田
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP884292A priority Critical patent/JPH05197666A/en
Publication of JPH05197666A publication Critical patent/JPH05197666A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the number of connection pins in an LSI package. CONSTITUTION:A CPU (not shown in figure) gives a high-level control signal R/W to a buffer circuit 1 and register circuits 3 to 5, outputting, for example, control signals S1-Sn to hold data in the register circuit 3. As a result, the data memory of the CPU to the data bus are inputted through input/output lines IO0-IO7 to a buffer circuit 1, and the buffer circuit 1 outputs the data to an external bus 7. On the other hand, a decode circuit 2 decodes control signals S1-Sn given from the CPU, outputting selection signals to the register circuit 3. As a result, the data which is taken from the data bus is held and outputted to an LSI internal circuit 6.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、CPUとLSIとを接
続する回路に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a circuit for connecting a CPU and an LSI.

【0002】[0002]

【従来の技術】従来、CPU回路とLSI回路とは図2
に示すような形で接続されていた。CPU回路10はC
PU101と、このCPU101の制御のもとで記憶し
ているデータを出力する複数のメモリ102とを備えて
いる。一方、LSI回路11は複数のレジスタ111
と、これらのレジスタよりデータを受け取るLSI内部
回路114とを備えている。そして、CPU回路10の
各メモリ102と、LSI回路11の各レジスタ111
とはそれぞれデータバス12によって接続されている。
2. Description of the Related Art Conventionally, a CPU circuit and an LSI circuit are shown in FIG.
It was connected as shown in. CPU circuit 10 is C
It has a PU 101 and a plurality of memories 102 for outputting the data stored under the control of the CPU 101. On the other hand, the LSI circuit 11 includes a plurality of registers 111.
And an LSI internal circuit 114 that receives data from these registers. Then, each memory 102 of the CPU circuit 10 and each register 111 of the LSI circuit 11
And are connected by a data bus 12, respectively.

【0003】このような構成において、CPU回路10
のCPU101は各メモリ102を制御し、それらが記
憶しているLSI側へロードすべきデータをそれぞれデ
ータバス12に出力させる。そして、LSI回路11の
各レジスタ111はそれぞれデータバス12を通じてメ
モリ102よりデータを受け取り保持する。LSI内部
回路114は各レジスタ111よりそれらが保持したデ
ータを受け取り、必要な処理を行う。
In such a configuration, the CPU circuit 10
The CPU 101 controls each memory 102 to output the data stored therein to be loaded to the LSI side to the data bus 12, respectively. Then, each register 111 of the LSI circuit 11 receives and holds data from the memory 102 through the data bus 12. The LSI internal circuit 114 receives the data held by the respective registers 111 and performs necessary processing.

【0004】[0004]

【発明が解決しようとする課題】しかし、このような回
路では、CPU回路とLSI回路とを接続するために何
本ものデータバスが必要であり、従ってLSI回路11
のパッケージには多数の接続ピンを設けなければならな
い。そのため、LSIのパッケージとして大型のものを
用いなければならず、コストの上昇およびLSIを使用
する装置の大型化を招く結果となっている。
However, in such a circuit, many data buses are required to connect the CPU circuit and the LSI circuit, and therefore, the LSI circuit 11 is required.
The package must have a large number of connection pins. Therefore, a large package for the LSI must be used, resulting in an increase in cost and an increase in the size of a device using the LSI.

【0005】本発明の目的は、このような問題を解決す
るため、LSIパッケージに設ける接続ピンの数を削減
できるCPUインターフェース回路を提供することにあ
る。
An object of the present invention is to provide a CPU interface circuit which can reduce the number of connection pins provided in an LSI package in order to solve such a problem.

【0006】[0006]

【課題を解決するための手段】本発明は、CPUとLS
Iとのインターフェース回路において、CPUのデータ
バスからデータを受け取って出力するバッファ回路と、
第1の制御信号が入力されたとき、前記バッファ回路の
出力データを取り込んで保持する複数のレジスタ回路
と、第2の制御信号をデコードし、デコード結果にもと
づいて前記複数のレジスタ回路の一つに前記第1の制御
信号を出力するデコード回路とをLSI側に設けて構成
したことを特徴とする。
The present invention provides a CPU and an LS.
In the interface circuit with I, a buffer circuit that receives and outputs data from the data bus of the CPU,
When a first control signal is input, a plurality of register circuits that take in and hold output data of the buffer circuit and a second control signal are decoded, and one of the plurality of register circuits is decoded based on the decoding result. And a decoding circuit for outputting the first control signal is provided on the LSI side.

【0007】[0007]

【実施例】次に本発明の実施例について図面を参照して
説明する。図1に本発明によるCPUインターフェース
回路の一例を示す。この回路は、LSI側に設けられ、
I/Oバッファ回路1と、デコード回路2と、レジスタ
回路3〜5とを備えている。I/Oバッファ回路1は、
その8本の入出力線IO0〜IO7がCPU(図示せ
ず)のデータバスに接続され、制御信号R/Wがハイレ
ベルのとき、CPUのデータバスから入力されたデータ
を内部データバス7を通じてレジスタ回路3〜5に出力
する。一方、制御信号R/Wがローレベルのときは、デ
ータバス7から入力されたデータを入出力線IO0〜I
O7に出力する。レジスタ回路3〜5は、制御信号R/
Wがハイレベルのとき、デコード回路2から選択信号が
入力されるとデータバス7からデータを取り込んで保持
し、LSI内部回路6に出力する。一方、制御信号R/
Wがローレベルのときは、デコード回路2から選択信号
が入力されると保持しているデータをデータバス7を通
じてI/Oバッファ回路1に出力する。デコード回路2
は、CPUから制御信号S1〜Snを受け取り、その信
号をデコードする。そして、デコード結果に応じてレジ
スタ回路3〜5の内のひとつに選択信号を出力する。
Embodiments of the present invention will now be described with reference to the drawings. FIG. 1 shows an example of a CPU interface circuit according to the present invention. This circuit is provided on the LSI side,
The I / O buffer circuit 1, the decoding circuit 2, and the register circuits 3 to 5 are provided. The I / O buffer circuit 1 is
The eight input / output lines IO0 to IO7 are connected to the data bus of the CPU (not shown), and when the control signal R / W is at the high level, the data input from the data bus of the CPU is passed through the internal data bus 7. Output to the register circuits 3 to 5. On the other hand, when the control signal R / W is at a low level, the data input from the data bus 7 is input / output lines IO0-I.
Output to O7. The register circuits 3 to 5 have control signals R /
When the selection signal is input from the decoding circuit 2 when W is at the high level, the data is taken in from the data bus 7 and held, and is output to the LSI internal circuit 6. On the other hand, the control signal R /
When W is at low level, when the selection signal is input from the decoding circuit 2, the held data is output to the I / O buffer circuit 1 through the data bus 7. Decode circuit 2
Receives the control signals S1 to Sn from the CPU and decodes the signals. Then, a selection signal is output to one of the register circuits 3 to 5 according to the decoding result.

【0008】次に動作を説明する。まず、書き込みモー
ドの場合の動作を説明する。このときCPUはハイレベ
ルの制御信号R/Wをバッファ回路1およびレジスタ回
路3〜5に与え、また例えばレジスタ回路3にデータを
保持させるための制御信号S1〜Snを出力する。その
結果、CPUのメモリからデータバスに出力されたデー
タは入出力線IO0〜IO7を通じて、バッファ回路1
に入力され、バッファ回路1はそのデータを内部データ
バス7に出力する。一方、デコード回路2はCPUから
与えられた制御信号S1〜Snをデコードし、レジスタ
回路3に選択信号を出力する。その結果、レジスタ回路
3は、データバスからデータを取り込んで保持し、LS
I内部回路6に出力する。また、CPUがレジスタ回路
4を選択するための制御信号S1〜Snを出力した場合
には、デコード回路2はレジスタ回路4に選択信号を出
力し、その結果、レジスタ回路3は、データバスからデ
ータを取り込んで保持し、LSI内部回路6に出力す
る。このようにして各レジスタ回路3〜5には順次CP
Uからのデータが保持され、LSI内部回路6に出力さ
れる。
Next, the operation will be described. First, the operation in the write mode will be described. At this time, the CPU gives the high-level control signal R / W to the buffer circuit 1 and the register circuits 3 to 5, and outputs the control signals S1 to Sn for causing the register circuit 3 to hold the data, for example. As a result, the data output from the memory of the CPU to the data bus is transferred to the buffer circuit 1 through the input / output lines IO0 to IO7.
Buffer circuit 1 outputs the data to internal data bus 7. On the other hand, the decoding circuit 2 decodes the control signals S1 to Sn given from the CPU and outputs a selection signal to the register circuit 3. As a result, the register circuit 3 takes in and holds the data from the data bus, and the LS
I output to the internal circuit 6. Further, when the CPU outputs the control signals S1 to Sn for selecting the register circuit 4, the decode circuit 2 outputs the selection signal to the register circuit 4 and, as a result, the register circuit 3 outputs the data from the data bus. Is taken in, held, and output to the LSI internal circuit 6. In this way, each register circuit 3 to 5 sequentially receives a CP.
The data from U is held and output to the LSI internal circuit 6.

【0009】次に、読み出しモードの場合の動作を説明
する。このときCPUはローレベルの制御信号R/Wを
バッファ回路1およびレジスタ回路3〜5に与え、また
例えばレジスタ回路3からデータを受け取るための制御
信号S1〜Snを出力する。その結果、デコード回路2
はCPUから与えられた制御信号S1〜Snをデコード
し、レジスタ回路3に選択信号を出力する。その結果、
レジスタ回路3はすでに設定され保持しているデータを
データバス7に出力し、バッファ回路1はそのデータを
入出力線IO0〜IO7を通じてCPUのデータバスに
出力する。また、CPUがレジスタ回路4を選択するた
めの制御信号S1〜Snを出力した場合には、デコード
回路2はCPUから与えられた制御信号S1〜Snをデ
コードし、レジスタ回路4に選択信号を出力する。その
結果、レジスタ回路4は保持しているデータをデータバ
ス7に出力し、バッファ回路1はそのデータを入出力線
IO0〜IO7を通じてCPUのデータバスに出力す
る。このようにして各レジスタ回路3〜5は順次保持し
ているデータをデータバス7に出力し、それらのデータ
はバッファ回路1を通じてCPUのデータバスに出力さ
れる。
Next, the operation in the read mode will be described. At this time, the CPU gives a low-level control signal R / W to the buffer circuit 1 and the register circuits 3 to 5, and outputs, for example, control signals S1 to Sn for receiving data from the register circuit 3. As a result, the decoding circuit 2
Decodes the control signals S1 to Sn provided from the CPU and outputs a selection signal to the register circuit 3. as a result,
The register circuit 3 outputs the already set and held data to the data bus 7, and the buffer circuit 1 outputs the data to the CPU data bus through the input / output lines IO0 to IO7. Further, when the CPU outputs the control signals S1 to Sn for selecting the register circuit 4, the decoding circuit 2 decodes the control signals S1 to Sn provided from the CPU and outputs the selection signal to the register circuit 4. To do. As a result, the register circuit 4 outputs the held data to the data bus 7, and the buffer circuit 1 outputs the data to the data bus of the CPU through the input / output lines IO0 to IO7. In this way, each of the register circuits 3 to 5 sequentially outputs the data held therein to the data bus 7, and the data is output to the data bus of the CPU through the buffer circuit 1.

【0010】このように本実施例のCPUインターフェ
ース回路を用いた場合には、CPUからの複数のデータ
は8本のデータバスを通じて順次LSI内部に取り込ま
れ、内部の複数のレジスタ回路にそれぞれ保持される。
また、必要に応じて各レジスタ回路にすでに設定された
データを順次8本のデータバスを通じて読み出すことが
できる。従って、従来のように各レジスタ回路3〜5を
それぞれCPUのデータバスに接続する必要がないの
で、LSIパッケージに設けるべき接続ピンの数を大幅
に削減することができる。
As described above, when the CPU interface circuit of the present embodiment is used, a plurality of data from the CPU are sequentially taken into the LSI through the eight data buses and held in a plurality of internal register circuits. It
Further, the data already set in each register circuit can be sequentially read out through the eight data buses as needed. Therefore, it is not necessary to connect each of the register circuits 3 to 5 to the data bus of the CPU as in the conventional case, so that the number of connection pins to be provided in the LSI package can be significantly reduced.

【0011】なお、この実施例ではレジスタ回路の数は
3回路としたが、レジスタ回路の数がさらに多い場合で
も、データは入出力線IO0〜IO7を通じて各レジス
タ回路に順次入力されるので、CPUのデータバスとL
SIとを接続するための接続ピンの数は変らない。
Although the number of register circuits is three in this embodiment, even if the number of register circuits is larger, data is sequentially input to each register circuit through the input / output lines IO0 to IO7. Data bus and L
The number of connecting pins for connecting with SI does not change.

【0012】[0012]

【発明の効果】以上説明したように本発明は、CPUと
LSIとを接続する回路において、CPUのデータバス
からデータを受け取って出力するバッファ回路と、第1
の制御信号が入力されたとき、バッファ回路の出力デー
タを取り込んで保持する複数のレジスタ回路と、第2の
制御信号をデコードし、デコード結果にもとづいて複数
のレジスタ回路の一つに第1の制御信号を出力するデコ
ード回路とをLSI側に設けて構成したことを特徴とす
る。従って、本発明のCPUインターフェース回路を用
いた場合には、多数のデータを同一のデータバスを通じ
てLSI回路内に順次取り込むことができるので、LS
Iパッケージに設けるべき接続ピンの数を大幅に削減す
ることが可能となる。その結果、LSIのパッケージと
して小型のものを用いることができ、コストの低減およ
びLSIを使用する装置の小型化が可能となる。
As described above, according to the present invention, in a circuit connecting a CPU and an LSI, a buffer circuit for receiving and outputting data from a data bus of the CPU, and a first circuit
When a control signal is input, a plurality of register circuits that take in and hold the output data of the buffer circuit and a second control signal are decoded, and one of the plurality of register circuits receives the first control signal based on the decoding result. A decoding circuit for outputting a control signal and a decoding circuit are provided on the LSI side. Therefore, when the CPU interface circuit of the present invention is used, a large number of data can be sequentially fetched into the LSI circuit through the same data bus.
It is possible to significantly reduce the number of connection pins to be provided in the I package. As a result, a small package can be used as the LSI package, and the cost can be reduced and the device using the LSI can be downsized.

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

【図1】本発明によるCPUインターフェース回路の一
例を示すブロック図である。
FIG. 1 is a block diagram showing an example of a CPU interface circuit according to the present invention.

【図2】従来のCPUとLSIとの接続を示すブロック
図である。
FIG. 2 is a block diagram showing a connection between a conventional CPU and an LSI.

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

1 I/Oバッファ回路 2 デコード回路 3〜5 レジスタ回路 6 LSI内部回路 7 内部データバス 1 I / O buffer circuit 2 Decode circuit 3-5 Register circuit 6 LSI internal circuit 7 Internal data bus

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】CPUとLSIとのインターフェース回路
において、 CPUのデータバスからデータを受け取って出力するバ
ッファ回路と、 第1の制御信号が入力されたとき、前記バッファ回路の
出力データを取り込んで保持する複数のレジスタ回路
と、 第2の制御信号をデコードし、デコード結果にもとづい
て前記複数のレジスタ回路の一つに前記第1の制御信号
を出力するデコード回路とをLSI側に設けて構成した
ことを特徴とするCPUインターフェース回路。
1. An interface circuit between a CPU and an LSI, wherein the buffer circuit receives data from a data bus of the CPU and outputs the data, and when the first control signal is input, the output data of the buffer circuit is captured and held. And a decoding circuit for decoding the second control signal and outputting the first control signal to one of the register circuits based on the decoding result. A CPU interface circuit characterized by the above.
JP884292A 1992-01-22 1992-01-22 Cpu interface circuit Pending JPH05197666A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP884292A JPH05197666A (en) 1992-01-22 1992-01-22 Cpu interface circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP884292A JPH05197666A (en) 1992-01-22 1992-01-22 Cpu interface circuit

Publications (1)

Publication Number Publication Date
JPH05197666A true JPH05197666A (en) 1993-08-06

Family

ID=11704025

Family Applications (1)

Application Number Title Priority Date Filing Date
JP884292A Pending JPH05197666A (en) 1992-01-22 1992-01-22 Cpu interface circuit

Country Status (1)

Country Link
JP (1) JPH05197666A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02253460A (en) * 1989-03-28 1990-10-12 Nec Eng Ltd Control system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02253460A (en) * 1989-03-28 1990-10-12 Nec Eng Ltd Control system

Similar Documents

Publication Publication Date Title
US6519674B1 (en) Configuration bits layout
US6327508B1 (en) Programmable state machine
US6272583B1 (en) Microprocessor having built-in DRAM and internal data transfer paths wider and faster than independent external transfer paths
US4864491A (en) Memory device
US7254283B1 (en) Image processor processing image data in parallel with a plurality of processors
JPH05197666A (en) Cpu interface circuit
US6202113B1 (en) Bank register circuit for a multiply accumulate circuit
KR0120598B1 (en) Memory board designing method and device
JP2716284B2 (en) Semiconductor integrated circuit
KR19980083459A (en) Databus Sizing Device
JP3045002B2 (en) Mode setting circuit for integrated circuits
JPH01126744A (en) Data processor
JP3048762B2 (en) Semiconductor integrated circuit device
JPH06301641A (en) Electronic computer
JPH02276090A (en) Semiconductor memory integrated circuit
JPH0668055A (en) Digital signal processor
JPH06301640A (en) Bus interface circuit
JPH0810443B2 (en) Memory control circuit
JPH08297610A (en) Cache test system
JPH0652090A (en) Memory control circuit
JPH03144842A (en) Data transfer controller
JPH06266638A (en) Semiconductor memory
JPH06103024A (en) Controller for bit operation in cpu
JPH05257863A (en) Method for recognizing interruption status of processor
JPH05257881A (en) Device for data transfer between computers