JPH0630081B2 - Communication control circuit - Google Patents

Communication control circuit

Info

Publication number
JPH0630081B2
JPH0630081B2 JP63211044A JP21104488A JPH0630081B2 JP H0630081 B2 JPH0630081 B2 JP H0630081B2 JP 63211044 A JP63211044 A JP 63211044A JP 21104488 A JP21104488 A JP 21104488A JP H0630081 B2 JPH0630081 B2 JP H0630081B2
Authority
JP
Japan
Prior art keywords
data
bus
dma
communication control
circuit
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 - Lifetime
Application number
JP63211044A
Other languages
Japanese (ja)
Other versions
JPH0259845A (en
Inventor
明 高山
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.)
Yamaha Corp
Original Assignee
Yamaha Corp
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 Yamaha Corp filed Critical Yamaha Corp
Priority to JP63211044A priority Critical patent/JPH0630081B2/en
Publication of JPH0259845A publication Critical patent/JPH0259845A/en
Priority to US07/821,896 priority patent/US5276845A/en
Publication of JPH0630081B2 publication Critical patent/JPH0630081B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)
  • Computer And Data Communications (AREA)

Description

【発明の詳細な説明】 「産業上の利用分野」 この発明はメモリを備えたデータ処理回路に係り、特に
DMA(ダイレクトメモリアクセス)機能を実現する通信
制御回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data processing circuit having a memory, and more particularly to a communication control circuit that realizes a DMA (Direct Memory Access) function.

「従来の技術」 第2図は従来のデータ処理回路100の構成図である。
この図において、1はALU(演算ユニット)であり、バ
スの空状況を管理する機能は有しないが、一般的な演算
機能を有する。2は読み出しおよび書き込みが可能なメ
モリである。3はDMAコントローラであり、外部から
のDMA要求に応じて回路各部に制御信号を出力し、メ
モリ2に対する外部データの入出力制御を行う。4はD
MA制御用レジスタであり、DMA要求があった時にセ
ットされる制御ビットRQと、現時点においてDMA動
作中であるか否かを示す制御ビットAKとを有する。A
LU1とメモリ2とDMAコントローラ3との間にはデ
ータバスDBおよびアドレスバスABが配線されてい
る。アドレスバスAB上のアドレスデータによってメモ
リ2におけるアドレス指定が行われる。そして、データ
バスDBを介して、メモリ2−ALU1間あるいはメモ
リ2−DMAコントローラ3を介した外部メモリ間にお
けるデータの入出力が行われる。また、アドレスバスA
BおよびデータバスDBの途中にはスイッチSWが設け
られており、ALU1はこのスイッチSWがON状態の
場合にメモリ2に対するデータの入出力を行うことが可
能となっている。
“Prior Art” FIG. 2 is a block diagram of a conventional data processing circuit 100.
In this figure, reference numeral 1 is an ALU (arithmetic unit), which does not have a function of managing an empty state of the bus, but has a general arithmetic function. 2 is a readable and writable memory. Reference numeral 3 denotes a DMA controller, which outputs a control signal to each section of the circuit in response to an external DMA request and controls input / output of external data to / from the memory 2. 4 is D
It is an MA control register and has a control bit RQ that is set when there is a DMA request and a control bit AK that indicates whether or not a DMA operation is currently in progress. A
A data bus DB and an address bus AB are wired between the LU 1, the memory 2 and the DMA controller 3. Addressing in the memory 2 is performed by the address data on the address bus AB. Then, data is input and output between the memory 2 and the ALU 1 or between the memory 2 and the external memory through the DMA controller 3 via the data bus DB. Also, address bus A
A switch SW is provided in the middle of B and the data bus DB, and the ALU 1 can input / output data to / from the memory 2 when the switch SW is in the ON state.

次に、このデータ処理回路100の動作を説明する。通
常動作モードにおいては、DMA制御レジスタの各制御
ビットRQおよびAKは“0”となっている。また、制
御ビットAKが“0”であるため、スイッチSWはON
状態になっており、ALU1はアドレスバスABおよび
データバスDBを介してメモリ2と接続されている。従
って、この状態において、ALU1はメモリ2に対する
データの入出力を行うことができる。
Next, the operation of the data processing circuit 100 will be described. In the normal operation mode, the control bits RQ and AK of the DMA control register are "0". Further, since the control bit AK is "0", the switch SW is turned on.
In this state, the ALU 1 is connected to the memory 2 via the address bus AB and the data bus DB. Therefore, in this state, the ALU 1 can input / output data to / from the memory 2.

次に、外部からDMAコントローラ3にDMA要求信号
HLDRQが入力されると、DMA制御レジスタ4の制
御ビットRQがDMAコントローラ3によってセットさ
れる。そして、この制御ビットRQがセットされたこと
はALU1によって検出され、ALU1がメモリを使用
していない場合には、ALU1は制御ビットAKをセッ
トする。この結果、制御ビットAKが“1”となること
によって、スイッチSWがOFF状態となってALU1
がメモリ2と切り離される。また、制御ビットAKがセ
ットされたことはDMAコントローラ3によって検出さ
れる。そして、DMAコントローラ3は、DMAが実行
可能になったことを示すDMA許可信号HLDAKを外
部に出力する。そして、以下説明するようにDMA動作
が実行される。
Next, when the DMA request signal HLDRQ is input to the DMA controller 3 from the outside, the control bit RQ of the DMA control register 4 is set by the DMA controller 3. Then, the setting of the control bit RQ is detected by the ALU1, and when the ALU1 is not using the memory, the ALU1 sets the control bit AK. As a result, the control bit AK becomes "1", so that the switch SW is turned off and ALU1
Is separated from the memory 2. Further, the setting of the control bit AK is detected by the DMA controller 3. Then, the DMA controller 3 outputs a DMA permission signal HLDAK indicating that the DMA is executable. Then, the DMA operation is executed as described below.

外部データをメモリ2に書き込む場合、DMAコントロ
ーラ3によって図示していない外部メモリからのデータ
が読み取られ、データバスDBに出力される。また、こ
の時、DMAコントローラ3の制御によりアドレスバス
ABを介してメモリ2に書き込み先アドレスが供給され
る。そして、データバスDB上のデータが、メモリ2内
の指定された書き込み先に書き込まれる。一方、メモリ
2からデータを読み出して外部記憶に書き込む場合は、
DMAコントローラ3からアドレスバスABを介してメ
モリ2に読み出し先アドレスが供給される。そして、メ
モリ2内の指定されたアドレスのデータがデータバスD
B上に出力される。そして、このデータはDMAコント
ローラ3の制御によって読み込まれ、外部メモリに書き
込まれる。
When writing external data to the memory 2, the DMA controller 3 reads data from an external memory (not shown) and outputs the data to the data bus DB. At this time, the write destination address is supplied to the memory 2 via the address bus AB under the control of the DMA controller 3. Then, the data on the data bus DB is written to the designated write destination in the memory 2. On the other hand, when reading data from the memory 2 and writing it to the external storage,
The read destination address is supplied from the DMA controller 3 to the memory 2 via the address bus AB. Then, the data of the specified address in the memory 2 is transferred to the data bus D.
Is output on B. Then, this data is read under the control of the DMA controller 3 and written in the external memory.

そして、上述したDMA動作が完了すると、DMAコン
トローラ3によって、DMA制御レジスタ4の制御ビッ
トAKがリセットされる。この結果、スイッチSWがO
N状態となり、ALU1はメモリ2と接続される。そし
て、ALU1はメモリ2に対してデータの入出力を行う
ことが可能となる。
Then, when the above-described DMA operation is completed, the DMA controller 3 resets the control bit AK of the DMA control register 4. As a result, the switch SW turns off.
The N state is established and the ALU 1 is connected to the memory 2. Then, the ALU 1 can input / output data to / from the memory 2.

「発明が解決しようとする課題」 ところで、上述した従来のデータ処理回路は、DMA動
作中は、メモリ2はALU1から切り離されているた
め、ALU1はメモリ2をアクセスすることができず、
DMA動作が完了するまで処理を進めることができず、
このため通信制御回路等への適用に向かないという問題
があった。
"Problems to be Solved by the Invention" In the conventional data processing circuit described above, since the memory 2 is separated from the ALU 1 during the DMA operation, the ALU 1 cannot access the memory 2,
The process cannot proceed until the DMA operation is completed,
Therefore, there is a problem that it is not suitable for application to a communication control circuit or the like.

この発明は上述した事情に鑑みてなされたもので、DM
A動作中であってもALUがメモリをアクセスして処理
を進めることができる通信制御回路を提供することを目
的としている。
The present invention has been made in view of the above-mentioned circumstances.
It is an object of the present invention to provide a communication control circuit that allows an ALU to access a memory and proceed with processing even during A operation.

「課題を解決するための手段」 本発明に係る通信制御回路は、演算処理回路と、内部記
憶回路と、システムバスと、DMA専用バスと、DMA
コントローラと、送受信手段とを有する通信制御回路で
あって、前記演算処理回路は、前記システムバスを介し
て前記内部記憶回路に接続されており、前記送受信手段
は外部装置との間でデータの授受を行うものであり、前
記DMAコントローラは、通常動作時は前記システムバ
スを前記送受信手段に接続し、上位装置からのDMA転
送要求時は前記上位装置の記憶装置を前記DMA専用バ
スを介して前記送受信手段に接続し、前記外部装置と前
記上位装置の記憶装置との間の前記DMA専用バスおよ
び前記送受信手段を介したDMA転送を制御するもので
ある。
"Means for Solving the Problem" A communication control circuit according to the present invention includes an arithmetic processing circuit, an internal storage circuit, a system bus, a DMA dedicated bus, and a DMA.
A communication control circuit having a controller and a transmitting / receiving means, wherein the arithmetic processing circuit is connected to the internal storage circuit via the system bus, and the transmitting / receiving means transmits / receives data to / from an external device. In the normal operation, the DMA controller connects the system bus to the transmitting / receiving means, and when a DMA transfer request is issued from a host device, the storage device of the host device is accessed via the DMA dedicated bus. It is connected to the transmission / reception means and controls the DMA transfer between the external device and the storage device of the host device via the DMA dedicated bus and the transmission / reception means.

「作用」 上記構成によれば、外部装置と上位装置の記憶装置との
間のDMA転送が行われている場合であっても、このD
MA転送はDMA専用バスを介して行われるので、演算
処理回路はシステムバスを介して内部記憶回路をアクセ
スすることができる。
[Operation] According to the above configuration, even if the DMA transfer is being performed between the external device and the storage device of the host device, this D
Since the MA transfer is performed via the DMA dedicated bus, the arithmetic processing circuit can access the internal storage circuit via the system bus.

「実施例」 以下、図面を参照して本発明の一実施例について説明す
る。
[Embodiment] An embodiment of the present invention will be described below with reference to the drawings.

第1図はこの発明の一実施例による通信制御回路の構成
図である。この通信制御回路は、外部の通信相手先との
データの入出力を行う通信制御回路100aと、この通
信制御回路100aに対して上位の処理を行う上位プロ
セッサ200およびRAM201とがプロセッサバスP
Bおよびその他の制御線で相互に接続されてなる。
FIG. 1 is a block diagram of a communication control circuit according to an embodiment of the present invention. In this communication control circuit, a communication control circuit 100a for inputting / outputting data to / from an external communication partner, and a host processor 200 and a RAM 201 for performing higher processing on the communication control circuit 100a are connected to a processor bus P.
B and other control lines are connected to each other.

以下、通信制御回路100aの内部構成を説明する。1
02はALU(演算ユニット)であり、アキュムレータを
内蔵しており、このアキュムレータを用いて演算処理を
実行する。また、このALU102は、アドレス出力端
がアドレスバスABに接続され、データ出力端がデータ
バスDBに接続されている。これらのアドレスバスAB
およびデータバスDBによりシステムバスSBが構成さ
れている。103はRAMであり、マクロ命令あるいは
ALU102の演算処理結果の一時記憶として用いられ
る。このRAM103はアドレスバスAB上のアドレス
データによってアドレス指定され、データバスDBを介
してデータの入出力を行う。104はマイクロプログラ
ムROM(リードオンリメモリ)であり、マクロ命令に対
応するマイクロプログラムが記憶されている。そして、
アドレスバスABを介してマクロ命令に対応したアドレ
スデータが供給されると、データバスDBにこれと対応
するマイクロプログラムのコードが出力される。
The internal configuration of the communication control circuit 100a will be described below. 1
Reference numeral 02 denotes an ALU (arithmetic unit), which has a built-in accumulator and executes arithmetic processing using this accumulator. The ALU 102 has an address output terminal connected to the address bus AB and a data output terminal connected to the data bus DB. These address buses AB
The system bus SB is composed of the data bus DB and the data bus DB. Reference numeral 103 denotes a RAM, which is used as a temporary storage of a macro instruction or a calculation processing result of the ALU 102. The RAM 103 is addressed by the address data on the address bus AB, and inputs / outputs data via the data bus DB. Reference numeral 104 denotes a micro program ROM (read only memory) in which a micro program corresponding to a macro instruction is stored. And
When the address data corresponding to the macro instruction is supplied via the address bus AB, the code of the microprogram corresponding to this is output to the data bus DB.

105は入出力バッファであり、アドレスバスAB、デ
ータバスDBおよび入出力インタフェース106に接続
されており、この通信制御回路100aと上位プロセッ
サ200との間で入出力されるデータが一時記憶され
る。入出力インターフェース106は、上述の入出力バ
ッファ105と、さらにDMAコントローラ107が接
続されており、これらと上位プロセッサ200およびR
AM201との間のデータの入出力制御を行う。DMA
コントローラ107は、データバスDBとDMA専用バ
スB1およびB2と入出力インタフェース106が接続
されており、外部あるいは内部で発生するDMA要求に
応じて制御信号を出力し、通信制御回路100a内のメ
モリと外部のRAM201との間のDMA動作を制御す
る。
Reference numeral 105 denotes an input / output buffer, which is connected to the address bus AB, the data bus DB, and the input / output interface 106, and temporarily stores data input / output between the communication control circuit 100a and the upper processor 200. The input / output interface 106 is connected to the above-mentioned input / output buffer 105 and the DMA controller 107, which are connected to the host processor 200 and R.
Input / output control of data to / from the AM 201 is performed. DMA
The controller 107 is connected to the data bus DB, the DMA dedicated buses B1 and B2, and the input / output interface 106, outputs a control signal according to a DMA request generated externally or internally, and outputs the control signal to the memory in the communication control circuit 100a. It controls the DMA operation with the external RAM 201.

108は送信FIFO(先入れ先出し)レジスタ、109
はP−S(並列−直列)変換回路、110はHDLC(ハ
イレベルデータリンクコントロール)フレーム組立回路
である。これらは、この通信制御回路100aから外部
の通信相手にデータを送信する場合に、以下説明する一
連の処理を行う。まず、送信FIFOレジスタ108
は、データバスDB上あるいはDMA専用バスB1上の
データを取り込み、取り込んだデータを順次記憶する。
ここで、この送信FIFOレジスタは内部にセレクタが
設けられており、このセレクタがALU102からの制
御信号によって切り換えられることにより、データバス
DB上のデータとDMA専用バスB1上のデータとを切
り換えて取り込むことができるようになっている。そし
て、送信FIFOレジスタの記憶データは先に記憶され
たものから順にP−S変換回路109に供給され、P−
S変換回路において直列データに変換され、HDLCフ
レーム組立回路110に供給される。そして、HDLC
フレーム組立回路110において、この直列データは8
ビットを1ブロック単位とした複数ブロックからなるフ
レームにまとめられ、各フレーム毎にはスタートフラ
グ、アドレス、制御情報、FCS(フレームチェックシ
ーケンス)情報およびクローズフラグが付加され、HD
LC伝送手順に準じた伝送フォーマットとなって通信相
手先に伝送される。
108 is a transmission FIFO (first-in first-out) register, 109
Is a PS (parallel-serial) conversion circuit, and 110 is an HDLC (high level data link control) frame assembly circuit. These perform a series of processes described below when transmitting data from the communication control circuit 100a to an external communication partner. First, the transmission FIFO register 108
Captures the data on the data bus DB or the DMA dedicated bus B1 and sequentially stores the captured data.
Here, this transmission FIFO register is internally provided with a selector, and by switching this selector by a control signal from the ALU 102, the data on the data bus DB and the data on the DMA dedicated bus B1 are switched and fetched. Is able to. The data stored in the transmission FIFO register is supplied to the P-S conversion circuit 109 in order from the previously stored data, and P-S
It is converted into serial data in the S conversion circuit and supplied to the HDLC frame assembly circuit 110. And HDLC
In the frame assembly circuit 110, this serial data is 8
Frames are grouped into a plurality of blocks each having one bit as a block unit, and a start flag, an address, control information, FCS (frame check sequence) information and a close flag are added to each frame.
The transmission format conforms to the LC transmission procedure and is transmitted to the communication partner.

111はHDLCフレーム分解回路、112はS−P
(直列−並列)変換回路、113は受信FIFOレジスタ
である。HDLCフレーム分解回路では、受信データ
(HDLCフォーマット)から前述したスタートフラグ、
アドレス、制御情報、FCS情報およびクローズフラグ
が除去され、直列データが出力される。S−P変換回路
112では、この直列データが8ビット単位で並列化さ
れ、並列データとして出力される。そして、この並列デ
ータは順次受信FIFOレジスタ113に記憶される。
受信FIFOレジスタ113の記憶データは先に記憶さ
れたものから順にデータバスDBおよびDMA専用バス
B2に出力される。
111 is an HDLC frame decomposing circuit, 112 is an SP
A (serial-parallel) conversion circuit 113 is a reception FIFO register. In the HDLC frame decomposition circuit, the received data
(HDLC format) to the above-mentioned start flag,
The address, control information, FCS information and close flag are removed and serial data is output. In the SP conversion circuit 112, this serial data is parallelized in units of 8 bits and output as parallel data. Then, this parallel data is sequentially stored in the reception FIFO register 113.
The data stored in the reception FIFO register 113 is sequentially output to the data bus DB and the DMA dedicated bus B2 from the previously stored data.

114はコマンドステータスレジスタであり、アドレス
バスABおよびデータバスDB上のデータに基づいて制
御情報を生成し、この制御情報を回路内各部に供給す
る。
Reference numeral 114 is a command status register, which generates control information based on the data on the address bus AB and the data bus DB, and supplies this control information to each section in the circuit.

次に、この通信制御回路の動作を説明する。Next, the operation of this communication control circuit will be described.

通常動作モード ALU102からアドレスデータがアドレスバスABに
出力される。そして、そのアドレスデータによって指定
されたRAM103の記憶番地から、任意のデータが読
み出され、データバスDBに出力される。このデータバ
スDB上のデータはALU102に読み込まれ、ALU
102において対応するデータに基づく演算が行われ
る。そして、その演算結果がマイクロプログラムROM
104をアクセスするものであった場合には、アドレス
バスABを介してマイクロプログラムROM104がイ
ネーブルされ、該当するマイクロプログラムコードがデ
ータバスDBに読み出される。そして、このマイクロプ
ログラムコードがALU102に読み込まれ、ALU1
02において該当する演算が行われる。これらが任意に
組み合わせられ、演算の実行が繰り返される。
Normal operation mode Address data is output from the ALU 102 to the address bus AB. Then, arbitrary data is read from the storage address of the RAM 103 designated by the address data and output to the data bus DB. The data on this data bus DB is read into the ALU 102 and
At 102, an operation based on the corresponding data is performed. Then, the calculation result is the microprogram ROM.
If the access is to 104, the microprogram ROM 104 is enabled via the address bus AB, and the corresponding microprogram code is read to the data bus DB. Then, this microprogram code is read into the ALU 102, and the ALU1
At 02, the corresponding operation is performed. These are arbitrarily combined and the calculation is repeated.

DMAモード この通信制御回路において、通信制御回路100aは外
部の通信相手先との通信手続きを行う。そして、この通
信手続きが完了すると、通信制御回路100aを介し
て、RAM201と外部の通信相手先との間でデータの
入出力が行われる。ここで、このデータ入出力は、RA
M201と送信FIFOレジスタ108および受信FI
FOレジスタ113との間のDMA動作によって行われ
る。
DMA Mode In this communication control circuit, the communication control circuit 100a performs a communication procedure with an external communication partner. Then, when this communication procedure is completed, data is input / output between the RAM 201 and an external communication partner via the communication control circuit 100a. Here, this data input / output is RA
M201, transmission FIFO register 108 and reception FI
This is performed by a DMA operation with the FO register 113.

以下、このDMA動作について説明する。RAM201
内の所定の記憶データを外部の相手に送信する場合、上
位プロセッサ200からRAM201における該記憶デ
ータの先頭アドレス値およびデータの長さを表すカウン
ト値が、プロセッサバスPB→入出力インタフェース1
06→入出力バッファ105→データバスDBという経
路を介してALU102に取り込まれる。そして、AL
U102は、DMAコントローラ107内のアドレスカ
ウンタおよびデータカウンタにこの先頭アドレス値およ
びカウント値をセットする。また、ALU102は、デ
ータ送信に先立って、通信相手のTEI(端末識別番号)
およびSAPI(サービスアクセスポイント識別番号)お
よび送信内容に関する制御情報を、データバスDB→送
信FIFOレジスタ108に設定しておく。そして、A
LU102によって、DMA専用バスB1のDMAデー
タを読み取るように、送信FIFOレジスタ108の内
部のセレクタが切り換えられる。これにより、RAM2
01から送信FIFOレジスタ108へのDMA転送が
スタンバイされる。
The DMA operation will be described below. RAM201
When a predetermined storage data in the storage device is transmitted to an external partner, the start address value of the storage data in the RAM 201 and the count value representing the length of the storage data in the RAM 201 are the processor bus PB → the input / output interface 1
The data is taken in by the ALU 102 via a route of 06 → input / output buffer 105 → data bus DB. And AL
The U 102 sets the start address value and the count value in the address counter and the data counter in the DMA controller 107. In addition, the ALU 102 has a TEI (terminal identification number) of a communication partner prior to data transmission.
Control information on SAPI (service access point identification number) and transmission contents is set in the data bus DB → transmission FIFO register 108 in advance. And A
The LU 102 switches the selector inside the transmission FIFO register 108 so as to read the DMA data on the DMA dedicated bus B1. This allows RAM2
The DMA transfer from 01 to the transmission FIFO register 108 is on standby.

DMAコントローラ107は、DMA要求信号HLDR
Qを上位プロセッサ200に対して出力する。この信号
を受け、上位プロセッサ200はRAM201をアクセ
スしない時刻において、プロセッサバスPBを開放し、
同時にDMAコントローラ107にDMA許可信号HL
DAKを出力する。この信号を受け、DMAコントロー
ラ107は、アドレスカウンタの出力データを、入出力
インタフェースおよびプロセッサバスPBを介し、読み
出しアドレスとしてRAM201に供給する。この結
果、RAM201から記憶データが読み出され、プロセ
ッサバスPB→入出力インタフェース106→DMA専
用バスB1という経路を介して送信FIFOレジスタ1
08にDMA転送される。そして、1つのデータがDM
A転送されると、DMAコントローラ107内において
アドレスカウンタはインクリメント、データカウンタは
デクリメントされ、プロセッサバスPBの使用権は一旦
上位プロセッサ200に返される。そして、DMAコン
トローラ107では、データカウンタが「0」であるか
否かが判断され、判断結果が「NO」の場合は再び上述
したDMA転送が繰り返される。そして、DMAコント
ローラ107内のデータカウンタが「0」となった時点
で、DMA転送は終了となる。
The DMA controller 107 uses the DMA request signal HLDR.
Q is output to the upper processor 200. Upon receiving this signal, the upper processor 200 releases the processor bus PB at the time when the RAM 201 is not accessed,
At the same time, the DMA permission signal HL is sent to the DMA controller 107.
Output DAK. Upon receiving this signal, the DMA controller 107 supplies the output data of the address counter to the RAM 201 as a read address via the input / output interface and the processor bus PB. As a result, the storage data is read from the RAM 201, and the transmission FIFO register 1 is sent via the path of the processor bus PB → the input / output interface 106 → the DMA dedicated bus B1.
DMA transfer to 08. And one data is DM
When A is transferred, the address counter is incremented and the data counter is decremented in the DMA controller 107, and the right to use the processor bus PB is once returned to the upper processor 200. Then, the DMA controller 107 determines whether or not the data counter is “0”, and when the determination result is “NO”, the above-mentioned DMA transfer is repeated again. Then, when the data counter in the DMA controller 107 reaches "0", the DMA transfer ends.

ここで、通信制御回路100a内のアドレスバスABお
よびデータバスDBはDMA転送経路として使用されな
い。従って、DMA転送中であっても、ALU102は
アドレスバスABおよびデータバスDBを介してRAM
103およびマイクロプログラムROM104をアクセ
スすることができる。また、上位プロセッサ200は、
DMAコントローラ107からのDMA要求があった場
合に、RAMを使用しない時刻にプロセッサバスPBを
開放するのみでよいので、DMA動作によって処理が中
断されることがない。
Here, the address bus AB and the data bus DB in the communication control circuit 100a are not used as the DMA transfer path. Therefore, even during the DMA transfer, the ALU 102 is in the RAM via the address bus AB and the data bus DB.
103 and the microprogram ROM 104 can be accessed. Further, the upper processor 200 is
When there is a DMA request from the DMA controller 107, the processor bus PB only needs to be released at a time when the RAM is not used, so that the processing is not interrupted by the DMA operation.

このようにして、RAM201から送信FIFOレジス
タ108へのDMA転送が行われるが、これと並行し
て、送信FIFOレジスタ108のデータは順次取り出
され、P−S変換回路109およびHDLCフレーム組
立回路110を介して外部の通信相手先に送信される。
In this way, the DMA transfer from the RAM 201 to the transmission FIFO register 108 is performed. In parallel with this, the data of the transmission FIFO register 108 is sequentially taken out and the P-S conversion circuit 109 and the HDLC frame assembly circuit 110 are transferred. Is transmitted to an external communication partner via the Internet.

外部の通信相手先からの受信データをRAM201にD
MA転送する場合についても同様な動作にてデータ転送
が行われる。
Received data from an external communication destination is stored in the RAM 201.
In the case of MA transfer, data transfer is performed by the same operation.

「発明の効果」 以上説明したように、本発明に係る通信制御回路は、演
算処理回路と、内部記憶回路と、システムバスと、DM
A専用バスと、DMAコントローラと、送受信手段とを
有する通信制御回路であって、前記演算処理回路は、前
記システムバスを介して前記内部記憶回路に接続されて
おり、前記送受信手段は外部装置との間でデータの授受
を行うものであり、前記DMAコントローラは、通常動
作時は前記システムバスを前記送受信手段に接続し、上
位装置からのDMA転送要求時は前記上位装置の記憶装
置を前記DMA専用バスを介して前記送受信手段に接続
し、前記外部装置と前記上位装置の記憶装置との間の前
記DMA専用バスおよび前記送受信手段を介したDMA
転送を制御するものであるので、外部装置と上位装置の
記憶装置との間のDMA転送が行われている場合であっ
ても、このDMA転送はDMA専用バスを介して行われ
るので、演算処理回路はシステムバスを介して内部記憶
回路をアクセスすることができ、従って極めて高い処理
能力を提供することができるという効果がある。
"Effects of the Invention" As described above, the communication control circuit according to the present invention includes an arithmetic processing circuit, an internal storage circuit, a system bus, and a DM.
A communication control circuit having an A dedicated bus, a DMA controller, and a transmitting / receiving means, wherein the arithmetic processing circuit is connected to the internal storage circuit via the system bus, and the transmitting / receiving means is connected to an external device. The DMA controller connects the system bus to the transmission / reception means during normal operation, and transfers the data to and from the storage device of the host device when the DMA transfer is requested from the host device. DMA via the dedicated bus connected to the transmission / reception means via the dedicated bus and between the external device and the storage device of the host device and the transmission / reception means
Since the transfer is controlled, even if the DMA transfer is being performed between the external device and the storage device of the host device, this DMA transfer is performed via the DMA dedicated bus, so that the arithmetic processing is performed. The circuit has the advantage that it can access internal storage circuits via the system bus and thus can provide very high processing power.

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

第1図はこの発明の一実施例による通信制御回路の構成
図、第2図は従来の一般的なデータ処理回路の構成図で
ある。 100a……通信制御回路、102……ALU、103
……RAM、108……送信FIFOレジスタ、113
……受信FIFOレジスタ、AB……アドレスバス、D
B……データバス、B1、B2……DMA専用バス、1
07……DMAコントローラ。
FIG. 1 is a block diagram of a communication control circuit according to an embodiment of the present invention, and FIG. 2 is a block diagram of a conventional general data processing circuit. 100a ... communication control circuit, 102 ... ALU, 103
...... RAM, 108 ...... Transmission FIFO register, 113
...... Reception FIFO register, AB ...... Address bus, D
B ... Data bus, B1, B2 ... DMA dedicated bus, 1
07 ... DMA controller.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】演算処理回路と、内部記憶回路と、システ
ムバスと、DMA専用バスと、DMAコントローラと、
送受信手段とを有する通信制御回路であって、 前記演算処理回路は、前記システムバスを介して前記内
部記憶回路に接続されており、 前記送受信手段は外部装置との間でデータの授受を行う
ものであり、 前記DMAコントローラは、通常動作時は前記システム
バスを前記送受信手段に接続し、上位装置からのDMA
転送要求時は前記上位装置の記憶装置を前記DMA専用
バスを介して前記送受信手段に接続し、前記外部装置と
前記上位装置の記憶装置との間の前記DMA専用バスお
よび前記送受信手段を介したDMA転送を制御するもの
である、 通信制御回路。
1. An arithmetic processing circuit, an internal storage circuit, a system bus, a DMA dedicated bus, a DMA controller,
A communication control circuit having a transmitter / receiver, wherein the arithmetic processing circuit is connected to the internal storage circuit via the system bus, and the transmitter / receiver exchanges data with an external device. In the normal operation, the DMA controller connects the system bus to the transmission / reception means,
At the time of transfer request, the storage device of the upper device is connected to the transmission / reception means via the DMA dedicated bus, and via the DMA dedicated bus and the transmission / reception device between the external device and the storage device of the upper device. A communication control circuit for controlling DMA transfer.
【請求項2】前記システムバスはアドレスバスとデータ
バスとからなり、前記DMA専用バスはデータバスのみ
からなる請求項第1記載の通信制御回路。
2. The communication control circuit according to claim 1, wherein the system bus includes an address bus and a data bus, and the dedicated DMA bus includes only a data bus.
JP63211044A 1988-08-25 1988-08-25 Communication control circuit Expired - Lifetime JPH0630081B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP63211044A JPH0630081B2 (en) 1988-08-25 1988-08-25 Communication control circuit
US07/821,896 US5276845A (en) 1988-08-25 1992-01-15 Apparatus with multiple buses for permitting concurrent access to a first memory by a processor while a DMA transfer is occurring between a second memory and a communications buffer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63211044A JPH0630081B2 (en) 1988-08-25 1988-08-25 Communication control circuit

Publications (2)

Publication Number Publication Date
JPH0259845A JPH0259845A (en) 1990-02-28
JPH0630081B2 true JPH0630081B2 (en) 1994-04-20

Family

ID=16599450

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63211044A Expired - Lifetime JPH0630081B2 (en) 1988-08-25 1988-08-25 Communication control circuit

Country Status (1)

Country Link
JP (1) JPH0630081B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100357338B1 (en) * 1994-08-02 2003-02-11 가부시끼가이샤 히다치 세이사꾸쇼 Data processing system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61271555A (en) * 1985-05-27 1986-12-01 Fujitsu Ltd Transferring system for direct memory access
JPS62231367A (en) * 1986-04-01 1987-10-09 Meidensha Electric Mfg Co Ltd Dma data transfer system

Also Published As

Publication number Publication date
JPH0259845A (en) 1990-02-28

Similar Documents

Publication Publication Date Title
JP4090510B2 (en) Computer interface for direct mapping of application data
US5550987A (en) Data transfer device
US5381529A (en) Shift register with dual clock inputs for receiving and sending information between I/O channels and host based on external and internal clock inputs respectively
JPH04346151A (en) Data processor
US5276845A (en) Apparatus with multiple buses for permitting concurrent access to a first memory by a processor while a DMA transfer is occurring between a second memory and a communications buffer
JPS58217069A (en) Communicating system of multi-microcomputer
JPS63255760A (en) Control system
JPH0630081B2 (en) Communication control circuit
EP0370780A2 (en) A communication command control system between CPUs
JPH0471060A (en) Semiconductor integrated circuit
JPH03160550A (en) Endian converting system
JP3496294B2 (en) Serial data transfer device
JPS6298444A (en) Data communication system
JPH0814809B2 (en) Intelligent I / O device
JP2576236B2 (en) Communication method of programmable controller
JPH0758747A (en) Call controller of exchange
JPH04162858A (en) Communication procedure processor
JPH04314157A (en) Communication equipment
JPH04119446A (en) Data transfer control system
JPS61148562A (en) Data transfer system of information processor
JPH04205047A (en) Data processor
JPH07250102A (en) Data transmission circuit
JPH04112350A (en) Data transfer control system
JPH01113848A (en) Access control system
JPS62242264A (en) Communication controller

Legal Events

Date Code Title Description
S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

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: 20090420

Year of fee payment: 15

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090420

Year of fee payment: 15