JPS6155138B2 - - Google Patents
Info
- Publication number
- JPS6155138B2 JPS6155138B2 JP4700579A JP4700579A JPS6155138B2 JP S6155138 B2 JPS6155138 B2 JP S6155138B2 JP 4700579 A JP4700579 A JP 4700579A JP 4700579 A JP4700579 A JP 4700579A JP S6155138 B2 JPS6155138 B2 JP S6155138B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- address
- transfer
- counter
- address counter
- 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
Links
- 230000002093 peripheral effect Effects 0.000 description 10
- 230000004913 activation Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000000034 method Methods 0.000 description 2
Landscapes
- Bus Control (AREA)
Description
【発明の詳細な説明】
本発明は、周辺装置から記憶装置へデータを転
送するデータ転送装置に関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a data transfer device that transfers data from a peripheral device to a storage device.
従来、この種のデータ転送装置は、周辺装置か
ら記憶装置へデータを転送する場合、転送データ
の格納番地を保持する単一のアドレスカウンタと
転送するデータ数を示す単一のレングスカウンタ
から構成されていて、周辺装置からのデータブロ
ツクが1個のときは、記憶装置の単一のエリアに
格納し、データブロツクが複数のときは、データ
ブロツクが切り換わるごとにアドレスカウンタと
レングスカウンタの内容を変更して記憶装置の複
数のエリアに格納していた。したがつて、同じデ
ータブロツクの一部および全部をデータ転送時に
記憶装置の複数のエリアに格納することができな
いため、周辺装置からのデータブロツクを一度記
憶装置の特定の番地に格納し、その後ソフトウエ
アがその一部および全部を他の番地に移さなけれ
ばならないという欠点があつた。 Conventionally, when transferring data from a peripheral device to a storage device, this type of data transfer device consists of a single address counter that holds the storage address of the transferred data and a single length counter that indicates the number of data to be transferred. When there is one data block from a peripheral device, it is stored in a single area of the storage device, and when there are multiple data blocks, the contents of the address counter and length counter are updated each time the data block is switched. It was modified and stored in multiple areas of the storage device. Therefore, it is not possible to store part or all of the same data block in multiple areas of the storage device during data transfer, so the data block from the peripheral device is stored once at a specific address in the storage device, and then the software The drawback was that the software had to be partially or completely moved to another address.
本発明の目的は、周辺装置からの一度の転送で
同じデータブロツクの一部および全部を記憶装置
の異なるエリアに格納できるようにして上記欠点
を解決したデータ転送装置を提供することにあ
る。 SUMMARY OF THE INVENTION An object of the present invention is to provide a data transfer device that solves the above-mentioned drawbacks by allowing part or all of the same data block to be stored in different areas of a storage device in one transfer from a peripheral device.
前記目的を達成するために本発明によるデータ
転送装置は転送するデータの格納番地を保持する
複数のアドレスカウンタと、各々のアドレスカウ
ンタに対応した転送するデータ数を保持する複数
のレングスカウンタと、各々のアドレスカウンタ
に対応した転送データの開始位置を示す検索デー
タを保持する複数のキーデータレジスタと、前記
の複数のキーデータレジスタの検索データと周辺
装置からのデータをデータ転送ごとに比較し、一
致したキーデータレジスタに対応するアドレスカ
ウンタとレングスカウンタを用いて、以後のデー
タを記憶装置に格納する比較制御回路とで構成し
てある。 In order to achieve the above object, the data transfer device according to the present invention includes a plurality of address counters that hold storage addresses of data to be transferred, a plurality of length counters that hold the number of data to be transferred corresponding to each address counter, and a plurality of length counters that hold the number of data to be transferred corresponding to each address counter. A plurality of key data registers that hold search data indicating the start position of transfer data corresponding to the address counter of the above are compared with the search data of the plurality of key data registers and data from the peripheral device for each data transfer, and a match is made. The comparison control circuit stores subsequent data in a storage device using an address counter and a length counter corresponding to the key data register.
上記構成によれば本発明の目的を完全に達成す
ることができる。 According to the above configuration, the object of the present invention can be completely achieved.
以下、図面を参照して本発明を詳細に説明す
る。 Hereinafter, the present invention will be explained in detail with reference to the drawings.
第1図は本発明によるデータ転送装置の実施例
を示すブロツク図である。 FIG. 1 is a block diagram showing an embodiment of a data transfer device according to the present invention.
第1図において本実施例は転送するデータの格
納番地を保持し、転送ごとに+1する#1アドレ
スカウンタ2および#2アドレスカウンタ3と
#1アドレスカウンタと#2アドレスカウンタの
出力を入力とし記憶装置へ行くアドレスを選択す
るセレクタ1と、#1、#2のアドレスカウンタ
に対応して転送するデータ数を保持し転送ごとに
−1する#1レングスカウンタ4および#2レン
グスカウンタ5と、#1、#2のアドレスカウン
タに対応して転送データの開始位置を示す検索デ
ータを保持する#1キーデータレジスタ6および
#2キーデータレジスタ7と、周辺装置からのデ
ータを格納するデータレジスタ8と比較制御回路
20から構成される。比較制御回路20は、#1
レングスカウンタ4の内容が0になつたことを検
出する0検出器9と#2レングスカウンタ5の内
容が0になつたことを検出する0検出器10と、
#1キーデータレジスタ6とデータレジスタ8の
データを比較する比較回路11と、#2キーデー
タレジスタ7とデータレジスタ8のデータを比較
する比較回路12と、#1側のデータ転送開始時
点を検出する#1サーチF/F13と、#2側の
データ転送開始時点を検出する#2サーチF/F
14と、#1側のデータ転送中を示す#1転送
F/F15と、#2側のデータ転送中を示す#2
転送F/F16と、アンド回路17,18と、
#1転送F/F15および#2転送F/F16に
より、セレクタ1および記憶装置とのインタフエ
ースを制御し、#1、#2アドレスカウンタ2,
3を+1するタイミングと、#1、#2レングス
カウンタ4,5を−1するタイミングと#1、
#2のサーチF/F13,14と#1、#2の転
送F/F15,16のセツト、リセツトタイミン
グを制御する制御回路19とを含む。 In FIG. 1, this embodiment holds the storage address of data to be transferred, and stores the outputs of #1 address counter 2, #2 address counter 3, #1 address counter, and #2 address counter 3, which are incremented by 1 for each transfer, as inputs. A selector 1 that selects the address to be sent to the device, a #1 length counter 4 and a #2 length counter 5 that hold the number of data to be transferred corresponding to the address counters #1 and #2 and decrement the number by 1 for each transfer; #1 key data register 6 and #2 key data register 7 that hold search data indicating the start position of transfer data corresponding to address counters 1 and #2, and a data register 8 that stores data from peripheral devices. It is composed of a comparison control circuit 20. The comparison control circuit 20 #1
a 0 detector 9 that detects that the content of the length counter 4 has become 0; a 0 detector 10 that detects that the content of the #2 length counter 5 has become 0;
A comparison circuit 11 that compares data in #1 key data register 6 and data register 8, a comparison circuit 12 that compares data in #2 key data register 7 and data register 8, and detects the start point of data transfer on the #1 side. #1 search F/F 13 that detects the start point of data transfer on the #2 side
14, #1 transfer F/F 15 indicating that data is being transferred on the #1 side, and #2 indicating that data is being transferred on the #2 side.
Transfer F/F 16, AND circuits 17 and 18,
The #1 transfer F/F 15 and #2 transfer F/F 16 control the interface with the selector 1 and the storage device, and the #1, #2 address counter 2,
The timing of adding +1 to 3, the timing of -1 to #1 and #2 length counters 4 and 5, and the timing of #1,
It includes a control circuit 19 that controls the set and reset timing of the #2 search F/Fs 13 and 14 and the #1 and #2 transfer F/Fs 15 and 16.
また、S1,S2は各々#1側と#2側の動作
開始の起動信号、S3は記憶装置に行くアドレス
信号、S4は記憶装置に行くデータ信号、S5は
周辺装置からのデータ信号である。 Further, S1 and S2 are activation signals for starting operations on the #1 side and #2 side, respectively, S3 is an address signal going to the storage device, S4 is a data signal going to the storage device, and S5 is a data signal from the peripheral device.
#1アドレスカウンタ2にA番地が、#2アド
レスカウンタ3にB番地が、#1レングスカウン
タ4にN個が、#2レングスカウンタ5にM個
が、#1キーデータレジスタ6に検索データα
が、#2キーデータレジスタ7に検索データβが
セツトされた後、#1,#2のサーチF/F1
3,15が起動信号S1,S2によりセツトされ
たとすると動作は次のようになる。 #1 address counter 2 has address A, #2 address counter 3 has address B, #1 length counter 4 has N pieces, #2 length counter 5 has M pieces, #1 key data register 6 has search data α.
However, after the search data β is set in the #2 key data register 7, the search F/F1 of #1 and #2
3 and 15 are set by activation signals S1 and S2, the operation is as follows.
まず#1,#2のサーチF/F13,15がセ
ツトされたため、#1,#2の比較回路11,1
2はイネーブルになる。周辺装置からのデータが
データレジスタ8に格納されると、#1,#2
各々の比較回路11,12で#1,#2のキーデ
ータレジスタ6,7と比較される。データレジス
タ8に格納されたデータがαであると、#1のキ
ーデータレジスタ6と一致がとれ、#1サーチ
F/F13はリセツトされ、#1転送F/F15
がセツトされて、#1側はデータ転送可能状態と
なる。#1転送F/F15の出力により、制御回
路19はセレクタ1で#1アドレスカウンタ2の
方を選択して、記憶装置に#1アドレスカウンタ
2をアドレスとするアドレス信号S3を送り、そ
の番地にデータ信号S4の内容を書込む。 First, since the search F/Fs 13 and 15 of #1 and #2 are set, the comparison circuits 11 and 1 of #1 and #2 are set.
2 is enabled. When the data from the peripheral device is stored in the data register 8, #1, #2
Comparison circuits 11 and 12 compare the data with key data registers 6 and 7 of #1 and #2. If the data stored in the data register 8 is α, it matches the #1 key data register 6, the #1 search F/F 13 is reset, and the #1 transfer F/F 15 is reset.
is set, and the #1 side becomes ready for data transfer. Based on the output of #1 transfer F/F 15, control circuit 19 selects #1 address counter 2 with selector 1, sends an address signal S3 with #1 address counter 2 as the address to the storage device, and transfers the data to that address. Write the contents of data signal S4.
その後#1アドレスカウンタ2を+1し、#1
レングスカウンタ4を−1する。データがデータ
レジスタ8に入るごとに上記の動作をくり返し、
#1レジスタカウンタ4が0になるのを#10検出
器9が検出して、#1転送F/F15をリセツト
するまで続けられる。 After that, #1 address counter 2 is incremented by 1, and #1
Decrement length counter 4 by 1. Repeat the above operation every time data enters data register 8,
This continues until the #10 detector 9 detects that the #1 register counter 4 becomes 0 and the #1 transfer F/F 15 is reset.
#10検出器9が0を検出する前に周辺装置から
のデータβがデータレジスタ8に格納されると
#2キーデータレジスタ7と一致がとれるので、
#2サーチF/F14がリセツトされ、#2転送
F/F16がセツトされ#2側もデータ転送可能
状態となる。 If the data β from the peripheral device is stored in the data register 8 before #10 detector 9 detects 0, it will match with #2 key data register 7, so
The #2 search F/F 14 is reset, the #2 transfer F/F 16 is set, and the #2 side also becomes ready for data transfer.
#1,#2転送F/F15,16の両方がとも
にセツトされているので、制御回路19はまずセ
レクタ1で#1アドレスカウンタ2の方を選択
し、記憶装置に#1アドレスカウンタ2をアドレ
スとするアドレス信号S3を送り、その番地にデ
ータ信号S4の内容を書込む。次にセレクタ1で
#2アドレスカウンタ3の方を選択し、記憶装置
に#2アドレスカウンタ3をアドレスとするアド
レス信号S3を送り、その番地に#1側と同様に
データ信号S4の内容を書込む。 Since both #1 and #2 transfer F/Fs 15 and 16 are set, the control circuit 19 first selects #1 address counter 2 with selector 1, and sets #1 address counter 2 to the storage device. The address signal S3 is sent to write the contents of the data signal S4 at that address. Next, selector 1 selects #2 address counter 3, sends an address signal S3 with #2 address counter 3 as the address to the storage device, and writes the contents of data signal S4 at that address in the same way as on the #1 side. It's crowded.
このように、#1アドレスカウンタ2と#2ア
ドレスカウンタ3で示される番地にデータレジス
タ8の内容を書込む。 In this way, the contents of the data register 8 are written to the addresses indicated by the #1 address counter 2 and the #2 address counter 3.
その後、#1,#2アドレスカウンタを各々+
1し、#1,#2レングスカウンタを各々−1す
る。 After that, set the #1 and #2 address counters to +
1, and the #1 and #2 length counters are each decremented by 1.
#2側も#2レングスカウンタ5が0になるま
でくり返し、#2レングスカウンタ5が0になる
と、#2転送F/F16をリセツトして終了す
る。上記の動作により、記憶装置のA番地からN
個のエリアと、B番地からM個のエリアに同じデ
ータブロツクの一部または全部が格納されたこと
になる。 On the #2 side, the process is repeated until the #2 length counter 5 becomes 0. When the #2 length counter 5 becomes 0, the #2 transfer F/F 16 is reset and the process ends. By the above operation, from address A to N of the storage device
This means that part or all of the same data block is stored in M areas and M areas from address B.
本実施例は、#1,#2の2組の場合を説明し
たが、2組以上でも同様に実施可能である。 In this embodiment, the case of two sets #1 and #2 has been described, but it can be implemented in the same way with two or more sets.
本発明による装置は以上説明したように、アド
レスカウンタ、レジスタカウンタ、キーデータレ
ジスタを複数個持ち、格納番地とデータ格納数と
データ転送開始時期を任意にセツトできるように
構成することにより、同じデータブロツクの一部
および全部を記憶装置上の複数のエリアに格納す
ることができる。 As explained above, the device according to the present invention has a plurality of address counters, register counters, and key data registers, and is configured so that the storage address, the number of stored data, and the start time of data transfer can be arbitrarily set. Some or all blocks can be stored in multiple areas on the storage device.
第1図は本発明によるデータ転送装置の一実施
例を示すブロツク図である。
1……セレクタ、2,3……#1、#2アドレ
スカウンタ、4,5……#1、#2レングスカウ
ンタ、6,7……#1、#2キーデータレジス
タ、8……データレジスタ、9,10……#1、
#20検出器、11,12……#1、#2比較回
路、13,14……#1,#2サーチF/F、1
5,16……#1,#2転送F/F、17,18
……アンド回路、19……制御回路、20……比
較制御回路、S1,S2……#1、#2起動信
号、S3……アドレス信号、S4,S5……デー
タ信号。
FIG. 1 is a block diagram showing an embodiment of a data transfer device according to the present invention. 1... Selector, 2, 3... #1, #2 address counter, 4, 5... #1, #2 length counter, 6, 7... #1, #2 key data register, 8... data register ,9,10...#1,
#20 Detector, 11, 12...#1, #2 Comparison circuit, 13, 14...#1, #2 Search F/F, 1
5, 16...#1, #2 transfer F/F, 17, 18
...AND circuit, 19...control circuit, 20...comparison control circuit, S1, S2...#1, #2 starting signal, S3...address signal, S4, S5...data signal.
Claims (1)
する複数アドレスカウンタと、各々のアドレスカ
ウンタに対応して転送するデータ数を保持する複
数のレングスカウンタと、各々のアドレスカウン
タに対応して転送データの開始位置を示す検索デ
ータを保持する複数のキーデータレジスタと、前
記の複数のキーデータレジスタの検索データと転
送データとをデータ転送ごとに比較し、一致した
キーデータレジスタに対応するアドレスカウンタ
とレングスカウンタを使用して以後のデータを一
致のとれた各アドレスカウンタに示される記憶装
置の番地に格納する比較制御回路とから構成され
たことを特徴とするデータ転送装置。1. A plurality of address counters that hold the storage address of the data to be transferred in the storage device, a plurality of length counters that hold the number of data to be transferred corresponding to each address counter, and a plurality of length counters that hold the number of data to be transferred corresponding to each address counter. A plurality of key data registers that hold search data indicating the start position are compared with the search data and transfer data of the plurality of key data registers for each data transfer, and the address counter and length corresponding to the key data register that match are compared. 1. A data transfer device comprising: a comparison control circuit that uses a counter to store subsequent data at an address of a storage device indicated by each matching address counter.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4700579A JPS55138133A (en) | 1979-04-17 | 1979-04-17 | Data transfer unit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4700579A JPS55138133A (en) | 1979-04-17 | 1979-04-17 | Data transfer unit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS55138133A JPS55138133A (en) | 1980-10-28 |
| JPS6155138B2 true JPS6155138B2 (en) | 1986-11-26 |
Family
ID=12763051
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP4700579A Granted JPS55138133A (en) | 1979-04-17 | 1979-04-17 | Data transfer unit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS55138133A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6477725A (en) * | 1987-09-18 | 1989-03-23 | Diesel Kiki Co | Centrifugal governor for injection type internal combustion engine |
-
1979
- 1979-04-17 JP JP4700579A patent/JPS55138133A/en active Granted
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6477725A (en) * | 1987-09-18 | 1989-03-23 | Diesel Kiki Co | Centrifugal governor for injection type internal combustion engine |
Also Published As
| Publication number | Publication date |
|---|---|
| JPS55138133A (en) | 1980-10-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS6155137B2 (en) | ||
| JPS63288351A (en) | Write/read-out circuit for memory block | |
| JP2579003B2 (en) | Data transfer device between memories | |
| JPS5642860A (en) | Interruption control system for information processor | |
| JPS5533282A (en) | Buffer control system | |
| JP2553630B2 (en) | Data processing device | |
| JP2567982B2 (en) | Bus trace control method | |
| JPS62297954A (en) | Memory control system | |
| JPS5886635A (en) | data processing equipment | |
| JPS61289448A (en) | Buffer memory device | |
| JPH01118287A (en) | Storage circuit | |
| KR880000995B1 (en) | An improved memory unit | |
| JPH04209059A (en) | Semiconductor integrated circuit | |
| JPS6336021B2 (en) | ||
| JPH01114961A (en) | Directory memory access controller | |
| JPH03214275A (en) | Semiconductor integrated circuit | |
| JPS60175143A (en) | Microprogram control device | |
| JPS63220352A (en) | Data transfer circuit for inter-cpu | |
| JPS63198144A (en) | Direct memory access control system in multi-port memory | |
| JPS63298466A (en) | data transfer device | |
| JPS63214806A (en) | Programmable controller | |
| JPS6086635A (en) | Main storage control device | |
| JPH02236741A (en) | Logic simulator | |
| JPS6316745A (en) | Communication control device | |
| JPH0355646A (en) | Data storage circuit |