Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS6318223B2 - - Google Patents
[go: Go Back, main page]

JPS6318223B2 - - Google Patents

Info

Publication number
JPS6318223B2
JPS6318223B2 JP58116712A JP11671283A JPS6318223B2 JP S6318223 B2 JPS6318223 B2 JP S6318223B2 JP 58116712 A JP58116712 A JP 58116712A JP 11671283 A JP11671283 A JP 11671283A JP S6318223 B2 JPS6318223 B2 JP S6318223B2
Authority
JP
Japan
Prior art keywords
data
error
circuit
clock signal
signal
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
Application number
JP58116712A
Other languages
Japanese (ja)
Other versions
JPS607542A (en
Inventor
Hisashi Inoshima
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 JP58116712A priority Critical patent/JPS607542A/en
Publication of JPS607542A publication Critical patent/JPS607542A/en
Publication of JPS6318223B2 publication Critical patent/JPS6318223B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Description

【発明の詳細な説明】 (a) 発明の分野 この発明はエラー処理回路に関し、とくに入力
されたデータをチエツクし、エラーが発見された
場合に発振器のクロツク信号の送出を停止するエ
ラー処理回路に係る。
[Detailed Description of the Invention] (a) Field of the Invention The present invention relates to an error processing circuit, and particularly to an error processing circuit that checks input data and stops sending out a clock signal from an oscillator when an error is detected. Related.

(b) 技術の背景 電子機器ではデータの処理速度と同様に、処理
結果の信頼性も重要な要素となつている。すなわ
ち、処理速度が高速でもその結果の信頼性が低い
機器は、処理速度が少々遅くとも結果の信頼性が
高い機器には劣る。そのために、処理すべきデー
タが正しいかどうかをチエツクするための技術が
種々開発され、実用に供されている。代表的なデ
ータチエツク技術としてパリテイチエツク方式、
CRC方式などをあげることができる。
(b) Technical background In electronic devices, reliability of processing results is as important as data processing speed. In other words, a device with a high processing speed but with low reliability of its results is inferior to a device with a slightly slower processing speed but with high reliability of the results. To this end, various techniques for checking whether the data to be processed is correct have been developed and put into practical use. Parity check method is a typical data check technology.
Examples include the CRC method.

(c) 従来技術の問題点 さて、このように処理結果の信頼性の観点から
処理すべきデータにエラーが発見された場合には
以後の処理を中止しなければならないが、そのた
め従来の技術はデータにエラーが発見された場合
に回路のタイミングを制御するクロツク信号を停
止することが行なわれている。しかし、クロツク
信号の停止は発振器におけるクロツク信号の送出
を阻止することにより行なわれている。そのため
に、エラーチエツク回路がエラーを検出してから
発振器におけるクロツク信号の送出を阻止するま
での間にデータバツフアにはクロツク信号が入力
してしまい、その結果次のデータがデータバツフ
アにセツトされエラーとなつたデータは消滅する
こととなる。したがつて、エラーの原因を調査す
ることが不可能となるという欠点を有する。
(c) Problems with the conventional technology As described above, from the viewpoint of the reliability of processing results, if an error is found in the data to be processed, the subsequent processing must be stopped. The practice is to stop the clock signal that controls the timing of the circuit if an error is discovered in the data. However, stopping the clock signal is accomplished by blocking the output of the clock signal in the oscillator. Therefore, a clock signal is input to the data buffer between the time the error check circuit detects the error and the time when the oscillator stops sending the clock signal, and as a result, the next data is set in the data buffer, causing an error. The data will be lost. Therefore, it has the disadvantage that it is impossible to investigate the cause of the error.

(d) 発明の目的 本発明はかかる点に鑑み、データエラーが生じ
てもエラーが生じたデータを消滅することのない
エラー処理回路を提供することを目的とする。
(d) Purpose of the Invention In view of the above, an object of the present invention is to provide an error processing circuit that does not erase data in which an error has occurred even if a data error occurs.

(e) 発明の実施例 以下に本発明によるエラー処理回路の実施例を
図面に沿つて詳細に説明する。
(e) Embodiments of the Invention Below, embodiments of the error processing circuit according to the present invention will be described in detail with reference to the drawings.

第1図はエラー処理回路の概略を示すブロツク
図であり、1はデータバツフア、2はデータチエ
ツク部、3は発振器、4はエラー状態部、G1は
第1のゲート、G2は第2のゲートである。
FIG. 1 is a block diagram schematically showing an error processing circuit, in which 1 is a data buffer, 2 is a data check section, 3 is an oscillator, 4 is an error state section, G1 is a first gate, and G2 is a second gate. be.

データバツフア1は処理すべきデータを外部か
ら受け取り、一旦記憶する機能を有し、レジスタ
より構成される。データチエツク部2はデータバ
ツフア1に記憶されたデータをチエツクするもの
であり、例えばパリテイチエツク回路より構成さ
れる。データチエツク部2のエラー検出信号は第
2およびエラー状態保持部4に送出される。ゲー
ト2はエラー検出信号がデータチエツク部2から
出力されたときその入力信号を出力端子に送出す
ることを阻止する機能を有する。したがつて発振
器3から送出されているクロツク信号はゲートで
阻止され、データエラーが生じた直後にデータバ
ツフア1に対するクロツク信号の入力は阻止され
る。したがつて、次のデータがバツフアにセツト
されることはなくエラーが生じたデータはバツフ
アに残る。一方、エラー状態保持部4の出力によ
つてゲートG1はゲートG2よりも遅れてゲート
されるので発振器3からのクロツク信号の送出は
停止される。
The data buffer 1 has a function of receiving data to be processed from the outside and temporarily storing it, and is composed of registers. The data check section 2 checks the data stored in the data buffer 1, and is composed of, for example, a parity check circuit. The error detection signal from the data check section 2 is sent to the second and error state holding section 4. The gate 2 has a function of preventing the input signal from being sent to the output terminal when the error detection signal is output from the data check section 2. Therefore, the clock signal being sent from the oscillator 3 is blocked by the gate, and the input of the clock signal to the data buffer 1 is blocked immediately after a data error occurs. Therefore, the next data is not set in the buffer, and the data in which the error occurred remains in the buffer. On the other hand, since the gate G1 is gated later than the gate G2 by the output of the error state holding section 4, the transmission of the clock signal from the oscillator 3 is stopped.

第2図は第1図の詳細を示すエラー処理回路で
あり、REG1は9ビツトのレジスタ、PCはパリ
テイチエツク回路、FF1,FF2はフリツプフロ
ツプ回路、A1〜A3はアンド回路、OR1はオ
ア回路、OSCは発振器である。
FIG. 2 shows an error processing circuit showing the details of FIG. 1. REG1 is a 9-bit register, PC is a parity check circuit, FF1 and FF2 are flip-flop circuits, A1 to A3 are AND circuits, OR1 is an OR circuit, OSC is an oscillator.

レジスタREG1は外部からの処理すべきデー
タを端子Cに入力するセツトクロツク信号CLKS
の到来に同期して記憶する。レジスタREG1の
出力はパリテイチエツク回路PCに接続されてい
る。パリテイチエツク回路PCはレジスタREG1
に記憶されたデータをパリテイチエツク方式より
チエツクする機能を有する。パリテイチエツク回
路PCの出力端子からはデータにエラーが生じた
とき論理1となるエラー検出信号ERD1がアン
ド回路A2を介してFF1のセツト端子Jに接続
されている。アンド回路A2の他方の入力端子に
はチエツクタイミング信号CHTが入力している。
FF1のQ端子からのエラー信号ERはオア回路
ORに接続され、Q端子からのクロツクインヒビ
ツト信号CLKIはアンド回路A1に接続されてい
る。オア回路ORには他のパリテイチエツク回路
のFFからの出力が接続している。オア回路ORの
出力はFF2のセツト端子Jに入力している。FF
2のQ端子からは基準クロツク信号CLKの送出
を阻止するインヒビツト信号STが送出しており、
それはアンド回路A3の一方の入力に接続され、
その他方には発振器OSCからのクロツク信号が
入力している。アンド回路A3の出力は基準クロ
ツク信号CLKとしてアンド回路A1に入力して
いる。アンド回路A1には更にクロツクゲート信
号CLKGが入力している。なお、信号RSTはリ
セツト信号であり、レジスタ・FF1,FF2のリ
セツト端子Rに入力している。またCLK1はFF
1,FF2に対するクロツク信号である。FF2の
Q端子からはアラーム信号ALRMが送出する。
Register REG1 is a set clock signal CLKS that inputs data to be processed from the outside to terminal C.
be memorized in synchronization with the arrival of The output of register REG1 is connected to parity check circuit PC. Parity check circuit PC is register REG1
It has a function of checking data stored in the memory using a parity check method. An error detection signal ERD1 which becomes logic 1 when an error occurs in the data is connected from the output terminal of the parity check circuit PC to the set terminal J of FF1 via an AND circuit A2. A check timing signal CHT is input to the other input terminal of the AND circuit A2.
The error signal ER from the Q terminal of FF1 is an OR circuit.
A clock inhibit signal CLKI from the Q terminal is connected to an AND circuit A1. The output from the FF of another parity check circuit is connected to the OR circuit OR. The output of the OR circuit OR is input to the set terminal J of FF2. FF
An inhibit signal ST is sent from the Q terminal of 2, which prevents the reference clock signal CLK from being sent out.
It is connected to one input of AND circuit A3,
The clock signal from the oscillator OSC is input to the other side. The output of the AND circuit A3 is input to the AND circuit A1 as a reference clock signal CLK. A clock gate signal CLKG is further input to the AND circuit A1. Note that the signal RST is a reset signal and is input to the reset terminals R of the registers FF1 and FF2. Also, CLK1 is FF
This is the clock signal for FF1 and FF2. An alarm signal ALRM is sent from the Q terminal of FF2.

次ぎに、この回路の動作を第3図のタイムチヤ
ートに沿つて簡単に説明する。なお、第3図の信
号名称は第2図における信号名称と一致してい
る。発振器OSCからはaに示すようにノンスト
ツプクロツク信号NCLKが送出され、インヒビ
ツト信号STが論理1なので信号NCLKと同相の
基準クロツク信号CLKはアンドA1に入力して
いる。クロツクインヒビツト信号CLKIおよびク
ロツクゲート信号CLKGは論理1なので基準クロ
ツク信号CLKと同相のセツトクロツク信号CLKS
はアンド回路A1を介してデータレジスタREG
1の端子Cに入力する。したがつて、あるセツト
クロツク信号CLKSによつて9ビツトのデータは
レジスタにセツトされる。このデータがチエツク
回路PCによつてチエツクされて、エラーが検出
されると回路PCはエラー検出信号ERD1を論理
1とする。これによつてFF1はセツトされエラ
ー状態が保持される。FF1のセツトによつて端
子は論理0となるのでクロツクインヒビツト信
号CLKIはアンド回路A1をゲートし、レジスタ
REG1に対するセツトクロツク信号CLKSの入力
は阻止される。したがつてエラーが検出されたデ
ータはレジスタに保持されたままとなる。一方、
Q端子出力であるエラー信号ERは論理1となる
のでFF2もセツトされ、その結果インヒビツト
信号STは論理0となるのでノンストツプクロツ
ク信号NCLKはアンド回路A3によつて阻止さ
れ、基準クロツク信号CLKの送出は停止される。
Next, the operation of this circuit will be briefly explained along the time chart of FIG. Note that the signal names in FIG. 3 match the signal names in FIG. 2. The non-stop clock signal NCLK is sent out from the oscillator OSC as shown in a, and since the inhibit signal ST is logic 1, the reference clock signal CLK which is in phase with the signal NCLK is input to ANDA1. Since the clock inhibit signal CLKI and the clock gate signal CLKG are logic 1, the set clock signal CLKS is in phase with the reference clock signal CLK.
is the data register REG via the AND circuit A1
Input to terminal C of 1. Therefore, 9-bit data is set in the register by a certain set clock signal CLKS. This data is checked by the check circuit PC, and if an error is detected, the circuit PC sets the error detection signal ERD1 to logic 1. As a result, FF1 is set and the error state is maintained. By setting FF1, the terminal becomes logic 0, so the clock inhibit signal CLKI gates the AND circuit A1 and registers.
Input of set clock signal CLKS to REG1 is blocked. Therefore, data in which an error has been detected remains held in the register. on the other hand,
Since the error signal ER output from the Q terminal becomes logic 1, FF2 is also set, and as a result, the inhibit signal ST becomes logic 0, so the nonstop clock signal NCLK is blocked by the AND circuit A3, and the reference clock signal CLK is transmission is stopped.

(g) 発明の効果 以上のように、本発明によればデータにエラー
が生じた時点でデータレジスタに対するセツトク
ロツク信号CLKSの入力を阻止したものであり、
この結果エラーが生じたデータはそのレジスタに
保持される。したがつてエラーの要因を調査する
上で都合がよい。
(g) Effects of the Invention As described above, according to the present invention, input of the set clock signal CLKS to the data register is blocked at the time when an error occurs in the data.
The resulting data in error is held in that register. Therefore, it is convenient for investigating the cause of errors.

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

第1図はエラー処理回路の概略を示すブロツク
図、第2図は第1図の詳細を示すエラー処理回
路、第3図は第2図における主要な信号のタイム
チヤートである。 図中、1はデータバツフア、2はデータチエツ
ク部、3は発振器、4はエラー状態部、G1は第
1のゲート、G2は第2のゲート、REG1は9
ビツトのレジスタ、PCはパリテイチエツク回路、
FF1,FF2はフリツプフロツプ回路、A1〜A
3はアンド回路、OR1はオア回路、OSCは発振
器を示す。
FIG. 1 is a block diagram showing the outline of the error processing circuit, FIG. 2 is a block diagram showing the details of the error processing circuit shown in FIG. 1, and FIG. 3 is a time chart of the main signals in FIG. In the figure, 1 is a data buffer, 2 is a data check section, 3 is an oscillator, 4 is an error state section, G1 is the first gate, G2 is the second gate, REG1 is 9
Bit register, PC parity check circuit,
FF1 and FF2 are flip-flop circuits, A1 to A
3 represents an AND circuit, OR1 represents an OR circuit, and OSC represents an oscillator.

Claims (1)

【特許請求の範囲】[Claims] 1 入力したデータを記憶する記憶手段、記憶手
段に記憶されたデータをチエツクするデータチエ
ツク手段、前記記憶手段に対してデータの記憶タ
イミングを制御するクロツク信号を送出する発振
部、前記データチエツク手段によつてデータエラ
ーが発生した時その状態を記憶保持するエラー状
態保持部、該保持部の出力により前記発振部にお
けるクロツク信号の送出を阻止する第1のゲート
手段、前記データエラーが発生した時前記記憶手
段に対するクロツク信号の入力を阻止する第2の
ゲート手段を備えたことを特徴とするエラー処理
回路。
1. A storage means for storing input data, a data check means for checking the data stored in the storage means, an oscillation section for sending a clock signal for controlling data storage timing to the storage means, and a data check means for the data check means. Accordingly, when a data error occurs, an error state holding section stores and holds the state; a first gate means prevents the sending of a clock signal in the oscillation section by the output of the holding section; An error processing circuit comprising second gate means for blocking input of a clock signal to the storage means.
JP58116712A 1983-06-27 1983-06-27 Error processing circuit Granted JPS607542A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58116712A JPS607542A (en) 1983-06-27 1983-06-27 Error processing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58116712A JPS607542A (en) 1983-06-27 1983-06-27 Error processing circuit

Publications (2)

Publication Number Publication Date
JPS607542A JPS607542A (en) 1985-01-16
JPS6318223B2 true JPS6318223B2 (en) 1988-04-18

Family

ID=14693942

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58116712A Granted JPS607542A (en) 1983-06-27 1983-06-27 Error processing circuit

Country Status (1)

Country Link
JP (1) JPS607542A (en)

Also Published As

Publication number Publication date
JPS607542A (en) 1985-01-16

Similar Documents

Publication Publication Date Title
KR100819720B1 (en) On-chip background debug system and data processing system with the method
JP2595314B2 (en) IC card with erroneous writing prevention function
US5357613A (en) Time-domain boundary buffer method and apparatus
US11372461B2 (en) Circuitry for transferring data across reset domains
JPS6318223B2 (en)
US6301188B1 (en) Method and apparatus for registering free flow information
JPH096725A (en) Asynchronous data transfer receiver
JPH04268647A (en) Register with double read preventing function
KR910000152Y1 (en) Detecting circuit of overrun and underrun data error for magnetic tape
JP2864779B2 (en) Pulse input circuit
JPS6324503Y2 (en)
JP2979918B2 (en) Interrupt detection circuit
JP2005174090A (en) Data transfer circuit
JPH08292828A (en) Interface noise prevention circuit
JPS61109154A (en) Error detecting system for fixed data register
JP2948714B2 (en) Receive overrun control circuit
JPS6042973B2 (en) Input/output information check method
JPS60118964A (en) Interface circuit
JPS5836440B2 (en) Storage device control method
JPH0495785A (en) Semiconductor integrated circuit device
JPS6237416B2 (en)
JPS601644B2 (en) Timing pulse generation circuit
JPH0566632B2 (en)
JPH01149643A (en) Packet buffer device
JPS642972B2 (en)