JPH02287656A - Communication controller - Google Patents
Communication controllerInfo
- Publication number
- JPH02287656A JPH02287656A JP1110203A JP11020389A JPH02287656A JP H02287656 A JPH02287656 A JP H02287656A JP 1110203 A JP1110203 A JP 1110203A JP 11020389 A JP11020389 A JP 11020389A JP H02287656 A JPH02287656 A JP H02287656A
- Authority
- JP
- Japan
- Prior art keywords
- data
- signal
- unit
- memory
- fifo queue
- 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
- 238000004891 communication Methods 0.000 title claims description 37
- 239000000284 extract Substances 0.000 claims description 2
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 21
- 238000010586 diagram Methods 0.000 description 9
- 238000000034 method Methods 0.000 description 6
- 230000036961 partial effect Effects 0.000 description 4
- 230000004044 response Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 2
- 230000004913 activation Effects 0.000 description 1
- 239000013256 coordination polymer Substances 0.000 description 1
- 238000013075 data extraction Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000002401 inhibitory effect Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 210000003127 knee Anatomy 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
Landscapes
- Computer And Data Communications (AREA)
- Communication Control (AREA)
Abstract
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明は通信制御装置に関する。[Detailed description of the invention] [Industrial application field] The present invention relates to a communication control device.
従来、−m的に通信制御装置としては、第3図に示され
るように、受信部2、受信FIFOキュー3およびメモ
リアクセス制御部4と、これらの各部を制御するための
CPU部1とにより構成されている。また、このような
通信制御装置を含む通信システムとしては、第4図に示
されるように、通信制御装置5に対して、ホスト6とメ
モリ7とがシステム・バス102により接続されており
、メモリ7は通信制御装W5とホスト6とにより共用さ
れているのが一般である。メモリ7は受信フレームの格
納用として使用されており、通信制御装置5においてフ
レームが受信されると、このフレームはメモリ6に書き
込まれ、このフレーム受信がホスト6に伝えられると、
ホスト6において、そのフレーム内のデータが解釈され
、必要な処理が実行される。Conventionally, as shown in FIG. 3, a communication control device consists of a receiving section 2, a receiving FIFO queue 3, a memory access control section 4, and a CPU section 1 for controlling each of these sections. It is configured. Furthermore, as shown in FIG. 4, a communication system including such a communication control device includes a host 6 and a memory 7 connected to the communication control device 5 by a system bus 102. 7 is generally shared by the communication control device W5 and the host 6. The memory 7 is used to store received frames, and when a frame is received by the communication control device 5, this frame is written into the memory 6, and when this frame reception is notified to the host 6,
The host 6 interprets the data within the frame and performs necessary processing.
また、一般に通信システムにおいては、例えば、第5図
に示されるようなフォーマットのフレームが用いられて
いるが、この内、ソースアドレスは送信した局を表わし
ており、デスティネーションアドレスは送り先の局を表
わしている。また、制御情報のタイム・スロ・ソトには
、そのフレームがどのような種類のフレームであるか示
す情報が含まれている。例えば、通信制御装置5自身に
おいて処理すべきデータを含んだフレームであるとか、
単にある局のホストから別の局のホストに対するデータ
を含んだフレームであるという類の情報が含まれている
。受信側においては、これらの情報を読むことによって
、自分宛のフレームなのか、またどのようなフレームな
のかを判別する。Furthermore, in general, communication systems use frames in the format shown in Figure 5, in which the source address represents the transmitting station, and the destination address represents the destination station. It represents. Further, the time/slot/sort of the control information includes information indicating what type of frame the frame is. For example, the frame may include data to be processed by the communication control device 5 itself, or
It contains information that it is simply a frame containing data from one station's host to another station's host. By reading this information, the receiving side determines whether the frame is addressed to itself and what type of frame it is.
−mに、通信制御装置におけるフレームの受信は次のよ
うにして行われる。-m, frame reception in the communication control device is performed as follows.
第3図および第11図において、CPUIは、ホスト6
からの受信開始の指示を受けると、受信を開始すべく受
信部2を起動させる。受信部2においては、通信媒体上
の信号を受信してフレームの先頭部分を確認すると、以
後フレームのデータを一定ビット長(例えば、8ピッ1
−長)ごとに区切って受信FIFOキュー3に入力して
ゆく。この動作は、通常受信クロックに同′!す1して
行われる。3 and 11, the CPUI is the host 6
When receiving an instruction to start receiving from the receiver, the receiver 2 is activated to start receiving. After receiving the signal on the communication medium and confirming the beginning of the frame, the receiving unit 2 converts the frame data into a fixed bit length (for example, 8 bits).
- length) and input them to the reception FIFO queue 3. This operation is the same as the normal reception clock! This will be done in one step.
受信FIFOキュー3に入力されたデータが出力待ちの
状態になると、CPUIはその状態を察知して、受信F
IFOキュー3から受信フレームのアドレス部分と制御
情報の部分とを取り出し、そのフレームが自局宛てのフ
レームであるのかどうか、また、どのようなフレームで
あるのかなどについて調べる。もしも自局宛のフレーム
であり、かつ、外部のメモリにフレームを格納しなけれ
ばならないものであれば、メモリアクセス制御部4に対
して、予め用意されている外部メモリの領域に、受信F
IFOキュー3に入力されているフレームの残りの部分
を書き込むように起動をかける。また、もしも他局宛の
フレームであれば、そのフレームを破棄しなければなら
ない。この場合の破棄する方法としては、受信FIFO
キュー3をリセットしてしまう方法があるが、この方法
では、もしも受信FiFOキュー3に連続して次に受信
されるフレームが入力される場合には、そのデータまで
消滅してしまう恐れがある。また、このような事態を防
止するためには、受信FIFOキュー3の構造をより複
雑にしなければならない、従って、対果になっているフ
レームだけを確実に消滅させるためには、CPIJI自
身において残りのデータを全て受信FIFOqニー3か
ら取り出すか、または、メモリアクセス制御部4を用い
て外部のメモリ7に書き込み、ホスI〜6に対しては、
さも受信しなかったかのごとくに対応し、受信を知らせ
ないで処理を進めなければならない。When the data input to the reception FIFO queue 3 is waiting for output, the CPU detects this state and transfers the data to the reception FIFO queue 3.
The address part and control information part of the received frame are extracted from the IFO queue 3, and it is checked whether the frame is addressed to the local station and what kind of frame it is. If the frame is addressed to the own station and must be stored in an external memory, the memory access control unit 4 stores the received frame in an area of the external memory prepared in advance.
Activation is activated to write the remaining part of the frame input to IFO queue 3. Furthermore, if the frame is addressed to another station, that frame must be discarded. In this case, the method of discarding is to discard the receive FIFO
There is a method of resetting the queue 3, but with this method, if frames to be received next are continuously input to the reception FiFO queue 3, there is a risk that that data will also be lost. Also, in order to prevent this kind of situation, the structure of the receive FIFO queue 3 must be made more complex. Therefore, in order to ensure that only the target frame is deleted, the remaining frames must be stored in CPIJI itself. All the data is taken out from the reception FIFOq knee 3 or written to the external memory 7 using the memory access control unit 4, and for the hosts I to 6,
Otherwise, it is necessary to respond as if the message had not been received and proceed with the process without notifying the user that the message has been received.
上述した従来の通信制御装置においては、受信されたフ
レームが受信FIFOキュー3から取り出され、自局宛
のフレームでない場合、そのフレームを破棄しなければ
ならない。上述の従来の通信制御装置においては、その
ために通信制御装置内のCP[J部1を用いて残りのデ
ータを受信FIFOキュー3から取り出すか、あるいは
メモリアクセス制御部4によって、外部のメモリ7に書
込むことにより処理をしなければならない。In the conventional communication control device described above, a received frame is taken out from the reception FIFO queue 3, and if the frame is not addressed to the local station, the frame must be discarded. In the conventional communication control device described above, for this purpose, the remaining data is taken out from the reception FIFO queue 3 using the CPJ section 1 in the communication control device, or the remaining data is stored in the external memory 7 by the memory access control section 4. Processing must be done by writing.
これは、020部1によって処理を行う場合には、その
間において、020部1が受信FTFOキュー3からの
データの収り出しに占有され、ホスト6からの指示に応
答することができないという欠点があり、また、020
部1が占有されないように、メモリアクセス制御部4に
より外部のメモリ7に書き込む場合には、ホスト6およ
び通信制御装置5が接続されているシステム・バス10
2が占有されることになり、この場合においても、ホス
ト6における処理を妨害する恐れがあるという欠点があ
る。This has the disadvantage that when processing is performed by the 020 unit 1, the 020 unit 1 is occupied with collecting data from the reception FTFO queue 3 and cannot respond to instructions from the host 6. Yes, also 020
When writing to the external memory 7 by the memory access control unit 4, the system bus 10 to which the host 6 and the communication control device 5 are connected so that the unit 1 is not occupied.
2 will be occupied, and even in this case, there is a drawback that processing in the host 6 may be disturbed.
本発明の通信制御装置は、通信媒体から受信されたデジ
タル信号を一定ビント長のデータに区切って出力する受
信部と、前記受信部より出力された受信データを入力す
る受信FIFOキューと、前記受信FIFOキューより
受信データを取り出して外部に書き込むメモリアクセス
制御部と、前記受信部、受信FIFOキューおよびメモ
リアクセス、v1gi部等の各部を制御するCPU部と
、を含む通信制御装置において、前記メモリアクセス制
御部に、外部のメモリに対する書き込み動作を伴わずに
、前記受信FIFOキューより受信データを取り出す手
段を備えて構成される。The communication control device of the present invention includes: a receiving unit that divides a digital signal received from a communication medium into data of a constant bint length and outputs the data; a receiving FIFO queue that inputs the received data output from the receiving unit; A communication control device including a memory access control unit that extracts received data from a FIFO queue and writes it externally, and a CPU unit that controls each unit such as the reception unit, reception FIFO queue, memory access, v1gi unit, etc. The control unit is configured to include means for extracting received data from the receive FIFO queue without writing to an external memory.
次に、本発明について図面を参照して説明する。本発明
の通信′制御装置のブロック図は、基本的には前述の第
3図に示される通信制御装置と同一である。本発明の特
徴は、第3図におけるメモリアクセス制御部4およびそ
の周辺とのインタフェースを含む機能手段にあり、従っ
て、第1図においては、第1の実施例として、メモリア
クセス制御部4を中心とした部分的なブロック図が示さ
れている。以下、第1図、第3図および第4図を参照し
て、第1の実施例について説明する。Next, the present invention will be explained with reference to the drawings. The block diagram of the communication control device of the present invention is basically the same as the communication control device shown in FIG. 3 described above. The feature of the present invention lies in the functional means including the memory access control unit 4 in FIG. 3 and an interface with its surroundings. Therefore, in FIG. A partial block diagram is shown. The first embodiment will be described below with reference to FIGS. 1, 3, and 4.
第1図に示されるように、本実施例のメモリアクセス制
御部4は、同じく通信制御部内に含まれる受信FIFO
キュー3に対応して、アドレス・制御信号生成部8、A
ND回路9,10.OR回路11、インバータ12、バ
ッファ13およびレジスタ14を備えて構成される。As shown in FIG. 1, the memory access control unit 4 of this embodiment uses a reception FIFO also included in the communication control unit.
Corresponding to queue 3, address/control signal generation section 8, A
ND circuits 9, 10. The circuit includes an OR circuit 11, an inverter 12, a buffer 13, and a register 14.
第1図において、アドレス・制御信号生成部8において
は、020部1(第3図を参照)から内部バス101を
経由して送られてくる指令を受けると、受信FIFOキ
ュー3より入力される制御信号103により受信データ
104を読み出す、読み出された受信信号104は、バ
ッファ13を経て、外部のメモリ7(第4図を参照)に
送られて書き込まれる。メモリ7に対する書き込み先に
ついては、先頭のアドレスが020部1により予め与え
られており、データをメモリ7に1回宛書き込むごとに
、書き込みアドレスは一つ宛加算されてゆく。In FIG. 1, when the address/control signal generator 8 receives a command sent from the 020 unit 1 (see FIG. 3) via the internal bus 101, the address/control signal generator 8 receives the command from the receive FIFO queue 3. The received data 104 is read in response to the control signal 103. The read received signal 104 is sent to the external memory 7 (see FIG. 4) via the buffer 13 and written therein. Regarding the write destination for the memory 7, the first address is given in advance by the 020 section 1, and each time data is written to the memory 7, the write address is incremented by one.
またメモリ7に対する書き込みは、バスリクエスト信号
BUSRQ 、バスアクノリッジ信号BUSAKおよび
メモリライト信号MWRによって制御される。Furthermore, writing to the memory 7 is controlled by a bus request signal BUSRQ, a bus acknowledge signal BUSAK, and a memory write signal MWR.
このようにして、アドレス・制御信号生成部8により、
受信データ104は、順次外部のメモリ7に書き込まれ
てゆく、なお、BUSRQおよびBUSAにの各制御信
号は1のときにアクティブになる信号である。従って、
第4図において、BUSRQが1である場合には、通信
制御装置がシステム・バス102 (第4図を参照)
の獲得を要求していることを示し、これに対する応答信
号BUSAKが1になったとき、通信制御装置によりシ
ステム・バス102が獲得されたことを意味している。In this way, the address/control signal generation unit 8
The received data 104 is sequentially written into the external memory 7. Each control signal for BUSRQ and BUSA is a signal that becomes active when it is 1. Therefore,
In FIG. 4, if BUSRQ is 1, the communication control device is connected to the system bus 102 (see FIG. 4).
When the response signal BUSAK to this request becomes 1, it means that the system bus 102 has been acquired by the communication control device.
レジスタ14は、メモリアクセス制御部4の動作モード
を設定するためのモードレジスタである。The register 14 is a mode register for setting the operation mode of the memory access control unit 4.
ここに保持される情報は1ビツトで構成されており、こ
の情報は020部1により書き込まれる。The information held here consists of 1 bit, and this information is written by 020 part 1.
レジスタ14より出力される前記1ビツトの情報は、A
ND回路9、インバータ12およびOR回路11、AN
D回路回路l上びバッファ13等に送られ、メモリアク
セス制御部4と外部との間のデータおよび制御信号等の
入出力を制御する。The 1-bit information output from the register 14 is A
ND circuit 9, inverter 12 and OR circuit 11, AN
The signal is sent to the D circuit 1, buffer 13, etc., and controls the input/output of data, control signals, etc. between the memory access control section 4 and the outside.
前記1ビツトの情報が1に設定されている場合には、そ
の情報出力により、メモリアクセス制御部4内のアドレ
ス・制御信号生成部8に対応するバスリクエスト信号B
USRQ 、パスアクノリッジ信号BUSAKおよびメ
モリライト信号14%IR等の各制御信号と、データお
よびアドレスの各信号が有効となり、また、前記1ビツ
ト情報が0に設定されている場合には、逆に上記の各制
御信号および各信号は、全て無効となる。従って、前記
1ビツト情報が0の場合に、020部1からメモリアク
セス制御部4に対して、受信データのメモリ7への書き
込みを指示しても、実際には外部に対してはバスリクエ
スト信号BυSRQがアクティブな状態にはなく、他方
、パスアクノリッジ信号BυSAKは、アドレス−制御
信号生成部8に対してはアクティブな状態になっている
ように見える。この結果、アドレス・制御信号生成部8
においてはシステム・バス102を獲得することができ
たものと判断し、次々に受信データの書き込み動作を行
うが、レジスタ14から出力される前記1ビツト情報が
0に設定されているために、実際には、前記受信データ
はシステム・バス102上には出力されない。従って、
これらの受信データは外部のメモリ7に書き込まれるこ
となしに、受信FIFOキュー3から収り出されること
になる。このことにより、受信されたフレームの制御情
報およびアドレス情報等より判断して、その受信フレー
ムが必要のないフレームであることが確認された場合に
は、そのフレームを破棄するに際1−て、システム・バ
ス102に対しては何等の影響を与えることなく行うこ
とができる。When the 1-bit information is set to 1, the output of the information causes the corresponding bus request signal B to be sent to the address/control signal generation section 8 in the memory access control section 4.
When each control signal such as USRQ, pass acknowledge signal BUSAK, and memory write signal 14%IR, and each data and address signal is valid, and the 1-bit information is set to 0, the above Each control signal and each signal are all invalidated. Therefore, even if the 020 unit 1 instructs the memory access control unit 4 to write the received data to the memory 7 when the 1-bit information is 0, the bus request signal is actually sent to the outside. BυSRQ is not in an active state, and on the other hand, the pass acknowledge signal BυSAK appears to be in an active state to the address-control signal generation unit 8. As a result, the address/control signal generator 8
In this case, it is determined that the system bus 102 has been acquired, and the received data is written one after another, but since the 1-bit information output from the register 14 is set to 0, the actual , the received data is not output on system bus 102 . Therefore,
These received data are retrieved from the receive FIFO queue 3 without being written to the external memory 7. As a result, if it is confirmed that the received frame is an unnecessary frame as judged from the control information and address information of the received frame, 1- when discarding the frame, This can be done without affecting the system bus 102 in any way.
次に、第2の実施例について説明する。Next, a second example will be described.
既に前述したように、本発明の通信制御装置のブロック
図は、基本的には第3図に示される通信制御装置と同一
である。本発明の特徴は、第3図におけるメモリアクセ
ス制御部4およびその周辺とのインタフェースを含む機
能手段にあり、従って、第2図においては、第1の実施
例の場合と同様に、メモリアクセス制御部4を中心とし
た部分的なブロック図が示されている。以下、第2図、
第3図および第4図を音間し2て、第2の実施例につい
て説明する。As already mentioned above, the block diagram of the communication control device of the present invention is basically the same as the communication control device shown in FIG. The feature of the present invention lies in the functional means including the memory access control section 4 in FIG. 3 and an interface with its surroundings. Therefore, in FIG. A partial block diagram centered on section 4 is shown. Below, Figure 2,
The second embodiment will be described with reference to FIGS. 3 and 4.
第2図に示されるよう(こ、本実施例のメモリアクセス
制御部4は、同じく通信制御部内に含まれる受信FIF
Oキュー3に対応して、アドレス・制御信号生成部15
、FIFOリード信号生信号生成炉16スタ17および
OR回路18を備えて構成される。As shown in FIG.
Corresponding to the O queue 3, an address/control signal generation section 15
, a FIFO read signal raw signal generation furnace 16, a star 17, and an OR circuit 18.
第2図において、メモリアクセス制御部4において受信
FIFOキュー3から受信データ105を読み出す場合
には、まず受信FIFOキュー3から出力されているレ
ディー信号107がアクティブであるか否かが確認され
る。このレディー信号107は、受信FIFOキュー3
の出力端に受信データがあることを示す信号で、この信
号がアクティブである時には、受信FIFOキュー3よ
り読み出されるデータは有効なものとなる。従って、メ
モリアクセス制御部4においては、レディー信号107
がアクティブであることが確認されると、次いで、リー
ド信号106がOR回路18を介して出力され、受信F
IFOキュー3に送られて、受信データ105が一つ受
信FIFOキュー3から読み出される。この一連の動作
を繰返すことにより、受信FIFOキュー3から受信デ
ータ105が逐次読み出される。In FIG. 2, when the memory access control unit 4 reads the received data 105 from the receive FIFO queue 3, it is first checked whether the ready signal 107 output from the receive FIFO queue 3 is active. This ready signal 107 is sent to the reception FIFO queue 3.
When this signal is active, the data read out from the receive FIFO queue 3 is valid. Therefore, in the memory access control unit 4, the ready signal 107
When it is confirmed that the
The received data 105 is sent to the IFO queue 3, and one piece of received data 105 is read out from the receive FIFO queue 3. By repeating this series of operations, the received data 105 is sequentially read out from the receive FIFO queue 3.
受信FIFOキュー3から出力されているエンド信号1
08は、受信されたフレームの最後のデータであること
を示すための信号である。メモリアクセス制御部4にお
いては、このエンド信号10gがアクティブになると、
その回における受信データ105の読み出しならびに外
部のメモリ7に対する書き込みを最後として動作が中止
される。End signal 1 output from receive FIFO queue 3
08 is a signal indicating that it is the last data of the received frame. In the memory access control unit 4, when this end signal 10g becomes active,
The operation is stopped after reading the received data 105 and writing to the external memory 7 for that time.
アドレス・制御信号生成部15においては、020部1
より内部データバス101を経由して送られてくる指令
を受け、上記の方法により、受信FtFOキュー3から
の受信データ105の読み出しが行われ、外部のメモリ
7に書き込まれる。この場合の書き込み先については、
前述の第1の実施例の場合と同様に、先頭のアドレスが
020部1により予め与えられており、データが1回書
き込まれるごとに、書き込みアドレスが一つ宛加算され
てゆく。このようにして、アドレス・制御信号生成部1
5により、受信データ105は、逐次外部のメモリ7に
書き込まれてゆく。In the address/control signal generation section 15, 020 section 1
In response to a command sent via the internal data bus 101, the received data 105 is read from the receive FtFO queue 3 and written to the external memory 7 using the method described above. In this case, the writing destination is
As in the case of the first embodiment described above, the first address is given in advance by the 020 unit 1, and each time data is written, one write address is added. In this way, the address/control signal generator 1
5, the received data 105 is sequentially written to the external memory 7.
F[’Oリード信号生成部16は、アドレス・制御信号
生成部15の場合と同様に、受信FIFOキュー3から
出力されているレディー信号107およびエンド信号1
08を入力し、また、OR回路18を介してリード信号
106を出力している。FIFOリード信号生信号生成
炉16力されるリード信号は、アドレス・制御信号生成
部15から出力されるリード信号と、OF?回路18に
おいて論理和され、リード信号106として受信FIF
Oキュー3に送られている。これらの信号を介して、F
IFOリード信号生信号生成炉16ても、020部1の
指令により、受信FIFOキュー3から受信データ10
5を取り出すことができる。F['O Read signal generation section 16, as in the case of address/control signal generation section 15, receives ready signal 107 and end signal 1 output from reception FIFO queue 3.
08 is input, and a read signal 106 is outputted via the OR circuit 18. The read signal output from the FIFO read signal raw signal generator 16 is the read signal output from the address/control signal generator 15 and the OF? It is ORed in the circuit 18 and sent as a read signal 106 to the reception FIF.
It is sent to O queue 3. Through these signals, F
The IFO read signal raw signal generation furnace 16 also receives the received data 10 from the receive FIFO queue 3 according to the command from the 020 unit 1.
5 can be taken out.
この場合、アドレス・制御信号生成部15と異なる点は
、取り出されたデータをどこにも使用しないということ
である。データ収り出し動作の終了は、エンド信号10
8によって行われる。In this case, the difference from the address/control signal generation section 15 is that the extracted data is not used anywhere. The end of the data extraction operation is signaled by the end signal 10.
8.
本実施例においては、アドレス・制御信号生成部15に
対して、受信FIFOキュー3からの受信データ取り出
しの起動をかけた場合、同時にFIFOリード信号生信
号生成炉16ても、受信データ取り出しの起動がかかる
ものとする。レジスタ17は、前述の第1の実施例の場
合と同様に、メモリアクセス制御部4の動作モードを設
定するためのモードレジスタである。このレジスタ17
に保持される情報は1ビツトで構成され、CPU部1に
より書き込まれる。書き込まれた情報は、そのまま出力
されて、アドレス・制御信号生成部15とFIFOリー
ド信号生信号生成炉16される。In this embodiment, when the address/control signal generator 15 is activated to retrieve received data from the receive FIFO queue 3, the FIFO read signal raw signal generator 16 is simultaneously activated to retrieve received data. shall be applied. The register 17 is a mode register for setting the operation mode of the memory access control unit 4, as in the first embodiment described above. This register 17
The information held in the memory is composed of 1 bit, and is written by the CPU section 1. The written information is output as is to the address/control signal generation unit 15 and the FIFO read signal raw signal generation unit 16.
レジスタ17に1が設定されている場合、すなわちレジ
スタ17から1が出力されている場合には、アドレス・
制御信号生成部15はイネーブルの状態にあり、通常の
動作が行われる。しかし、一方のFIFOリード信号生
信号生成炉16スエーブルの状態にあって、CPU部1
からの指示に対しては応答せず、停止したままの状態で
保持される。When 1 is set in register 17, that is, when 1 is output from register 17, the address
The control signal generating section 15 is in an enabled state and normal operation is performed. However, one FIFO read signal raw signal generation furnace 16 is in the disabled state, and the CPU section 1
It does not respond to instructions from the robot and remains stopped.
逆に、レジスタ17に0が設定されている場合には、ア
ドレス・制御信号生成部15はディスエーブルの状態と
なり、CPU部1からの指示に対しては応答せず、停止
したままの状態で保持される。Conversely, when the register 17 is set to 0, the address/control signal generation section 15 is disabled, does not respond to instructions from the CPU section 1, and remains stopped. Retained.
一方、FIFOリード信号生信号生成炉16−ブルの状
態に入り、アドレス・制御信号生成部15に代ってCP
U部1からの指示に応答し、受信データ105の取り出
しが行われる。従って、この状態において、CPU部1
から、メモリアクセス制御部4に対して、受信データの
外部のメモリ7に対する書き込みが指示された場合には
、アドレス・制御信号生成部15ではな(FIFOリー
ド信号生信号生成炉16を開始するため、実際には、外
部に対しては何等のアクセスも行われない、そして、通
信制御装置内においては、受信データ105が逐次受信
FIFOキュー3から取り出されてゆく、すなわち、第
1の実施例の場合と同様に、システム・バス102に対
しては何等の影響を与えることなしに、受信FIFOキ
ュー3からの受信データ105の取り込みを行うことが
できる。On the other hand, the FIFO read signal raw signal generation unit 16 enters the blue state, and the CP instead of the address/control signal generation unit 15
In response to an instruction from the U section 1, the received data 105 is extracted. Therefore, in this state, the CPU section 1
When the memory access control unit 4 is instructed to write the received data to the external memory 7, the address/control signal generation unit 15 (in order to start the FIFO read signal raw signal generation unit 16) In reality, no access is made to the outside, and within the communication control device, the received data 105 is sequentially taken out from the receive FIFO queue 3, that is, as in the first embodiment. As in the case of FIG.
なお、この第2の実施例の場合には、メモリアクセス制
御部4に対してアドレスを設定する必要がなく、受信デ
ータ105のフレームの終りまで受信FIFOキュー3
から読み出せばよいので、制御が単純化される。また、
受信されたフレームが必要がないからといって、受信F
IFOキュー3および受信部2をリセットして破棄する
ものではないため、このフレームの後に連続して別のフ
レームを受信して処理することも容易である。Note that in the case of this second embodiment, there is no need to set an address for the memory access control unit 4, and the reception FIFO queue 3 is stored until the end of the frame of the reception data 105.
Control is simplified since it is only necessary to read the information from . Also,
Just because the received frame is not needed, the received F
Since the IFO queue 3 and the receiving unit 2 are not reset and discarded, it is easy to receive and process another frame consecutively after this frame.
以上、詳細に説明したように、本発明は、受信部、受信
FIFOキュー、メモリアクセス制御部およびCPU部
を含んで構成される通信制御装置に適用されて、前記メ
モリアクセス制御部に対し、所定の受信データを、外部
メモリに書き込むことなしに前記受信FIFOキューか
ら取り出し得る機能をも併せてf1与することにより、
受信されたフレームが自局宛のフレームでない場合にお
いても、前記CPU部の処理効率を阻害するという問題
点ならびにシステム・バスを占有してホストの処理を妨
害するという問題点を、有効に排除することができると
いう効果がある。As described above in detail, the present invention is applied to a communication control device including a reception section, a reception FIFO queue, a memory access control section, and a CPU section, and is applied to a communication control device configured to include a reception section, a reception FIFO queue, a memory access control section, and a CPU section. By also providing f1 with the function of taking out the received data of from the reception FIFO queue without writing it to the external memory,
To effectively eliminate the problem of inhibiting the processing efficiency of the CPU section and the problem of occupying the system bus and interfering with host processing even when the received frame is not addressed to the own station. It has the effect of being able to
第1図は、本発明の第1の実施例の部分ブロック図、第
2図は、本発明の第2の実施例の部分ブロック図、第3
図は、通信制御装置のシステム・ブロック図、第4図は
、通信制御装置を含む通信システムのブロック図、第5
図は、通信フレームのフォーマットを示す図である。
図において、■・・・・・・CPU部、2・・・・・・
受信部、3・・・・・・受信FIFOキュー、4・・・
・・・メモリアクセス制rn部、5・・・・・・通信制
御装置、6・・・・・・ホスト、7・・・・・・メモリ
、8,15・・・・・・アドレス・制御信号生成部、9
.10・・・・・・AND回路、11.18・・・・・
・OR回路、12・・−・・・インバータ、13・・・
・−バッファ、14.17・・・・・−レジスタ、16
・・・・・・FIFOリード信号生信号生成層人 弁理
士
内 原
晋
声
図FIG. 1 is a partial block diagram of a first embodiment of the present invention, FIG. 2 is a partial block diagram of a second embodiment of the present invention, and FIG.
Figure 4 is a system block diagram of a communication control device, Figure 4 is a block diagram of a communication system including the communication control device, and Figure 5
The figure is a diagram showing the format of a communication frame. In the figure, ■...CPU section, 2...
Receiving unit, 3... Reception FIFO queue, 4...
...Memory access control rn unit, 5...Communication control device, 6...Host, 7...Memory, 8, 15...Address/control Signal generation section, 9
.. 10...AND circuit, 11.18...
・OR circuit, 12... Inverter, 13...
-Buffer, 14.17...-Register, 16
・・・・・・FIFO read signal raw signal generation layer person Susumu Hara, patent attorney
Claims (1)
データに区切つて出力する受信部と、前記受信部より出
力された受信データを入力する受信FIFOキューと、
前記受信FIFOキューより受信データを取り出して外
部に書き込むメモリアクセス制御部と、前記受信部、受
信FIFOキューおよびメモリアクセス制御部等の各部
を制御するCPU部と、を含む通信制御装置において、 前記メモリアクセス制御部に、外部のメモリに対する書
き込み動作を伴わずに、前記受信FIFOキューより受
信データを取り出す手段を備えることを特徴とする通信
制御装置。[Scope of Claims] A receiving unit that divides a digital signal received from a communication medium into data of a constant bit length and outputs the data; a receiving FIFO queue that inputs the received data output from the receiving unit;
A communication control device comprising: a memory access control unit that extracts received data from the reception FIFO queue and writes it to the outside; and a CPU unit that controls each unit such as the reception unit, the reception FIFO queue, and the memory access control unit; A communication control device characterized in that the access control section includes means for extracting received data from the reception FIFO queue without writing to an external memory.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1110203A JPH02287656A (en) | 1989-04-27 | 1989-04-27 | Communication controller |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1110203A JPH02287656A (en) | 1989-04-27 | 1989-04-27 | Communication controller |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH02287656A true JPH02287656A (en) | 1990-11-27 |
Family
ID=14529669
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1110203A Pending JPH02287656A (en) | 1989-04-27 | 1989-04-27 | Communication controller |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH02287656A (en) |
-
1989
- 1989-04-27 JP JP1110203A patent/JPH02287656A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6584512B1 (en) | Communication DMA device for freeing the data bus from the CPU and outputting divided data | |
| EP0969384A2 (en) | Method and apparatus for processing information, and providing medium | |
| JPH02287656A (en) | Communication controller | |
| US6700887B1 (en) | Packet transfer apparatus which generates access reject command during a DMA transfer | |
| JP2004030161A (en) | Interrupt control method in computer system, computer system, semiconductor integrated circuit, and program | |
| US5551052A (en) | Data bus protocol for high speed chip to chip data transfer | |
| JP3176472B2 (en) | Data transfer method | |
| JPH05282248A (en) | Data transfer device, processor element and data transfer method | |
| JP2005301714A (en) | Multi-cpu system, its data transfer method, and its program | |
| JP2002229929A (en) | Memory access control method and memory access control device | |
| JP2638505B2 (en) | Bus interface device | |
| JP2560757B2 (en) | Display data processing device | |
| JP2616490B2 (en) | Shared data storage method | |
| JPH07334453A (en) | Memory access system | |
| JPH11103330A (en) | Infrared data transmission method and device | |
| JPH06250965A (en) | I / O controller | |
| JPH08272732A (en) | Data transfer method and data transfer device | |
| JP3264336B2 (en) | Image conversion processor | |
| JP2001175544A (en) | Information communication device and information communication method | |
| JPH08129521A (en) | Direct memory access controller | |
| JPH05257863A (en) | Method for recognizing interrupt status of processor | |
| JPH05134971A (en) | Computer equipment | |
| JPH0738594A (en) | Cyclic data control method | |
| JP2001265600A (en) | Processing device boot method and data processing system | |
| JPH04360251A (en) | Computer system |