JPH0371353A - Data processor - Google Patents

Data processor

Info

Publication number
JPH0371353A
JPH0371353A JP20693389A JP20693389A JPH0371353A JP H0371353 A JPH0371353 A JP H0371353A JP 20693389 A JP20693389 A JP 20693389A JP 20693389 A JP20693389 A JP 20693389A JP H0371353 A JPH0371353 A JP H0371353A
Authority
JP
Japan
Prior art keywords
data
processing unit
local memory
buffer
unit
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
JP20693389A
Other languages
Japanese (ja)
Inventor
Kenji Oguma
堅司 小熊
Toshihiro Masumoto
増元 俊博
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
NEC Engineering Ltd
Original Assignee
NEC Corp
NEC Engineering 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 NEC Corp, NEC Engineering Ltd filed Critical NEC Corp
Priority to JP20693389A priority Critical patent/JPH0371353A/en
Publication of JPH0371353A publication Critical patent/JPH0371353A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve the working ratio of a central arithmetic processing unit and also to increase the data access speed by providing a data buffer between the central arithmetic processing unit and a local memory to hold the data. CONSTITUTION:A data processor is provided with a central processing unit 1 and its accessory local memory unit 3. Then a data buffer 4 having the data holding function is added between the unit 1 and the memory 3 so that the data having an access to the memory 3 is held by the buffer 4. Thus, the unit 1 produces no holding time and improves greatly its working ratio. Furthermore the data written right before or approximately right before a due process can be immediately read again. Then the data access speed is increased.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、中央演算処理ユニットと、これに付属するロ
ーカルメモリとを備えるデータ処理装置に関するもので
ある。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data processing device including a central processing unit and a local memory attached thereto.

〔従来の技術〕[Conventional technology]

か\るデータ処理装置においては、中央演算処理ユニッ
トとローカルメモリとの間にデータバッファを設け、こ
れによう相互間のデータ授受を円滑化しているが、一般
にデータバッファとしてはデータの保持機能を備えてい
ないものが用いられている。
In such data processing devices, a data buffer is provided between the central processing unit and the local memory to facilitate the exchange of data between them, but generally the data buffer does not have the function of holding data. Things that are not equipped are being used.

また、場合によっては、保持機能を有するものを用いる
こともあるが、これはデータのセットアツプ・ホールド
タイムを改善するのが目的であシ、必要とする期間デー
タの保持を行なうものではなかった。
Additionally, in some cases, devices with a retention function are used, but the purpose of this is to improve data setup and hold time, and is not intended to retain data for the required period. .

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

したがって、中央演算処理ユニットがローカルメモリに
対しデータの書込みを行なう場合、ローカルメモリが以
前の動作を継続中であれば、これが終了するまで中央演
算処理ユニットがデータを保持してかかねばならず、こ
の待機時間発生にょシ中央演算処理ユニットの稼働効率
が低下する欠点を生じている。
Therefore, when the central processing unit writes data to the local memory, if the local memory is continuing the previous operation, the central processing unit must hold the data until the previous operation is completed. However, the occurrence of this waiting time has the disadvantage that the operating efficiency of the central processing unit is reduced.

なか、これは、ローカルメモリのデータを読出す場合も
同様となっている。
The same applies when reading data from the local memory.

また、データバッファが保持機能を有する場合であって
も、必要とする期間データの保持がなされず、ローカル
メモリに対して直前またはこれの近傍に書込みを行なっ
たデータを読出す際、データバツ7ア中のデータを利用
することが不可能であシ、必ずローカルメモリからの読
出しを要し、データのアクセスが低速となる欠点を生じ
ている。
Furthermore, even if the data buffer has a retention function, the data is not retained for the required period, and when reading data that was written immediately before or in the vicinity of the local memory, data buffer 7 It is impossible to use the data therein, and reading from the local memory is always required, resulting in a disadvantage that data access is slow.

〔課題を解決するための手段〕[Means to solve the problem]

前述の課題を解決するため、本発明はつぎの手段により
m成するものとなっている。
In order to solve the above-mentioned problems, the present invention is accomplished by the following means.

すなわち、中央演算処理ユニットとローカルメモリとの
間に介在しデータの保持機能を有するデータバッファを
設けたものである。
That is, a data buffer is provided between the central processing unit and the local memory and has a data holding function.

〔作用〕[Effect]

したがって、データバッファにおいてデータの保持が必
要とする期間なされ、ローカルメモリが以前の動作を継
続中であっても、これに対するデータのアクセスがデー
タバッファの利用によう直ちに行なえるものとなシ、中
央演算処理装置の待機時間が不要になると共に、ローカ
ルメモリに対して直前筐たはこの近傍に書込みを行なっ
たデータはデータバッファに保持されているため、これ
を利用する読出しが自在となシ、データのアクセスが高
速によシ行なわれる。
Therefore, even if the data is retained in the data buffer for the required period of time and the local memory continues its previous operation, data can be accessed immediately to utilize the data buffer. In addition to eliminating the need for waiting time for the arithmetic processing unit, the data that was written to the local memory in the previous case or in the vicinity is held in the data buffer, so it can be freely read using this data. Data can be accessed at high speed.

〔実施例〕〔Example〕

以下、実施例を示すブロック図によって本発明の詳細な
説明する。
Hereinafter, the present invention will be described in detail with reference to block diagrams showing embodiments.

同図においては、中央演算処理ユニット(以下、CPU
)1に対し、メモリコントローラ(以下、MCT)2を
介してローカルメモリ(以下、LCM)3が付属してい
ると共に、CPU1とLCM3との間にデータの保持機
能を有するデータバッファ(以下、DBF)4が介在し
ており、CPU1とMCT2との間はアドレスバス11
および制御バス12によシ、MCT2とLCM3との間
は制御バス13にようSLCM3とDBF4との間およ
びCPU1とDBF4との間はデータバス14および1
5によシ各個に接続されている。
In the figure, the central processing unit (hereinafter referred to as CPU)
) 1, a local memory (hereinafter referred to as LCM) 3 is attached via a memory controller (hereinafter referred to as MCT) 2, and a data buffer (hereinafter referred to as DBF) that has a data holding function between the CPU 1 and LCM3. ) 4 is interposed, and an address bus 11 is connected between CPU 1 and MCT 2.
and control bus 12, control bus 13 between MCT2 and LCM3, data bus 14 and 1 between SLCM3 and DBF4, and between CPU1 and DBF4.
5 are connected to each other.

また、MCT2とDBF4との間は制御線16によ多接
続されて>、6、これを介する制御信号にしたがいDB
F4がデータの保持および送出を行なうものとなってい
る。
Moreover, the control line 16 is connected between the MCT2 and the DBF4, and the DB
F4 holds and sends data.

こ\に訃いて、CPU1がLCM3に対してデータの書
込みを行なう場合は、アドレスバス11を介するアドレ
ス信号、シよび、制御バス12を介する書込み指令の退
出を行なうことによj)SMCT2がこれに応じて制御
バス13を介し、LCM3の状態検出を行ない、若し、
LCM3が直前のデータ書込み中等、以前の動作を継続
中であれば、LCM3に対する新たな書込み制御信号の
送出を保留のうえ、CPU1に対しては制御バス12を
介して書込み許容信号を送出する。
After this, when the CPU 1 writes data to the LCM 3, the address signal via the address bus 11 and the write command via the control bus 12 are output. The state of the LCM 3 is detected via the control bus 13 according to the
If the LCM 3 is continuing the previous operation, such as the previous data write, the sending of a new write control signal to the LCM 3 is suspended, and a write permission signal is sent to the CPU 1 via the control bus 12 .

すると、CPU1は、これに応じてデータバス15によ
シデータの送出を行なうため、MCT2がこれを検出し
てDBF4へ保持信号を与えることにより1CPU1か
らのデータがDBF4によう保持される。
Then, the CPU 1 sends data to the data bus 15 in response to this, so the MCT 2 detects this and provides a holding signal to the DBF 4, so that the data from the CPU 1 is held in the DBF 4.

なお、DBF4は複数のアドレスを備えており1以上の
動作が反復され\ば、DBF4の各アドレスにおいて順
次に各データが保持される。
Note that the DBF 4 has a plurality of addresses, and when one or more operations are repeated, each data is sequentially held at each address of the DBF 4.

ついで、LCM3が以前の動作を終了すると、MCT2
がこれに応じてDBF4へデータの送出信号を与えると
共に、LCM3に対しては、制御バス13を介して保留
中の書込み制御信号を送出するため、DBF4によう保
持されていたデータがデータバス14を介してLCMa
中の指定されたアドレスへ書込1れる。
Then, when LCM3 finishes its previous operation, MCT2
In response, the DBF4 provides a data sending signal to the DBF4, and also sends a pending write control signal to the LCM3 via the control bus 13, so that the data held in the DBF4 is transferred to the data bus 14. LCMa via
1 is written to the specified address inside.

したがって、CPU1は、LCM3が以前の動作を継続
中であっても、待機することなくデータの書込み処理を
行なえるものとなり、CPU1の稼働効率が向上する。
Therefore, even if the LCM 3 continues its previous operation, the CPU 1 can perform the data writing process without waiting, and the operating efficiency of the CPU 1 is improved.

な>、CPU1によるLCM3からのデータ読出しも同
様であシ、LCM3が以前の動作を終了してから読出し
がなされ、このデータがDBF4によう保持されたうえ
CPU1へ送出されるため、CPU1は待機することな
くつぎの処理へ移行することができる。
The same goes for data reading from LCM3 by CPU1; reading is performed after LCM3 finishes its previous operation, and this data is held in DBF4 and then sent to CPU1, so CPU1 is on standby. You can move on to the next process without doing anything.

また、DBFJ中のデータは、各アドレスへ新りなデー
タが与えられる1で保持されてお、9.CPU1の読出
すデータが直前に書込みを行なったデータ、または、こ
のデータのアドレスに対し近傍のアドレスであれば、未
だDBFJ中に保持されているため、MCT2がこれを
判断してDBF4からデータの送出をCPU1へ行なわ
せるものとな5、LCM3に対する読出し制御が省略さ
れ、データのアク七スが高速によシ行なわれる。
Also, the data in the DBFJ is held at 1 when new data is given to each address, and 9. If the data read by CPU1 is the data written immediately before, or if it is an address near the address of this data, it is still held in the DBFJ, so the MCT2 judges this and writes the data from the DBF4. Since the data is sent to the CPU 1, read control to the LCM 3 is omitted, and data access is performed at high speed.

〔発明の効果〕〔Effect of the invention〕

以上の説明によシ明らかなとおり本発明によれば、デー
タの保持機能を有するデータバッファを中央演算処理ユ
ニットとローカルメモリとの間へ介在させた\め、ロー
カルメモリに対してアクセスするデータがデータバッフ
ァによシ保持され、これによシ中央演算処理ユニットの
待機時間発生が無くなシ、これの稼働効率が大幅に向上
すると共に、直前またはこれの近傍に書込みを行なった
データの読出しが直ちになされ、データのアクセスが高
速となシ、各種用途のデータ処理装置において顕著な効
果が得られる。
As is clear from the above explanation, according to the present invention, a data buffer having a data holding function is interposed between the central processing unit and the local memory, so that data accessed to the local memory is The data is stored in the data buffer, which eliminates the waiting time of the central processing unit, greatly improving the operating efficiency of the central processing unit, and making it possible to read data written just before or in the vicinity. The data can be accessed immediately and the data can be accessed at high speed, resulting in remarkable effects in data processing devices for various purposes.

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

図は本発明の実施例を示すブロック図である。 1・・・・中央演算処理ユニット、3・・・・ローカル
メモリ、4・・・・データバッファ、14゜15・・・
・データバス。
The figure is a block diagram showing an embodiment of the present invention. 1...Central processing unit, 3...Local memory, 4...Data buffer, 14°15...
・Data bus.

Claims (1)

【特許請求の範囲】[Claims] 中央演算処理ユニットと、これに付属するローカルメモ
リとを備えるデータ処理装置において、前記中央演算処
理ユニットとローカルメモリとの間に介在しデータの保
持機能を有するデータバッファを設けたことを特徴とす
るデータ処理装置。
A data processing device comprising a central processing unit and a local memory attached thereto, characterized in that a data buffer is provided between the central processing unit and the local memory and has a data holding function. Data processing equipment.
JP20693389A 1989-08-11 1989-08-11 Data processor Pending JPH0371353A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20693389A JPH0371353A (en) 1989-08-11 1989-08-11 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20693389A JPH0371353A (en) 1989-08-11 1989-08-11 Data processor

Publications (1)

Publication Number Publication Date
JPH0371353A true JPH0371353A (en) 1991-03-27

Family

ID=16531449

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20693389A Pending JPH0371353A (en) 1989-08-11 1989-08-11 Data processor

Country Status (1)

Country Link
JP (1) JPH0371353A (en)

Similar Documents

Publication Publication Date Title
JPH0371353A (en) Data processor
JPH0546527A (en) Dual port memory circuit
KR20000018850A (en) Access device of a dual port ram
JPH07160655A (en) Memory access system
JPS60157655A (en) Auxiliary storage device
JPH02132543A (en) Information processor
JPS62241045A (en) Storage device
JPH0222748A (en) Non-volatile memory control circuit
JPH0214741B2 (en)
JPH0293971A (en) Memory access circuit
JPH0322073A (en) Data transfer controller
JPH0391191A (en) Multiport memory
JPH0325539A (en) Storage device
JPH03233780A (en) Bus access system
JPS6134662A (en) Microcomputer application apparatus
JPH01296303A (en) System for controlling data transfer of programmable controller
JPS63286959A (en) Memory access system
JPH04293145A (en) Interruption generating circuit of dual port memory
JPH07134685A (en) Computer system and its memory data transfer system
JPH04177452A (en) Information processor
JPH04154346A (en) Circuit controller
JPH02299076A (en) Image data upside down system
JPS6290731A (en) Test supporting system
JPS58213371A (en) Data processing system
JPH03257555A (en) Store buffer device