JPS589274A - Write data buffer control device - Google Patents

Write data buffer control device

Info

Publication number
JPS589274A
JPS589274A JP56107739A JP10773981A JPS589274A JP S589274 A JPS589274 A JP S589274A JP 56107739 A JP56107739 A JP 56107739A JP 10773981 A JP10773981 A JP 10773981A JP S589274 A JPS589274 A JP S589274A
Authority
JP
Japan
Prior art keywords
write data
write
cancel
memory
valid
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
JP56107739A
Other languages
Japanese (ja)
Inventor
Toru Akai
徹 赤井
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
Nippon Electric 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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP56107739A priority Critical patent/JPS589274A/en
Publication of JPS589274A publication Critical patent/JPS589274A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve the capacity of a write data buffer control device by providing a cancel control circuit and making time relation between write request and write data free for write request from an executable unit to a memory. CONSTITUTION:When a cancel permit signal 33 from an access control section is ''1'', a cancel control circuit 14 resets the data significance display bit of a read pointer register 13 and a write pointer register 12 to an initial state. When the cancel permit signal 33 is ''0'', the circuit makes a cancel waiting FF60 ''1'' and waits until the permit signal 33 becomes ''1''. Logical sum of a write cancel start signal 35 and a cancel waiting signal 36 is taken in a gate 61, and a cancel designation signal 34 is sent to a memory access control section. By this way, time relation between request and write data for write request from an executable unit to a memory can be made free, and thus capacity of the write data buffer control device can be improved.

Description

【発明の詳細な説明】 本発明は、書込データバッツァ□制御装置に関する。 
     □ 一般に1演算制御−路および先取制御回路等を含む実行
二工雫トがメモリへの書込動作を行なう場合、書込要求
コード、’*iアドレスJ書込データ等と共−メ警すア
クセスエニマトに対し書込要求を行なう必要がある。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a write data batzer□ control device.
□ In general, when the second execution block including the first arithmetic control circuit and the preemption control circuit performs a write operation to memory, a write request code, '*i address J write data, etc. It is necessary to make a write request to the access enumerator.

この菟め、メモリア夛セスエニ雫トでは論理アドレスか
ら実行アドレスへの変換を行ない求まった実ナトレスに
対応するメモリに書込データを書き込む。ここで、バー
77アメモリを持つ装置ではバッツアメモリにも書込デ
ータを書き込む。
At the end of this memorization process, the logical address is converted into an execution address and the write data is written into the memory corresponding to the obtained real address. Here, in a device having a bar 77 memory, the write data is also written to the bar memory.

これらの書込動作は高速化を計る丸めに、パイプライ/
処理される。
These write operations are rounded and pipelined to speed up the operation.
It is processed.

従来の書込データパー721制御装置は、書込要求、書
込アドレス、およヴ書込データを同時または一定の時間
関係を保ち逐から流して行く必要性をら実行ユニシトは
書込デ〒りを書込要求、および、書込アドレスと同時ま
たは一定の関係でメモリアクセスユニットに送出しなけ
ればならなかつえ。
The conventional write data parser 721 control device has the necessity to flow write requests, write addresses, and write data simultaneously or one after another while maintaining a fixed time relationship. must be sent to the memory access unit at the same time or in a fixed relationship with the write request and write address.

を九、一方、実行ユニットでは書込データが書込アドレ
スより先に確定する場合と、これとは逆に書込アドレス
が先に確定する場合とがあるが、いずれの場合にも書込
が禁止されるような例外の検−がな−ことを確認する必
要から遅く決る方に合わせなければならな−という欠点
があった。
On the other hand, in the execution unit, there are cases where the write data is determined before the write address, and conversely, where the write address is determined first, but in both cases, the write data is determined before the write address. The drawback was that it was necessary to make sure that there were no exceptions that would be prohibited, so it had to be decided later.

譬に、書込アドレスが確定した場合、メモリアクセスユ
ニットに早(要求を出すことによにメモリアクセスユニ
ットての論理アドレスから実アドレスへの変換を先行さ
せておくことが可能となれば、性能の改善が著るしいの
であるが、ヒのような効果は望むべくもなかりた。
For example, when a write address is determined, if it is possible to advance the conversion from a logical address to a real address in the memory access unit by issuing a request to the memory access unit, the performance will improve. The improvement was remarkable, but the effect like that of Hi was not as expected.

本発明の目的は実行ユニブトからの書込要求と、書込デ
ータの時間関係をなくシ、書込データが準備iれるまで
書込要求が出せなか、りたシ、また、これと逆に、書込
アドレスが決定するまて書込データの送出ができないこ
とによる性能低下を肪いだ書込データバヅファ制御装置
を提供するととにある。
An object of the present invention is to eliminate the time relationship between write requests from execution units and write data, and to prevent write requests from being issued until the write data is prepared. It is an object of the present invention to provide a write data buffer control device which avoids performance deterioration due to not being able to send write data until a write address is determined.

本発明の書込データバッファ制御装置は、メモリへの書
込データをパf7アリングする書込データバッファと、
実行ユニットから前記書込データバッファへの格納要求
に応答して前記書込データバッファに空きがなければ拒
絶し空きがあれば格納位置を決定し前記書込データを決
定された前記格納位置く格納するとともにζO格納位置
のデータが有効状態とする書込データパ雫ファ制御回路
と、前記メモリへの書込起動に応答し前記書込データパ
!)γの格納位置が有効状態か否かを判断し有効ならば
前記メモリへの書込起動を行なったのちにこの有、効状
態の解除を行ない有効状態でなければ有効状態となるま
で前、、記書込起動を抑止する中ヤンセル制御回路とを
含んで構成される。
A write data buffer control device of the present invention includes a write data buffer that parses write data to a memory;
In response to a storage request from an execution unit to the write data buffer, if there is no space in the write data buffer, it is rejected; if there is space, a storage location is determined, and the write data is stored at the determined storage location. At the same time, the write data buffer control circuit makes the data in the ζO storage location valid, and the write data buffer control circuit makes the data in the ζO storage location valid, and in response to the start of writing to the memory, the write data buffer control circuit makes the data in the ζO storage position valid. ) It is determined whether the storage location of γ is in a valid state or not, and if it is valid, writing to the memory is started, and then the valid state is canceled. , and a Jansell control circuit for suppressing the start of writing.

を良、6本発明O書込データパプファ制御装置は、前記
キャンセル制御回路示、実行ユニットからのメモリアク
セス取消信号に゛応答しデータの有効状態およびメモリ
への書込起動の状態を判定しデータの有効状態およびメ
モリへの書込要求の少なくとも一方を取消すことができ
るように構成される。
6. The write data puffer control device of the present invention responds to the memory access cancellation signal from the execution unit by the cancel control circuit, determines the valid state of the data and the state of start of writing to the memory, and processes the data. The configuration is such that at least one of the valid state and the write request to the memory can be canceled.

すなわち、本発明の書込データバッファ制御装置は、メ
モリアクセスユニットに書込f−fiパνファを設は実
行ユニットからの前記、データバッファへの格納要求に
応答しパーファの空きがある場合格納位置を決定し順次
書込データを格納する七同時に該エリアに対するデータ
を有効状態2する一方アドレスと共に実行ユニシトによ
り起動されたメモリアクセス要求に対するメモリアクセ
スユニットでのMIIにおいて論理アドレスから実アド
レスへの変換を完了レアタセス要求がメモリへの書込で
ある場合書込データバッファより該データを順次取出し
この時該データが有効状態であればメモリへの書込起動
を行な一メモリへの送出完了を待って該データの有効状
態をリセットするがデータが有効状態でなけれと有効と
なるまでメモリへの起動を抑止するとともに、メモリア
クセスユニットが書込要求と書込データのいずれか少な
くとも一方を受け′散りている状態で実行ユニットが該
書込動作に例外を検出し九場合に発生する書込取消信号
に応答し該書込データおよび書込要求を敗りのぞく機能
を有して構成される。
That is, the write data buffer control device of the present invention sets the write f-fi buffer in the memory access unit, and stores the data in response to the storage request from the execution unit to the data buffer if there is space in the buffer. Determine the location and sequentially store the write data; simultaneously set the data for the area to a valid state 2; and convert the logical address to a real address in the MII in the memory access unit in response to a memory access request initiated by the execution unit with the address. Complete If the access request is to write to memory, retrieve the data sequentially from the write data buffer.If the data is valid at this time, start writing to memory and wait for completion of sending to memory. resets the valid state of the data, but if the data is not valid, it suppresses activation to the memory until it becomes valid, and the memory access unit receives at least one of the write request and the write data. The execution unit is configured to have a function of rejecting the write data and write request in response to a write cancel signal generated when the execution unit detects an exception in the write operation.

次に、本発明の実施例に?)l/mて、WJWlを参照
して詳細に説明する。
Next, what about the embodiments of the present invention? ) l/m will be explained in detail with reference to WJWl.

第1図は本発明の書込データバッファ制御装置を含むシ
ステム構成図で、1は実行ユニシト、2はメモリアクセ
スユニット、3はメモリを示し、メモリアクセスユニッ
ト2の中に書込データパψ7丁制御装置を含んで−る。
FIG. 1 is a system configuration diagram including a write data buffer control device of the present invention, where 1 is an execution unit, 2 is a memory access unit, and 3 is a memory. Contains equipment.

第’Nl!Jは、本発明の一実施例を示すプロ!夕図で
、メモリアクセフェニット2内に設けられ九本発明の書
込データバ!ファ制御装置の概略を示すプロ雫り図であ
る。
No.'Nl! J represents an embodiment of the present invention! In the evening view, there are nine write data bars of the present invention provided in the memory access unit 2! FIG. 2 is a schematic diagram showing an outline of a firmware control device.

実行エニット1が書込データをメモリアクセス制御部)
2に転送する場合、書込データ22を供給するとともに
、ストローブ信号21を、11@にすることにより書込
デーンバダファ制御回路lOを起動する。
Execution unit 1 sends the write data to the memory access control unit)
2, the write data 22 is supplied and the strobe signal 21 is set to 11@ to activate the write data buffer control circuit IO.

書込データバダファ制御回路10ではJ書込データバダ
7711が満杯でなければ受付通知信号29を実行ユニ
雫)IK送りて、書込データ22が受付けられたことを
知らせる。これと同時に書込ポインタレジスタ12に格
納されていたアドレス31によ)書込データバダファ1
1のワード位置に書込データ22を書き込み、骸ワード
の書込データ有効表示ピリドを@l”にし、書込ポイン
タレジスタ12を歩道する。
If the J write data buffer 7711 is not full, the write data buffer control circuit 10 sends an acceptance notification signal 29 (IK) to notify that the write data 22 has been accepted. At the same time, the address 31 stored in the write pointer register 12) write data buffer 1.
The write data 22 is written in the word position 1, the write data valid display period of the blank word is set to @l'', and the write pointer register 12 is passed.

一方、メモリアクセス制御部ト2の別の制御部(図記載
なし)は実行z=ヴ・ト1からの任意のタイ電ングに受
付けたメモリアクセス要求を処理し論理アドレスに対す
る実アドレスが求まった時点で書込または読出を判、断
し、書込ならけ指示信号28の状態を判断する。指示信
号28はデータ有効表示ビット40のすべてが@0”か
どうかの論理積否定がゲート43でとられた結果でTo
)、読めポインタレジスタ13で示すワードの書込デー
タ有効表示ビットが10であれば、@1”となる。
On the other hand, another control unit (not shown in the figure) of the memory access control unit 2 processes the memory access request received at any timing from the execution unit 1 and obtains the real address for the logical address. Writing or reading is determined at the time, and the state of the write instruction signal 28 is determined. The instruction signal 28 is the result of the logical product negation of whether all of the data valid display bits 40 are @0'' at the gate 43.
), if the write data valid indication bit of the word indicated by the read pointer register 13 is 10, it becomes @1''.

第3図は、第2図に示す書込データパg7ア制御回路1
0の一例の詳細を示す回路図で、書込データパブファ1
1のワード数が4の場合について示す。
FIG. 3 shows the write data path control circuit 1 shown in FIG.
0 is a circuit diagram showing details of an example of the write data pub file 1.
The case where the number of words in 1 is 4 will be shown.

データ有効表示ピッ)4Gは書込データバダファ!1の
各ワード対応にlビψトずつ有し、′1”で有効、@0
°で無効を示す。
Data valid display beep) 4G is write data badafa! It has l bit ψ for each word of 1, valid at '1', @0
° indicates invalid.

実行ユニットlからのストローブ信号2[が有効となっ
た時、データ有効表示ピッ)40が全て@1”アない場
合、すなわち、書込データパ曽ファ11が満杯でない場
合に、ゲート42が開き、アドレス31によりデコーダ
41の出力が有効と&シ、書込ポインタレジスタ12で
示されるワードのデータ有効表示ビv)40が”l”に
セットされる。指示信号2Bは発生するメモリ3への書
込要求に対応する書込データ22の有効状態を示す。な
お、この書込データバッファ11は書き込まれた順に読
み出されるように制御されているのて指示信号2Bが有
効であれば、アドレさ25で示される読出データ位置め
データ有効表示ビット40は少なくも有効である゛こと
が保証されている。
When the strobe signal 2 from the execution unit 1 becomes valid, the gate 42 opens when the data valid display pins 40 are not all @1'', that is, when the write data buffer 11 is not full. When the output of the decoder 41 is valid by the address 31, the data valid indicator bit 40 of the word indicated by the write pointer register 12 is set to "L". This shows the valid state of the write data 22 corresponding to the write request.This write data buffer 11 is controlled to be read in the order in which it was written, so if the instruction signal 2B is valid, the address 25 is It is guaranteed that the read data position data valid display bit 40 shown by is at least valid.

メモリアクセス制御部へ送られる指示信号22が有効な
らばメモリ3へO書込起動がなされ、完了すると指示信
号27を有効とする。これによ)デコーダ440出力が
有効となり読出ポインタレジスタ13で示されるワード
のデータ有効表示ピッ)4Gがリセットされる。さらに
、読出ポインタレジスタ134歩道される。
If the instruction signal 22 sent to the memory access control section is valid, O writing to the memory 3 is started, and upon completion, the instruction signal 27 is made valid. As a result, the output of the decoder 440 becomes valid, and the data valid display pin 4G of the word indicated by the read pointer register 13 is reset. Additionally, the read pointer register 134 is read.

第4図は第2図に示すキャンセル制御回路14の一例の
詳細を示す回路図である@ 実行ユニット!かもの書込中ヤンセルは書込キャンセル
を起動信号35により起動される。
FIG. 4 is a circuit diagram showing details of an example of the cancel control circuit 14 shown in FIG. 2 @Execution unit! During the writing process, Jansel is activated by the write cancel activation signal 35.

キャンセル制御回路14ではメモリアクセス制御部から
のキャンセル許可信号33が@11″Imであれば、午
ヤンセル信号32により読出ポインタレジスタ13およ
び書込ポインタレジスタ12のデータ有効表示ビv)を
初期状態にリセットする。
In the cancel control circuit 14, if the cancel permission signal 33 from the memory access control section is @11''Im, the data valid display bit v) of the read pointer register 13 and the write pointer register 12 is set to the initial state by the Jansel signal 32. Reset.

キャンセル許可信号33が@ 0 @の場合キャンセル
待フリψプ70雫プロ0t”l@とし、キャンセル許可
信号33が11”となるのを待つ。また、書込キャンセ
ル起動信号35はキャンセル待信号36とゲート61で
論理和がとられ、キャン七ル指示信号34がメモリアク
セス制御部に送られる。
When the cancel permission signal 33 is @0 @, the cancellation wait flip ψ 70 drop program is set to 0t"l@, and waits until the cancel permission signal 33 becomes 11". Further, the write cancel activation signal 35 is logically summed with the cancel wait signal 36 at a gate 61, and a cancel instruction signal 34 is sent to the memory access control section.

メモリアクセス制御部からのキャンセル許可信号33は
メモリアクセス二二雫ト2が論理アドレスから実アドレ
スへの変換を終了し書込データ22も有効状態でメモリ
3への書込な起動する時点でメモリ3が使用中のため一
時起動が待たされる場合が存在するが、この場合のみ無
効とな)それ以外で祉常に有効であるように制御される
The cancel permission signal 33 from the memory access control unit is activated when the memory access controller 2 completes the conversion from a logical address to a real address and starts writing to the memory 3 with the write data 22 also in a valid state. 3 is in use, so activation may have to wait temporarily, but only in this case is it invalid.) Otherwise, it is controlled so that it is always valid.

本発明の書込データバーt77制御装置は、キャンセル
制御回路を追加することによ)実行ユニットからメモリ
へO書込要求に対し書込要求と書込データの時間関係を
自由とすることができるえめ性能を向上できると−う効
果がある。
By adding a cancel control circuit, the write data bar t77 control device of the present invention can freely set the time relationship between the write request and the write data in response to the O write request from the execution unit to the memory. This has the effect of improving the weight performance.

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

第1図は本発明の書込データパ977制御装置を含むシ
ステム構成図、第2図は本発明の一1!!施例を示すブ
ロック図、第3図は第2図に示す書込データバ977制
御回路の一例の詳細を示す回路図、第4図は第2図に示
す中ヤンセル制御回路の一例の詳細を示す回路図である
。 1・・・・・・実行エニ雫ト、2・・・・・・メモリア
クセスエニダト、3・・・・・・メモリ、4・・・・・
・書込データバッファ制御装置%IO・・・・・・書込
データバッファ制御回路、11・・・・・・書込データ
パーJ7ア、12.・・・・・・書込ポインタレジスタ
、!3・・・・・・読出ポインタレジスタ、14・・・
・・・中ヤン−に#制御回路、40・・・・・・データ
有効表示ビット、41・・・・・・デコーダ、42・・
・・・・ゲート%43・・・・・・ゲート、4゛4・・
・・・・デコーダ、60・・・・・・キャンセル待7リ
ツプフロププ、61・・・・・・ゲート、 21・・・・・・ストローブ信号、22・・・・・・書
込データ、23・・・・・・7)’1/J、25・・・
・・・アドレス、27・・・・・・指示信号、28・・
・・・・指示信号、29・・・・・・受付通知信号、3
1・・・・・・アドレス、32・・・・・・キャン*ル
信号、3 a・・・・・・中ヤンセル許可信号、34・
・・・・・キャンセル指示信号、35・・・・・・書込
中ヤンセル起動信号、36・・・・・・キャンセル待信
号。
FIG. 1 is a system configuration diagram including a write data pad 977 control device of the present invention, and FIG. ! A block diagram showing an embodiment, FIG. 3 is a circuit diagram showing details of an example of the write data bar 977 control circuit shown in FIG. 2, and FIG. 4 shows details of an example of the middle Jansel control circuit shown in FIG. 2. It is a circuit diagram. 1...Any execution, 2...Memory access, 3...Memory, 4...
-Write data buffer control device %IO...Write data buffer control circuit, 11...Write data par J7a, 12. ...Write pointer register! 3... Read pointer register, 14...
...In the middle, #control circuit, 40...Data valid display bit, 41...Decoder, 42...
...Gate%43...Gate, 4゛4...
... Decoder, 60 ... Cancellation wait 7 lip flop, 61 ... Gate, 21 ... Strobe signal, 22 ... Write data, 23 ... ...7) '1/J, 25...
...Address, 27...Instruction signal, 28...
...Instruction signal, 29...Reception notification signal, 3
1...address, 32...cancel signal, 3a...middle Jansel permission signal, 34...
...Cancel instruction signal, 35...Yansel activation signal during writing, 36...Cancellation wait signal.

Claims (1)

【特許請求の範囲】[Claims] (1)  メモリへの書込データを・バッファリングす
る書込データバッファと、実行エニフトから前記書込デ
ータパ97アへの格納、g!求に応答して前記書込デー
タバッツγに空きかなけれと拒絶し空きがあれ杖格納位
置を決定・し前記書込データを決定された前記格納位置
に格納するとともにこの格納位置のデータが有効状態と
する書込データハ、ファ制御回路と、補記メモリへの書
込起動に応答し前記書込データバッファの格納位置が有
効状態か否かを判断し有効ならば前記メモリへの書込起
動□を行なったのちKこの有効状態の解除を行な一有効
状態でなゆれは有効状態となるまで前・記書込起動を抑
止するキャンセル□制御回路とを含むことを特徴とする
書込データパ豐ファ制御装置。 (2、特許請求の範囲(1)記載のキャンセル制御回路
力、実行ユニットからのメモリアクセス散消信号に応嚇
しデータの有効状態およびメモリへの書込起−の状態を
判定しデー′−の有効状態およびメモリへの書込要求の
少なくとも一方を取消す′ことができることをllll
−と′する書込データバ雫ファ制御装置。 □ 。
(1) A write data buffer for buffering write data to the memory, and storage from the execution end to the write data path 97a, g! In response to the request, the write data bar γ is rejected as there is no space, and if there is space, a storage position is determined, and the write data is stored in the determined storage position, and the data at this storage position is valid. In response to the start of writing to the supplementary memory, the control circuit determines whether the storage position of the write data buffer is in a valid state, and if it is valid, starts writing to the memory. The write data controller is characterized in that it includes a cancel control circuit for canceling the valid state and suppressing the start of the write operation until the valid state is reached. Fa control device. (2. The cancel control circuit described in claim (1) responds to the memory access dissipation signal from the execution unit and determines the valid state of the data and the state of writing to the memory. 'cancel' the valid state of
- A write data buffer control device. □.
JP56107739A 1981-07-10 1981-07-10 Write data buffer control device Pending JPS589274A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56107739A JPS589274A (en) 1981-07-10 1981-07-10 Write data buffer control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56107739A JPS589274A (en) 1981-07-10 1981-07-10 Write data buffer control device

Publications (1)

Publication Number Publication Date
JPS589274A true JPS589274A (en) 1983-01-19

Family

ID=14466723

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56107739A Pending JPS589274A (en) 1981-07-10 1981-07-10 Write data buffer control device

Country Status (1)

Country Link
JP (1) JPS589274A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61107434A (en) * 1984-10-31 1986-05-26 Hitachi Ltd Data processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61107434A (en) * 1984-10-31 1986-05-26 Hitachi Ltd Data processor

Similar Documents

Publication Publication Date Title
US5659797A (en) Sparc RISC based computer system including a single chip processor with memory management and DMA units coupled to a DRAM interface
US5283883A (en) Method and direct memory access controller for asynchronously reading/writing data from/to a memory with improved throughput
US4805098A (en) Write buffer
JP2821534B2 (en) Dual port random access memory device
JPH0619752B2 (en) Data transfer method and device
JPH02223091A (en) Computer memory system
US4814977A (en) Apparatus and method for direct memory to peripheral and peripheral to memory data transfers
JPS589274A (en) Write data buffer control device
JPH0227696B2 (en) JOHOSHORISOCHI
JPS6027976A (en) First-in first-out memory device
JP2574821B2 (en) Direct memory access controller
JPS60134956A (en) Information processing system
JPS6391756A (en) Partial write instruction processing system for storage device
JPS5854478A (en) Controlling method of main storage
JPS601656B2 (en) buffer memory circuit
JPH06301600A (en) Storage device
JPS6232832B2 (en)
JPH0370816B2 (en)
JPH06103148A (en) Write buffer
JPS6327795B2 (en)
JPS61117651A (en) Interface device
JPS6321276B2 (en)
JPS6349815B2 (en)
JPS59123913A (en) Dma access system
JPH01321534A (en) Cache memory device