Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS594742B2 - Data alignment control method - Google Patents
[go: Go Back, main page]

JPS594742B2 - Data alignment control method - Google Patents

Data alignment control method

Info

Publication number
JPS594742B2
JPS594742B2 JP51042021A JP4202176A JPS594742B2 JP S594742 B2 JPS594742 B2 JP S594742B2 JP 51042021 A JP51042021 A JP 51042021A JP 4202176 A JP4202176 A JP 4202176A JP S594742 B2 JPS594742 B2 JP S594742B2
Authority
JP
Japan
Prior art keywords
data
bytes
byte
information
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.)
Expired
Application number
JP51042021A
Other languages
Japanese (ja)
Other versions
JPS52125240A (en
Inventor
健太郎 三好
浩一 井上
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP51042021A priority Critical patent/JPS594742B2/en
Publication of JPS52125240A publication Critical patent/JPS52125240A/en
Publication of JPS594742B2 publication Critical patent/JPS594742B2/en
Expired legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C7/00Arrangements for writing information into, or reading information out from, a digital store
    • G11C7/10Input/output [I/O] data interface arrangements, e.g. I/O data control circuits, I/O data buffers

Landscapes

  • Executing Machine-Instructions (AREA)
  • Memory System (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Description

【発明の詳細な説明】 本発明は、データ整列制御方式、特にアクセス元装置と
の間の情報バスがPバイトのバス幅をもち、主記憶装置
との間の情報バスがmPバイトのバス幅をもち、かつ上
記主記憶装置が1回のアクセス要求によつてnmPバイ
ト分のデータが読出される如きデータ処理システムにお
いて、mPバイト・クロス検出手段とnmPバイト境界
検出手段とをもうけ、上記アクセス元装置に対して必要
なデータを整列せしめた上で転送するようにしたデータ
整列制御方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention provides a data alignment control method, in particular, an information bus between an access source device has a bus width of P bytes, and an information bus between a main storage device and a main storage device has a bus width of mP bytes. In a data processing system in which the main storage device has nmP bytes of data read out by one access request, mP byte cross detection means and nmP byte boundary detection means are provided, and the above access The present invention relates to a data alignment control method in which necessary data is aligned and then transferred to a source device.

バッファ・メモリを有するデータ処理システムにおいて
は、いわゆるブロック転送時に1回のアクセス要求によ
つて主記憶装置から例えば8〔バイト〕×4のデータが
読出さ法かつ8バイト単位で順次記憶制御装置に転送さ
れ、一方該記憶制御装置からアクセス元装置に対して4
バイト単位で転送される。
In a data processing system having a buffer memory, data of, for example, 8 [bytes] x 4 is read out from the main memory by a single access request during so-called block transfer, and is sequentially transferred to the storage controller in units of 8 bytes. On the other hand, from the storage control device to the access source device, 4
Transferred in bytes.

この場合、アクセス元装置は、必要とするデータが格納
されている先頭アドレス情報、必要とするデータのバイ
ト長指示情報、アツプ・ダウン指示情報などを発し、そ
れに対応したデータを所望状態に整列された状態で受取
るようにされる。
In this case, the access source device issues information such as the start address where the required data is stored, byte length instruction information for the required data, up/down instruction information, etc., and arranges the corresponding data in the desired state. The item will be received in the correct condition.

なおデータのバイト長指示情報は、上記4バイトのバス
幅の場合、1バイト、2バイト、3バイト、または4バ
イトのいずれかを指示するものであると考えてよい。ま
たアツプ・ダウン指示情報は、上記先頭アドレス位置か
ら前にさかのぼるべきかあるいは後にくだるべきかを指
示するものと考えてよい。しかし、上記の如きシステム
においては次の問題点をもつている。即ち、(1)アク
セス元装置が必要とする所望のバイト長のデータが、上
記主記憶装置から順次転送されてくる複数個の8バイト
単位にまたがつて存在していることがある。
Note that the data byte length instruction information may be considered to indicate one of 1 byte, 2 bytes, 3 bytes, or 4 bytes in the case of the bus width of 4 bytes. Further, the up/down instruction information may be considered to be an instruction as to whether to go back or forward from the above-mentioned top address position. However, the above system has the following problems. That is, (1) data of a desired byte length required by the access source device may exist across a plurality of 8-byte units sequentially transferred from the main storage device.

この場合、例えば最初に転送されてきた8バイト分中の
1部バイトと、後刻転送されてくる8バイト分中の1部
バイトとを組合わせて即ち整列し直して、アクセス元装
置に転送する必要が生ずる。(2)上記(1)の処理の
場合、先頭アドレス情報、バイト長指示情報、アツプ・
ダウン指示情報にもとずいて、正しい整列を得るように
することが必要である。
In this case, for example, one part of the first 8 bytes transferred and one part of the 8 bytes transferred later are combined, rearranged, and transferred to the access source device. A need arises. (2) In the case of the processing in (1) above, the start address information, byte length instruction information,
It is necessary to ensure that correct alignment is obtained based on the down indication information.

(3)また一般に主記憶装置は、スルー・フットを向上
するために、インタリーフをかけておくようにされてい
る。
(3) In general, main storage devices are interleaved in order to improve through-foot.

このため、上記(1)の処理に当つて、8バイト単位で
転送されてくるデータの順序がアドレス情報の順序の通
りとならず全くランダムとなるが、このための処理を正
しく行なうことが必要である。(4)更に上記の如く主
記憶装置からは1回のアクセス要求によつて32バイト
(8〔バイト〕×4)を読出すことができるが、アクセ
ス元装置が必要とする所望バイト長のデータが上記32
バイトの境界にまたがつていることがある。
Therefore, in processing (1) above, the order of the data transferred in 8-byte units does not follow the order of the address information and becomes completely random, but it is necessary to perform this process correctly. It is. (4) Furthermore, as mentioned above, 32 bytes (8 [bytes] x 4) can be read from the main memory with one access request, but data of the desired byte length required by the accessing device is above 32
May span byte boundaries.

この場合主記憶装置に対しては少なくとも2回のアクセ
ス要求を行なうことが必要となるが、このためのアクセ
ス要求をアクセス元装置が行なうようにすると処理がき
わめて繁雑となる。本発明は上記の点を解決することを
目的としており、例えば上記8バイト・クロス検出手段
と上記32バイト境界検出手段とをもうけ、上記整列制
御を正しく行ない得るようにすることを目的としている
。そしてそのため、本発明のデータ整列制御方式は1つ
または複数のアクセス元装置、アクセスの中介を行なう
記憶制御装置、および1回のアクセス要求にもとずいて
NmPバイト分のデータが読出される主記憶装置をそな
え、該主記憶装置と上記記憶制御装置との間にMPバイ
ト単位の情報バスをもつと共に上記記憶制御装置と上記
アクセス元装置との間にPバイト単位の情報バスをもつ
データ処理システムにおいて、上記アクセス元装置が発
するアドレス情報中の予め定めたビツト情報とアツプ・
ダウン指示情報とバイト長指示情報とにもとずいて、上
記アクセス元装置に転送すべきデータが上記MPバイト
単位の複数個にまたがることを検出するMPバイト・ク
ロス検出手段と上記NmPバイトの境界にまたがつてい
ることを検出するNmPバイト境界検出手段とをもうけ
ると共に、上記主記憶装置から転送されてくるMPバイ
ト単位のデータがセツトされる第1のレジスタ、該第1
のレジスタの内容を一時退避する第2のレジスタ、およ
び入力されたデータを整列し直す整列回路をもうけ、上
記MPバイト・クロス検出手段の検出出力にもとずいて
上記第1のレジスタの内容を上記第2のレジスタに退避
せしめ、後刻上記第1のレジスタにセツトされた内容と
上記第2のレジスタの内容とを上記整列回路に導びくよ
うにし、更に、上記NrnPバイト境界検出手段の検出
出力にもとずいて、上記記憶制御装置が上記アツプ・ダ
ウン指示情報をみて自律的に上記主記憶装置に対してア
クセス要求を発するようにすると共に上記アクセス元装
置に転送すべきデータを上記整列回路によつてPバイト
単位に整夕1ルた上で当該アクセス元装置に転送するよ
うにしたことを特徴としている。以下図面を参照しつつ
説明する。第1図は本発明が適用されるデータ処理シス
テムの一実施例構成、第2図はアクセス元装置からのア
クセス要求に伴なつて与えられる一実施例情報、第3図
は整列制御に当つての問題点を説明する説明図、第4図
は8バイト・クロス発生条件をまとめて表わした説明図
、第5図は記憶Fbl脚装置内にもうけられる本発明に
よる自律的アクセス要求制御部の一実施例構成、第6図
は本発明による整列制御部の一実施例構成、第7図は第
6図に示す各ゲート匍脚をまとめて表わした説明図、第
8図AないしDは本発明による整列制御を具体例によつ
て説明する説明図を示す。
In this case, it is necessary to make at least two access requests to the main storage device, but if the access source device makes these access requests, the processing becomes extremely complicated. The present invention is aimed at solving the above-mentioned problems, and for example, by providing the above-mentioned 8-byte cross detection means and the above-mentioned 32-byte boundary detection means, it is an object of the present invention to enable the above-mentioned alignment control to be performed correctly. Therefore, the data alignment control method of the present invention can be applied to one or more access source devices, a storage control device that mediates access, and a main device from which NmP bytes of data are read based on one access request. Data processing comprising a storage device, an information bus in MP bytes between the main storage device and the storage control device, and an information bus in P bytes between the storage control device and the access source device. In the system, the predetermined bit information in the address information issued by the access source device and the
MP byte cross detection means for detecting that data to be transferred to the access source device spans a plurality of MP byte units based on the down instruction information and the byte length instruction information; and the NmP byte boundary. a first register in which data in units of MP bytes transferred from the main memory is set;
A second register temporarily saves the contents of the register, and a sorting circuit that rearranges the input data, and reads the contents of the first register based on the detection output of the MP byte cross detection means. The contents set in the first register and the contents of the second register are later led to the alignment circuit, and the detection output of the NrnP byte boundary detection means is Based on this, the storage control device autonomously issues an access request to the main storage device based on the up/down instruction information, and the data to be transferred to the access source device is transmitted to the sorting circuit. This feature is characterized in that the information is read in units of P bytes and then transferred to the access source device. This will be explained below with reference to the drawings. Fig. 1 shows the configuration of an embodiment of a data processing system to which the present invention is applied, Fig. 2 shows an embodiment of information given in response to an access request from an access source device, and Fig. 3 shows arrangement control. FIG. 4 is an explanatory diagram illustrating the problem. FIG. 4 is an explanatory diagram summarizing the 8-byte cross occurrence conditions. FIG. Embodiment configuration, FIG. 6 is an embodiment configuration of an alignment control section according to the present invention, FIG. 7 is an explanatory diagram showing all the gate legs shown in FIG. 6, and FIGS. An explanatory diagram illustrating alignment control using a specific example is shown.

第1図において、1は主記憶装置、2はメモリ・アクセ
ス制御回路、3−0ないし3−3は夫々バンクで互に独
立にアクセス可能であり例えば8バイト分のデータを一
度に読出し得るもの、4は記憶制御装置であつてアクセ
ス処理を中介するもの、5は順序管理部であつて主記憶
装置1から転送されてくる8バイト単位のデータについ
て当該データの格納位置即ちアドレス情報を管理するも
の、6はバツフア・メモリであつて従来一般に各中央処
理装置CPUにもうけられているものをまとめて記憶制
御装置4内に設置されているもの、7A,7B,・・・
・・・は夫々アクセス元装置、9は8バイトのバス幅を
もつ情報バス、10A,10Bは夫々4バイトのバス幅
をもつ情報バスを表わしている〇今例えばアクセス元装
置7Aがアクセス要求を行なつた結果、主記憶装置1に
対して読出しアクセスが行なわれる如き場合、記憶制御
装置4は該アクセスの中介を行なう。
In FIG. 1, 1 is a main memory, 2 is a memory access control circuit, and 3-0 to 3-3 are banks that can be accessed independently from each other and can read, for example, 8 bytes of data at once. , 4 is a storage control device that mediates access processing, and 5 is an order management unit that manages the storage location of 8-byte data transferred from the main storage device 1, that is, address information. Reference numeral 6 denotes a buffer memory, which is generally provided in each central processing unit CPU and is installed in the storage control device 4, 7A, 7B, . . .
. . . represent access source devices, 9 represents an information bus with a bus width of 8 bytes, and 10A and 10B represent information buses each with a bus width of 4 bytes. For example, if the access source device 7A requests an access, If a read access is made to the main storage device 1 as a result of this, the storage control device 4 mediates the access.

即ち記憶匍脚装置4は他のアクセス元装置からのアクセ
ス要求との優先順位決定処理やアクセス可能状態にある
バンクを調べるなどの処理を行ない、主記憶装置1から
例えば1プロツク即ち8バイト×4のデータを読出す処
理を行なう。そしてアクセス元装置7Aに対しては、当
該装置7Aが必要とするデータを4バイト単位に整夕1
ル直して転送するようにする。第2図は、上記読出し処
理を行なう場合に用いられる情報を表わしている。そし
て図中11はアドレス情報であつてビツトB8ないしB
3lによつて与えられるもの、ALOは整列可否を指示
する整列情報で論理「1」のとき整列処理を実行し論理
(イ)」のとき整列処理を実行しないことを指示するも
の、ALlはアツプ・ダウン指示情報で論理「1」のと
き前に遡ることを指示し論理「川のとき後に下ることを
指示するもの、LO,Llはバイト長指示情報で「00
」のとき1バイト長を指示し「01Jのとき2バイト長
を指示し「10」のとき3バイト長を指示し「11」の
とき4バイト長を指示するものを表わしている。第3図
は、主記憶装置1から8バイト単位で転送されてくるデ
ータを、アクセス元装置が必要とする形に整列し直す態
様を説明している。即ち今アクセス元装置7Aが、アド
レス情報としてビツトB27ないしB3lに「0001
0」を与えた形で、情報ALlを論理川、情報LO,L
lを値「10」としてアクセスした場合、主記憶装置1
から第3図図示バイトA,B,Cを含む8バイトを転送
してきたとき、バイトAを先頭とする斜線部分の4バイ
ト分を抽出してアクセス元装置7Aに転送することがで
きる。しかし、今ビツトB27ないしB3lに「011
10」を与え、情報ALlを論理「1」、情報LO,L
lを値「11Jとしてアクセスした場合には、主記憶装
置1から転送される第3図図示バイトNEを含む8バイ
トF,Gを含む8バイトから所望の4バイトD,E,F
,Gを整夕1ル直して、アクセス元装置7Aに転送する
ことが必要となる。またビツトB27ないしB3lに「
10001」を与え、情報ALlを論理D」、情報LO
,Llを値[11」としてアクセスした場合にも同様に
バイトF,Gを含む8バイトとバイトD,Eを含む8ノ
z卜とから所望の4バイトD,E,F,Gを整列し直し
て、アクセス元装置7Aに転送することが必要となる。
更にビツトB27ないしB3lに「11110」を与え
、情報ALlを論理「1」、情報LO,Llを値「11
1としてアクセスした場合には、第1回目のアクセス要
求によつて主記憶装置1から転送されてくる第3図図示
バイトH,Iを含む8バイトと、今1度第2回目のアク
セス要求を発しこれによつて主記憶装置1から転送され
てくる第3図図示バイトJ,Kを含む8バイトから、バ
イトH,I,J,Kをまとめることが必要となる。また
ビツトB27ないしB3lに「00001Uを与え、情
報ALlを論理「O」、情報LO,Llを値「11」と
してアクセスした場合にも、同様に2回分のアクセス要
求を発した上でバイトH,I,J,Kをまとめることが
必要となる。このため、本発明の場合、アクセス元装置
が必要とするデータ長のデータが例えばD,E,F,G
や几1,J,Kの如く複数の8バイト単位にまたがつて
いるか否かを検出するdバイト・クロス検出手段と、例
えばH,,J,Kの如く32バイトの境界にまたがつて
2回分のアクセス要求を必要とするか否かを検出するN
mPバイト境界検出手段とをもうけて、上記整列制御を
行なうようにしている。第4図は、第3図図示D,E,
F,GやH,I,J,Kの如く複数の8バイト単位にま
たがつていること即ち8バイト・クロス状態が生ずる態
様をまとめた図である。図中のB29ないしB3l,A
LO,Al,l,LO,Llは第2図に対応している。
また※印は論理「O」または「1」のいずれであつても
よいことを表わし、00は情報LO,Llが「00]
でないことを表わしている。第4図図示の態様以外にお
いては8バイトクロスは発生しない。第5図に関連して
後述する8バイト・タロス検出回路は、第4図に示す態
様の発生を検出するものである。第5図は本発明による
自律的アクセス要求制御部の一実施例構成を示している
。図中の符号11,b8ないしB3l,ALO,ALl
,LO,Llは第2図に対応し、12は8バイトクロス
検出回路、13は32バイト境界検出回路、14はダイ
ナミツク・アドレス・トランスレーシヨン回路部であつ
て与えられた論理アドレスを物理アドレスに変換するも
の、15はメモリ・アドレス・レジスタ、16はアドレ
ス情報ビツトB8ないしB3lに対して−4を加算する
加算器、17はアドレス情報ビツトB8ないしB3lに
対して+4を加算する加算器、18,19は夫々アンド
回路を表わしている。8バイト・クロス検出回路12は
第4図図示の態様発生を検出し、クロス発生時に論理「
1」を発する。
That is, the storage device 4 performs processing such as determining the priority order of access requests from other access source devices and checking which banks are accessible, and stores, for example, 1 block, or 8 bytes x 4, from the main storage device 1. Performs processing to read data. Then, for the access source device 7A, the data required by the device 7A is sent to the access source device 7A in 4-byte units.
Please fix the file and transfer it. FIG. 2 shows information used when performing the above reading process. 11 in the figure is address information, bits B8 to B.
3l, ALO is the alignment information that indicates whether or not alignment is possible, and when the logic is "1", the alignment process is executed, and when the logic is (a), the alignment process is not executed.・In the down instruction information, when the logic is "1", it instructs to go back, and when the logic is "river", it instructs to go down backwards.LO, Ll are byte length instruction information, and are "00".
'' indicates a 1-byte length, ``01J'' indicates a 2-byte length, ``10'' indicates a 3-byte length, and ``11'' indicates a 4-byte length. FIG. 3 explains how data transferred from the main storage device 1 in units of 8 bytes is rearranged into a format required by the access source device. That is, the access source device 7A now sets bits B27 to B3l as address information "0001".
0'', information ALl is a logical river, information LO, L
If l is accessed with the value "10", main memory 1
When 8 bytes including bytes A, B, and C shown in FIG. 3 are transferred from , the 4 bytes in the shaded area starting with byte A can be extracted and transferred to the access source device 7A. However, now the bits B27 to B3l are "011".
10'', information ALl is logical ``1'', information LO, L
When l is accessed with the value ``11J'', the desired 4 bytes D, E, F are transferred from the 8 bytes including the 8 bytes F and G including the byte NE shown in FIG.
, G must be properly aligned and transferred to the access source device 7A. Also, for bits B27 to B3l,
10001'', information ALl is logic D'', information LO
, Ll is accessed with the value [11], the desired 4 bytes D, E, F, and G are similarly arranged from the 8 bytes including bytes F and G and the 8 nodes including bytes D and E. It is necessary to correct the data and transfer it to the access source device 7A.
Furthermore, "11110" is given to bits B27 to B3l, information ALl is set to logic "1", and information LO and Ll are set to the value "11".
1, the 8 bytes including bytes H and I shown in FIG. It is necessary to assemble bytes H, I, J, and K from the 8 bytes including bytes J and K shown in FIG. Also, when bits B27 to B3l are given "00001U", information ALl is set to logic "O", information LO and Ll are accessed with value "11", two access requests are issued in the same way, and byte H, It is necessary to put I, J, and K together. Therefore, in the case of the present invention, the data of the data length required by the access source device is, for example, D, E, F, G.
A d-byte cross detection means for detecting whether or not a d-byte cross is detected across multiple 8-byte boundaries such as 1, J, and K; N to detect whether multiple access requests are required
mP byte boundary detection means is provided to perform the above alignment control. Figure 4 shows D, E shown in Figure 3,
7 is a diagram summarizing the manner in which the 8-byte cross state occurs, that is, 8-byte units such as F, G, H, I, J, and K are spread across a plurality of 8-byte units. B29 to B3l, A in the diagram
LO, Al, l, LO, Ll correspond to FIG.
Also, the * mark indicates that the logic can be either "O" or "1", and 00 means that the information LO, Ll is "00".
It means that it is not. An 8-byte cross does not occur in any case other than the mode shown in FIG. The 8-byte Talos detection circuit, which will be described later with reference to FIG. 5, detects the occurrence of the aspect shown in FIG. FIG. 5 shows the configuration of an embodiment of the autonomous access request control section according to the present invention. Code 11 in the figure, b8 to B3l, ALO, ALl
, LO, and Ll correspond to FIG. 2, 12 is an 8-byte cross detection circuit, 13 is a 32-byte boundary detection circuit, and 14 is a dynamic address translation circuit that converts a given logical address into a physical address. 15 is a memory address register, 16 is an adder that adds -4 to address information bits B8 to B3l, 17 is an adder that adds +4 to address information bits B8 to B3l, 18 and 19 each represent an AND circuit. The 8-byte cross detection circuit 12 detects the occurrence of the mode shown in FIG.
1” is emitted.

また32バイト境界検出回路13において、アンド回路
18がオンされる状態は、第3図図示バイトKが先頭ア
ドレス情報によつて指示されてバイトH,I,J,Kの
如く32バイト境界にまたがる状態に対応している。こ
のため、加算器16は、ビツトB8ないしB3lをもつ
て与えられたアドレス情報に対して−4を加算してダイ
ナミツク・アドレス・トランスレーシヨン回路部14に
導びく。またアンド回路19がオンされる状態は、第3
図図示バイトHが先頭アドレス情報によつて指示されて
バイトH,,J,Kの如く32バイト境界にまたがる状
態に対応している。このため、加算器17は、ビツトB
8ないしB3lをもつて与えられたアドレス情報に対し
て+4を加算してダイナミツク・アドレス・トランスレ
ーシヨン回路部14に導びく。即ち、第5図図示の構成
は、記憶制御装置4が自律的にアクセス要求を発する構
成を表わしている。第6図は本発明による整列制御部の
一実施例構成を示している。図中の符号20−Eおよび
200は本発明にいう第1のレジスタ、21は本発明に
いう第2のレジスタ、22は整列回路、23は整列回路
Fbl脚部、G1ないしG6は夫々ゲートを表わしてい
る。そして、各ゲートG1ないしG6は夫々第7図に示
す条件のもとでオンされる。なお、上述した如く、本発
明の場合、主記憶装置1にはインタリーフがかけられて
いる。このため1回のアクセスによつて情報バス9(第
1図?介して転送されてくる8バイト単位情報は、アド
レス情報中のビツトB27,b28が「00」をとる8
バイト単位の情報から順番に到来するとは限らない。こ
の順番の管理は第1図図示の順序管理部5によつて管理
されている。第7図中において(反転)として表わされ
ている信号は、上記順序が逆転したとき論理「1」とさ
れるものと考えてよい。第7図を参照すると明らかな如
く、例えばゲートG1は、(l)8バイト・クロスが発
生し且つビツトB29が論理「1」であるとき、または
(Ii)上記反転信号が発せられ且つビツトB29が論
理「1」であるときにオンされ、レジスタ20−0にセ
ツトされたデータを第2のレジスタ21内に退避せしめ
る。第8図AないしDは本発明による整列制御を具体的
によつて説明する説明図を示している。そして図中の符
号は第6図に対応している。今第8図A図示の如くアド
レス情報中のビツトB27ないしB3lが「01110
」を指示し、情報ALOが論理「1」、情報ALlが論
理「1」、情報LO,Llが値「11」を指示している
ものとすると、アクセス元装置が必要としているデータ
は第8図B中に斜線で表わす4バイトである。このとき
主記憶装置1からは、ビツトB27,b28が「00]
,「01],「10」,「11」をとる各8バイト単位
の情報がランダムに転送されてくる。第8図Cは、バイ
トF,Gを含む8バイト単位の情報がバイトD,Eを含
むそれよりも早く転送されてきた状態の処理を表わして
いる。また第8図Dは、その逆即ち反転信号が論理「0
]である正常順位の場合の処理を表わしている。第8図
C図示の場合、第7図を参照すると明らかな如く、バイ
トF)Gを含む情報を第2のレジスタ21に退避すべく
ゲートG2をオンする。次いで第2回目にバイトD,E
を含む情報が第1のレジスタ20−E,2O−0にセツ
トされたとき、ゲートG3とG6がオンされる。即ちバ
イトF,GとバイトD,Eとが整列回路22に導びかれ
る。整列回路22においては、図示矢印の如く整夕1ル
直され、バイトD,E,F,Gとしてアクセス元装置に
転送される。また第8図D図示の場合、バイトD,Eを
含む情報を第2のレジスタ21に退避すべくゲートG1
をオンする。次いで第2回目にバイトF,Gを含む情報
が第1のレジスタ20−E,2O−0にセツトされたと
き、ゲートG4とG5とがオンされる。即ちバイトF,
GとバイトD,Eとが整列回路22に導びかれる。整列
回路22においては、同様に整夕1ル直しが行なわれ、
バイトD,E,F,Gとしてアクセス元装置に転送され
る。なお、アクセス元装置が第3図図示バイトA,B,
Cの如きデータを必要としている場合、8バイト・クロ
ス状態は発生しない。このため、第7を参照すると明ら
かな如く、バイトA,B,Cを含む8バイト単位の情報
がレジスタ20−E,2O−0にセツトされたとき、ゲ
ートG4とG6がオンされ、直ちに整列回路22に導び
かれることは言うまでもない。以上説明した如く、本発
明によれば、アクセス元装置が必要とするデータに対応
して正しく整列匍脚を行なつた上でアクセス元装置に転
送することが可能となる。
In addition, in the 32-byte boundary detection circuit 13, the state in which the AND circuit 18 is turned on means that the byte K shown in FIG. corresponds to the condition. Therefore, the adder 16 adds -4 to the address information given with bits B8 to B3l and supplies the result to the dynamic address translation circuit section 14. Further, the state in which the AND circuit 19 is turned on is the state in which the AND circuit 19 is turned on.
The illustrated byte H is designated by the head address information and corresponds to a state where bytes H, , J, and K straddle a 32-byte boundary. Therefore, the adder 17
+4 is added to the address information given with 8 to B3l and the result is led to the dynamic address translation circuit section 14. That is, the configuration shown in FIG. 5 represents a configuration in which the storage control device 4 autonomously issues an access request. FIG. 6 shows the configuration of an embodiment of the alignment control section according to the present invention. Reference numerals 20-E and 200 in the figure are first registers according to the present invention, 21 is a second register according to the present invention, 22 is an alignment circuit, 23 is a leg of the alignment circuit Fbl, and G1 to G6 are respective gates. It represents. Each of the gates G1 to G6 is turned on under the conditions shown in FIG. 7, respectively. Note that, as described above, in the case of the present invention, the main storage device 1 is interleaved. For this reason, the 8-byte unit information transferred via the information bus 9 (Fig.
Information in bytes does not necessarily arrive in order. This order is managed by an order management section 5 shown in FIG. The signals indicated as (inverted) in FIG. 7 may be considered to be logic "1" when the above order is reversed. As can be seen with reference to FIG. 7, for example, gate G1 is activated when (l) an 8-byte cross occurs and bit B29 is logic "1", or (Ii) when the above inverted signal is asserted and bit B29 is is turned on when the logic is "1", and the data set in the register 20-0 is saved into the second register 21. FIGS. 8A to 8D show explanatory diagrams specifically explaining the alignment control according to the present invention. The symbols in the figure correspond to those in FIG. Now, as shown in FIG. 8A, bits B27 to B3l in the address information are "01110".
”, information ALO indicates logic “1”, information AL1 indicates logic “1”, and information LO, L1 indicates value “11”, the data required by the access source device is the 8th The 4 bytes are indicated by diagonal lines in Figure B. At this time, bits B27 and b28 from the main storage device 1 are set to “00”.
, "01", "10", and "11", each 8-byte unit of information is randomly transferred. FIG. 8C shows a process in which 8-byte information including bytes F and G is transferred earlier than information including bytes D and E. In addition, in FIG. 8D, the reverse, that is, the inverted signal is logic "0".
] represents the processing in the case of a normal ranking. In the case shown in FIG. 8C, as is clear from FIG. 7, gate G2 is turned on to save information including bytes F) and G to the second register 21. Next, part-time jobs D and E for the second time.
When the information containing the information is set in the first registers 20-E and 2O-0, gates G3 and G6 are turned on. That is, bytes F and G and bytes D and E are led to the alignment circuit 22. In the sorting circuit 22, the data is sorted as shown by the arrow in the figure, and transferred as bytes D, E, F, and G to the access source device. In addition, in the case shown in FIG. 8D, the gate G1 is used to save information including bytes D and E to the second register 21.
Turn on. Then, when the information including bytes F and G is set in the first registers 20-E and 2O-0 for the second time, gates G4 and G5 are turned on. That is, byte F,
G and bytes D and E are led to an alignment circuit 22. In the alignment circuit 22, the alignment is similarly adjusted.
Transferred to the access source device as bytes D, E, F, and G. Note that the access source device is the bytes A, B, and
If you need data such as C, an 8-byte cross condition will not occur. Therefore, as is clear from No. 7, when information in units of 8 bytes including bytes A, B, and C is set in registers 20-E and 20-0, gates G4 and G6 are turned on and the data is immediately aligned. Needless to say, it is guided to the circuit 22. As described above, according to the present invention, it is possible to correctly align and mount the data according to the data required by the access source device and then transfer the data to the access source device.

また例え主記憶装置に対して複数回のアクセス要求を与
えることが必要となつたとしても、アクセス元装置はそ
れに全く関与せず、記憶制御装置が自律的にアタセス要
求を行なうようにしている。即ち本願明細書冒頭に述べ
た問題点をすべて解決している。
Furthermore, even if it becomes necessary to issue multiple access requests to the main storage device, the access source device is not involved at all, and the storage control device autonomously issues the access requests. That is, all the problems mentioned at the beginning of this specification are solved.

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

第1図は本発明が適用されるデータ処理システムの一実
施例構成、第2図はアクセス元装置からのアクセス要求
に伴なつて与えられる一実施例情報、第3図は整列制御
に当つての問題点を説明する説明図、第4図は8バイト
・クロス発生条件をまとめて表わした説明図、第5図は
記憶制御装置内にもうけられる本発明による自律的アク
セス要求制御部の一実施例構成、第6図は本発明による
整列制御部の一実施例構成、第7図は第6図に示す各ゲ
ート制御をまとめて表わした説明図、第8図AないしD
は本発明による整列制御を具体例によつて説明する説明
図を示す。 図中、1は主記憶装置、4は記憶制御装置、7はアクセ
ス元装置、5は順序管理部、9,10は情報バス、B8
ないしB3lはアドレス情報、ALlはアツプ・ダウン
指示情報、LO,Llはバイト長指示情報、12はMP
バイト・クロス検出手段、13はNmPバイト境界検出
手段、20は第1のレジスタ、21は第2のレジスタ、
22は整列回路を表わす。
Fig. 1 shows the configuration of an embodiment of a data processing system to which the present invention is applied, Fig. 2 shows an embodiment of information given in response to an access request from an access source device, and Fig. 3 shows arrangement control. An explanatory diagram explaining the problem, FIG. 4 is an explanatory diagram summarizing the 8-byte cross occurrence conditions, and FIG. 5 is an implementation of the autonomous access request control unit according to the present invention provided in the storage control device. Example configuration, FIG. 6 is an example configuration of an alignment control section according to the present invention, FIG. 7 is an explanatory diagram collectively representing each gate control shown in FIG. 6, and FIGS. 8A to D
shows an explanatory diagram illustrating alignment control according to the present invention using a specific example. In the figure, 1 is a main storage device, 4 is a storage control device, 7 is an access source device, 5 is a sequence management unit, 9 and 10 are information buses, and B8
or B3l is address information, ALl is up/down instruction information, LO, Ll is byte length instruction information, 12 is MP
Byte cross detection means; 13 is NmP byte boundary detection means; 20 is a first register; 21 is a second register;
22 represents an alignment circuit.

Claims (1)

【特許請求の範囲】 1 1つまたは複数のアクセス元装置、アクセスの中介
を行なう記憶制御装置、および1回のアクセス要求にも
とずいてnmPバイト分のデータが読出される主記憶装
置にそなえ、該主記憶装置と上記記憶制御装置との間に
mPバイト単位の情報バスをもつと共に上記記憶制御装
置と上記アクセス元装置との間にPバイト単位の情報バ
スをもつデータ処理システムにおいて、上記アクセス元
装置が発するアドレス情報中の予め定めたビット情報と
アップ・ダウン指示情報とバイト長指示情報とにもとず
いて、上記アクセス元装置に転送すべきデータが上記m
Pバイト単位の複数個にまたがることを検出するmPバ
イト・クロス検出手段と上記nmPバイトの境界にまた
がつていることを検出するnmPバイト境界検出手段と
をもうけると共に、上記主記憶装置から転送されてくる
mPバイト単位のデータがセットされる第1のレジスタ
、該第1のレジスタの内容を一時退避する第2のレジス
タ、および入力されたデータを整列し直す整列回路をも
うけ、上記mPバイト・クロス検出手段の検出出力にも
とずいて上記第1のレジスタの内容を上記第2のレジス
タに退避せしめ、後刻上記第1のレジスタにセットされ
た内容と上記第2のレジスタの内容とを上記整列回路に
導びくようにし、更に、上記nmPバイト境界検出手段
の検出出力にもとずいて、上記記憶制御装置が上記アッ
プ・ダウン指示情報をみて自律的に上記主記憶装置に対
してアクセス要求を発するようにすると共に上記アクヤ
ス元装置に転送すべきデータを上記整列回路によつてP
バイト単位に整列した上で当該アクセス元装置に転送す
るようにしたことを特徴とするデータ整列制御方式。 2 上記主記憶装置は上記nmPバイト分のデータをm
Pバイト単位でアドレス情報順位に無関係に転送するよ
う構成されると共に、上記記憶制御装置は転送されてく
るmPバイト単位のデータについての対応するアドレス
情報をチェックするアドレス順位チェック機能をそなえ
、該順位チェック機能からの順位反転出力にもとずいて
上記整列回路に導びくデータ入力ルートを制御するよう
にしたことを特徴とする特許請求の範囲第1項記載のデ
ータ整列制御方式。
[Claims] 1. Provided for one or more access source devices, a storage control device that mediates access, and a main storage device from which nmP bytes of data are read based on one access request. , in a data processing system having an information bus in units of mP bytes between the main storage device and the storage control device, and an information bus in units of P bytes between the storage control device and the access source device; The data to be transferred to the access source device is determined based on the predetermined bit information, up/down instruction information, and byte length instruction information in the address information issued by the access source device.
mP byte cross detection means for detecting spanning over a plurality of P byte units and nmP byte boundary detection means for detecting spanning across the nmP byte boundary, A first register in which data in units of mP bytes to be received is set, a second register in which the contents of the first register are temporarily saved, and a sorting circuit for rearranging the input data are provided. The contents of the first register are saved in the second register based on the detection output of the cross detection means, and the contents set in the first register and the contents of the second register are later transferred to the second register. Further, based on the detection output of the nmP byte boundary detection means, the storage control device autonomously requests access to the main storage device based on the up/down instruction information. At the same time, the data to be transferred to the Aquias source device is transmitted to the P by the alignment circuit.
A data alignment control method characterized in that the data is arranged in byte units and then transferred to the access source device. 2 The main memory device stores mP bytes of data.
The storage control device is configured to transfer address information in units of P bytes regardless of the order of address information, and has an address order check function for checking address information corresponding to the transferred data in units of mP bytes, 2. A data sorting control system according to claim 1, wherein a data input route leading to said sorting circuit is controlled based on a rank inversion output from a check function.
JP51042021A 1976-04-14 1976-04-14 Data alignment control method Expired JPS594742B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP51042021A JPS594742B2 (en) 1976-04-14 1976-04-14 Data alignment control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP51042021A JPS594742B2 (en) 1976-04-14 1976-04-14 Data alignment control method

Publications (2)

Publication Number Publication Date
JPS52125240A JPS52125240A (en) 1977-10-20
JPS594742B2 true JPS594742B2 (en) 1984-01-31

Family

ID=12624505

Family Applications (1)

Application Number Title Priority Date Filing Date
JP51042021A Expired JPS594742B2 (en) 1976-04-14 1976-04-14 Data alignment control method

Country Status (1)

Country Link
JP (1) JPS594742B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0107447B1 (en) * 1982-10-13 1989-04-26 Honeywell Information Systems Inc. Computer data distributor
JPS6043742A (en) * 1983-08-19 1985-03-08 Toshiba Corp Reading circuit of variable length data

Also Published As

Publication number Publication date
JPS52125240A (en) 1977-10-20

Similar Documents

Publication Publication Date Title
US4163280A (en) Address management system
JPH07311660A (en) Data processing method of software control system for early detection of fault
KR860000594A (en) Tag Control Circuit for Buffer Memory
JPS594742B2 (en) Data alignment control method
US20050223129A1 (en) Arbitration of data transfer requests
JPS6058487B2 (en) data processing equipment
JPS6226055B2 (en)
EP0684564A2 (en) Data transfer system in an information processing system
JPS6240736B2 (en)
JP2883488B2 (en) Instruction processing unit
JPH08340348A (en) Information processing system
JPS60134956A (en) Information processing system
JPH0425581B2 (en)
JPS616746A (en) Partial writing control system
JPS6052455B2 (en) Parity detection function check method
JPS60176144A (en) Register file device
JPS62221031A (en) Microprogram control system
JPH1063569A (en) Main memory data writing device
JPS62210542A (en) Register selecting system
JPH0133848B2 (en)
JPS5960623A (en) Buffer controller
JPS58192123A (en) Device for transferring and controlling input and output data
JPS63259746A (en) Data transfer method between bank memories
JPH0154729B2 (en)
JPH02136951A (en) Dma transfer system