JPS6336459A - High speed dma transferring system - Google Patents

High speed dma transferring system

Info

Publication number
JPS6336459A
JPS6336459A JP61180805A JP18080586A JPS6336459A JP S6336459 A JPS6336459 A JP S6336459A JP 61180805 A JP61180805 A JP 61180805A JP 18080586 A JP18080586 A JP 18080586A JP S6336459 A JPS6336459 A JP S6336459A
Authority
JP
Japan
Prior art keywords
dma
dma controller
controller
control circuit
line control
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
Application number
JP61180805A
Other languages
Japanese (ja)
Inventor
Hideki Sumi
角 秀樹
Hitoshi Kurita
栗田 仁
Yoshihiro Sadata
定田 義博
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.)
PFU Ltd
Original Assignee
PFU 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 PFU Ltd filed Critical PFU Ltd
Priority to JP61180805A priority Critical patent/JPS6336459A/en
Publication of JPS6336459A publication Critical patent/JPS6336459A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/28Handling requests for interconnection or transfer for access to input/output bus using burst mode transfer, e.g. direct memory access DMA, cycle steal

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Bus Control (AREA)
  • Computer And Data Communications (AREA)
  • Communication Control (AREA)

Abstract

PURPOSE:To attain the receiving and to raise the transferring efficiency of a LAN (Local Area Network) even when the receiving of a frame is continuous by preparing for plural channels for a DMA controller and providing an external circuit to change over a DMA request for a frame. CONSTITUTION:When it is supposed that a DMA request is inputted to a DMA controller 3-1. the DMA controller 3-1 writes the data received by a line control circuit 1 into a memory 2. When the receiving of one frame is completed, a DMA request changing-over circuit 5 is thrown to other side DMA controller side. When the next frame is received by the line control circuit 1, received data are written into the memory 2 by a DMA controller 3-2. While the DMA transferring is executed by the DMA controller 3-2, a setting starting processing to the DMA controller 3-1 is executed. In the same way, while the DMA transferring is executed by the DMA controller 3-1, the setting starting processing to the DMA controller 3-2 is executed.

Description

【発明の詳細な説明】 〔概要〕 高速LANに接続される装置において、DMAコントロ
ーラを複数チャンネル用意しておき、フレーム毎にDM
A要求を切り換える外部回路を設け、連続してフレーム
が到着しても次々にメモリにD M A転送可能にした
ものである。
[Detailed Description of the Invention] [Summary] In a device connected to a high-speed LAN, multiple channels of DMA controllers are prepared, and DM
An external circuit for switching the A request is provided to enable DMA transfer to the memory one after another even if frames arrive one after another.

〔産業上の利用分野〕[Industrial application field]

本発明は、高速L A N (Local Area 
Network)に接続された送受信局において、受信
したデータを高速にメモリに転送するための高速D M
 A転送方式に関するものである。
The present invention provides high-speed local area
A high-speed DM for quickly transferring received data to memory at a transmitting/receiving station connected to
This relates to the A transfer method.

〔従来の技術〕[Conventional technology]

LANの送受信局においては、回線制御回路がLANの
伝送路に接続され、回線側′41)回路がDMAコント
ローラに転送要求を送ると、DMAコントローラが受信
データを回線制御回路から取り出し、メモリに書き込ん
でいる。DMAコントローラが転送要求を受は取った時
にデータ転送を行うようにするためには、DMAコント
ローラにデータ・アドレスやバイト・カウントを設定し
、DNIAコントローラ内の制御レジスタのスタート・
ビットをオンにしておく必要がある。従来の技術では、
DMAコントローラが1個しか設置されていなかった。
At a LAN transmitting/receiving station, a line control circuit is connected to the LAN transmission line, and when the line side '41) circuit sends a transfer request to the DMA controller, the DMA controller takes out the received data from the line control circuit and writes it into memory. I'm here. In order for the DMA controller to transfer data when it receives a transfer request, set the data address and byte count in the DMA controller, and set the start/byte count in the control register in the DNIA controller.
The bit must be turned on. With conventional technology,
Only one DMA controller was installed.

〔解決しようとする問題点〕[Problem to be solved]

LANが高速になり、同一局への受信が頻繁に発生した
場合には、従来方式では、最初のフレームのDMA終了
から次のフレームの受信までの間にDMAコントローラ
に対する設定起動が時間的に出来なくなる。
When LAN speeds become faster and reception to the same station occurs frequently, with the conventional method, settings for the DMA controller can be activated between the end of DMA of the first frame and the reception of the next frame. It disappears.

本発明は、この点に鑑みて創作されたものであって、高
速LANに接続された送受信局において、自局を指定し
たフレームが連続的に到着した場合でも、受信不能にな
らないようになった高速DMA転送方式を提供すること
を目的としている。
The present invention was created in view of this point, and is designed to prevent a transmitting/receiving station connected to a high-speed LAN from becoming unreceivable even when frames specifying the own station arrive continuously. The purpose is to provide a high-speed DMA transfer method.

〔問題点を解決するための手段〕[Means for solving problems]

第1図は本発明の原理図である。回線制御回路はLAN
に接続されている。回線制御回路1は、フレームを受信
すると、DMA転送要求を出力する。このDMA転送要
求は、DMA要求切換回路5を介してDMAコントロー
ラ3−1.3−2の内の何れか一方に入力される。なお
、DMAコントローラ3−1.3−2は、電源投入時に
設定起動処理が行われている。いま、DMAコントロー
ラ3−1にDMA要求が入力されたと仮定すると、DM
Aコントローラ3−1は、回線制御回路lによって受信
されたデータをメモリ2に書き込む。
FIG. 1 is a diagram showing the principle of the present invention. Line control circuit is LAN
It is connected to the. When the line control circuit 1 receives the frame, it outputs a DMA transfer request. This DMA transfer request is input to either one of the DMA controllers 3-1 and 3-2 via the DMA request switching circuit 5. Note that the DMA controller 3-1.3-2 undergoes a setting startup process when the power is turned on. Now, assuming that a DMA request is input to the DMA controller 3-1, the DM
The A controller 3-1 writes the data received by the line control circuit l into the memory 2.

1フレームの受信が完了すると、DMA要求切換回路5
は、他方のDMAコントローラ側(この場合には3−・
2側)に倒される。次のフレームが回線制御回路1によ
って受信されると、受信データはDMAコントローラ3
−2によってメモリ2に書き込まれる。DMAコントロ
ーラ3−2によってDMA転送が行われている間に、D
MAコントローラ3−1に対する設定起動処理が行われ
る。
When the reception of one frame is completed, the DMA request switching circuit 5
is on the other DMA controller side (in this case 3-
2 side). When the next frame is received by the line control circuit 1, the received data is transferred to the DMA controller 3.
-2 is written to memory 2. While the DMA transfer is being performed by the DMA controller 3-2, the D
Setting startup processing for the MA controller 3-1 is performed.

同様に、DMAコントローラ3−1によってDMA転送
が行われるでいる間に、DMAコントローラ3−2に対
する設定起動処理が行われる。
Similarly, while DMA transfer is being performed by the DMA controller 3-1, setting activation processing for the DMA controller 3-2 is performed.

〔実施例〕〔Example〕

第2図は本発明の1実施例を示すブロック図である。第
2図において、1は回線制御回路、2はメモリ、3−1
と3−2はDMAコントローラ、4はプロセッサ、6は
J−にフリップ・フリップ、7と8はAND回路、9と
10はドライバをそれぞれ示している。回線制御回路1
は、Flexible Media Access C
ontrollerと呼ばれるものであって、富士連装
のMB66VI+501と言うLSIを使用することが
出来る。回線制御回路lは、フレームの受信を開始する
と、転送要求信号REQを出力し、フレームの最後のデ
ータを受信すると、転送終了信号DENDを出力する。
FIG. 2 is a block diagram showing one embodiment of the present invention. In Figure 2, 1 is a line control circuit, 2 is a memory, and 3-1
and 3-2 are DMA controllers, 4 is a processor, 6 is a flip-flop to J-, 7 and 8 are AND circuits, and 9 and 10 are drivers, respectively. Line control circuit 1
is Flexible Media Access C
It is called an ontroller, and an LSI called MB66VI+501 manufactured by Fuji Renso can be used. When the line control circuit l starts receiving a frame, it outputs a transfer request signal REQ, and when it receives the last data of the frame, it outputs a transfer end signal DEND.

DMAコントローラ3−1.3−2としては、日立製の
HD68450と言うLSIを使用することが出来る。
As the DMA controller 3-1.3-2, an LSI called HD68450 manufactured by Hitachi can be used.

このDMAコントローラ3−1.3−2はREQ端子と
ABORT端子を有している。DMAコントローラ3−
1にDMA転送を行わせるためには、データ・アドレス
とバイト・カウントをセントし、制御レジスタの中のス
タート・ビットをオンにして置く必要がある。これを設
定起動処理と言う。設定起動処理されている状態の下で
、REQ端子にオンの信号が入力されると、DMAコン
トローラ3−1はDMA転送を行う。DMAコントロー
ラ3−2も同様な動作を行う。プロセッサ4は、DMA
コントローラ3−1.3−2に対する設定起動処理を行
うものである。J−にフリップ・フロップ6、ANDN
0回路びAND回路8は、第1図のDMA切換回路5を
構成している。フリップ・フロップ6の上側出力が「1
」の場合には、転送要求信号REQはDMAコントロー
ラ3−1のREQ端子に入力され、フリップ・フロップ
6の下側出力が「1」の場合には、転送要求信号REQ
はDMAコントローラ3−2のREQ端子に入力される
This DMA controller 3-1.3-2 has a REQ terminal and an ABORT terminal. DMA controller 3-
To cause a 1 to perform a DMA transfer, it is necessary to set the data address and byte count and turn on the start bit in the control register. This is called setting startup processing. When an ON signal is input to the REQ terminal while the setting activation process is being performed, the DMA controller 3-1 performs DMA transfer. The DMA controller 3-2 also performs similar operations. Processor 4 is a DMA
It performs setting startup processing for the controllers 3-1 and 3-2. Flip-flop 6 to J-, ANDN
The 0 circuit and the AND circuit 8 constitute the DMA switching circuit 5 shown in FIG. The upper output of flip-flop 6 is “1”
”, the transfer request signal REQ is input to the REQ terminal of the DMA controller 3-1, and when the lower output of the flip-flop 6 is “1”, the transfer request signal REQ is input to the REQ terminal of the DMA controller 3-1.
is input to the REQ terminal of the DMA controller 3-2.

フリップ・フロップ6の状態は、転送終了信号DEND
がオンされる毎に反転する。また、転送終了信号DEN
Dは、DMAコントローラ3−1゜3−2のABORT
端子に入力されると共に、割込み要求信号としてプロセ
ッサ4に送られる。プロセッサ4は、この割込みを受は
付けると、バスを介してフリップ・フロップ6の状態を
読み取り、DMA転送を行っていたDMAコントローラ
に対して設定起動処理を行う。バスの中にはフリレプ・
フロップ6の状態を示すための信号線が含まれている。
The state of flip-flop 6 is the transfer end signal DEND.
is inverted each time it is turned on. In addition, the transfer end signal DEN
D is ABORT of DMA controller 3-1゜3-2
The signal is input to the terminal and is also sent to the processor 4 as an interrupt request signal. When the processor 4 accepts this interrupt, it reads the state of the flip-flop 6 via the bus and performs setting activation processing on the DMA controller that was performing the DMA transfer. Inside the bus is Furilep.
A signal line for indicating the state of flop 6 is included.

なお、DMAコントローラ3−1.3−2は、サイクル
・スチール方式のDMA転送を行うものである。例えば
、16バイトのデータ転送を行うと、ハスを解放し、一
定時間の後に再びバスを獲得してデータ転送を行う。
Note that the DMA controllers 3-1 and 3-2 perform cycle-stealing DMA transfer. For example, when a 16-byte data transfer is performed, the bus is released, and after a certain period of time, the bus is acquired again and the data transfer is performed.

第3図は第2図の実施例の動作シーケンスを示す図であ
る。電源投入時に、DMAコントローラ3−1に対する
設定起動処理が行われ、続いてDMAコントローラ3−
2に対する設定起動処理が行われる。回線制御回路1が
転送要求を出力すると、DMAコントローラ3−1が動
作する。なお、何れのDMAコントローラが動作するか
はフリップ・フロップ6の状態に依存するが、この場合
はD M Aコントローラ3−1が動作すると仮定する
FIG. 3 is a diagram showing the operation sequence of the embodiment of FIG. 2. When the power is turned on, setting startup processing for the DMA controller 3-1 is performed, and then the DMA controller 3-1
Setting activation processing for 2 is performed. When the line control circuit 1 outputs a transfer request, the DMA controller 3-1 operates. Note that which DMA controller operates depends on the state of the flip-flop 6, but in this case it is assumed that the DMA controller 3-1 operates.

転送終了が通知されると、DMAコントローラ3−1は
DMA転送を停止する。次の転送要求が続いて発生する
と、DMAコントローラ3−2が動作する。この間にD
 M Aコントローラ3−1に対する設定起動処理が行
われる。転送終了が通知されると、DMAコントローラ
3−2はDMA転送を停止する。続いて転送要求が発生
すると、DMAコントローラ3−1が動作する。DMA
コントローラ3−1が動作している間に、DMAコント
ローラ3−2に対する設定起動処理が行われる。
When notified of the end of the transfer, the DMA controller 3-1 stops the DMA transfer. When the next transfer request occurs subsequently, the DMA controller 3-2 operates. During this time D
Setting activation processing for the MA controller 3-1 is performed. When notified of the end of the transfer, the DMA controller 3-2 stops the DMA transfer. Subsequently, when a transfer request occurs, the DMA controller 3-1 operates. D.M.A.
While the controller 3-1 is operating, setting activation processing for the DMA controller 3-2 is performed.

〔発明の効果〕〔Effect of the invention〕

以上の説明から明らかなように、本発明によれば、フレ
ームの受信が連続し元場合でも受信可能となり、LAN
の転送効率を上げることが出来る。
As is clear from the above description, according to the present invention, it is possible to receive frames even if the frames are received consecutively.
transfer efficiency can be increased.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の原理図、第2図は本発明の1実施例の
ブロック図、第3図は動作シーケンスを示す図である。 1・・・回線制御回路、2・・・メモリ、3−1と3−
2・・・DMAコントローラ、4・・・プロセッサ、5
・・・DMA要求切換回路、6・・・J−にフリップ・
フロップ、7と8・・・AND回路、9とlO・・・ド
ライバ。
FIG. 1 is a diagram showing the principle of the present invention, FIG. 2 is a block diagram of an embodiment of the present invention, and FIG. 3 is a diagram showing an operation sequence. 1...Line control circuit, 2...Memory, 3-1 and 3-
2...DMA controller, 4...processor, 5
...DMA request switching circuit, 6...Flip to J-
Flop, 7 and 8...AND circuit, 9 and lO...driver.

Claims (1)

【特許請求の範囲】 ローカル・エリア・ネットワークに接続された回線制御
回路(1)と、 メモリ(2)と、 複数個のDMAコントローラ(3−1ないし3−n)と
、回線制御回路(1)からのDMA要求を1フレーム毎
に異なるDMAコントローラ(3−i)に入力するDM
A要求切換回路(5)と、 回線制御回路(1)、DMAコントローラ(3−1ない
し3−n)及びメモリ(2)間を結ぶバスと、を具備す
ることを特徴とする高速DMA転送方式。
[Claims] A line control circuit (1) connected to a local area network, a memory (2), a plurality of DMA controllers (3-1 to 3-n), and a line control circuit (1) connected to a local area network. DM that inputs DMA requests from ) to different DMA controllers (3-i) for each frame.
A high-speed DMA transfer method characterized by comprising an A request switching circuit (5), a bus connecting a line control circuit (1), a DMA controller (3-1 to 3-n), and a memory (2). .
JP61180805A 1986-07-31 1986-07-31 High speed dma transferring system Pending JPS6336459A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61180805A JPS6336459A (en) 1986-07-31 1986-07-31 High speed dma transferring system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61180805A JPS6336459A (en) 1986-07-31 1986-07-31 High speed dma transferring system

Publications (1)

Publication Number Publication Date
JPS6336459A true JPS6336459A (en) 1988-02-17

Family

ID=16089653

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61180805A Pending JPS6336459A (en) 1986-07-31 1986-07-31 High speed dma transferring system

Country Status (1)

Country Link
JP (1) JPS6336459A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006172107A (en) * 2004-12-15 2006-06-29 Sharp Corp Data processing device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59114629A (en) * 1982-12-21 1984-07-02 Nec Corp Chain data controlling system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59114629A (en) * 1982-12-21 1984-07-02 Nec Corp Chain data controlling system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006172107A (en) * 2004-12-15 2006-06-29 Sharp Corp Data processing device
JP4560398B2 (en) * 2004-12-15 2010-10-13 シャープ株式会社 Data processing circuit

Similar Documents

Publication Publication Date Title
JPH04346151A (en) Data processor
JPS6336459A (en) High speed dma transferring system
JPS6165351A (en) Control system
JPS62251954A (en) Data communication processor
JPH10341257A (en) Packet processing unit
JPH03135253A (en) Line control system
JP2522951B2 (en) Interface circuit
JPS62152057A (en) Data transfer device
JPH02201569A (en) Inter-microprocessor communication system
JPS61125256A (en) Communication controlling system
JPH02149049A (en) Communication control system
JPH045748A (en) Information processor
JPH02155059A (en) Data transfer system
JPH0236016B2 (en)
JPH0879225A (en) Data communication system and data communication method
JPH0294733A (en) Communication system for programmable controller
JPH0243655A (en) Data transfer device
JPH01283664A (en) Data transfer system in papallel computers
JPH03262063A (en) Bus control circuit for dma transfer
JPH02299055A (en) Information transfer system between multi-bus constitution devices
JPH01189258A (en) Communication control device
JPS59201153A (en) Host connection system for stand-alone type picture processing system
JPS60196866A (en) Data processor
JPH01106251A (en) Data transfer control system
JPH04101260A (en) Bus controlling system