JPH01191965A - Serial bus access system - Google Patents
Serial bus access systemInfo
- Publication number
- JPH01191965A JPH01191965A JP1788388A JP1788388A JPH01191965A JP H01191965 A JPH01191965 A JP H01191965A JP 1788388 A JP1788388 A JP 1788388A JP 1788388 A JP1788388 A JP 1788388A JP H01191965 A JPH01191965 A JP H01191965A
- Authority
- JP
- Japan
- Prior art keywords
- address
- register
- comparison
- updated
- serial bus
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 claims description 5
- 230000005540 biological transmission Effects 0.000 abstract description 11
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
Landscapes
- Bus Control (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はシリアルバスアクセス方式に関するものである
。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a serial bus access method.
従来のシリアルパスアクセス方式は、アクセスのたびに
制御コマンドとアドレスをシリアルバスに送出していた
。Conventional serial path access methods send control commands and addresses to the serial bus each time an access is made.
上述した従来のシリアルバスアクセス方式は、アクセス
のたびにアドレスを送出しているため、アドレス空間が
拡大するにつれ、シリアルバスの転送速度を高めないと
アクセス時間が増大するという欠点がある。In the conventional serial bus access method described above, an address is sent every time an access is made, so as the address space expands, the access time increases unless the transfer speed of the serial bus is increased.
これに対し、本発明はプロセッサが出力するアドレスに
よりては、シリアルバスにアドレスを送出せずにアクセ
スし得るという相違点を有する。In contrast, the present invention has a difference in that depending on the address output by the processor, access can be made without sending the address to the serial bus.
本発明のシリアルパスアクセス方式は、データ転送の最
終アドレスの次アドレスを入出力装な対応に保持するた
めの送信側レジスタと、受信した次アドレスを保持する
ための受信側レジスタと、データ転送を行なおうとする
ときKは、先頭アドレスと対応する送信側レジスタの保
持内容とを比較する比較回路とを設け、この比較の後に
送信側レジスタを更新し、かつ比較の結果が不一致の場
合には更新後の送信側レジスタの保持内容で受信側レジ
スタを更新して使用し、また比較の結果が一致の場合に
は受信wルジスタを更新せずに使用するようにしたこと
を特徴とする。The serial path access method of the present invention has a transmitting side register for holding the next address of the final address of data transfer corresponding to the input/output device, a receiving side register for holding the received next address, and a receiving side register for holding the next address after the final address of data transfer. When attempting to do so, K is provided with a comparison circuit that compares the starting address with the contents held in the corresponding transmitter side register, updates the transmitter side register after this comparison, and if the comparison result does not match, then The present invention is characterized in that the receiving register is updated and used with the contents held in the updated transmitting register, and if the result of the comparison is a match, the receiving register is used without being updated.
第1図は本発明の一実施例を示すブロック図であり、プ
ロセッサ1、加算回路2、送信制御回路3、レジスタ4
および比較回路5から成る送信側と、受信制御回路6、
切替回路7、レジスタ8および加算回路9から成る受信
側とがシリアルバス10で接続されている。FIG. 1 is a block diagram showing one embodiment of the present invention, in which a processor 1, an adder circuit 2, a transmission control circuit 3, a register 4
and a transmitter side consisting of a comparison circuit 5, a reception control circuit 6,
A receiving side consisting of a switching circuit 7, a register 8 and an adder circuit 9 is connected via a serial bus 10.
プロセッサ1は、シリアルバス10を介してデータ転送
を行なおうとするときKは、先頭アドレスt□と転送パ
イ)Uttを出力する。加算回路2は、先頭アドレスt
1 と転送バイト数t!を加算し、送信制御回路3から
の書込制御イΔ号t、より、この加算結果t、をレジス
タ4に書き込む。When the processor 1 attempts to transfer data via the serial bus 10, K outputs the start address t□ and the transfer pi)Utt. The adder circuit 2 receives the start address t
1 and the number of transferred bytes t! This addition result t is written into the register 4 using the write control signal Δt from the transmission control circuit 3.
加算結果1sは、上述のデータ転送が行なわれた最終ア
ドレスの次のアドレス、すなわち、連続してデータ転送
を行なう場合の先頭アドレスであることは容易に理解で
きる。It is easy to understand that the addition result 1s is the address next to the final address at which the above-described data transfer was performed, that is, the first address in the case of continuous data transfer.
比較回路5は、レジスタ4の保持内81+ と先頭アド
レスt1を比較結果t・を出力する。送信制御回路3は
、先頭アドレスt1 と転送バイト数1、が入力すると
、比較結果t6の内容に応じて異なる制御を行なう。The comparison circuit 5 compares 81+ held in the register 4 with the start address t1 and outputs a result t. When the start address t1 and the number of transfer bytes 1 are input, the transmission control circuit 3 performs different control depending on the contents of the comparison result t6.
すなわち、比較結果t6の内容が、レジスタ4の保持内
容と先頭アドレスt、とは一致することを示すものであ
る場合には、送信制御回路3は、転送バイト数り、とア
ドレス生成要求を含むコマンドを生成してシリアルバス
10に送出し、書込制御信号1.により加算結果t3を
レジスタ4に書き込む。That is, if the content of the comparison result t6 indicates that the content held in the register 4 and the start address t match, the transmission control circuit 3 includes the number of transferred bytes and an address generation request. A command is generated and sent to the serial bus 10, and a write control signal 1. The addition result t3 is written into the register 4.
また、比較結果t・の内容が、レジスタ4の保持内容と
先頭アドレスt1 とは一致しないことを示すものであ
る場合には送信制御回路3は、転送バイト数t、とアド
レス受信要求を含むコマンドを生成し、かつ先頭アドレ
スt1をシリアル変換して、順次にシリアルバスIOK
送出する。この場合にも、書込制御信号t、 IICよ
り加算結果t。Furthermore, if the contents of the comparison result t indicate that the contents held in the register 4 and the start address t1 do not match, the transmission control circuit 3 sends a command containing the number of transfer bytes t and an address reception request. , converts the start address t1 into serial, and sequentially converts the serial bus IOK.
Send. In this case as well, the addition result t is obtained from the write control signal t and IIC.
をレジスタ4に書き込む。is written to register 4.
受信制御回路6は、シリアルバス10を介して、上述の
よりな2!11類のコマンドやアドレスを受信すると、
コマンドを解析して以下のような制御を行なう。When the reception control circuit 6 receives the above-mentioned 2!11 type commands and addresses via the serial bus 10,
It analyzes commands and performs the following controls.
すなわち、コマンドがアドレス生成要求である場合には
、切替回路7がレジスタ8の保持内容t、。That is, when the command is an address generation request, the switching circuit 7 selects the contents t, held in the register 8.
を受は入れるような内容の切替信号(論理@0”とする
)t−を発生すると共に、書込制御信号t0により加算
回路9における加算結果t1!をレジスタ8に書き込む
。It generates a switching signal t- (logic @0'') with contents such as to accept or enter , and writes the addition result t1! in the adder circuit 9 to the register 8 using the write control signal t0.
また、コマンドがアドレス受信要求である場合には、シ
リアルバス10を介してシリアルに受信した先頭アドレ
ス1.をパラレル変換して受信アドレスt、とじて出力
し、切替回路7がこの受信アドレスt、を受は入れるよ
うな内容の切替信号(論理@1“とする)t・を発生す
ると共に、書込制御信号t11により加算結果1.をレ
ジスタ8に曹き込む、。Further, if the command is an address reception request, the first address 1 . is converted into parallel and outputted as a received address t, and the switching circuit 7 generates a switching signal t (logic @1") with contents to accept or accept this received address t, and also writes. The addition result 1. is written into the register 8 by the control signal t11.
切替回路7は、切替信号t、oが@0”か@1”かくよ
り、受は入れたレジスタ8の保持内容t1゜又は受信ア
ドレスt、を内部アドレスバス”14に出力し、加算回
路9は内部アドレスバスt14上のアドレスと受信制御
回路6が受信した転送バイト数ttsを加算し、加算結
果211を出力する。、。The switching circuit 7 outputs the contents t1゜ held in the register 8 or the received address t to the internal address bus ``14'' when the switching signals t and o are @0'' or @1'', and the adder circuit 9 adds the address on the internal address bus t14 and the number of transfer bytes tts received by the reception control circuit 6, and outputs the addition result 211.
次に1本実施例の動作を説明する。Next, the operation of this embodiment will be explained.
データ転送の当初においては、比較結果t6は不一致を
示す内容のものであろう。この場合には、加算結果t1
がレジスタ4に書き込まれると共に、アドレス受信要求
が受信制御回路6に伝えられる。At the beginning of data transfer, the comparison result t6 will indicate a mismatch. In this case, the addition result t1
is written into the register 4, and an address reception request is transmitted to the reception control circuit 6.
従って、切替信号り、は論理11”となるため、切替回
路7は受信アドレスtm (先頭アドレスt。Therefore, since the switching signal RI becomes logic 11'', the switching circuit 7 receives the reception address tm (starting address t).
に等しい)を内部アドレスバスt、4に出力するので、
加算回路9は受信アドレスt、と転送バイト数t*SC
転送バイト数t、 K等しい)を加算する。) is output to the internal address bus t,4, so
The adder circuit 9 receives the received address t and the number of transferred bytes t*SC.
Add the number of transferred bytes t, which is equal to K).
この結果、加算結果t、は送信側における加算結果Ls
K等しく、この同値のアドレスがレジスタ8に書き込ま
れる。なお、受信側においてはデータ転送は内部アドレ
スバス/−14上のアドレスを先頭アドレスとして行な
われることになる。As a result, the addition result t is the addition result Ls on the sending side
K, and the address of this same value is written into the register 8. Incidentally, on the receiving side, data transfer is performed using the address on the internal address bus /-14 as the starting address.
上述のようにして、プロセッサ1により設定された転送
バイト数t、だけのデータ転送が終了すると、プロセッ
サ1は新たに先頭アドレスt1と転送バイト数t!を設
定して次のデータ転送を行なおうとする。この場合、倉
しいデータ転送が直前のデータ転送から連続したアドレ
スから行なわれることがよくある。As described above, when the data transfer of the number of transfer bytes t set by the processor 1 is completed, the processor 1 newly transfers the start address t1 and the number of transfer bytes t! , and then try to perform the next data transfer. In this case, the desired data transfer is often performed from an address consecutive from the previous data transfer.
そのような場合には、新しい先頭アドレスt1はレジス
タ4、そしてレジスタt、に保持されているものと同値
である。レジスタ4は、このような連続アドレスへのデ
ータ転送を検出するのに使用され、またレジスタ8は、
新しいデータ転送の先頭アドレスをシリアルバスlOを
介して送出することを不要化する。In such a case, the new starting address t1 is the same value as that held in register 4 and then register t. Register 4 is used to detect data transfers to such consecutive addresses, and register 8 is
To eliminate the need to send the start address of a new data transfer via a serial bus IO.
すなわち、比較回路5がレジスタ4の保持内容、つまり
直前のデータ転送における最終アドレスの次のアドレス
と新しい先頭アドレスt、とを比較して、比較結果t・
が−ンを示していれば、送信制御回路3は転送バイト数
11 とコマンドを送出するのみで、新しい先頭アドレ
スt1は送出しない。この場合、受信側において新しい
データ転送に使用される先頭アドレスはレジスタ8から
切替回路7により内部アドレスt、、に与えられるので
ある。That is, the comparator circuit 5 compares the content held in the register 4, that is, the address next to the final address in the previous data transfer, with the new start address t, and obtains the comparison result t.
If it indicates -, the transmission control circuit 3 only sends the number of transfer bytes 11 and a command, but does not send the new start address t1. In this case, the starting address used for new data transfer on the receiving side is given from the register 8 to the internal address t by the switching circuit 7.
なお、新しいデータ転送が直前のデニタ転送から連続し
ていないアドレスから行なわれる場合は、動作説明の初
についての説明と同様な動作が行なわれる。Note that when a new data transfer is performed from an address that is not consecutive from the previous monitor transfer, the same operation as described at the beginning of the operation description is performed.
以上に説明した実施例においては、説明を単純化するた
めに、1つの入出力装置のみを想定しているが、通常は
そうであるように、N(N≧2)個の入出力装置とのデ
ータ転送を行なう場合には、送信filIKはレジスタ
4と同様なレジスタを8個設けて、プロセッサ1からの
指定により使い分けるようにすればよい。In the embodiment described above, in order to simplify the explanation, only one input/output device is assumed, but as is usually the case, there are N (N≧2) input/output devices. In the case of data transfer, eight registers similar to register 4 may be provided for transmission filIK, and the registers may be selectively used according to instructions from processor 1.
以上説明したように本発明は、アドレスを記憶させるレ
ジスタを送信側と受信卵に設けて転送バイト数を加えた
アドレスを共に記憶させておくことにより、連続アドレ
スのアクセスに対してはシリアルバスへのアドレス送出
を省略することが可能となるため、アクセス時間を短縮
でき、またシリアルバスが多く用いられるマルチプロセ
ッサシステムにおいてはバスの使用効率が向上するとい
う効果がある。As explained above, the present invention provides registers for storing addresses on the transmitting side and the receiving side, and by storing the address including the number of transferred bytes together, the serial bus is used for continuous address access. Since it is possible to omit sending addresses, access time can be shortened, and bus usage efficiency can be improved in multiprocessor systems where serial buses are often used.
第1図は、本発明の一実#1例の構成図である。
1・・・・・・プロセッサ、2.9−・・・・・加算回
路、3・・・・・・送信制御回路、4.8・・・・・・
レジスタ、5・・・・・・比較回路、6・・・・・・受
信制御回路、?−−−−−・切替回路、10・・・・・
・シリアルバス、t 14 ”” ”・内部アドレスノ
(ス。
代理人 弁理士 内 原 晋FIG. 1 is a block diagram of an example #1 of the present invention. 1... Processor, 2.9-... Addition circuit, 3... Transmission control circuit, 4.8...
Register, 5... Comparison circuit, 6... Reception control circuit, ? ------・Switching circuit, 10...
・Serial bus, t14 ”” ”・Internal address no. Agent: Susumu Uchihara, patent attorney
Claims (1)
応に保持するための送信側レジスタと、受信した前記次
アドレスを保持するための受信側レジスタと、 データ転送を行なおうとするときには先頭アドレスと対
応する前記送信側レジスタの保持内容とを比較する比較
回路 とを設け、前記比較の後に前記送信側レジスタを更新し
、かつ前記比較の結果が不一致の場合には更新後の前記
送信側レジスタの保持内容で前記受信側レジスタを更新
して使用し、また前記比較の結果が一致の場合には前記
受信側レジスタを更新せずに使用するようにしたことを
特徴とするシリアルバスアクセス方式。[Scope of Claims] A transmitting side register for holding the next address of the final address of data transfer corresponding to the input/output device, and a receiving side register for holding the received next address; When doing so, a comparison circuit is provided that compares the start address and the contents held in the corresponding transmitting side register, and after the comparison, the transmitting side register is updated, and if the result of the comparison is a mismatch, the updated contents are The serial device is characterized in that the receiving side register is updated and used with the content held in the sending side register, and when the result of the comparison is a match, the receiving side register is used without being updated. Bus access method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1788388A JPH01191965A (en) | 1988-01-27 | 1988-01-27 | Serial bus access system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1788388A JPH01191965A (en) | 1988-01-27 | 1988-01-27 | Serial bus access system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH01191965A true JPH01191965A (en) | 1989-08-02 |
Family
ID=11956101
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP1788388A Pending JPH01191965A (en) | 1988-01-27 | 1988-01-27 | Serial bus access system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH01191965A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6217780A (en) * | 1985-07-17 | 1987-01-26 | Sanyo Electric Co Ltd | Image forming device |
JPS62128351A (en) * | 1985-11-29 | 1987-06-10 | Yokogawa Medical Syst Ltd | Data transfer equipment |
-
1988
- 1988-01-27 JP JP1788388A patent/JPH01191965A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6217780A (en) * | 1985-07-17 | 1987-01-26 | Sanyo Electric Co Ltd | Image forming device |
JPS62128351A (en) * | 1985-11-29 | 1987-06-10 | Yokogawa Medical Syst Ltd | Data transfer equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS61141065A (en) | Bus system | |
JPH0381862A (en) | Equipment and method for communication of vehicle-mounted network | |
JPH01191965A (en) | Serial bus access system | |
SU1550524A1 (en) | Device for interfacing processor and external unit | |
JPS626177A (en) | Trigger control device | |
JP3413894B2 (en) | Serial transmission device | |
JPH0373039A (en) | Processor and multiprocessor system | |
JP2821321B2 (en) | DMA controller | |
JPH03252848A (en) | Variable bus width designation/information reception system for split bus | |
JPH0417051A (en) | Data transfer method | |
SU1608677A2 (en) | Channel to channel adapter | |
JP2708366B2 (en) | Data processing system and auxiliary control device | |
JP3088341B2 (en) | High-speed data transfer method on bus | |
JPH0374751A (en) | Input/output controller | |
JPS6095674A (en) | Data transmitting system | |
JPS62175850A (en) | Channel device | |
JPH05128279A (en) | One-chip microcomputer | |
JPH03110656A (en) | Main memory data transfer control system | |
JPH01250118A (en) | Data processing system | |
JPH03121556A (en) | Data transfer device | |
JPH01204169A (en) | Bus transfer control system | |
JPS63204456A (en) | Bus control device | |
JPH0644180A (en) | Dma device | |
JPS62279749A (en) | Communication equipment for micro computer for automobile | |
JPH06291768A (en) | Signal transmission controller |