JPS63251847A - Main storage device - Google Patents

Main storage device

Info

Publication number
JPS63251847A
JPS63251847A JP8616087A JP8616087A JPS63251847A JP S63251847 A JPS63251847 A JP S63251847A JP 8616087 A JP8616087 A JP 8616087A JP 8616087 A JP8616087 A JP 8616087A JP S63251847 A JPS63251847 A JP S63251847A
Authority
JP
Japan
Prior art keywords
word
data
main memory
address
submemory
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
JP8616087A
Other languages
Japanese (ja)
Inventor
Masayuki Otaka
大鷹 正之
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 JP8616087A priority Critical patent/JPS63251847A/en
Publication of JPS63251847A publication Critical patent/JPS63251847A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve the overall processing capacity of a system by performing the simultaneous reading and writing jobs over two words by an amount equal to the 1-word length when data are transferred over the word boundary between a main memory and a main memory access device and arranging the data on a bus to end the reading and writing jobs while the 1-word data is transferred. CONSTITUTION:The 1-word length data is read out of an address w0 shown by an intra-word selection address bus 30 in an address w1 shown by a word selection address bus 29 by an access request given from a main memory access device 15. Under such conditions, both the data on a submemory covering the w0-th place through the n-th place of a submemory address w1 and the data on the submemory covering the 0-th place through the (w0-1)-th place of a submemory address (w1+1) are read out at one time. Then an intra-word array changing circuit, 19 rearranges those data into the 1-word length data as mw0,..., mn, m0,..., mw0-1. Thus the transfer of data is through in the bus cycle of a single time. Then the bus application rate is halved in terms of a single word for the transfer of data between a main memory 14 and the device 15. As a result, the overall system performance is improved.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、主記憶装置に関し、特に、主記憶装置内の番
地付がワード単位よりも細か<、  lワード長データ
の主記憶上の配置がワード境界をまたがることを許す主
記憶装置に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a main memory, and in particular, the addressing in the main memory is finer than the word unit, and the arrangement of word-length data in the main memory is in the word unit. Concerning main memory that allows boundaries to be crossed.

従来の技術 従来、lワード長データの主記憶上の配置がワード境界
をまたがることを許す主記憶装置において、第参図に示
す様に、アドレスバスJとデータバスダを介して主記憶
アクセス装置−と接続され。
2. Description of the Related Art Conventionally, in a main memory device that allows the arrangement of l-word length data in the main memory to cross word boundaries, the main memory access device and the connected.

アドレスバス3で指定の主記憶上のワードデータをデー
タバスダにのせてデータを転送する主記憶装置lは、l
ワード内がワード内アドレスo−nで番地付られている
が、主記憶アクセス装置コからのメモリアクセス着氷は
ワード単位の読み書きしかできず、ワードアドレスW、
  ワード内アドレスW。から始まるlワード長データ
をアクセスする場合にはサブメモリアドレスバスt、9
.tOにょりすべてのサブメモリr、A、?のアドレス
W、にアクセスし、サブメモリデータバス//、/J、
 /3ヲ介してデータm。1m1− mnの読み書きを
行う。このときにワード内アドレスW。がO以外であれ
ば主記憶アクセス装置コの方で判断し1次のワードアド
レスvr、+ /のワードについても同様にアクセスす
る。以上のコワードデータについては主記憶アクセス装
置コ内で合成し必要なlワードデータに変換する。
The main memory device l that transfers the word data in the main memory designated by the address bus 3 onto the data bus da is l
Words are addressed by word addresses o-n, but memory access from the main memory access device can only be read and written in word units, and word addresses W,
Address W in word. When accessing l-word length data starting from , submemory address bus t,9
.. All sub-memories r, A, ? accesses address W, of submemory data bus //, /J,
Data m via /3. Reads and writes 1m1-mn. At this time, the intra-word address W. If is other than O, the main memory access device makes a decision and similarly accesses the word at the primary word address vr, +/. The above co-word data is synthesized within the main memory access device and converted into necessary l-word data.

発明が解決しようとする問題点 しかしながら、上述した従来の主記憶装置には。The problem that the invention seeks to solve However, the above-mentioned conventional main storage device.

任意のアドレスの7ワード長データしか読み/書きしな
い場合でも、ワード間にまたがって主記憶上に配置され
ている場合には必ずコ回の主記憶アクセスサイクルを要
するという欠点がある。
Even when reading/writing only 7-word length data at an arbitrary address, there is a drawback that if the data is arranged on the main memory across words, it always requires 7 main memory access cycles.

本発明は従来の上記実情に鑑みてなされたものであり、
従って本発明の目的は、従来の主記憶装置に内在する上
記欠点を除去し、主記憶装置、主記憶アクセス装置間の
データ転送時のバス専有時間を低減することでシステム
全体の処理能力を向上させることを可能とした新規な主
記憶装置を提供することにある。
The present invention has been made in view of the above-mentioned conventional situation,
Therefore, an object of the present invention is to eliminate the above-mentioned drawbacks inherent in conventional main memory devices, and improve the processing capacity of the entire system by reducing the bus exclusive time during data transfer between the main memory device and the main memory access device. The object of the present invention is to provide a new main storage device that enables

問題点を解決するための手段 上記目的を達成する為に1本発明に係る主記憶装置は、
主記憶装置内の番地付が主記憶装置と主記憶アクセス装
置とのデータのやりとりの単位であるワード単位よ抄も
細か<、  lワード長データの主記憶上の配置がワー
ド境界をまたがることを許す主記憶装置において、ワー
ド内アドレス単位毎に同時に読み書き可能なサブメモリ
と、前記サブメモリへのアクセスのための7°ドレスデ
ータを生成するワード選択アドレス生成回路と、前記サ
ブメモリの入出力データをワード内で11番を変換する
ワード内配置変換回路とを含み構成され、前記主記憶装
置と主記憶アクセス装置とのワード境界にまたがるデー
タの転送時には前記ワード選択アドレス生成回路により
同時にλワードにわたって/ワード長分の読み/書きを
行い、前記ワード内配置変換回路によりバス上のデータ
を整列することでlワードデータの転送時間で完了する
ようにしたものである。
Means for Solving the Problems In order to achieve the above object, a main storage device according to the present invention includes:
Addressing in the main memory is as detailed as a word, which is the unit of data exchange between the main memory and the main memory access device. In a main memory device that allows reading and writing at the same time in each word address unit, a word selection address generation circuit that generates 7° address data for accessing the submemory, and input/output data of the submemory. and an intra-word placement conversion circuit that converts No. 11 within a word, and when data is transferred across a word boundary between the main memory device and the main memory access device, the word selection address generation circuit simultaneously converts the word placement across λ words. The reading/writing for /word length is performed, and the intra-word arrangement conversion circuit aligns the data on the bus, so that the transfer is completed in one word data transfer time.

実施例 次に本発明をその好ましい一実施例について図面を参照
して具体的に説明する。
Embodiment Next, a preferred embodiment of the present invention will be specifically explained with reference to the drawings.

第7図は本発明の一実施例を示すブロック構成図である
FIG. 7 is a block diagram showing an embodiment of the present invention.

8g1図において1本発明の一実施例は、lワード長デ
ータの主記憶上での配置をワード境界にまたがることを
許す主記憶装置/lであり、主記憶アクセス装置 /l
 (!ニアドレスバス16.テータバス17により接続
されている。主記憶装置/りはn+/個のサブメモリX
、−/、:、1と、ワード選択アドレス生成回路/gと
、ワード内配置変換回路19とから構成され、サブメモ
リm、2/、Wへのアクセスはそれぞれサブメモリアド
レスバスnl評、コとサブメモリデータバスコ4.27
.Hにより独立にアクセスされ、それぞれのアクセスデ
ータ値を口。1m、。
8g1 In Figure 1, one embodiment of the present invention is a main memory device/l that allows l word length data to be arranged on the main memory across word boundaries, and a main memory access device/l.
(!Connected by near address bus 16 and data bus 17.The main memory device has n+/submemories X
, -/, :, 1, a word selection address generation circuit /g, and an intra-word layout conversion circuit 19. Access to submemories m, 2/, and W is provided by submemory address buses nl and co, respectively. and submemory data busco 4.27
.. independently accessed by H and each accessed data value. 1m.

・・・1mnとする。ワード選択アドレス生成回路/g
はアドレスバス/6中のワード選択アドレスW、を示す
ワード選択アドレスバスコ9とワード内選択アドレスW
oを示すワード内選択アドレスバス30を入力としてア
ドレスW1 、 Woの値により第2図の動作表に従っ
てサブメモリアドレスをサブメモリアドレスバス23.
コ弘、コ5上に生成する。
...1mn. Word selection address generation circuit/g
is the word selection address W in the address bus /6, and the word selection address bus 9 and the word selection address W in the word
The sub-memory address is input to the intra-word selection address bus 30 indicating W1 and Wo, and the sub-memory address is set on the sub-memory address bus 23.0 according to the operation table of FIG.
Kohiro, generates on Ko5.

ワード内配置変換回路/デは、ワード内選択アドレスW
。を示すワード内選択アドレスバス30ヲ入力として、
第3図の動作表に従ってデータバス17とサブメモリデ
ータバスコ、コク、コ上のデータm。。
The intra-word placement conversion circuit/de selects the intra-word selection address W.
. As an input to the in-word selection address bus 30 indicating
Data m on the data bus 17 and submemory data buses CO, CO, CO according to the operation table shown in FIG. .

ml # mnとの対応関係を変換する。Convert the correspondence with ml # mn.

主記憶装置/IIは、従来方式と同様アドレスバス/6
とデータバス/7で主記憶アクセス装[/&と接続され
ているが、主記憶アクセス装置lSからのアクセス要求
でワード選択アドレスバス2qで示されるvrIe地内
のワード内選択アドレスバス30で示されるW。#li
地からのlワード長データを読出しする場合に、サブメ
モリアドレスW、のW。番目からn@目までのサブメモ
リのデータとサブメモリアドレスW1 + /のO番目
からWg−/番目までのすブメモリのデータを一度に続
出し、ワード内配置変換回路19により−、”・1mn
 * ma r ”’1 mwO−1の/ワ−ド長デー
タに並べかえを行い、1回のバスサイクルでデータ転送
を完了する。
The main memory device /II is connected to the address bus /6 as in the conventional system.
is connected to the main memory access device [/& by the data bus /7, but in response to an access request from the main memory access device IS, the word selection address bus 30 in the vrIe field, indicated by the word selection address bus 2q, is connected to the main memory access device [/&]. W. #li
When reading l-word length data from the sub-memory address W. The data of the submemory from the n@th submemory and the data of the submemory from the 0th to Wg−/th of the submemory address W1 + / are sequentially outputted at the same time, and the intra-word arrangement conversion circuit 19 converts the data to −, “・1mn
* mar "'1 The data is rearranged into /word length data of mwO-1, and the data transfer is completed in one bus cycle.

書込についても同様であるが、ワード内配置変換回路1
9は読出の逆の動作となる。
The same applies to writing, but the intra-word placement conversion circuit 1
9 is an operation opposite to reading.

本実施例においては、主記憶装置と主記憶アクセス装置
間のデータ転送がlワードについてみるとバス使用率が
半減し、主記憶アクセス装装置のバス空き待ち時間によ
る処理能力の低下を防ぐことができる。
In this embodiment, when the data transfer between the main memory device and the main memory access device is performed for one word, the bus usage rate is halved, and it is possible to prevent the main memory access device from deteriorating its processing capacity due to the bus free waiting time. can.

発明の詳細 な説明したように1本発明によれば、主記憶装置内部で
不要なメモリアクセスを省きバスサイクルを有効に使う
ことにより、バス性能の向上ひいてはシステム全体の性
能向上を図ることができる。
DETAILED DESCRIPTION OF THE INVENTION According to the present invention, by eliminating unnecessary memory accesses within the main storage device and effectively using bus cycles, it is possible to improve bus performance and, by extension, the performance of the entire system. .

筐た本発明だよれば、従来ソフトウェアによりメモリ使
用効率を悪くしてデータを意識的にワード境界となるよ
うな配置を行い性能向上を図っていた方式と比較しても
性能上は変わらない等の効果が得られる。
According to the present invention, there is no difference in performance compared to conventional methods that use software to reduce memory usage efficiency and intentionally place data on word boundaries to improve performance. The effect of this can be obtained.

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

@1図は本発明に係る主記憶装置の一実施例を示すブロ
ック構成図、第一図は第1図で示しだワード選択アドレ
ス生成回路の動作衣、第3図は第7図で示したワード内
配置変換回路の動作表、第q図は従来の主記憶装置の構
成を示すブロック図である。 /、/’I・・・主記憶装置It、コ、/!・・・主記
憶アクセス装置、3./A・・・アドレスバス、4(、
/?・・・f−11バス、j、  A、  ?、 a、
 2/、 22・・・サブメモリ、g。 デ、 10.23.2:I、 、25・・・サブメモリ
アドレスバス。 //、/コ、13.ム、−7,2g・・・サブメモリデ
ータバス。
@Figure 1 is a block configuration diagram showing an embodiment of the main memory device according to the present invention, Figure 1 is the operation of the word selection address generation circuit shown in Figure 1, and Figure 3 is the same as shown in Figure 7. FIG. q of the operation table of the intra-word rearrangement conversion circuit is a block diagram showing the structure of a conventional main memory device. /, /'I... Main memory It, ko, /! ...main memory access device, 3. /A...address bus, 4(,
/? ...f-11 bus, j, A, ? , a,
2/, 22... sub memory, g. De, 10.23.2: I, , 25...Sub memory address bus. //, /ko, 13. -7,2g...Sub memory data bus.

Claims (1)

【特許請求の範囲】[Claims] 主記憶装置内の番地付が主記憶装置と主記憶アクセス装
置とのデータのやりとりの単位であるワード単位よりも
細かく、1ワード長データの主記憶上の配置がワード境
界をまたがることを許す主記憶装置において、ワード内
アドレス単位毎に同時に読み書き可能なサブメモリと、
前記サブメモリへのアクセスのためのアドレスデータを
生成するワード選択アドレス生成回路と、前記サブメモ
リの入出力データをワード内で順番を変換するワード内
配置変換回路とを含み、前記主記憶装置と主記憶アクセ
ス装置とのワード境界にまたがるデータの転送時には前
記ワード選択アドレス生成回路により同時に2ワードに
わたつて1ワード長分の読み/書きを行い、前記ワード
内配置変換回路によりバス上のデータを整列することで
1ワードデータの転送時間で完了することを特徴とする
主記憶装置。
Addressing within the main memory is finer than the word unit, which is the unit of data exchange between the main memory and the main memory access device, and allows the arrangement of 1-word length data in main memory to straddle word boundaries. In the storage device, a submemory that can be read and written simultaneously in each word address unit;
The main storage device includes a word selection address generation circuit that generates address data for accessing the submemory, and an intraword arrangement conversion circuit that converts the order of input/output data of the submemory within a word. When transferring data across word boundaries with the main memory access device, the word selection address generation circuit simultaneously reads/writes one word length over two words, and the intra-word arrangement conversion circuit converts the data on the bus. A main memory device characterized in that by aligning the data, the transfer can be completed in one word of data transfer time.
JP8616087A 1987-04-08 1987-04-08 Main storage device Pending JPS63251847A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8616087A JPS63251847A (en) 1987-04-08 1987-04-08 Main storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8616087A JPS63251847A (en) 1987-04-08 1987-04-08 Main storage device

Publications (1)

Publication Number Publication Date
JPS63251847A true JPS63251847A (en) 1988-10-19

Family

ID=13878990

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8616087A Pending JPS63251847A (en) 1987-04-08 1987-04-08 Main storage device

Country Status (1)

Country Link
JP (1) JPS63251847A (en)

Similar Documents

Publication Publication Date Title
JPS63251847A (en) Main storage device
JP2550705B2 (en) Storage device
JPH02244350A (en) Main storage device access system
JPS5935262A (en) Storage device
JPS6215642A (en) Memory device for double access system
JPH0246967B2 (en)
JPH07175768A (en) Dual cpu system
JPH05120207A (en) Data transfer system
JPS63245743A (en) Memory access system
JPH04192058A (en) Data transfer storage device
JPS6217879Y2 (en)
JPS6145343A (en) Swapping control system
JPH04333950A (en) Information processing system
JPS6383854A (en) Data transfer circuit
JPS63225846A (en) Multiport memory with address conversion mechanism
JPH02129750A (en) Storage device
JPS61235968A (en) Data bus control system
JPH0421141A (en) External memory device
JPS63206855A (en) Data transmission equipment
JPH0594363A (en) Storage device
JPH0259841A (en) Extension memory control system
JPS6325717A (en) Data transfer circuit
JPH04247540A (en) System for transferring block between memories
JPH0727556B2 (en) Bus access method
JPS62130438A (en) Memory access system