JP2000347992A - Data transmitting and receiving circuit - Google Patents

Data transmitting and receiving circuit

Info

Publication number
JP2000347992A
JP2000347992A JP11156646A JP15664699A JP2000347992A JP 2000347992 A JP2000347992 A JP 2000347992A JP 11156646 A JP11156646 A JP 11156646A JP 15664699 A JP15664699 A JP 15664699A JP 2000347992 A JP2000347992 A JP 2000347992A
Authority
JP
Japan
Prior art keywords
data
signal
circuit
address
decoding
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
Application number
JP11156646A
Other languages
Japanese (ja)
Other versions
JP3473746B2 (en
Inventor
Yoichi Jinbo
陽一 神保
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 Yonezawa Ltd
Original Assignee
NEC Yonezawa 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 Yonezawa Ltd filed Critical NEC Yonezawa Ltd
Priority to JP15664699A priority Critical patent/JP3473746B2/en
Publication of JP2000347992A publication Critical patent/JP2000347992A/en
Application granted granted Critical
Publication of JP3473746B2 publication Critical patent/JP3473746B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To improve the data transfer speed when the same data are transferred to the continuous addresses. SOLUTION: 1st and 2nd devices 1 and 2 of a data transmitting/receiving circuit 30 consist of signal generation circuits 7 and 8 which generate the value of an address bus 3, a data bus 4, a data transfer frequency signal 5 and a data size signal 6 respectively and the restoration circuits 9 and 10 which decode the signals 5 and 6 and restore the data and addresses.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はデータ送受信回路に
関し、特に、連続したアドレスに同一データが転送され
る場合の転送速度を向上させたデータ送受信回路に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transmission / reception circuit, and more particularly to a data transmission / reception circuit having an improved transfer speed when the same data is transferred to consecutive addresses.

【0002】[0002]

【従来の技術】従来、データの転送においてはデータと
転送先のアドレスがその都度出力されているが、転送元
デバイスの読み出しアクセスから転送先デバイスへの書
き込みアクセスへ切り換えるための時間を必要とせず、
読み出したデータを連続して転送ができ、データ転送の
転送速度を向上させた技術が、特開平09−11477
7号公報に開示されており、その構成ブロック図を図1
1に示す。
2. Description of the Related Art Conventionally, in data transfer, data and a destination address are output each time, but no time is required for switching from read access of a source device to write access to a destination device. ,
Japanese Patent Application Laid-Open No. 09-11477 discloses a technique capable of continuously transferring read data and improving the transfer speed of data transfer.
No. 7 is disclosed in FIG.
It is shown in FIG.

【0003】図11を参照すると、デバイス(A)10
1とデバイス(B)102にはアドレスバス110とデ
ータバス111が接続され、制御回路120からのデバ
イス制御信号121、122により、各々デバイス
(A)101、デバイス(B)102が制御され、アド
レス生成回路(A)130、アドレス生成回路(B)1
31は、各々デバイス(A)101、デバイス(B)1
02をアクセスするためのアドレスを生成し、制御回路
120からのアドレス制御信号123、124により制
御され、アドレス生成回路(A)130、およびアドレ
ス生成回路(B)131の出力は、アドレス選択回路1
40で選択され、アドレスバス110に出力される構成
として、転送元デバイスからのデータ読み出しに必要な
アドレスを一定期間アドレスバス110に供給し転送元
デバイスから読み出されたデータをデータバス111に
出力させ続けるように制御回路120で制御しながら、
転送先デバイスのアドレスをアドレスバス110に供給
し転送元デバイスがデータバス111上に出力している
データを転送先デバイスに書き込むことにより、転送元
デバイスからの読み出しアクセスから転送先デバイスへ
の書き込みアクセスを行うときの切換え時間を必要とせ
ず、連続してデータ転送を行っている。
Referring to FIG. 11, a device (A) 10
1 and the device (B) 102 are connected to an address bus 110 and a data bus 111, respectively. The device (A) 101 and the device (B) 102 are controlled by device control signals 121 and 122 from a control circuit 120, respectively. Generation circuit (A) 130, address generation circuit (B) 1
31 is a device (A) 101 and a device (B) 1
The address generation circuit (A) 130 and the output of the address generation circuit (B) 131 are controlled by address control signals 123 and 124 from the control circuit 120 and output from the address selection circuit 1.
As a configuration selected at 40 and output to the address bus 110, an address necessary for reading data from the transfer source device is supplied to the address bus 110 for a certain period, and data read from the transfer source device is output to the data bus 111. While controlling by the control circuit 120 so as to keep the
By supplying the address of the transfer destination device to the address bus 110 and writing the data output from the transfer source device on the data bus 111 to the transfer destination device, the read access from the transfer source device to the write access to the transfer destination device is performed. The data transfer is performed continuously without the need for the switching time when performing the data transfer.

【0004】[0004]

【発明が解決しようとする課題】上述の、特開平09−
114777号公報に開示されている、転送元デバイス
からの読み出しアクセスから転送先デバイスへの書き込
みアクセスを行うときの切換え時間を必要とせず、連続
してデータ転送を行う技術は、データ転送の際、アドレ
スはその都度供給しなければならず、従って、アドレス
転送分のサイクル時間が発生するという課題がある。
SUMMARY OF THE INVENTION The above-mentioned Japanese Patent Application Laid-Open No.
The technique disclosed in Japanese Patent Application Laid-Open No. 114777, which performs continuous data transfer without requiring a switching time when performing read access from a transfer source device to write access to a transfer destination device, is disclosed in Japanese Patent Application Publication No. The address must be supplied each time, so that there is a problem that a cycle time for the address transfer occurs.

【0005】本発明の目的は、連続したアドレスに同一
データが転送される場合、一括してデータ転送をするこ
とにより、データ転送サイクル時間を短縮し、転送速度
を向上させたデータ送受信回路を提供することにある。
It is an object of the present invention to provide a data transmitting / receiving circuit in which, when the same data is transferred to consecutive addresses, the data transfer cycle time is shortened and the transfer speed is improved by transferring the data collectively. Is to do.

【0006】[0006]

【課題を解決するための手段】本発明のデータ送受信回
路は、データ送受信を行う第1デバイスおよび第2デバ
イスと、第1デバイスと第2デバイスとを接続するアド
レスバス、データバス、データの転送回数を示すデータ
転送回数信号、およびデータサイズを示すデータサイズ
信号とを有し、第1デバイスおよび第2デバイスは、共
に、アドレスバス、データバス、データ転送回数信号、
およびデータサイズ信号の各々の信号線の値を生成する
信号生成回路と、データ転送回数信号およびデータサイ
ズ信号をデコードしデータおよびアドレスを復元する復
元回路とを有することを特徴とする。
A data transmitting and receiving circuit according to the present invention comprises a first device and a second device for transmitting and receiving data, an address bus connecting the first device and the second device, a data bus, and a data transfer. A data transfer number signal indicating the number of times, and a data size signal indicating the data size, wherein the first device and the second device both include an address bus, a data bus, a data transfer number signal,
And a signal generation circuit for generating a value of each signal line of the data size signal, and a restoration circuit for decoding the data transfer number signal and the data size signal to restore data and addresses.

【0007】信号生成回路は、命令をデコードして通常
アクセスか短縮アクセスかを決定し何れかのアクセスを
有効にする信号を出す第1デコード回路と、通常アクセ
スのとき使用される通常アクセス制御回路と、短縮アク
セスのとき使用される短縮アクセス制御回路と、通常ア
クセス制御回路または短縮アクセス制御回路からの入力
を出力させる出力制御回路とを有することを特徴とす
る。
A signal generation circuit decodes an instruction to determine a normal access or a shortened access, and outputs a signal for validating one of the first access and a normal access control circuit used in the normal access. And a short access control circuit used for short access, and an output control circuit for outputting an input from the normal access control circuit or the short access control circuit.

【0008】復元回路は、受信したアドレスとデータサ
イズ信号により受信したデータのどのビットが有効かを
デコードし有効ビット信号を出力する第2デコード回路
と、データ転送回数信号とデータサイズ信号の値により
アドレスバスから入力されるアドレスをインクリメント
して本来必要なアドレスを復元するカウンタと、データ
転送回数信号の値と第2デコード回路からの有効ビット
信号により受信したデータとをコピーし本来必要なデー
タを復元するコピー回路とを有することを特徴とする。
The restoration circuit decodes which bit of the received data is valid according to the received address and the data size signal, and outputs a valid bit signal. A counter for restoring the originally required address by incrementing the address input from the address bus, and copying the value of the data transfer count signal and the data received by the valid bit signal from the second decoding circuit to copy the originally required data A restoring copy circuit.

【0009】第1デコード回路は、連続するアドレスに
同一データが転送されるとき、短縮アクセス制御回路に
対してアクセスを有効にする信号を出すことを特徴とす
る。
The first decoding circuit is characterized in that when the same data is transferred to consecutive addresses, the first decoding circuit outputs a signal for enabling access to the shortened access control circuit.

【0010】第1デコード回路は、転送するデータが異
なりアドレスが連続したものでないとき、通常アクセス
制御回路に対してアクセスを有効にする信号を出すこと
を特徴とする。
[0010] The first decoding circuit is characterized in that when data to be transferred is different and addresses are not continuous, the first decoding circuit outputs a signal for enabling access to the normal access control circuit.

【0011】短縮アクセス制御回路は、転送するアドレ
スの値を最初の値のみ出力することを特徴とする。
The shortened access control circuit is characterized in that it outputs only the first value of the address to be transferred.

【0012】通常アクセス制御回路は、転送するアドレ
スの値を本来の値のまま出力することを特徴とする。
The normal access control circuit is characterized in that the value of the address to be transferred is output as it is.

【0013】連続するアドレスは、公差が1、2、4の
何れかの等差級数となるアドレスであることを特徴とす
る。
[0013] The continuous addresses are characterized in that the addresses have an error series of any one of 1, 2, and 4.

【0014】また、本発明のデータ送受信回路は、デー
タ送受信を行う第1デバイスおよび第2デバイスと、第
1デバイスと第2デバイスとを接続するアドレスバス、
データバス、データの転送回数を示すデータ転送回数信
号、およびデータサイズを示すデータサイズ信号とを有
し、第1デバイスおよび第2デバイスは、共に、アドレ
スバス、データバス、データ転送回数信号、およびデー
タサイズ信号の各々の値を生成する信号生成回路と、デ
ータ転送回数信号およびデータサイズ信号をデコードし
データおよびアドレスを復元する復元回路と、復元回路
の前段に設けられるバッファとを有することを特徴とす
る。
Further, the data transmitting / receiving circuit of the present invention comprises a first device and a second device for transmitting / receiving data, an address bus connecting the first device and the second device,
A data bus, a data transfer number signal indicating a data transfer number, and a data size signal indicating a data size. The first device and the second device both include an address bus, a data bus, a data transfer number signal, A signal generation circuit that generates each value of the data size signal; a restoration circuit that decodes the data transfer count signal and the data size signal to restore data and addresses; and a buffer provided at a stage preceding the restoration circuit. And

【0015】[0015]

【発明の実施の形態】次に、本発明のデータ送受信回路
の実施の形態について、図面を参照して説明する。
Next, an embodiment of a data transmitting / receiving circuit according to the present invention will be described with reference to the drawings.

【0016】図1は、本発明のデータ送受信回路の第一
の実施の形態を示す構成ブロック図、図2は、図1の信
号生成回路7、8の詳細を示す構成ブロック図、図3
は、図1の復元回路9、10の詳細を示す構成ブロック
図である。
FIG. 1 is a block diagram showing the configuration of a first embodiment of the data transmitting / receiving circuit of the present invention, FIG. 2 is a block diagram showing the details of the signal generating circuits 7 and 8 of FIG.
FIG. 3 is a block diagram showing the configuration of the restoration circuits 9 and 10 of FIG. 1 in detail.

【0017】図1を参照すると、本発明のデータ送受信
回路30は、データ送受信を行う第1デバイス1および
第2デバイス2と、第1デバイス1と第2デバイス2と
を接続するアドレスバス3、データバス4、データの転
送回数を示すデータ転送回数信号5、およびデータサイ
ズを示すデータサイズ信号6とから構成され、第1デバ
イス1および第2デバイス2は、共に、アドレスバス
3、データバス4、データ転送回数信号5、およびデー
タサイズ信号6の各々の値を生成する信号生成回路7、
8と、データ転送回数信号5およびデータサイズ信号6
をデコードしデータおよびアドレスを復元する復元回路
9、10とから構成されている。
Referring to FIG. 1, a data transmitting / receiving circuit 30 of the present invention includes a first device 1 and a second device 2 for transmitting and receiving data, an address bus 3 for connecting the first device 1 and the second device 2, The first device 1 and the second device 2 each include a data bus 4, a data transfer number signal 5 indicating the number of data transfers, and a data size signal 6 indicating the data size. , A signal generation circuit 7 for generating values of the data transfer number signal 5 and the data size signal 6,
8, a data transfer number signal 5 and a data size signal 6
And restoring circuits 9 and 10 for restoring data and addresses.

【0018】図2を参照すると、信号生成回路7、8
は、命令をデコードして通常アクセスか短縮アクセスか
を決定し何れかのアクセスを有効にする信号を出す第1
デコード回路11と、転送するデータとアドレスが連続
したものでないとき使用される通常アクセス制御回路1
2と、転送するデータとアドレスが連続したものである
とき使用される短縮アクセス制御回路13と、通常アク
セス制御回路12または短縮アクセス制御回路13から
の入力を出力させる出力制御回路14とで構成されてい
る。
Referring to FIG. 2, the signal generation circuits 7 and 8
First decodes an instruction to determine whether it is a normal access or a shortened access, and issues a signal for enabling either access.
A decode circuit 11 and a normal access control circuit 1 used when data to be transferred and an address are not continuous.
2, a shortened access control circuit 13 used when data to be transferred and an address are continuous, and an output control circuit 14 for outputting an input from the normal access control circuit 12 or the shortened access control circuit 13. ing.

【0019】図3を参照すると、復元回路9、10は、
アドレスバス3から受信したアドレスとデータサイズ信
号6により受信したデータのどのビットが有効かをデコ
ードし有効ビット信号18を出力する第2デコード回路
15と、データ転送回数信号5とデータサイズ信号6の
値によりアドレスバス3から入力されるアドレスをイン
クリメントして本来必要なアドレスを復元するカウンタ
16と、データ転送回数信号5の値と第2デコード回路
15からの有効ビット信号18により受信したデータと
をコピーし本来必要なデータを復元するコピー回路17
とから構成されている。
Referring to FIG. 3, the restoration circuits 9, 10
A second decoding circuit 15 for decoding which bits of the data received by the address received from the address bus 3 and the data size signal 6 are valid and outputting a valid bit signal 18; A counter 16 for incrementing an address input from the address bus 3 by a value to restore an originally necessary address, and a value of the data transfer number signal 5 and data received by a valid bit signal 18 from the second decode circuit 15 Copy circuit 17 for copying and restoring originally required data
It is composed of

【0020】次に、上述のように構成されたデータ送受
信回路30の動作について、以下に説明する。
Next, the operation of the data transmitting / receiving circuit 30 configured as described above will be described below.

【0021】図1の第1デバイス1から第2デバイス2
にデータ転送を行う場合について、先ず、連続するアド
レスに同じデータが転送される場合に、データ転送を最
小1回で済ますことにより、データ転送サイクルを短縮
する場合について説明する。
The first device 1 to the second device 2 in FIG.
First, a case where the same data is transferred to consecutive addresses and the data transfer cycle is shortened by performing at least one data transfer will be described.

【0022】いま、アドレスを32bit、データを3
2bit、データ転送回数信号5を2bit、データサ
イズ信号6を2bit、有効ビット信号18を3bit
とし、データ転送回数の値、データサイズの値、および
有効ビットの値を各々図7、図8、図9に示すように仮
定し、転送されるアドレスは、連続する4つのアドレス
00000000h、00000004h、00000
008h、0000000chとし、各アドレスに転送
されるデータは、全て1WORDの同一データで、01
010011hとする。
Assume that the address is 32 bits and the data is 3 bits.
2 bits, data transfer count signal 5 is 2 bits, data size signal 6 is 2 bits, and valid bit signal 18 is 3 bits
Assuming that the value of the number of times of data transfer, the value of the data size, and the value of the effective bit are as shown in FIGS. 7, 8, and 9, respectively, the addresses to be transferred are four consecutive addresses 00000000h, 00000004h, 00000
008h and 0000000ch, and the data transferred to each address is the same data of 1 word,
010011h.

【0023】図1〜図3を参照すると、信号生成回路7
の第1デコード回路11は命令をデコードし、短縮アク
セスが行えるため、短縮アクセス制御回路13を有効に
する。短縮アクセス制御回路13は本来転送されるアド
レス、データから短縮アクセスとして出力するアドレ
ス、データ、データ転送回数信号5、データサイズ信号
6を生成し、出力制御回路14に出力する。
Referring to FIG. 1 to FIG. 3, the signal generation circuit 7
The first decode circuit 11 decodes the instruction and can perform the shortened access, so that the shortened access control circuit 13 is enabled. The shortened access control circuit 13 generates an address, data, a data transfer count signal 5 and a data size signal 6 to be output as a shortened access from the originally transferred address and data, and outputs them to the output control circuit 14.

【0024】次に、出力制御回路14から短縮アクセス
としてのアドレス、データ、データ転送回数信号5、デ
ータサイズ信号6が第2デバイス2に出力されるが、ア
ドレス、データ、データ転送回数信号5、データサイズ
信号6の各々を図4(a)に示す。
Next, an address, data, data transfer count signal 5 and data size signal 6 are output from the output control circuit 14 to the second device 2 as shortened access. Each of the data size signals 6 is shown in FIG.

【0025】次に、第2デバイス2の復元回路10の第
2デコード回路15は、受信したアドレスとデータサイ
ズ信号6により受信したデータのどのbitが有効であ
るかをデコードする。受信したアドレスは000000
00h、データサイズ信号6の値は図8から11で1W
ORDであるため、受信したデータ01010011h
は、32bit有効であるとデコードする。
Next, the second decoding circuit 15 of the restoration circuit 10 of the second device 2 decodes which bit of the received data is valid according to the received address and the data size signal 6. The received address is 000000
00h, the value of the data size signal 6 is 1 W from FIGS.
ORD, the received data 01010011h
Decodes that 32 bits are valid.

【0026】カウンタ16は、データ転送回数信号5、
データサイズ信号6によりアドレスバス3から入力され
るアドレスをインクリメントし、本来受信するアドレス
に復元する。データサイズが1WORDであるため、ア
ドレスを受信した値00000000hから1WORD
単位で3回インクリメントし、図4(b)に示すよう
に、復元アドレスバス27に本来受信するアドレス4個
が復元される。
The counter 16 receives the data transfer number signal 5,
The address input from the address bus 3 is incremented by the data size signal 6 and restored to the originally received address. Since the data size is 1 word, the address is received from the value 000000000h to 1 word.
The increment is performed three times in units, and as shown in FIG. 4B, four addresses originally received on the restoration address bus 27 are restored.

【0027】コピー回路17は、データ転送回数信号5
とデコード回路15からの有効ビット信号18により受
信したデータの有効bitを本来受信すべきデータ分復
元するが、データサイズが1WORD、データ転送回数
信号5が図7から11で4回のため、データを受信した
値01010011hから1WORDである32bit
分3回コピーすることにより、図4(b)に示すよう
に、復元データバス28に本来受信するデータ4個が復
元される。
The copy circuit 17 receives the data transfer number signal 5
And the valid bit of the data received by the valid bit signal 18 from the decoding circuit 15 is restored for the data to be received. However, since the data size is 1 WORD and the data transfer count signal 5 is 4 times in FIGS. 32 bits that are 1 word from the value 01010011h
By copying the data three times, four data originally received on the restoration data bus 28 are restored as shown in FIG. 4B.

【0028】次に、短縮アクセス時の、データ転送回数
が3回、データサイズが1BYTEの場合について、図
5(a)、(b)を参照して説明する。
Next, the case where the number of times of data transfer is 3 and the data size is 1 BYTE during the shortened access will be described with reference to FIGS. 5 (a) and 5 (b).

【0029】なお、転送されるアドレスは、連続したア
ドレスで00000005h、00000006h、0
0000007hとし、各アドレスに転送されるデータ
は、同一のデータで10hとする。
The addresses to be transferred are consecutive addresses 00000005h, 00000006h, 0
000000007h, and the data transferred to each address is the same data and 10h.

【0030】信号生成回路7の動作は、前述の連続する
4つのアドレスに同一の1WORDのデータが転送され
る場合と同様であり、説明を省略する。
The operation of the signal generation circuit 7 is the same as that in the case where the same 1-word data is transferred to the four consecutive addresses described above, and a description thereof will be omitted.

【0031】図5(a)を参照すると、出力制御回路1
4から短縮アクセスとしてのアドレス、データ、データ
転送回数信号5、データサイズ信号6が出力される。
Referring to FIG. 5A, the output control circuit 1
4 outputs an address, data, data transfer number signal 5 and data size signal 6 as shortened access.

【0032】第2デコード回路15は、受信したアドレ
スが00000005h、データサイズ信号6の値は図
8から01であり1BYTEであるため、受信したデー
タ01011011hはデータ32bitの内、[1
5:8]が有効(15bit〜8bitが有効)である
とデコードする。
In the second decoding circuit 15, the received address is 00000005h, and the value of the data size signal 6 is 01 from FIG. 8 and is 1 BYTE, so the received data 01101011h is [1
5: 8] is valid (15 bits to 8 bits are valid).

【0033】カウンタ16は、データサイズが1BYT
Eであるため、アドレスを受信した値00000005
hから1BYTE単位で2回インクリメントし、本来受
信するアドレス3個を復元する。
The counter 16 has a data size of 1 BYT.
E, the value of the received address is 00000005
The address is incremented twice in units of 1 BYTE from h, and three addresses originally received are restored.

【0034】コピー回路17は、データサイズが1BY
TE、データ転送回数が3回のため、受信したデータの
有効bit[15:8]の値10hを2回コピーするこ
とにより、本来受信するデータ3個を復元する。
The copy circuit 17 has a data size of 1 BYE.
Since TE and the number of times of data transfer are three, three values of originally received data are restored by copying twice the value 10h of the valid bit [15: 8] of the received data.

【0035】以上の動作により、復元アドレスバス2
7、復元データバス28に復元された状態の信号を、図
5(b)に示す。
With the above operation, the restoration address bus 2
7. FIG. 5B shows a signal restored on the restoration data bus 28.

【0036】次に、連続しないアドレスに異なるデータ
が転送される通常アクセスの場合について図6(a)、
(b)を参照して説明する。
Next, in the case of normal access in which different data is transferred to discontinuous addresses, FIG.
This will be described with reference to FIG.

【0037】ここで、転送されるアドレスは、0000
0000h、00000008h、00000100
h、00000012hとし、各アドレスに転送される
データは、各々、01011111h、0100001
1h、01010101h、01010111hとす
る。
Here, the address to be transferred is 0000
0000h, 00000008h, 00000100
h, 00000012h, and the data transferred to each address is 01011111h, 0100001, respectively.
1h, 01010101h, and 01011111h.

【0038】第1デコード回路11は命令をデコード
し、転送するアドレスが連続ではなくデータが異なるた
め、通常アクセス制御回路12を有効にする。
The first decode circuit 11 decodes an instruction, and since the address to be transferred is not continuous but has different data, the normal access control circuit 12 is enabled.

【0039】通常アクセス制御回路12は、本来転送さ
れるアドレス、データを、図6(a)に示されるよう
に、そのまま出力制御回路14に出力する。
The normal access control circuit 12 outputs the originally transferred address and data to the output control circuit 14 as shown in FIG. 6A.

【0040】復元回路10はデータ転送回数信号5の値
が00であり図7により、通常アクセスであることを判
断し、受信したアドレス、データをそのまま使用して、
図6(b)に示されるように、アドレス、データは転送
分がそのまま復元アドレスバス27、復元データバス2
8に出力される。
The restoration circuit 10 determines that the value of the data transfer number signal 5 is 00 and is a normal access according to FIG. 7, and uses the received address and data as they are,
As shown in FIG. 6 (b), the transferred address and data are transferred as they are to the restored address bus 27 and the restored data bus 2.
8 is output.

【0041】次に、本発明のデータ送受信回路の第二の
実施の形態について、図面を参照して説明する。
Next, a second embodiment of the data transmitting / receiving circuit of the present invention will be described with reference to the drawings.

【0042】図10は、本発明のデータ送受信回路の第
二の実施の形態を示す構成ブロック図である。なお、第
一の実施の形態と同一構成要素部品は、同一符号で表記
している。
FIG. 10 is a block diagram showing the configuration of a data transmission / reception circuit according to a second embodiment of the present invention. The same components as those in the first embodiment are denoted by the same reference numerals.

【0043】第二の実施の形態のデータ送受信回路40
は、第一の実施の形態のデータ送受信回路30の復元回
路9、10の前段に、バッファ20、19を設けた構成
とした点が異なるのみであり、他は、第一の実施の形態
のデータ送受信回路30と同一であるため、以下、異な
る点に関してのみ簡単に説明する。
Data transmission / reception circuit 40 of the second embodiment
Is different from the first embodiment only in that buffers 20 and 19 are provided in front of the restoration circuits 9 and 10 of the data transmission / reception circuit 30. Others are the same as those of the first embodiment. Since it is the same as the data transmission / reception circuit 30, only the differences will be briefly described below.

【0044】第1デバイス1を送信側とし第2デバイス
2を受信側として、第1デバイス1から第2デバイス2
にデータ転送を行う場合について説明する。
The first device 1 is used as a transmitting side, and the second device 2 is used as a receiving side.
Will be described.

【0045】図10を参照すると、復元回路10の前
に、バッファ19が設けられているため、アドレスバス
3からのアドレスおよびデータバス4からのデータを復
元回路10で復元している間においても、次のアドレ
ス、データを第2デバイス2ではバッファ19により同
時に受信することができるという効果を有している。
Referring to FIG. 10, since buffer 19 is provided before restoration circuit 10, the address from address bus 3 and the data from data bus 4 can be restored by restoration circuit 10. , The next address and data can be simultaneously received by the buffer 19 in the second device 2.

【0046】上述の第一および第二の実施の形態では、
アドレスバスを32bit、データバスを32bit、
データ転送回数信号を2bit、データサイズ信号を2
bit、有効ビット信号を3bitの場合について説明
したが、これらのbit数に制限は無く、また、各bi
t数によりデータ転送回数、データサイズ、有効ビット
の範囲も制限はないことはいうまでもない。
In the first and second embodiments described above,
32 bits for the address bus, 32 bits for the data bus,
The data transfer count signal is 2 bits and the data size signal is 2 bits.
The case where the number of bits and effective bit signals is 3 bits has been described. However, the number of these bits is not limited.
It goes without saying that the number of data transfers, the data size, and the range of valid bits are not limited by the number t.

【0047】[0047]

【発明の効果】以上説明したように、本発明のデータ送
受信回路は、連続したアドレスに同一のデータを転送す
る場合、送信側で転送するアドレスとデータとを短縮
し、受信側で短縮サイクルで受信したアドレスとデータ
とを復元することにより、複数回分のデータ転送を1回
の転送サイクルで行うことができ、データ転送速度を向
上させることができるという効果がある。
As described above, the data transmitting / receiving circuit of the present invention, when transferring the same data to consecutive addresses, shortens the address and data to be transferred on the transmitting side and shortens the cycle on the receiving side. By restoring the received address and data, a plurality of data transfers can be performed in one transfer cycle, and the data transfer speed can be improved.

【0048】また、復元回路の前に、バッファを設ける
ことにより、データを復元回路で復元している間におい
ても、次のアドレス、データを受信側ではバッファによ
り同時に受信することができるという効果がある。
Further, by providing a buffer before the restoration circuit, it is possible to simultaneously receive the next address and data by the buffer on the receiving side while the data is restored by the restoration circuit. is there.

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

【図1】本発明のデータ送受信回路の第一の実施の形態
を示す構成ブロック図である。
FIG. 1 is a configuration block diagram showing a first embodiment of a data transmission / reception circuit of the present invention.

【図2】図1中の信号生成回路の構成ブロック図であ
る。
FIG. 2 is a configuration block diagram of a signal generation circuit in FIG. 1;

【図3】図1中の復元回路の構成ブロック図である。FIG. 3 is a configuration block diagram of a restoration circuit in FIG. 1;

【図4】図4(a)は、短縮アクセスの場合の出力制御
回路からの出力信号を示す図である。図4(b)は、短
縮アクセスの場合の復元回路からの出力信号を示す図で
ある。
FIG. 4A is a diagram showing an output signal from an output control circuit in the case of a shortened access. FIG. 4B is a diagram illustrating an output signal from the restoration circuit in the case of the shortened access.

【図5】図5(a)は、短縮アクセスの場合の出力制御
回路からの出力信号を示す図である。図5(b)は、短
縮アクセスの場合の復元回路からの出力信号を示す図で
ある。
FIG. 5A is a diagram showing an output signal from an output control circuit in the case of a shortened access. FIG. 5B is a diagram showing an output signal from the restoration circuit in the case of the shortened access.

【図6】図6(a)は、通常アクセスの場合の出力制御
回路からの出力信号を示す図である。図6(b)は、通
常アクセスの場合の復元回路からの出力信号を示す図で
ある。
FIG. 6A is a diagram showing an output signal from an output control circuit in a case of a normal access. FIG. 6B is a diagram showing an output signal from the restoration circuit in the case of normal access.

【図7】データ転送回数信号と転送回数との関係を示す
図である。
FIG. 7 is a diagram illustrating a relationship between a data transfer count signal and a transfer count.

【図8】データサイズ信号とデータサイズとの関係を示
す図である。
FIG. 8 is a diagram illustrating a relationship between a data size signal and a data size.

【図9】有効ビット信号と有効ビットとの関係を示す図
である。
FIG. 9 is a diagram showing a relationship between a valid bit signal and a valid bit.

【図10】本発明のデータ送受信回路の第二の実施の形
態を示す構成ブロック図である。
FIG. 10 is a configuration block diagram showing a second embodiment of the data transmission / reception circuit of the present invention.

【図11】従来のデータ転送制御装置の基本構成を示す
ブロック図である。
FIG. 11 is a block diagram showing a basic configuration of a conventional data transfer control device.

【符号の説明】[Explanation of symbols]

1 第1デバイス 2 第2デバイス 3 アドレスバス 4 データバス 5 データ転送回数信号 6 データサイズ信号 7、8 信号生成回路 9、10 復元回路 11 第1デコード回路 12 通常アクセス制御回路 13 短縮アクセス制御回路 14 出力制御回路 15 第2デコード回路 16 カウンタ 17 コピー回路 18 有効ビット信号 19、20 バッファ 27 復元アドレスバス 28 復元データバス 30、40 データ送受信回路 101 デバイス(A) 102 デバイス(B) 110 アドレスバス 111 データバス 120 制御回路 121、122 デバイス制御信号 123、124 アドレス制御信号 130 アドレス生成回路(A) 131 アドレス生成回路(B) DESCRIPTION OF SYMBOLS 1 1st device 2 2nd device 3 Address bus 4 Data bus 5 Data transfer number signal 6 Data size signal 7, 8 Signal generation circuit 9, 10 Restoration circuit 11 First decoding circuit 12 Normal access control circuit 13 Short access control circuit 14 Output control circuit 15 Second decode circuit 16 Counter 17 Copy circuit 18 Valid bit signal 19, 20 Buffer 27 Restore address bus 28 Restore data bus 30, 40 Data transmission / reception circuit 101 Device (A) 102 Device (B) 110 Address bus 111 Data Bus 120 Control circuit 121, 122 Device control signal 123, 124 Address control signal 130 Address generation circuit (A) 131 Address generation circuit (B)

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 データ送受信を行う第1デバイスおよび
第2デバイスと、前記第1デバイスと前記第2デバイス
とを接続するアドレスバス、データバス、データの転送
回数を示すデータ転送回数信号、およびデータサイズを
示すデータサイズ信号とを有し、前記第1デバイスおよ
び前記第2デバイスは、共に、前記アドレスバス、前記
データバス、前記データ転送回数信号、および前記デー
タサイズ信号の各々の信号線の値を生成する信号生成回
路と、前記データ転送回数信号および前記データサイズ
信号をデコードしデータおよびアドレスを復元する復元
回路とを有することを特徴とするデータ送受信回路。
1. A first device and a second device for transmitting and receiving data, an address bus connecting the first device and the second device, a data bus, a data transfer number signal indicating the number of data transfers, and data. A data size signal indicating a size, wherein the first device and the second device both have a value of each signal line of the address bus, the data bus, the data transfer count signal, and the data size signal. And a restoration circuit for decoding the data transfer number signal and the data size signal to restore data and addresses.
【請求項2】 前記信号生成回路は、命令をデコードし
て通常アクセスか短縮アクセスかを決定し何れかのアク
セスを有効にする信号を出す第1デコード回路と、通常
アクセスのとき使用される通常アクセス制御回路と、短
縮アクセスのとき使用される短縮アクセス制御回路と、
前記通常アクセス制御回路または前記短縮アクセス制御
回路からの入力を出力させる出力制御回路とを有するこ
とを特徴とする請求項1記載のデータ送受信回路。
2. A signal decoding circuit comprising: a first decoding circuit for decoding an instruction to determine a normal access or a shortened access and outputting a signal for validating either access; and a normal decoding circuit used for a normal access. An access control circuit, a shortened access control circuit used for shortened access,
2. The data transmission / reception circuit according to claim 1, further comprising: an output control circuit for outputting an input from the normal access control circuit or the shortened access control circuit.
【請求項3】 前記復元回路は、受信したアドレスと前
記データサイズ信号により受信したデータのどのビット
が有効かをデコードし有効ビット信号を出力する第2デ
コード回路と、前記データ転送回数信号と前記データサ
イズ信号の値により前記アドレスバスから入力されるア
ドレスをインクリメントして本来必要なアドレスを復元
するカウンタと、前記データ転送回数信号の値と前記第
2デコード回路からの有効ビット信号により受信したデ
ータとをコピーし本来必要なデータを復元するコピー回
路とを有することを特徴とする請求項1記載のデータ送
受信回路。
A second decoding circuit for decoding which bit of the received data is valid based on the received address and the data size signal and outputting a valid bit signal; A counter for restoring an originally required address by incrementing an address input from the address bus according to a value of a data size signal, and a data received by a value of the data transfer number signal and a valid bit signal from the second decoding circuit 2. A data transmission / reception circuit according to claim 1, further comprising a copy circuit for copying the data and restoring the originally required data.
【請求項4】 前記第1デコード回路は、連続するアド
レスに同一データが転送されるとき、前記短縮アクセス
制御回路に対してアクセスを有効にする信号を出すこと
を特徴とする請求項1または2記載のデータ送受信回
路。
4. The first decoding circuit according to claim 1, wherein when the same data is transferred to consecutive addresses, the first decoding circuit issues a signal for enabling access to the shortened access control circuit. A data transmission / reception circuit as described.
【請求項5】 前記第1デコード回路は、転送するデー
タが異なりアドレスが連続したものでないとき、前記通
常アクセス制御回路に対してアクセスを有効にする信号
を出すことを特徴とする請求項1または2記載のデータ
送受信回路。
5. The apparatus according to claim 1, wherein the first decoding circuit outputs a signal for enabling access to the normal access control circuit when data to be transferred is different and addresses are not consecutive. 2. The data transmitting / receiving circuit according to 2.
【請求項6】 前記短縮アクセス制御回路は、転送する
アドレスの値を最初の値のみ出力することを特徴とする
請求項1または2記載のデータ送受信回路。
6. The data transmitting / receiving circuit according to claim 1, wherein the shortened access control circuit outputs only an initial value of an address to be transferred.
【請求項7】 前記通常アクセス制御回路は、転送する
アドレスの値を本来の値のまま出力することを特徴とす
る請求項1または2記載のデータ送受信回路。
7. The data transmitting / receiving circuit according to claim 1, wherein the normal access control circuit outputs the value of the address to be transferred as it is.
【請求項8】 前記連続するアドレスは、公差が1、
2、4の何れかの等差級数となるアドレスであることを
特徴とする請求項4記載のデータ送受信回路。
8. The continuous addresses have a tolerance of 1,
5. The data transmitting / receiving circuit according to claim 4, wherein the address is an arithmetic series of any one of 2, 4 and 4.
【請求項9】 データ送受信を行う第1デバイスおよび
第2デバイスと、前記第1デバイスと前記第2デバイス
とを接続するアドレスバス、データバス、データの転送
回数を示すデータ転送回数信号、およびデータサイズを
示すデータサイズ信号とを有し、前記第1デバイスおよ
び前記第2デバイスは、共に、前記アドレスバス、前記
データバス、前記データ転送回数信号、および前記デー
タサイズ信号の各々の値を生成する信号生成回路と、前
記データ転送回数信号および前記データサイズ信号をデ
コードしデータおよびアドレスを復元する復元回路と、
前記復元回路の前段に設けられるバッファとを有するこ
とを特徴とするデータ送受信回路。
9. A first device and a second device for transmitting and receiving data, an address bus connecting the first device and the second device, a data bus, a data transfer number signal indicating the number of data transfers, and data. And a data size signal indicating a size, wherein both the first device and the second device generate respective values of the address bus, the data bus, the data transfer count signal, and the data size signal. A signal generation circuit, a restoration circuit for decoding the data transfer number signal and the data size signal to restore data and addresses,
A data transmission / reception circuit, comprising: a buffer provided before the restoration circuit.
JP15664699A 1999-06-03 1999-06-03 Data transmission / reception circuit Expired - Lifetime JP3473746B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15664699A JP3473746B2 (en) 1999-06-03 1999-06-03 Data transmission / reception circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15664699A JP3473746B2 (en) 1999-06-03 1999-06-03 Data transmission / reception circuit

Publications (2)

Publication Number Publication Date
JP2000347992A true JP2000347992A (en) 2000-12-15
JP3473746B2 JP3473746B2 (en) 2003-12-08

Family

ID=15632218

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15664699A Expired - Lifetime JP3473746B2 (en) 1999-06-03 1999-06-03 Data transmission / reception circuit

Country Status (1)

Country Link
JP (1) JP3473746B2 (en)

Also Published As

Publication number Publication date
JP3473746B2 (en) 2003-12-08

Similar Documents

Publication Publication Date Title
EP0886220B1 (en) Low power memory bus interface
JPH04107070A (en) Encoding and decoding device
JP4667773B2 (en) Memory system having data inversion and data inversion method in memory system
KR100264875B1 (en) High speed cyclical redundancy check system using a programmable architecture
US6640277B1 (en) Input staging logic for latching source synchronous data
US7512190B2 (en) Data transmission apparatus using asynchronous dual-rail bus and method therefor
US5724615A (en) Communication circuit receiving data selectably synchronized to the rising or falling edge of a timing signal provided from the data source
JP2000347992A (en) Data transmitting and receiving circuit
JP2007148622A (en) Interface setting method
JP2002300021A (en) Integrated circuit device
JP2979814B2 (en) Serial data transfer device
JP2000276435A (en) Method and device for data transfer
JPH10340596A (en) Data storage device and semiconductor memory
JP2001134341A (en) Clock supply system
JPH056335A (en) Inter-device interface system
KR100234691B1 (en) Data transmission apparatus of computer peripheral device
JPH04333954A (en) Information processor
KR19980083459A (en) Databus Sizing Device
JP2007018403A (en) Register compatible with different interface
JPH10312356A (en) Data transfer device
KR20050107159A (en) Bus controller for serial interface of system
JPH07219883A (en) Data transfer device
JPH0756758A (en) Data processor
JPH11120114A (en) Data transfer device
JP2004110705A (en) Data transfer 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: 20030819

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080919

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080919

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090919

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090919

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100919

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110919

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120919

Year of fee payment: 9

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120919

Year of fee payment: 9

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120919

Year of fee payment: 9

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350