JPH0962568A - Data transfer control circuit - Google Patents
Data transfer control circuitInfo
- Publication number
- JPH0962568A JPH0962568A JP21345095A JP21345095A JPH0962568A JP H0962568 A JPH0962568 A JP H0962568A JP 21345095 A JP21345095 A JP 21345095A JP 21345095 A JP21345095 A JP 21345095A JP H0962568 A JPH0962568 A JP H0962568A
- Authority
- JP
- Japan
- Prior art keywords
- word
- transfer
- data
- register file
- length
- 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.)
- Granted
Links
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、記憶領域へのデー
タ転送を制御するデータ転送制御回路、特に情報処理装
置における主記憶に対するデータ転送制御回路に関す
る。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transfer control circuit for controlling data transfer to a storage area, and more particularly to a data transfer control circuit for a main memory in an information processing device.
【0002】[0002]
【従来の技術】従来のこの種のデータ転送制御回路は、
演算ユニット内のレジスタファイルの内容を、同一ブロ
ック内であるという条件の下に、任意の複数ワードにわ
たって記憶領域に転送する場合、転送データに対するレ
ジスタファイルのワードアドレスは、マイクロ命令では
レジスタファイルのブロック境界のみを指定し、ブロッ
ク境界内のワードアドレスは、転送長から生成してい
る。2. Description of the Related Art A conventional data transfer control circuit of this type is
When the contents of the register file in the arithmetic unit are transferred to the storage area over multiple words under the condition that they are in the same block, the word address of the register file for the transfer data is the block of the register file in the micro instruction. Only the boundary is specified, and the word address within the block boundary is generated from the transfer length.
【0003】以下に、例を用いて転送長からのブロック
境界内のワードアドレス生成を説明する。尚、ここでは
1ブロックが8ワードから構成され、転送長は8ビット
のデータで示されているものとする。なお、ワードは0
オリジンで表わすものとする。 (例1) マイクロ命令1:ブロック内先頭ワードから
指定された転送長分の連続したワードをブロック内左づ
めで記憶領域に転送する。The generation of a word address within a block boundary from a transfer length will be described below by using an example. Here, it is assumed that one block is composed of 8 words and the transfer length is represented by 8-bit data. The word is 0
It shall be represented by the origin. (Example 1) Microinstruction 1: Transfers consecutive words for a specified transfer length from the first word in a block to the storage area in the block, left-justified to the left.
【0004】この場合、転送長は8ビット中の3ビット
で表され、[000]で1ワード転送を示し、ワードア
ドレスはそのまま[000]となる。In this case, the transfer length is represented by 3 bits out of 8 bits, [000] indicates 1 word transfer, and the word address is [000] as it is.
【0005】[111]で8ワード転送を示し、ワード
アドレスは[000]から[111]までカウントアッ
プしていく。 (例2) マイクロ命令2:ブロック内の最終ワードに
かけて指定された転送長分の連続したワードをブロック
内右づめで記憶領域に転送する。8-word transfer is indicated by [111], and the word address is counted up from [000] to [111]. (Example 2) Microinstruction 2: Transfers consecutive words of the specified transfer length over the last word in a block to the storage area in the block, right-justified.
【0006】この場合、転送長は8ビット中の3ビット
で表され、[000]で1ワード転送を示し、ワードア
ドレスはこの値を反転して[111]となる。In this case, the transfer length is represented by 3 bits out of 8 bits, [000] indicates one word transfer, and the word address becomes [111] by inverting this value.
【0007】[111]で8ワード転送を示し、ワード
アドレスはこの値を反転した[000]から[111]
までカウントアップしていく。 (例3) マイクロ命令3:ブロック内の飛び飛びのワ
ードデータを記憶領域に転送する。[111] indicates 8-word transfer, and the word address is inverted from [000] to [111].
Count up to. (Example 3) Microinstruction 3: Transfers scattered word data in a block to a storage area.
【0008】この場合、転送長は8ビットで表され、”
1”であるビットに対応したワードが転送される。In this case, the transfer length is represented by 8 bits.
The word corresponding to the bit that is 1 "is transferred.
【0009】[01010011]の場合、ワード1、
ワード3、ワード6、ワード7の4ワードが順次記憶領
域に転送される。In the case of [01010011], word 1,
Four words, word 3, word 6, and word 7, are sequentially transferred to the storage area.
【0010】このように、レジスタファイルの内容を、
任意の複数のワードにわたって記憶領域に転送するマイ
クロ命令の実行は、マイクロ命令の実行とともにあらか
じめ登録されていた転送長情報を取り出して、ワードア
ドレスを生成するために1T実行時間を余計に必要とす
る。In this way, the contents of the register file are
Execution of a microinstruction for transferring to a storage area over an arbitrary plurality of words requires an extra 1T execution time in order to extract the transfer length information registered in advance together with the execution of the microinstruction and generate a word address. .
【0011】[0011]
【発明が解決しようとする課題】上述した従来のデータ
転送制御回路では、任意の転送長より転送データのブロ
ック内ワードアドレスを生成しているため、マイクロ命
令の指定がレジスタファイルのブロック内の0ワードか
ら転送長の示すワード分の転送データを取り出すような
場合でも、転送長の情報を取り出してレジスタファイル
のワードアドレスを生成するので、1T実行時間を余計
に必要とするという問題がある。In the above-mentioned conventional data transfer control circuit, since the word address in the block of the transfer data is generated from the arbitrary transfer length, the designation of the micro instruction is 0 in the block of the register file. Even when the transfer data for the word indicated by the transfer length is taken out from the word, since the transfer length information is taken out to generate the word address of the register file, there is a problem that an extra 1T execution time is required.
【0012】[0012]
【課題を解決するための手段】本発明の回路は、演算ユ
ニット内のレジスタファイルから、1ブロックデータ内
の任意長のデータを取り出し記憶領域に連続して送出す
るデータ転送制御回路において、マイクロ命令により指
定される転送長情報を受けるレングスレジスタと、該レ
ングスレジスタの内容と前記マイクロ命令の種別から前
記レジスタファイルのワードアドレスを生成する転送ワ
ードアドレス生成回路と、該転送ワードアドレス生成回
路の出力から前記レジスタファイルのブロック内アドレ
スが所定のワードであるか否かを判定するワード判定回
路と、マイクロ命令から記憶領域へのデータ転送指示を
生成するデータ転送指示生成回路と、前記ワード判定回
路の出力が前記所定のワード以外を示しているときは最
初の1マシンタイムの間だけ前記データ転送指示を抑止
する抑止回路とを有することを特徴とする。According to the circuit of the present invention, a micro-instruction is provided in a data transfer control circuit for extracting data of an arbitrary length in one block data from a register file in an arithmetic unit and continuously sending it to a storage area. From the output of the transfer word address generation circuit, which generates a word address of the register file from the contents of the length register and the type of the microinstruction. A word determination circuit that determines whether or not an address in a block of the register file is a predetermined word, a data transfer instruction generation circuit that generates a data transfer instruction from a microinstruction to a storage area, and an output of the word determination circuit Indicates a word other than the specified word, the first machine tie Characterized in that it only has a suppression circuit for suppressing the data transfer instruction between.
【0013】[0013]
[実施例]次に本発明について図面を参照して説明す
る。EXAMPLES Next, the present invention will be described with reference to the drawings.
【0014】図1は本発明の一実施例のブロック図であ
る。本発明のデータ転送制御回路10は、マイクロ命令
により指定される転送長情報を受けるレングスレジスタ
11と、レングスレジスタ11の内容とマイクロ命令の
種別からレジスタファイル20のワードアドレスを生成
する転送ワードアドレス生成回路12と、転送ワードア
ドレス生成回路12の出力を受ける転送ワードアドレス
レジスタ15と、転送ワードアドレス生成回路12の出
力からレジスタファイル20のブロック内アドレスが0
ワードから始まるか否かを判別する0ワード判定回路1
4と、マイクロ命令から記憶領域へのデータ転送指示を
生成するデータ転送指示生成回路13と、データ転送指
示生成回路13の出力を受けるデータ転送指示レジスタ
16と、0ワード判定回路14の出力によりデータ転送
指示レジスタ16の出力を抑止できる抑止回路17とか
ら構成される。FIG. 1 is a block diagram of an embodiment of the present invention. The data transfer control circuit 10 of the present invention includes a length register 11 for receiving transfer length information designated by a micro instruction, and a transfer word address generation for generating a word address of a register file 20 from the content of the length register 11 and the type of micro instruction. From the output of the circuit 12, the transfer word address register 15 receiving the output of the transfer word address generation circuit 12, and the output of the transfer word address generation circuit 12, the in-block address of the register file 20 is 0.
0-word determination circuit 1 for determining whether or not to start from a word
4, a data transfer instruction generation circuit 13 that generates a data transfer instruction from the micro instruction to the storage area, a data transfer instruction register 16 that receives the output of the data transfer instruction generation circuit 13, and an output of the 0-word determination circuit 14. The transfer instruction register 16 includes an inhibiting circuit 17 capable of inhibiting the output.
【0015】記憶領域に対する任意の転送長のデータ転
送のマイクロ命令が発行されると、データ転送指示生成
回路13でデータ転送指示が生成され、データ転送指示
レジスタ16にセットされる。マイクロ命令は、また転
送長情報レジスタ群30を参照して、あらかじめ登録さ
れていた転送長情報を取り出し、レングスレジスタ11
にセットする。レングスレジスタ11の出力は転送ワー
ドアドレス生成回路12にで、転送ワードが無くなるま
で転送ワードアドレスを生成するのに使用される。転送
ワードアドレス生成回路12の出力は、転送ワードアド
レスレジスタ15に入力される。転送ワードアドレスレ
ジスタ15は、転送ワードアドレス生成回路12からの
入力が無いかぎり、常にレジスタファイル20のブロッ
ク内0ワード指している。When a microinstruction for data transfer of an arbitrary transfer length to the storage area is issued, a data transfer instruction is generated by the data transfer instruction generation circuit 13 and set in the data transfer instruction register 16. The microinstruction also refers to the transfer length information register group 30 to take out the transfer length information registered in advance,
Set to. The output of the length register 11 is used by the transfer word address generation circuit 12 to generate the transfer word address until there are no more transfer words. The output of the transfer word address generation circuit 12 is input to the transfer word address register 15. The transfer word address register 15 always indicates 0 word in the block of the register file 20 unless there is an input from the transfer word address generating circuit 12.
【0016】一方、転送ワードアドレス生成回路12の
出力は、0ワード判定回路14にも入力され、転送デー
タがレジスタファイル20のブロック内の0ワード以外
から取りだされる場合、最初の1T間抑止信号を出力
し、抑止回路17でデータ転送指示が抑止される。On the other hand, the output of the transfer word address generation circuit 12 is also input to the 0 word determination circuit 14, and when the transfer data is fetched from other than 0 word in the block of the register file 20, the first 1T inhibition is performed. A signal is output, and the inhibition circuit 17 inhibits the data transfer instruction.
【0017】転送データの取り出しアドレスが、レジス
タファイル20のブロック内において0ワードから始ま
る場合、0ワード判定回路14において抑止信号は発行
されず、あらかじめ取り出されていたレジスタファイル
20の0ワードの内容が記憶領域に転送される。転送ワ
ードアドレスが0ワードから始まる場合、転送ワードア
ドレス生成回路12では、2番目のワードアドレスから
転送ワードが無くなるまで、転送ワードを転送ワードア
ドレスレジスタ15に入力し、以後レジスタファイル2
0のワードアドレスは転送ワードアドレスレジスタ15
の出力により決まる。When the fetch address of the transfer data starts from 0 word in the block of the register file 20, the inhibition signal is not issued in the 0 word determination circuit 14, and the contents of 0 word of the register file 20 fetched in advance are stored. It is transferred to the storage area. When the transfer word address starts from 0 word, the transfer word address generation circuit 12 inputs the transfer word to the transfer word address register 15 until there are no transfer words from the second word address, and then the register file 2
The word address of 0 is the transfer word address register 15
Is determined by the output of.
【0018】これに対し、転送データの取り出しアドレ
スが、レジスタファイル20のブロック内において、0
ワード以外から始まる場合、0ワード判定回路14にお
いて抑止信号が1T間発行され、この間に転送ワードア
ドレスレジスタ15に転送ワードアドレス生成回路12
で生成されたワードアドレスが入力され、以後、転送ワ
ードアドレスレジスタ15の出力によりレジスタファイ
ル20から転送データが取り出される。On the other hand, the fetch address of the transfer data is 0 in the block of the register file 20.
When starting from a word other than a word, the inhibition signal is issued for 1T in the 0-word determination circuit 14, and the transfer word address generation circuit 12 is transferred to the transfer word address register 15 during this time.
The word address generated in step 1 is input, and thereafter, the transfer data is fetched from the register file 20 by the output of the transfer word address register 15.
【0019】[0019]
【発明の効果】以上説明したように、本発明は、任意の
転送長のデータを記憶領域に転送する命令において、特
に転送データとなるレジスタファイルのブロック内アド
レスが0ワードから始まる場合、1T目にあらかじめ取
り出しておいた0ワードのデータを転送し、2T目以降
に転送長から生成したワードアドレスのデータを転送す
ることで、転送長から転送ワードアドレスを生成するた
めにかかる実行T数の無駄をなくすという効果を有す
る。As described above, according to the present invention, in an instruction for transferring data of an arbitrary transfer length to a storage area, particularly when the address in the block of the register file which is the transfer data starts from 0 word, By transferring 0-word data fetched in advance and transferring the word address data generated from the transfer length from the 2T onward, waste of the number of execution Ts required to generate the transfer word address from the transfer length Has the effect of eliminating.
【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.
10 データ転送制御回路 11 レングスレジスタ 12 転送ワードアドレス生成回路 13 データ転送指示生成回路 14 0ワード判定回路 15 転送ワードアドレスレジスタ 16 データ転送指示レジスタ 17 抑止回路 20 レジスタファイル 30 転送長情報レジスタ群。 10 data transfer control circuit 11 length register 12 transfer word address generation circuit 13 data transfer instruction generation circuit 14 0 word determination circuit 15 transfer word address register 16 data transfer instruction register 17 inhibit circuit 20 register file 30 transfer length information register group.
Claims (2)
ら、1ブロックデータ内の任意長のデータを取り出し記
憶領域に連続して送出するデータ転送制御回路におい
て、 マイクロ命令により指定される転送長情報を受けるレン
グスレジスタと、該レングスレジスタの内容と前記マイ
クロ命令の種別から前記レジスタファイルのワードアド
レスを生成する転送ワードアドレス生成回路と、該転送
ワードアドレス生成回路の出力から前記レジスタファイ
ルのブロック内アドレスが所定のワードであるか否かを
判定するワード判定回路と、マイクロ命令から記憶領域
へのデータ転送指示を生成するデータ転送指示生成回路
と、前記ワード判定回路の出力が前記所定のワード以外
を示しているときは最初の1マシンタイムの間だけ前記
データ転送指示を抑止する抑止回路とを有することを特
徴とするデータ転送制御回路。1. A length for receiving transfer length information designated by a microinstruction in a data transfer control circuit for extracting data of an arbitrary length in one block of data from a register file in an arithmetic unit and continuously sending the data to a storage area. A register, a transfer word address generation circuit that generates a word address of the register file based on the contents of the length register and the type of the microinstruction, and an in-block address of the register file is determined from the output of the transfer word address generation circuit. A word determination circuit for determining whether or not it is a word, a data transfer instruction generation circuit for generating a data transfer instruction from a microinstruction to a storage area, and an output of the word determination circuit indicates other than the predetermined word. At this time, the data transfer instruction is given only during the first one machine time. The data transfer control circuit, characterized in that it comprises a suppression circuit for stopping.
ルの0ワードとすることを特徴とする請求項1記載のデ
ータ転送制御回路。2. The data transfer control circuit according to claim 1, wherein the predetermined word is 0 word of the register file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP21345095A JP2845780B2 (en) | 1995-08-22 | 1995-08-22 | Data transfer control circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP21345095A JP2845780B2 (en) | 1995-08-22 | 1995-08-22 | Data transfer control circuit |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH0962568A true JPH0962568A (en) | 1997-03-07 |
JP2845780B2 JP2845780B2 (en) | 1999-01-13 |
Family
ID=16639432
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP21345095A Expired - Fee Related JP2845780B2 (en) | 1995-08-22 | 1995-08-22 | Data transfer control circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2845780B2 (en) |
-
1995
- 1995-08-22 JP JP21345095A patent/JP2845780B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2845780B2 (en) | 1999-01-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH03139726A (en) | Instruction readout control system | |
US4800490A (en) | Buffer storage control system having a priority circuit | |
JPH0962568A (en) | Data transfer control circuit | |
JPH04205448A (en) | Information processor | |
JPH03288228A (en) | Information processor | |
US20040103267A1 (en) | Data processor having cache memory | |
JP2781973B2 (en) | Memory content update circuit | |
JP2818562B2 (en) | Address translation circuit | |
KR900010178Y1 (en) | Circuit for protecting ram output | |
JP2001160025A (en) | Data transfer device | |
JPS5958550A (en) | Instruction fetch trap control system | |
JPS63146143A (en) | Transfer control system for storage device | |
JPH0792902A (en) | Programmable controller | |
JPH0744448A (en) | Memory access device | |
JPS62145339A (en) | Interleaving type storage device | |
JPH08171488A (en) | Data address control circuit | |
JPH05334074A (en) | Microprocessor | |
JPH04149733A (en) | Sequence control system | |
JPS60128535A (en) | Interruption processing unit | |
JPH05127893A (en) | Microprogram control system | |
JPH05100842A (en) | Instruction processor | |
JPH11184751A (en) | Memory control circuit and memory device | |
JPH0442328A (en) | Interruption control system for information processor | |
JPS61208130A (en) | Control system for branch instruction | |
JPH04145553A (en) | Buffer storage device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 19980929 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |