JPH01126744A - Data processor - Google Patents

Data processor

Info

Publication number
JPH01126744A
JPH01126744A JP28506087A JP28506087A JPH01126744A JP H01126744 A JPH01126744 A JP H01126744A JP 28506087 A JP28506087 A JP 28506087A JP 28506087 A JP28506087 A JP 28506087A JP H01126744 A JPH01126744 A JP H01126744A
Authority
JP
Japan
Prior art keywords
data
circuit
register
signal line
sent
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
JP28506087A
Other languages
Japanese (ja)
Inventor
Hirofumi Kasugai
春日井 洋文
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 JP28506087A priority Critical patent/JPH01126744A/en
Publication of JPH01126744A publication Critical patent/JPH01126744A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To eliminate a try-state-buffer by executing the writing of data from a data bus to a RAM circuit through a logical LSI provided with a register which selects the data and temporarily stores them. CONSTITUTION:When the data are written to a RAM circuit 2, at first, the writing data are fetched through a bidirectional buffer 11 into a selecting circuit 12 and a logic circuit 15. At such a time, '1' is inputted from the logic circuit 15 to the selecting circuit 12 and the writing data are stored to a register 13 and after that, sent through a bidirectional buffer 14 to a RAM circuit 12. On the other hand, when the data are read from the RAM circuit 2, the reading data are sent through the bidirectional buffer 14 to the selecting circuit 12. At such a time, '0' is outputted for a selecting signal from the logic circuit 15 and the reading data are fetched through a signal line 131 into the logic circuit 15.

Description

【発明の詳細な説明】 技術分野 本発明はデータ処理装置に関し、特に論理[Sl (l
arge−scale integration )と
RAM(randone−access memory
)回路とを含むデータ処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION Technical Field The present invention relates to a data processing device, and in particular to a logic [Sl (l
large-scale integration) and RAM (randone-access memory
) circuit.

従来技術 従来、この種のデータ処理装置においては、第2図に示
すように、書込み読出し自在なRAM回路2と、データ
バス101に接続され、双方向のデータ線102を介し
てRAM回路2に接続されてRAM回路2を制御する論
理LSI3と、データバス101からのデータを入力し
、データ線102を介してRAM回路2にデータを出力
するトライステートバッファ4とにより構成されており
、RAM回路2がこのバッファ4を介してデータバス1
01に直接接続される構成となっていた。
BACKGROUND TECHNOLOGY Conventionally, as shown in FIG. 2, in this type of data processing device, a RAM circuit 2 that can be written and read freely is connected to a data bus 101 and is connected to the RAM circuit 2 via a bidirectional data line 102. It is composed of a logic LSI 3 that is connected to control the RAM circuit 2, and a tristate buffer 4 that inputs data from a data bus 101 and outputs data to the RAM circuit 2 via a data line 102. 2 is connected to the data bus 1 via this buffer 4.
It was configured to be directly connected to 01.

RAM回路2へのデータの書込み時には、データバス1
01からのデータがトライステートバッファ4に入力さ
れ、トライステートバッファ4がらデータ線102を介
してRAM回路2にデータが書込まれる。また、RAM
回路2からのデータの読出し時には、RAM回路2から
読出されたデータがデータ線102を介して論理LSI
3に入力される。
When writing data to RAM circuit 2, data bus 1
The data from 01 is input to the tristate buffer 4, and the data is written from the tristate buffer 4 to the RAM circuit 2 via the data line 102. Also, RAM
When reading data from the circuit 2, the data read from the RAM circuit 2 is transferred to the logic LSI via the data line 102.
3 is input.

このような従来のデータ処理装置では、データバス10
1のデータをRAM回路2に書込むためにデータバス1
01とRAM回路2との間にトライステートバッファ4
を接続する必要があるので、ハードウェアの部品点数が
多いという欠点がある。
In such a conventional data processing device, the data bus 10
Data bus 1 is used to write data 1 to RAM circuit 2.
A tri-state buffer 4 is provided between 01 and the RAM circuit 2.
The disadvantage is that there are many hardware parts because it is necessary to connect the

いが、そのためには論理LSI3の入出力端子数を増や
さなければならず、論理1813の入出力発明の目的 本発明は上記のような従来のものの欠点を除去すべくな
されたもので、論理LSIの入出力端子数を増やすこと
なく、データバスからRAM回路へのデータの書込みを
、論理LSIを介して行うようにすることにより、ハー
ドウェアの部品点数を削減することができるデータ処理
装置の提供を目的とする。
However, in order to do this, it is necessary to increase the number of input/output terminals of the logic LSI 3, and the purpose of the invention is to increase the number of input/output terminals of the logic LSI 3. To provide a data processing device that can reduce the number of hardware parts by writing data from a data bus to a RAM circuit via a logic LSI without increasing the number of input/output terminals. With the goal.

発明の構成 本発明によるデータ処理装置は、書込み読出し自在な記
憶手段と、前記記憶手段への書込みデータを移送するデ
ータバスと、前記記憶手段からの読出しデータを一時格
納するレジスタを有する論理回路装置とを含むデータ処
理装置であって、前記書込みデータと前記読出しデータ
とのうち一方を選択して前記レジスタに格納する選択手
段を前記論理回路装置内に設け、前記記憶手段への前記
書込みデータの書込み時に前記選択手段により前記書込
みデータを選択して前記レジスタに一時格納し、前記レ
ジスタから前記記憶手段に書込むようにしたことを特徴
とする。
Structure of the Invention A data processing device according to the present invention is a logic circuit device having a storage means that can be written and read freely, a data bus for transferring data written to the storage means, and a register for temporarily storing data read from the storage means. a data processing device comprising: a selection means for selecting one of the write data and the read data and storing the selected data in the register; The write data is selected by the selection means at the time of writing, temporarily stored in the register, and written from the register to the storage means.

実施例 次に、本発明の一実施例について図面を参照して説明す
る。
Embodiment Next, an embodiment of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例の構成を示すブロック図であ
る。図において、本発明の一実施例によるデータ処理装
置は、論理LS11と、RAM回路2と、データバス1
01とを含んで構成されている。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. In the figure, a data processing device according to an embodiment of the present invention includes a logic LS 11, a RAM circuit 2, and a data bus 1.
01.

論理LSIIは双方向バッファ11.14と、双方向バ
ッファ11.14夫々からのデータのうち一方を選択す
る選択回路12と、選択回路12で選択されたデータを
格納するレジスタ13と、全体の動作を制御する論理回
路15と、双方向端子16.17と、出力端子18.1
9とにより構成されている。
The logic LSII includes bidirectional buffers 11.14, a selection circuit 12 that selects one of the data from each of the bidirectional buffers 11.14, and a register 13 that stores the data selected by the selection circuit 12, and the overall operation. a logic circuit 15 that controls the , a bidirectional terminal 16.17, and an output terminal 18.1
9.

双方向バッファ11は信号線151を介して送られてく
る論理回路15からの出力制御信号が“1″のときに、
信号線152を介して論理回路15から送られてくるデ
ータを信号線112に出力し、この出力制御信号が0″
のときには信号線152を介して送られてくるデータを
信号線112に出力しない。
When the output control signal from the logic circuit 15 sent via the signal line 151 is "1", the bidirectional buffer 11
Data sent from the logic circuit 15 via the signal line 152 is output to the signal line 112, and this output control signal is 0''.
At this time, data sent via the signal line 152 is not output to the signal line 112.

選択回路12は信号線153を介して送られてくる論理
回路15からの選択信号が0″のときに、信号線141
を介して双方向バッファ14から送られてくる読出しデ
ータを選択してレジスタ13に信号線121を介して送
出する。この選択信号が″1”のときには信号線111
を介して双方向バッファ11から送られてくるデータを
選択してレジスタ13に信号線121を介して送出する
The selection circuit 12 selects the signal line 141 when the selection signal from the logic circuit 15 sent via the signal line 153 is 0''.
The selected read data sent from the bidirectional buffer 14 via the signal line 121 is sent to the register 13 via the signal line 121. When this selection signal is "1", the signal line 111
The selected data sent from the bidirectional buffer 11 via the signal line 121 is sent to the register 13 via the signal line 121.

双方向バッファ14は信号線155を介して送られてく
る論理回路15からの出力制御信号が“1″のときに、
信号線131を介してレジスタ13から送られてくるデ
ータを信号線142に出力し、この出力制御信号が“0
″のときには信号線131を介してレジスタ13から送
られてくるデータを信号線142に出力しない。
When the output control signal from the logic circuit 15 sent via the signal line 155 is "1", the bidirectional buffer 14
The data sent from the register 13 via the signal line 131 is output to the signal line 142, and this output control signal is set to “0”.
'', the data sent from the register 13 via the signal line 131 is not output to the signal line 142.

RAM回路2へのデータの書込み時には、まず、データ
バス101からRAM回路2に書込む書込みデータを双
方向端子16を介して論理LS11内部に取込む。
When writing data to the RAM circuit 2, first, write data to be written to the RAM circuit 2 from the data bus 101 is taken into the logic LS 11 via the bidirectional terminal 16.

双方向端子16から入力された書込みデータは信号線1
12を介して双方向バッファ11に入力され、双方向バ
ッファ11に入力されたデータは信号線111を介して
選択回路12と論理回路15とに送出される。
The write data input from the bidirectional terminal 16 is sent to the signal line 1.
The data input to the bidirectional buffer 11 is sent to the selection circuit 12 and the logic circuit 15 via the signal line 111.

このとき、RAM回路2へのデータ書込みであることか
ら、選択回路12には論理回路15からの選択信号とし
て1″が入力され、信号線111を介して入力された書
込みデータが選択されて信号線121を介してレジスタ
13に送られる。レジスタ13では信号線154を介し
て送られてきた論理回路15からのレジスタ格納制御信
号により選択回路12で選択された書込みデータが格納
される。また、レジスタ13に格納された書込みデータ
は信号線131を介して双方向バッファ14と論理回路
15とに送出される。
At this time, since data is written to the RAM circuit 2, 1'' is input to the selection circuit 12 as a selection signal from the logic circuit 15, and the write data input via the signal line 111 is selected and the signal It is sent to the register 13 via the line 121. The write data selected by the selection circuit 12 is stored in the register 13 in accordance with the register storage control signal sent from the logic circuit 15 via the signal line 154. The write data stored in register 13 is sent to bidirectional buffer 14 and logic circuit 15 via signal line 131.

双方向バッファ14では論理回路15からの出力制御信
号として“1″が入力されるので、レジスタ13から送
られてきた書込みデータを信号線142に出力する。信
号線142に出力された書込みデータは双方向端子17
を通り、データ線102を介してRAM回路2に送られ
る。
Since "1" is input as the output control signal from the logic circuit 15 to the bidirectional buffer 14, the write data sent from the register 13 is output to the signal line 142. The write data output to the signal line 142 is transferred to the bidirectional terminal 17.
and is sent to the RAM circuit 2 via the data line 102.

RAM回路2では論理回路15から信号線156と出力
端子18と信号線103とを介して送られてくる書込み
制御信号が1″のときに、論理回路15から信号線15
7と出力端子19と信号線104とを介して送られてく
るアドレスデータに対応するRAM回路2のアドレスに
データ線102を介して送られてくる書込みデータが書
込まれる。
In the RAM circuit 2, when the write control signal sent from the logic circuit 15 via the signal line 156, the output terminal 18, and the signal line 103 is 1'', the signal from the logic circuit 15 to the signal line 15 is
The write data sent via the data line 102 is written to the address of the RAM circuit 2 corresponding to the address data sent via the output terminal 7, the output terminal 19, and the signal line 104.

RAM回路2からのデータの読出し時には、信号線10
3を介して送られてくる論理回路15からの書込み制御
信号が“0″となり、信号線104を介して送られてく
る論理回路15からのアドレスデータに対応するRAM
回路2のアドレスから読出しデータが読出されてデータ
線102に送出される。
When reading data from the RAM circuit 2, the signal line 10
The write control signal from the logic circuit 15 sent via the signal line 104 becomes "0", and the RAM corresponding to the address data from the logic circuit 15 sent via the signal line 104 becomes "0".
Read data is read from the address of circuit 2 and sent to data line 102.

データ線102に送出された読出しデータは双方向端子
17と信号線142を介して双方向バッファ14に入力
され、双方向バッファ14に入力された読出しデータは
信号線141を介して選択回路12に送出される。
The read data sent to the data line 102 is input to the bidirectional buffer 14 via the bidirectional terminal 17 and the signal line 142, and the read data input to the bidirectional buffer 14 is input to the selection circuit 12 via the signal line 141. Sent out.

このとき、RAM回路2からのデータの読出しであるこ
とから、選択回路12には論理回路15からの選択信号
としてO”が入力され、信号線141を介して入力され
た読出しデータが選択されて信号線121を介してレジ
スタ13に送られる。
At this time, since data is being read from the RAM circuit 2, O'' is input to the selection circuit 12 as a selection signal from the logic circuit 15, and the read data input via the signal line 141 is selected. It is sent to the register 13 via the signal line 121.

レジスタ13では信号線154を介して送られてきた論
理回路15からのレジスタ格納制御信号により、選択回
路12で選択された読出しデータが格納され、信号線1
31を介して論理回路15に送出される。
In the register 13, the read data selected by the selection circuit 12 is stored in accordance with the register storage control signal from the logic circuit 15 sent via the signal line 154, and the read data is stored in the register 13.
31 to the logic circuit 15.

このように、RAM回路2への書込みデータとRAM回
路2からの読出しデータとのうち一方を、論理LSII
内に設けられた選択回路12で選択し、この選択された
データを従来の論理LSIにおいてRAM回路2からの
読出しデータの一時格納に用いられていたレジスタ13
に格納するようにし、RAM回路2への書込みデータの
書込み時に選択回路12でこの書込みデータを選択して
レジスタ13を介してRAM回路2に書込むようにする
ことによって、論理LS11の入出力端子を増やすこと
なく、RAM回路2へのデータバス101からの書込み
データを、論理LS11を介して当該RAM回路2へ送
出することかできる。よって、RAM回路2とデータバ
ス101とを接続する場合に必要とされていたトライス
テートバッファをなくすことができ、ハードウェアの部
品点数を削減することができる。
In this way, one of the write data to the RAM circuit 2 and the read data from the RAM circuit 2 is transferred to the logic LSII.
The selected data is selected by a selection circuit 12 provided in the internal memory, and the selected data is transferred to a register 13 which is used to temporarily store read data from the RAM circuit 2 in conventional logic LSIs.
When the write data is written to the RAM circuit 2, the selection circuit 12 selects the write data and writes it to the RAM circuit 2 via the register 13. The write data from the data bus 101 to the RAM circuit 2 can be sent to the RAM circuit 2 via the logic LS11 without increasing the amount of data. Therefore, the tristate buffer that is required when connecting the RAM circuit 2 and the data bus 101 can be eliminated, and the number of hardware components can be reduced.

発明の詳細 な説明したように本発明によれば、RAM回路への書込
みデータとこのRAM回路からの読出しデータとのうち
一方を選択して、従来RAM回路からの読出しデータを
一時格納していたレジスタに格納する選択手段を論理L
SI内に設け、RAM回路への書込みデータの書込み時
に選択手段により書込みデータを選択してレジスタに格
納し、このレジスタからRAM回路に書込みデータを書
込むようにすることによって、論理LSIの入出力端子
数を増やすことなく、従来必要であったトライステート
バッファが省略できることになり、よって、ハードウェ
アの部品点数を削減することができるという効果がある
DETAILED DESCRIPTION OF THE INVENTION According to the present invention, as described in detail, one of the data written to the RAM circuit and the data read from the RAM circuit is selected to temporarily store the data read from the RAM circuit. The selection means stored in the register is set to logic L.
The input/output of the logic LSI is provided in the SI, and when the write data is written to the RAM circuit, the write data is selected by the selection means and stored in the register, and the write data is written from this register to the RAM circuit. The tri-state buffer that was conventionally required can be omitted without increasing the number of terminals, and the number of hardware components can therefore be reduced.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例の構成を示すブロック図、第
2図は従来例の構成を示すブロック図である。 主要部分の符号の説明 1・・・・・・論理LSI 2・・・・・・RAM回路 11.14・・・・・・双方向バッファ12・・・・・
・選択回路 13・・・・・・レジスタ
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, and FIG. 2 is a block diagram showing the configuration of a conventional example. Explanation of symbols of main parts 1...Logic LSI 2...RAM circuit 11.14...Bidirectional buffer 12...
・Selection circuit 13...Register

Claims (1)

【特許請求の範囲】[Claims] 書込み読出し自在な記憶手段と、前記記憶手段への書込
みデータを移送するデータバスと、前記記憶手段からの
読出しデータを一時格納するレジスタを有する論理回路
装置とを含むデータ処理装置であつて、前記書込みデー
タと前記読出しデータとのうち一方を選択して前記レジ
スタに格納する選択手段を前記論理回路装置内に設け、
前記記憶手段への前記書込みデータの書込み時に前記選
択手段により前記書込みデータを選択して前記レジスタ
に一時格納し、前記レジスタから前記記憶手段に書込む
ようにしたことを特徴とするデータ処理装置。
A data processing device including a storage means that can be written and read freely, a data bus for transferring write data to the storage means, and a logic circuit device having a register for temporarily storing data read from the storage means, the data processing device comprising: Provided in the logic circuit device is selection means for selecting one of the write data and the read data and storing it in the register,
A data processing device characterized in that, when writing the write data to the storage means, the selection means selects the write data and temporarily stores it in the register, and writes the write data from the register to the storage means.
JP28506087A 1987-11-11 1987-11-11 Data processor Pending JPH01126744A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28506087A JPH01126744A (en) 1987-11-11 1987-11-11 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28506087A JPH01126744A (en) 1987-11-11 1987-11-11 Data processor

Publications (1)

Publication Number Publication Date
JPH01126744A true JPH01126744A (en) 1989-05-18

Family

ID=17686641

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28506087A Pending JPH01126744A (en) 1987-11-11 1987-11-11 Data processor

Country Status (1)

Country Link
JP (1) JPH01126744A (en)

Similar Documents

Publication Publication Date Title
JPH0472255B2 (en)
JPH01126744A (en) Data processor
JPS6391756A (en) Partial write instruction processing system for storage device
JP2716284B2 (en) Semiconductor integrated circuit
JP3116361B2 (en) Color pallet equipment
JP2634609B2 (en) Data transfer device
JPH05197666A (en) Cpu interface circuit
KR0120598B1 (en) Memory board designing method and device
JPH04333950A (en) Information processing system
JP2657947B2 (en) Data processing device
JPS6349816B2 (en)
JP2884620B2 (en) Digital image processing device
JPH0561809A (en) Memory control circuit for semiconductor integrated circuit
JPS6398758A (en) Dma controller
JPH04107665A (en) Input/output controller
JPH01321540A (en) Interface circuit
JPH0683639A (en) Register device
JPH01194052A (en) Data input/output circuit for digital signal processing processor
JPS62184561A (en) Input/output buffer controller
JPS62131356A (en) Peripheral control circuit of microprocessor system
JPS61193230A (en) Magnetic disk controller
JPS60246464A (en) Data transferring system of buffer memory
JPH05113954A (en) Data transfer method for time division multiplexer
JPH0653778A (en) Digital signal processing unit
JPH06124228A (en) Memory access system