JPS6323445A - Communication control equipment - Google Patents

Communication control equipment

Info

Publication number
JPS6323445A
JPS6323445A JP61165493A JP16549386A JPS6323445A JP S6323445 A JPS6323445 A JP S6323445A JP 61165493 A JP61165493 A JP 61165493A JP 16549386 A JP16549386 A JP 16549386A JP S6323445 A JPS6323445 A JP S6323445A
Authority
JP
Japan
Prior art keywords
communication control
control circuit
parity error
data
frame
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
Application number
JP61165493A
Other languages
Japanese (ja)
Other versions
JPH0375104B2 (en
Inventor
Masato Shirado
白▲と▼ 全人
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP61165493A priority Critical patent/JPS6323445A/en
Publication of JPS6323445A publication Critical patent/JPS6323445A/en
Publication of JPH0375104B2 publication Critical patent/JPH0375104B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)
  • Communication Control (AREA)

Abstract

PURPOSE:To shorten the DMA transfer time by detecting a parity error after a write signal is outputted to a communication control circuit and generating an abort pattern when the parity error is detected so as to make its frame invalid. CONSTITUTION:In order to prevent a frame including an erroneous data from being sent as an effective frame even if the erroneous data is written in a communication control circuit 3, a parity error is detected after the output of a write signal and the abort pattern is generated to make the frame invalid at the detection of parity error. In detecting a parity error, an abort pattern generating circuit 5 generates >=7 consecutive data and if such a pattern exists in a frame, it is regarded as the abort pattern to make the frame invalid. Thus, a write signal is outputted before the parity error is detected, the time for DMA transfer is reduced and before the write data is converted into a serial data, the abort pattern is outputted, then no erroneous data is sent.

Description

【発明の詳細な説明】 (概 要〕 IDLC(High Level data 1.in
k Control)手順の通信を可能とする通信制御
回路と、パリティビット付メモリと、前記通信制御回路
と前記メモリ間のデータ転送を制御するDMA (Di
rect memoryaccess)転送制御回路を
備えた通信制御装置であって、前記通信制御回路にパリ
ティ−エラー信号を受けてアボートパターンを発生する
回路を設け、前記DMA転送制御回路より前記通信制御
回路にライト信号を出力後にパリティエラーを検出し、
パリティエラーが検出されたときは前記アボートパター
ンを発生させてそのフレームを無効とするように構成し
、DMA転送の時間を短くするように構成したものであ
る。
[Detailed description of the invention] (Summary) IDLC (High Level data 1.in
a communication control circuit that enables communication of procedures (K Control), a memory with a parity bit, and a DMA (Di Control) that controls data transfer between the communication control circuit and the memory.
rect memory access) A communication control device equipped with a transfer control circuit, wherein the communication control circuit is provided with a circuit that generates an abort pattern in response to a parity error signal, and the DMA transfer control circuit sends a write signal to the communication control circuit. Detects parity error after outputting
When a parity error is detected, the abort pattern is generated to invalidate the frame, thereby shortening the DMA transfer time.

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

本発明は通信制御装置に関するもので、さらに詳しくは
、特にパリ、ティエラーによる誤ったデータの送出を防
ぎながら高速にメモリから通信制御回路へデータを転送
するDMA転送制御回路に関するものである。
The present invention relates to a communication control device, and more particularly, to a DMA transfer control circuit that transfers data from a memory to a communication control circuit at high speed while preventing erroneous data transmission due to paris and tie errors.

〔従来の技慣〕[Traditional technique]

従来パリティビット付メモリのデータを通信制御回路へ
D?’lA転送する場合、メモリからリードしたデータ
にパリティエラーが発生していないことを確認してから
通信制御回路へライトするという方法をとっていた。こ
れを第5図に示す。
Data from conventional memory with parity bit to communication control circuit D? When performing '1A' transfer, the method used was to confirm that no parity errors had occurred in the data read from memory before writing it to the communication control circuit. This is shown in FIG.

第5図において、時刻t1において通信制御回路からデ
ータ要求信号が出力され、時刻t2においてDMA転送
制御回路がメモリに対してリード信号を出力すると、時
刻t3においてメモリがデータを出力し、時刻t4にお
いてパリティエラーを検出する。パリティエラーが発生
していなければ、時刻り、において通信制御回路へライ
ト信号を出力し、もしパリティエラーが発生していれば
ライト信号は出力されない。時刻1bにおいてライト信
号をネゲートしDMA転送サイクルを終了する。
In FIG. 5, a data request signal is output from the communication control circuit at time t1, and when the DMA transfer control circuit outputs a read signal to the memory at time t2, the memory outputs data at time t3, and at time t4. Detect parity errors. If no parity error has occurred, a write signal is output to the communication control circuit at the time, and if a parity error has occurred, no write signal is output. At time 1b, the write signal is negated and the DMA transfer cycle ends.

これは誤ったデータを通信制御回路が送信データとして
送出するのを防止するためである。
This is to prevent the communication control circuit from sending out incorrect data as transmission data.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかしこのDMA転送の方法はメモリよりリードしたデ
ータにパリティエラーが発生していないことを確認する
時間を確保してから、通信制御回路へのライト動作が始
まるために、DI’lA転送が遅くなるという欠点があ
る。すなわち第5図において、時刻t、からt、までの
時間がパリティエラーの検出に余分とられるのである。
However, with this DMA transfer method, the write operation to the communication control circuit begins after securing time to confirm that no parity errors have occurred in the data read from the memory, which slows down the DI'lA transfer. There is a drawback. That is, in FIG. 5, extra time is taken from time t to time t for parity error detection.

本発明はこのような点にかんがみて創作されたもので、
簡易な構成でDMA転送時間を短縮するようにした通信
制御装置を提供することを目的としている。
The present invention was created in view of these points.
It is an object of the present invention to provide a communication control device that has a simple configuration and shortens DMA transfer time.

〔問題点を解決するための手段および作用〕本発明は通
信制御装置のつぎの3つの点、すなわち (イ)  HDLC手順が開始フラグと終了フラグの間
にあるフレームと呼ばれるデータブロック単位でデータ
の受は渡しを行うこと、 (口I  HDLC手順がアボートパターンを持ってお
り、アボートパターンの送出により送出中のフレームが
無効となること、および い)通信制御回路がデータ信号を受けとってからシリア
ルデータに変換して送出するまでに時間があること を利用し、誤ったデータを通信制御回路にライトされて
もそのデータを含むフレームが有効なフレームとして送
出されるのを防ぐために、パリティエラーをライト信号
出力後に検出し、パリティエラー検出時にはアボートパ
ターンを発生させてフレームを無効とするようにしたも
のである。
[Means and effects for solving the problems] The present invention addresses the following three points in a communication control device, namely (a) HDLC procedure is a data block unit called a frame between a start flag and an end flag. (1) The HDLC procedure has an abort pattern, and sending the abort pattern invalidates the frame being sent. (2) After the communication control circuit receives the data signal, the serial data Taking advantage of the fact that there is time to convert and send out the data, a parity error is written to prevent the frame containing the data from being sent out as a valid frame even if incorrect data is written to the communication control circuit. It is detected after a signal is output, and when a parity error is detected, an abort pattern is generated to invalidate the frame.

〔実施例〕〔Example〕

第1図は本発明の通信制御装置の1実施例を示す図であ
る。
FIG. 1 is a diagram showing one embodiment of a communication control device of the present invention.

第1図において1はDMA転送制御回路、2はメモリ、
3は通信制御回路、4はパリティエラー検出回路、5は
アボートパターン発生回路である。
In FIG. 1, 1 is a DMA transfer control circuit, 2 is a memory,
3 is a communication control circuit, 4 is a parity error detection circuit, and 5 is an abort pattern generation circuit.

第1図における装置において、HDLC手順におけるフ
レームは第2図のごとく構成される。第2図において、
11は開始フラグ、12は終了フラグ、13はデータ、
14はCRCコードを示し、フラグは同図に示すごとく
連続した6ケの“1”として構成される。
In the apparatus shown in FIG. 1, a frame in the HDLC procedure is structured as shown in FIG. In Figure 2,
11 is a start flag, 12 is an end flag, 13 is data,
14 indicates a CRC code, and the flag is configured as six consecutive "1's" as shown in the figure.

第1図におけるアボートパターン発生回路はパリティエ
ラーを検出すると図示のごとく連続した7ケ以上のパタ
ーンを発生し、フレームの中にかかるパターンがあると
アボートパターンとみなし、フレームを無効とする。
When the abort pattern generating circuit in FIG. 1 detects a parity error, it generates seven or more consecutive patterns as shown in the figure, and if such a pattern is present in a frame, it is regarded as an abort pattern and the frame is invalidated.

通信制御回路3はパラレルデータをシリアルデータに変
換するものであって、第3図はその動作を説明するタイ
ミングチャートである。第3図において、(alは第1
図におけるデータ転送要求信号、(b)はライト信号、
(C)はメモリ2から読出されたライトデータ(パラレ
ルデータ) 、(diは送出データ(シリアルデータ)
をそれぞれ示している。通信制御回路3がパラレルデー
タをライトされてからシリアルデータに変換して出力す
るまでに時間がか\る。この時間を利用してパリティエ
ラーを検出するものである。
The communication control circuit 3 converts parallel data into serial data, and FIG. 3 is a timing chart illustrating its operation. In Figure 3, (al is the first
Data transfer request signal in the figure, (b) is a write signal,
(C) is the write data (parallel data) read from memory 2, (di is the sending data (serial data)
are shown respectively. It takes some time for the communication control circuit 3 to convert parallel data into serial data and output it after it is written. This time is used to detect parity errors.

第4図に第1図の装置の動作を説明するタイミングチャ
ートを示す。第4図において、(alは通信制御回路3
よりD)IA転送制御回路1へのデータ転送要求信号、
(b)はb?’lA転送制御回路1よりメモリ2へのり
−ドイ言号、(C1はメモリ3より続出されるパラレル
データ、(dlはパリティエラー検出回路4によるパリ
ティエラー検出タイミング、(e)はDMA転送制御回
路1より通信制御回路3へのライト信号、(f)はパリ
ティエラー検出信号、(glはシリアル送信データをそ
れぞれ示す。
FIG. 4 shows a timing chart illustrating the operation of the apparatus shown in FIG. 1. In FIG. 4, (al is the communication control circuit 3
D) Data transfer request signal to IA transfer control circuit 1,
(b) is b? 'lA transfer control circuit 1 to memory 2 - Doi word, (C1 is parallel data successively output from memory 3, (dl is parity error detection timing by parity error detection circuit 4, (e) DMA transfer control circuit 1 indicates a write signal to the communication control circuit 3, (f) indicates a parity error detection signal, and (gl indicates serial transmission data).

第4図のタイミングチャートに示すごとく、本実施例で
はパリティエラーを検出する前にライト信号が出力する
ために、DMA転送の時間が短縮される。
As shown in the timing chart of FIG. 4, in this embodiment, the write signal is output before a parity error is detected, so the DMA transfer time is shortened.

またパリティエラーが発生しても、すなわち誤ったデー
タであっても、そのライトされたデータがシリアルデー
タに変換される前に、アボートパターンが出力されるた
め、誤ったデータを送出することばない。
Furthermore, even if a parity error occurs, that is, even if there is erroneous data, an abort pattern is output before the written data is converted to serial data, so erroneous data will not be sent.

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

以上述べてきたように、本発明によれば、掻めで簡易な
構成でDMA転送時間を短縮することができ、実用的に
は極めて有用である。
As described above, according to the present invention, it is possible to shorten the DMA transfer time with a simple configuration, which is extremely useful in practice.

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

第1図は本発明にか\る通信制御装置の1実施例を示す
ブロック図、第2図は第1図の装置におけるフレームの
構成図、第3図は第1図の装置の通信制御回路の動作説
明、第4図は本発明の実施例の動作を説明するタイミン
グチャート、第5図は従来の装置の動作を説明するタイ
ミングチャートをそれぞれ示す。 図において1はDMA転送制御回路、2はメモリ、3は
通信制御コ「回路、4はパリティエラー検出回路、5は
アボートパターン発生回路をそれぞれ示す。
FIG. 1 is a block diagram showing one embodiment of a communication control device according to the present invention, FIG. 2 is a configuration diagram of a frame in the device shown in FIG. 1, and FIG. 3 is a communication control circuit of the device shown in FIG. FIG. 4 shows a timing chart explaining the operation of the embodiment of the present invention, and FIG. 5 shows a timing chart explaining the operation of the conventional device. In the figure, 1 is a DMA transfer control circuit, 2 is a memory, 3 is a communication control circuit, 4 is a parity error detection circuit, and 5 is an abort pattern generation circuit.

Claims (1)

【特許請求の範囲】 HDLC(High Level data Link
 Control)手順の通信を可能とする通信制御回
路と、パリテイビット付メモリと、前記通信制御回路と
前記メモリ間のデータ転送を制御するDMA(Dire
ct memoryaccess)転送制御回路を備え
た通信制御装置において、 前記通信制御回路にパリティーエラー信号を受けてアボ
ートパターンを発生する回路を設け、パリティーエラー
を前記DMA転送制御回路より前記通信制御回路にライ
ト信号を出力後に検出し、パリテイエラーが検出された
ときは前記アボートパターンを発生させてそのフレーム
を無効とするようにしたことを特徴とする通信制御装置
[Claims] HDLC (High Level data Link)
a communication control circuit that enables communication in the control) procedure, a memory with a parity bit, and a DMA (Direct Control) that controls data transfer between the communication control circuit and the memory.
ct memory access) A communication control device equipped with a transfer control circuit, wherein the communication control circuit is provided with a circuit that generates an abort pattern in response to a parity error signal, and the parity error is sent as a write signal from the DMA transfer control circuit to the communication control circuit. A communication control device characterized in that the parity error is detected after the frame is output, and when a parity error is detected, the abort pattern is generated to invalidate the frame.
JP61165493A 1986-07-16 1986-07-16 Communication control equipment Granted JPS6323445A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61165493A JPS6323445A (en) 1986-07-16 1986-07-16 Communication control equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61165493A JPS6323445A (en) 1986-07-16 1986-07-16 Communication control equipment

Publications (2)

Publication Number Publication Date
JPS6323445A true JPS6323445A (en) 1988-01-30
JPH0375104B2 JPH0375104B2 (en) 1991-11-29

Family

ID=15813446

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61165493A Granted JPS6323445A (en) 1986-07-16 1986-07-16 Communication control equipment

Country Status (1)

Country Link
JP (1) JPS6323445A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02161856A (en) * 1988-12-15 1990-06-21 Nippon Telegr & Teleph Corp <Ntt> Communication controller
GB2336464A (en) * 1998-04-15 1999-10-20 Samsung Electronics Co Ltd Detecting defects in hard disk drives

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02161856A (en) * 1988-12-15 1990-06-21 Nippon Telegr & Teleph Corp <Ntt> Communication controller
GB2336464A (en) * 1998-04-15 1999-10-20 Samsung Electronics Co Ltd Detecting defects in hard disk drives

Also Published As

Publication number Publication date
JPH0375104B2 (en) 1991-11-29

Similar Documents

Publication Publication Date Title
JPS6310460B2 (en)
JPS6323445A (en) Communication control equipment
JPS6232813B2 (en)
JP2586072B2 (en) Storage device
JPS61110243A (en) Diagnosis method for error correction and detection circuits
JPS6148183B2 (en)
JPS58200351A (en) Error correcting circuit
JP2734627B2 (en) Bus master device
JPS6373437A (en) Checking system for parity circuit
KR930007367Y1 (en) Parity check system
JP2763009B2 (en) Semiconductor integrated circuit device for data communication
JPH01224851A (en) Data processor
JPS6155696B2 (en)
JP3587252B2 (en) Printer control device
JPH02126352A (en) Data transfer control method for information processing equipment
JPS62125453A (en) Storage device
JPS6159547A (en) Device for checking error correcting function
JPS55146681A (en) Buffer memory correction system
JPS6031332A (en) Data check method
JPH05298179A (en) Memory control system
JPS63228248A (en) Multiple error correctable main memory
JPS58196694A (en) Storage device
JPH0324601A (en) Control method
JPS5542343A (en) Control system for memory unit
JPH0439754A (en) Error detecting device for memory