JPS62243441A - Data reception control equipment - Google Patents
Data reception control equipmentInfo
- Publication number
- JPS62243441A JPS62243441A JP8605886A JP8605886A JPS62243441A JP S62243441 A JPS62243441 A JP S62243441A JP 8605886 A JP8605886 A JP 8605886A JP 8605886 A JP8605886 A JP 8605886A JP S62243441 A JPS62243441 A JP S62243441A
- Authority
- JP
- Japan
- Prior art keywords
- terminator
- data
- dma
- signal
- controller
- 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
- 230000005540 biological transmission Effects 0.000 abstract 3
- 238000000034 method Methods 0.000 description 17
- 238000010586 diagram Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 2
- ZKGNPQKYVKXMGJ-UHFFFAOYSA-N N,N-dimethylacetamide Chemical compound CN(C)C(C)=O.CN(C)C(C)=O ZKGNPQKYVKXMGJ-UHFFFAOYSA-N 0.000 description 1
Landscapes
- Small-Scale Networks (AREA)
Abstract
Description
【発明の詳細な説明】
[産業上の利用分野]
この発明はDMA方式に従ってデータを転送する際用い
られるデータ受信制御装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data reception control device used when transferring data according to a DMA method.
[従来の技術]
従来のDMA方式のデータ受信制御装置を第2図を用い
て説明する。[Prior Art] A conventional DMA data reception control device will be described with reference to FIG.
ここでダイレクトメモリアクセス(DMA)とは、I1
0インターフェイス部にCPUとは別個の制御装置(D
MAコントローラ)を設け、この制御袋装置がCPUか
ら与えられた指令によって、データをブロック単位で直
接主記憶装置と前記I10装置間で高速転送する方式を
いう。Here, direct memory access (DMA) is I1
A control device (D
This is a method in which a control bag device (MA controller) is provided, and this control bag device directly transfers data block by block between the main storage device and the I10 device at high speed according to commands given from the CPU.
第2図は従来のり、MA方式のデータ受信制御装置の構
成図である0図において(1)はプロセッサ、(2)は
データ転送の際のDMA方式を制御するDMAコントロ
ーラ、(3)は入出力装置などの外部装置との間でデー
タ転送を行なう時にデータ転送の管理をするG P−I
Bコントローラ、(4)、(5)はそれぞれ外部記憶
としてのROMとRAMである。これら各装置はデータ
バスDB2を介して相互に接続されている。Figure 2 is a block diagram of a conventional MA data reception control device. In Figure 0, (1) is a processor, (2) is a DMA controller that controls the DMA system during data transfer, and (3) is an input G P-I, which manages data transfer when transferring data between external devices such as output devices
B controllers (4) and (5) are ROM and RAM as external storage, respectively. These devices are interconnected via a data bus DB2.
次にこのように構成された従来のデータ受信制御装置を
用いて行うDMA方式のデータ転送の動作を説明する。Next, the operation of data transfer using the DMA method using the conventional data reception control device configured as described above will be explained.
まずプロセッサ(1)はDMA転送の必要が生じたとき
、DMAコントローラ(2)にデータ転送に必要な情報
例えば転送するデータのバイト数やメモリ上の転送開始
番地などを設定する。First, when a need for DMA transfer arises, the processor (1) sets information necessary for data transfer, such as the number of bytes of data to be transferred and the transfer start address on memory, in the DMA controller (2).
ここでデータバスDB2を介して送られてくるデータ転
送要求に従ってG P−I Bコントローラ(3)がD
MAコントローラ(2)に対しDMAリクエスト信号S
2を出力すると、DMAコントローラ(2)はプロセッ
サ(1)にバスの使用を要求するための信号を出力し、
プロセッサ(1)を見かけ上データバスDB2’から切
り離す。Here, in accordance with the data transfer request sent via the data bus DB2, the G P-I B controller (3)
DMA request signal S to MA controller (2)
2, the DMA controller (2) outputs a signal to request the processor (1) to use the bus,
The processor (1) is apparently separated from the data bus DB2'.
プログラマブル計測器用標準インターフェイスバスすな
わちGP−IBは、国際電気標準会議(I E C:
International Electrotecb
nicalCommission)において、一般計測
器分野における計測器用標準インターフェイスとして規
格化されたバスの名称である。The Standard Interface Bus for Programmable Instruments, or GP-IB, is the International Electrotechnical Commission (IEC).
International Electrotecb
This is the name of a bus standardized as a standard interface for measuring instruments in the field of general measuring instruments in the International Instrumentation Commission.
そしてDMAコントローラ(2)は前もってプロセッサ
(1)によって設定されている情報にもとづいてプロセ
ッサ(1)を介さずに直接データ転送を行う、DMA方
式によるデータ転送が終了すると、プロセッサ(1)へ
のバスの使用を要求するための信号を解除し、データバ
スDB2にプロセッサ(1)を接続した状態に戻す。Then, the DMA controller (2) directly transfers data without going through the processor (1) based on the information set by the processor (1) in advance. When the data transfer using the DMA method is completed, the DMA controller (2) transfers data directly to the processor (1). The signal for requesting use of the bus is released, and the state in which the processor (1) is connected to the data bus DB2 is restored.
[発明が解決しようとする問題点]
従来のDMA方式におけるデータ受信制御装置は上記の
ように構成されていたので、転送されたデータをDMA
方式によって受信する場合には、あらかじめ設定されて
いる受信データ数に従って転送されたデー、夕を受は取
らなければならなかった。[Problems to be Solved by the Invention] Since the data reception control device in the conventional DMA system was configured as described above, it is difficult to transfer the transferred data by DMA.
When receiving data using this method, the receiver had to receive the transferred data according to the preset number of received data.
しかしながら一般に受信データ数がわかっていることは
少なく、受信するデータの転送バイト数を設定しておい
て、この設定した転送バイト数に従ってデータ転送を行
う従来のデータ受信制御装置ではDMA方式を用いるデ
ータ転送に制限′があった。この発明は上記問題点を解
消するためになされたもので、あらかじめ受信データ数
がわかっていなくとも高速のDMA方式を用いてデータ
転送を行えるデータ受信制御装置を得ることを目的とし
ている。However, in general, the number of received data is rarely known, and conventional data reception control devices that set the number of transfer bytes of received data and transfer data according to the set number of transfer bytes use the DMA method. There were restrictions on transfer. The present invention has been made to solve the above problems, and an object of the present invention is to provide a data reception control device that can transfer data using a high-speed DMA method even if the number of received data is not known in advance.
[問題点を解決するための手段]
このためこの発明にかかるデータ受信制御装置は、プロ
セッサによりあらかじめデータのターミネータを設定さ
れているターミネータ設定器と、データバスから送られ
てくるターミネータとターミネータ設定器に設定されて
いるターミネータとを比較して一致している時ターミネ
ータ一致信号を出□力するターミネータ比較器と、 G
P−I Bコントローラから送られてくるDMAリク
エスト信号を上記ターミネータ一致信号が出力されてい
ないときだけ通過させてDMAコントローラに伝えるゲ
ート回路とを備えていることを特□徴としている。[Means for Solving the Problems] Therefore, the data reception control device according to the present invention includes a terminator setting device in which a data terminator is set in advance by a processor, and a terminator and terminator setting device that are sent from a data bus. a terminator comparator that outputs a terminator match signal when they match with the terminator set in G;
The present invention is characterized by comprising a gate circuit that passes a DMA request signal sent from the P-I B controller and transmits it to the DMA controller only when the terminator match signal is not output.
[作用]
この発明におけるターミネータ設定器6には、プロセッ
サ1によりあらかじめターミネータが設定されている。[Operation] A terminator is set in advance in the terminator setting device 6 in the present invention by the processor 1.
ここで、データバスDBZからターミネータが送られて
くると、ターミネータ比較器7はデータバスDB2から
送られてくるターミネータとターミネータ設定器6に設
定されているターミネータとを比較して一門している時
ターミネータ一致信号S1を出力する。Here, when a terminator is sent from the data bus DBZ, the terminator comparator 7 compares the terminator sent from the data bus DB2 with the terminator set in the terminator setter 6. A terminator match signal S1 is output.
ゲート回路8は上記ターミネータ一致信号31にもとづ
いて、G P−I Bコントローラ3から送られてくる
DMAリクエスト信号S2を上記ターミネータ一致信号
S1が出力されていないときだけ通過させてDMAコン
トローラ2に伝える。Based on the terminator match signal 31, the gate circuit 8 passes the DMA request signal S2 sent from the GPI B controller 3 and transmits it to the DMA controller 2 only when the terminator match signal S1 is not output. .
[実施例] 以下1図面に基づいて本発明の詳細な説明する。[Example] The present invention will be described in detail below based on one drawing.
第1図は本発明の一実施例を示す構成図で、図において
(1)ないしく5)は従来技術と同一の構成要素、(6
)はプロセッサ(1)から送られてくるターミネータを
設定しておくターミネー′り設定器、(7)はデータバ
スDB2から送られてくるターミネータとターミネータ
設定器(6)に設定されているターミネータとを比較し
て一致しているときターミネータ一致信号Slを出力す
るターミネータ比較器、(8)はターミネータ−負信号
S1が出力されていないときだけG P−I Bコント
ローラ(3)から出力されるDMAリクエスト信号S2
を通過させて、DMAコントローラ(2)に伝えるゲー
ト回路、(9)はターミネータ比較器(7)から出力さ
れているターミネータ−負信号Slを解除したり、ター
ミネータの検出を行うか否かの制御を行い、かつDMA
方式による動作を制御するDMA o n/ o f
f信号S5をゲート回路8に出力する制御器である。FIG. 1 is a configuration diagram showing an embodiment of the present invention, in which (1) to 5) are the same components as in the prior art, and (6) are the same components as in the prior art.
) is a terminator setting device that sets the terminator sent from the processor (1), and (7) is a terminator that is sent from the data bus DB2 and the terminator set in the terminator setting device (6). A terminator comparator (8) outputs a terminator match signal Sl when they match, and a terminator comparator (8) is a DMA signal that is output from the G P-I B controller (3) only when the terminator negative signal S1 is not output. Request signal S2
A gate circuit (9) controls whether or not to cancel the terminator negative signal Sl output from the terminator comparator (7) and to detect the terminator. and DMA
DMA on/off to control operation by method
This is a controller that outputs the f signal S5 to the gate circuit 8.
次に上記のように構成された本発明の詳細な説明する。Next, the present invention configured as described above will be explained in detail.
まずプロセッサ(1)はターミネータ設定器(6)に対
し、内部データバスDBIを介してターミネータを設定
する。First, the processor (1) sets a terminator to the terminator setting device (6) via the internal data bus DBI.
このターミネータはDMA方式によって転送されるデー
タの終了を表す制御信号であり、複数個あるときは複数
個設定することも可能となっている。This terminator is a control signal indicating the end of data transferred by the DMA method, and if there are multiple terminators, it is possible to set a plurality of them.
ここでATN信号が“ハイ°′ (データモード)であ
り、DAV信号が“ロウ” (データが有効)であると
きに、データバスDB2からデータの転送の終了を表す
ターミネータが送られてきたとき、ターミネータ比較器
(7)はターミネータ−負信号S1を出力してゲート回
路(8)に伝える。Here, when the ATN signal is "high" (data mode) and the DAV signal is "low" (data valid), a terminator indicating the end of data transfer is sent from data bus DB2. , the terminator comparator (7) outputs a terminator negative signal S1 and transmits it to the gate circuit (8).
ゲート回路(8)は上記ターミネータ−負信号S1を受
信している間ゲートを閉じ、G P−I Bコントロー
ラ(3)からDMAリクエスト信号S2が出力されても
DMAコントローラ(2)に伝えないようにしている。The gate circuit (8) closes the gate while receiving the terminator negative signal S1, so that even if the DMA request signal S2 is output from the G P-I B controller (3), it will not be transmitted to the DMA controller (2). I have to.
このようにしてデータバスDB2からターミネータが送
られてこない間、GP−IBコントローラ(3)から送
られてくるDMAリクエスト信号S2をDMAコントロ
ーラ(2)が受は付けることによって、あらかじめ受信
するデータ数を設定しておかなくともDMA方式による
データ転送が行えるようにする。In this way, while the terminator is not sent from the data bus DB2, the DMA controller (2) accepts the DMA request signal S2 sent from the GP-IB controller (3), thereby allowing the number of data to be received in advance. To enable data transfer by DMA method even without setting.
そして所定の動作が終了した後は制御器(9)から出力
されるターミネータ一致クリア信号S3によってターミ
ネータ比較器(7)から出力されるターミネータ−負信
号Slを解除しておく。After the predetermined operation is completed, the terminator negative signal Sl output from the terminator comparator (7) is canceled by the terminator match clear signal S3 output from the controller (9).
なお、制御器(9)からターミネータ比較器(7)に対
し、ターミネータ検出可/不可信号S4を出力するよう
にしてターミネータ検出不可信号を出力している間、従
来と同様のDMA方式によるデータ転送を行えるように
してもよい。Note that while the controller (9) is outputting the terminator detectable/unable signal S4 to the terminator comparator (7) to output the terminator detectable/unable signal, data transfer using the DMA method similar to the conventional one is performed. You may also be able to do this.
またDMA方式以外のデータ転送を用いるときは制御器
(9)からゲート回路(8)に対し、DMAon、of
f信号を出力できるようにして、DMA方式以外のデー
タ転送を行う場合にはゲート回路(8)を閉じた状態に
しておいてもよい。In addition, when using data transfer other than DMA method, the controller (9) sends DMA on, off to the gate circuit (8).
The gate circuit (8) may be kept in a closed state when the f signal is output and data transfer is performed using a method other than the DMA method.
またターミネータ−負信号S1をプロセッサ(1)に伝
えることにより、プロセッサ(1)に対する割込信号と
して用い、この割込信号があったときはプロセッサ(1
)があらかじめ決められた処理を行えるようにしてもよ
い。In addition, by transmitting the terminator negative signal S1 to the processor (1), it is used as an interrupt signal for the processor (1).
) may perform predetermined processing.
例えばデータバスDB2から複数個のターミネータが送
られてきたときに初めてDMA方式によるデータ転送の
終了を意味するように構成し、ターミネータ設定器(6
)に複数個のターミネータのうち最後のターミネータの
み設定しておいて、この最後のターミネータがデータバ
スDB2から送られてきてターミネータ−負信号S1が
プロセッサ(1)に伝えられた時、プロセッサ(1)が
複数個のターミネータが送られてきたか否かを調べてD
MA方式のデータ転送が終了したか否かを判別するよう
にしてもよい。For example, the configuration is such that it means the end of data transfer using the DMA method only when a plurality of terminators are sent from the data bus DB2, and the terminator setting device (6
), and when this last terminator is sent from the data bus DB2 and a terminator-negative signal S1 is transmitted to the processor (1), the processor (1) ) checks whether multiple terminators have been sent and
It may be determined whether or not data transfer using the MA method has been completed.
[発明の効果]。[Effect of the invention].
以上述べたようにこの発明はデータバスから送られてく
るターミネータを検出してG P−I Bコントローラ
から出力されるDMAリクエスト信号を制御するように
構成したので、送られてくるデータ数があらかじめ、わ
からない場合であっても。As described above, this invention is configured to detect the terminator sent from the data bus and control the DMA request signal output from the GPI B controller, so the number of data to be sent can be determined in advance. , even if you don't know.
DMA方式によるデータ転送が可能となり高速なデータ
転送が行なえる効果がある。Data transfer using the DMA method becomes possible, and there is an effect that high-speed data transfer can be performed.
第1図は本発明の一実施例を示すデータ受信制御装置の
構成図、第2図は従来のデータ受信制御装置の構成図で
ある。
(1)・・・プロセッサ、(2)・・・DMAコントロ
ーラ、(3)・・・G P−I Bコントローラ、(6
)・・・ターミネータ設定器、(7)・・・ターミネー
タ比較器、(8)・・・ゲート回路、(9)・・・制御
器。
特許出願人 アンリツ株式会社
派FIG. 1 is a block diagram of a data reception control device showing an embodiment of the present invention, and FIG. 2 is a block diagram of a conventional data reception control device. (1)... Processor, (2)... DMA controller, (3)... G P-I B controller, (6
)...Terminator setting device, (7)...Terminator comparator, (8)...Gate circuit, (9)...Controller. Patent applicant: Anritsu Corporation
Claims (1)
定されているターミネータ設定器と、データバスから送
られてくるターミネータとターミネータ設定器に設定さ
れているターミネータとを比較して一致している時ター
ミネータ一致信号を出力するターミネータ比較器と、G
P−IBコントローラから送られてくるDMAリクエス
ト信号を上記ターミネータ一致信号が出力されていない
ときだけ通過させてDMAコントローラに伝えるゲート
回路とを備えていることを特徴とするデータ受信制御装
置。Compares the terminator set by the processor with the terminator sent from the data bus and the terminator set in the terminator setter, and outputs a terminator match signal when they match. Terminator comparator and G
A data reception control device comprising: a gate circuit that passes a DMA request signal sent from a P-IB controller and transmits it to the DMA controller only when the terminator match signal is not output.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP8605886A JPS62243441A (en) | 1986-04-16 | 1986-04-16 | Data reception control equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP8605886A JPS62243441A (en) | 1986-04-16 | 1986-04-16 | Data reception control equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS62243441A true JPS62243441A (en) | 1987-10-23 |
JPH0573301B2 JPH0573301B2 (en) | 1993-10-14 |
Family
ID=13876093
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP8605886A Granted JPS62243441A (en) | 1986-04-16 | 1986-04-16 | Data reception control equipment |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS62243441A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0468433A (en) * | 1990-07-09 | 1992-03-04 | Melco:Kk | Printer buffer |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS60178570A (en) * | 1984-02-24 | 1985-09-12 | Nec Corp | Data receiver |
-
1986
- 1986-04-16 JP JP8605886A patent/JPS62243441A/en active Granted
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS60178570A (en) * | 1984-02-24 | 1985-09-12 | Nec Corp | Data receiver |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0468433A (en) * | 1990-07-09 | 1992-03-04 | Melco:Kk | Printer buffer |
JPH0570171B2 (en) * | 1990-07-09 | 1993-10-04 | Meruko Kk |
Also Published As
Publication number | Publication date |
---|---|
JPH0573301B2 (en) | 1993-10-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4827409A (en) | High speed interconnect unit for digital data processing system | |
EP0321156A3 (en) | Data transfer controller | |
KR870004365A (en) | Channel data transmission device with serial transmission line and transmission method thereof | |
US4355354A (en) | Interface apparatus for coupling a minicomputer to a microcomputer for the transfer of data between them and method for using same | |
US20030229738A1 (en) | Controller interface | |
EP0680636B1 (en) | Interface apparatus | |
JPS62243441A (en) | Data reception control equipment | |
JP2008502977A (en) | Interrupt method for bus controller | |
JPS6240751B2 (en) | ||
JPS6298444A (en) | Data communication system | |
JP2586341B2 (en) | Bus test method for communication between processors | |
JPH02272658A (en) | Data processor | |
JPH05324545A (en) | Bus controller | |
KR950002306B1 (en) | Data transmission device and method for fax | |
JPS5816211B2 (en) | Data bus test equipment | |
KR19990079974A (en) | Apparatus for controlling delayed request between two buses in multiprocessor system and its control method | |
JP3299021B2 (en) | Multi-bus II-SCSI bus data transfer method and apparatus | |
JPS60120458A (en) | Data transferring device | |
JPH01231458A (en) | Line scan control system | |
JPH01291350A (en) | Channel device | |
JPS60158750A (en) | High-speed communication system | |
JPS61250762A (en) | Data transmission equipment | |
JPS59221131A (en) | Data transmission station | |
JPH0193996A (en) | System for connecting data terminal of electronic exchange | |
JPH0567094B2 (en) |