JPH09237197A - Semiconductor integrated circuit device - Google Patents

Semiconductor integrated circuit device

Info

Publication number
JPH09237197A
JPH09237197A JP8042906A JP4290696A JPH09237197A JP H09237197 A JPH09237197 A JP H09237197A JP 8042906 A JP8042906 A JP 8042906A JP 4290696 A JP4290696 A JP 4290696A JP H09237197 A JPH09237197 A JP H09237197A
Authority
JP
Japan
Prior art keywords
data
transmission
terminal
semiconductor integrated
integrated 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.)
Pending
Application number
JP8042906A
Other languages
Japanese (ja)
Inventor
Hisayuki Sasaki
久幸 佐々木
Yoshifumi Kobayashi
伝史 小林
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP8042906A priority Critical patent/JPH09237197A/en
Publication of JPH09237197A publication Critical patent/JPH09237197A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a semiconductor integrated circuit device whereby an error detecting function is surely diagnosed and reliability is improved by artificially transmitting data of an erroneous transfer mode from a transmission side to a reception side. SOLUTION: CPU 14 generates pseudo error data at the time of a test mode and an adding circuit 18 adds pseudo error data to transmission data which is held in a transmission shift register 17. A selector circuit 24 supplies transmission data where pseudo error data which is outputted from the transmission shift register 17 at the time of test mode to an error detecting circuit 25. Therefore, it is diagnosed whether or not the error detecting circuit 25 is normally operated by transmission data adding pseudo error data.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】この発明は、例えばマイクロ
コンピュータ等の入出力回路に係わり、特に、シリアル
インターフェイス回路を有する半導体集積回路装置に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an input / output circuit such as a microcomputer, and more particularly to a semiconductor integrated circuit device having a serial interface circuit.

【0002】[0002]

【従来の技術】図4は、従来のシリアルインターフェイ
ス回路を有する半導体集積回路装置を示している。半導
体集積回路装置41には図示せぬ中央処理装置(CP
U)によって処理されたデータをシリアルに外部に送出
する送信用シフトレジスタ(TSR)42、外部から供
給されデータをシリアルに受信し、前記CPUに供給す
る受信用シフトレジスタ(RSR)43が設けられてい
る。前記送信用シフトレジスタ(TSR)42の出力端
は送信端子44に接続され、受信端子45にはエラー検
出回路46を介して前記受信用シフトレジスタ43の入
力端が接続される。エラー検出回路46は例えば受信し
たデータのパリティーエラーや、シリアルデータの最後
に付加されたストップビットの有無からフレーミングエ
ラーを検出する。
2. Description of the Related Art FIG. 4 shows a semiconductor integrated circuit device having a conventional serial interface circuit. The semiconductor integrated circuit device 41 includes a central processing unit (CP
U) is provided with a transmission shift register (TSR) 42 for serially transmitting the data to the outside, and a reception shift register (RSR) 43 for serially receiving the data supplied from the outside and supplying the data to the CPU. ing. The output end of the transmission shift register (TSR) 42 is connected to the transmission terminal 44, and the reception terminal 45 is connected to the input end of the reception shift register 43 via an error detection circuit 46. The error detection circuit 46 detects a framing error from the parity error of the received data or the presence / absence of a stop bit added at the end of the serial data.

【0003】[0003]

【発明が解決しようとする課題】ところで、前記エラー
検出回路46を有する半導体集積回路装置は、エラー検
出回路46の機能が正常に動作するか否か、すなわち、
受信したデータのパリティーエラーやフレーミングエラ
ーが正常に検出さているか否かを自己診断できれば、半
導体集積回路装置の信頼性を向上できる。
In the semiconductor integrated circuit device having the error detection circuit 46, whether the function of the error detection circuit 46 operates normally, that is,
If the self-diagnosis can be made as to whether or not the parity error or the framing error of the received data is normally detected, the reliability of the semiconductor integrated circuit device can be improved.

【0004】従来、自己診断を行おうとした場合、出力
端子44と入力端子45を外部で接続し、送信用シフト
レジスタ42から出力されたデータを受信し、この受信
したデータが正常か否かをエラー検出回路46によって
検出していた。しかし、送信用シフトレジスタ42の転
送モードと受信用シフトレジスタ43の受信モードは一
般に一義的に設定されており、送信側が奇数パリティで
あれば、受信側も奇数パリティである。このため、作為
的に送信側から受信側に誤った転送モードのデータを送
出することは困難であり、エラー検出回路46のパリテ
ィエラー検出機能を十分にテストすることができないも
のであった。
Conventionally, when a self-diagnosis is performed, the output terminal 44 and the input terminal 45 are externally connected, the data output from the transmission shift register 42 is received, and whether the received data is normal or not is determined. It was detected by the error detection circuit 46. However, the transfer mode of the transmission shift register 42 and the reception mode of the reception shift register 43 are generally set uniquely, and if the transmission side has odd parity, the reception side also has odd parity. Therefore, it is difficult to artificially send the data in the wrong transfer mode from the transmitting side to the receiving side, and the parity error detecting function of the error detecting circuit 46 cannot be sufficiently tested.

【0005】同様に、送信側から受信側にビット長の異
なるデータを作為的に送出することが困難である。この
ため、エラー検出回路46において、転送モードが1種
類しかない場合のフレーミングエラーの検出や、ビット
長の異なるデータの検出、例えば8ビット転送と8ビッ
ト+パリティビット転送モードを有するシリアルポート
のパリティエラー検出機能を自己診断することができな
いものであった。
Similarly, it is difficult to artificially send data having different bit lengths from the transmitting side to the receiving side. Therefore, the error detection circuit 46 detects a framing error when there is only one type of transfer mode, or detects data of different bit lengths, for example, parity of a serial port having 8-bit transfer and 8-bit + parity bit transfer mode. The error detection function could not be self-diagnosed.

【0006】この発明は、上記課題を解決するためにな
されたものであり、その目的とするところは、作為的に
送信側から受信側に誤った転送モードのデータを送出可
能とし、エラー検出機能を確実に診断することができ、
信頼性を向上することが可能な半導体集積回路装置を提
供するものである。
The present invention has been made in order to solve the above problems, and its purpose is to make it possible to intentionally send data in an incorrect transfer mode from a transmitting side to a receiving side, and to provide an error detecting function. Can be reliably diagnosed,
Provided is a semiconductor integrated circuit device capable of improving reliability.

【0007】[0007]

【課題を解決するための手段】この発明は、出力端が送
信端子に接続され、送信端子から送出する送信データを
保持する保持手段と、前記保持手段に接続され、テスト
モード時に疑似エラーデータを前記送信データに付加す
る付加回路と、データを受信する受信端子と、前記受信
端子によって受信したデータの誤りを検出する検出手段
と、一方入力端が前記受信端子に接続され、他方入力端
が前記保持手段の出力端に接続され、出力端が前記検出
手段に接続され、前記テストモード時に前記保持手段か
ら出力される前記疑似エラーデータが付加された送信デ
ータを選択し、前記検出手段に供給する選択手段とを具
備している。
According to the present invention, an output terminal is connected to a transmission terminal, holding means for holding transmission data sent from the transmission terminal, and pseudo error data in the test mode connected to the holding means. An additional circuit for adding to the transmission data, a receiving terminal for receiving the data, a detecting means for detecting an error in the data received by the receiving terminal, one input end connected to the receiving terminal, and the other input end for the The transmission data is connected to the output end of the holding means, the output end is connected to the detection means, and the transmission data to which the pseudo error data output from the holding means in the test mode is added is selected and supplied to the detection means. And selecting means.

【0008】さらに、この発明は、受信したデータの誤
りを検出する検出手段を含む外部回路が接続される送信
端子と、出力端が前記送信端子に接続され、送信端子か
ら送出する送信データを保持する保持手段と、テストモ
ード時に疑似エラーデータを発生する制御装置と、前記
保持手段に接続され、テストモード時に前記制御装置に
よって発生された前記疑似エラーデータを前記送信デー
タに付加する付加回路とを具備し、前記テストモード時
に、前記疑似エラーデータが付加された送信データを前
記送信端子から前記外部回路に送信する。
Further, according to the present invention, a transmission terminal to which an external circuit including a detection means for detecting an error in received data is connected, and an output end is connected to the transmission terminal, and transmission data sent from the transmission terminal is held. Holding means, a control device for generating pseudo error data in the test mode, and an additional circuit connected to the holding means for adding the pseudo error data generated by the control device in the test mode to the transmission data. In the test mode, the transmission data to which the pseudo error data is added is transmitted from the transmission terminal to the external circuit.

【0009】すなわち、この発明は、テストモード時に
半導体集積回路装置内で送信データに疑似エラーデータ
を付加して送信可能としている。したがって、作為的に
送信側から受信側に誤った転送モードのデータを送出す
ることができる。しかも、半導体集積回路装置内に疑似
エラーデータが付加された送信データを選択して検出手
段に供給する選択手段を設けている。したがって、疑似
エラーデータを含む送信データによって検出手段が正常
に動作しているか否かを診断できる。
That is, according to the present invention, pseudo error data is added to transmission data in the semiconductor integrated circuit device in the test mode to enable transmission. Therefore, it is possible to artificially send data in the wrong transfer mode from the transmitting side to the receiving side. Moreover, the semiconductor integrated circuit device is provided with selecting means for selecting the transmission data to which the pseudo error data is added and supplying it to the detecting means. Therefore, it is possible to diagnose whether or not the detection means is operating normally by the transmission data including the pseudo error data.

【0010】また、疑似エラーデータが付加された送信
データを送信端子から外部回路に供給することにより、
疑似エラーデータの発生機能を持たない外部回路の診断
も可能となる。
Further, by supplying the transmission data to which the pseudo error data is added to the external circuit from the transmission terminal,
It is also possible to diagnose an external circuit that does not have a function of generating pseudo error data.

【0011】[0011]

【発明の実施の態様】以下、この発明の実施の態様につ
いて図面を参照して説明する。図1は、この発明の第1
の実施の態様に係わるシリアルインターフェイス回路を
示すものである。半導体集積回路装置11には複数の端
子が設けられている。図1にはこのうちのシリアル出力
ポートとしての送信端子12、シリアル入力ポートとし
ての受信端子13のみを示している。半導体集積回路装
置11の内部には中央処理装置(以下、CPUと称す)
14が設けられ、このCPU14はデータバス15に接
続されている。このデータバス15にはバッファレジス
タ(BFR)16を介して送信用シフトレジスタ(TS
R)17が接続され、この送信用シフトレジスタ17の
出力端は前記送信端子12に接続されている。前記送信
用シフトレジスタ17の例えばMSB側には、テストモ
ード時に送信データに疑似エラーデータを付加するため
の付加回路18が接続されている。この付加回路18は
D型フリップフロップ回路(以下、DFF回路と称す)
19、20、ラッチ回路(LAT)21、22及びセレ
クタ回路(SEL)23によって構成されている。前記
DFF回路19、20は直列接続され、前記送信用シフ
トレジスタ17とともにクロック信号CKによって動作
するシフトレジスタを構成している。DFF回路19の
入力端には電源電位Vccが供給され、DFF回路19、
20の各セット入力端は、例えばDFF回路によって構
成された前記ラッチ回路21、22の出力端にそれぞれ
接続されている。これらラッチ回路21、22の入力端
は前記データバス15に接続されている。前記DFF回
路20の出力端は前記セレクタ回路23の一方入力端に
接続され、このセレクタ回路23の他方入力端には電源
電位Vccが供給されている。このセレクタ回路23は前
記CPU14から出力される制御信号S1によって制御
される。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 shows a first embodiment of the present invention.
2 shows a serial interface circuit according to the embodiment of FIG. The semiconductor integrated circuit device 11 is provided with a plurality of terminals. FIG. 1 shows only the transmission terminal 12 as the serial output port and the reception terminal 13 as the serial input port. A central processing unit (hereinafter referred to as CPU) is provided inside the semiconductor integrated circuit device 11.
14 is provided, and the CPU 14 is connected to the data bus 15. A transmission shift register (TS) is connected to the data bus 15 via a buffer register (BFR) 16.
R) 17 is connected, and the output end of the transmission shift register 17 is connected to the transmission terminal 12. An additional circuit 18 for adding pseudo error data to the transmission data in the test mode is connected to, for example, the MSB side of the transmission shift register 17. The additional circuit 18 is a D-type flip-flop circuit (hereinafter referred to as a DFF circuit).
19, 20 and latch circuits (LAT) 21, 22 and a selector circuit (SEL) 23. The DFF circuits 19 and 20 are connected in series, and together with the transmission shift register 17, form a shift register that operates by a clock signal CK. The power supply potential Vcc is supplied to the input terminal of the DFF circuit 19,
Each set input end of 20 is connected to the output end of each of the latch circuits 21 and 22 formed of, for example, a DFF circuit. The input terminals of these latch circuits 21 and 22 are connected to the data bus 15. The output terminal of the DFF circuit 20 is connected to one input terminal of the selector circuit 23, and the power supply potential Vcc is supplied to the other input terminal of the selector circuit 23. The selector circuit 23 is controlled by the control signal S1 output from the CPU 14.

【0012】一方、セレクタ回路24の一方入力端は前
記受信端子13に接続され、他方入力端は前記送信用シ
フトレジスタ17の出力端に接続されている。このセレ
クタ回路24は前記CPU14から出力される制御信号
S2に応じて、前記受信端子13又は前記送信用シフト
レジスタ17の出力端を選択するものであり、このセレ
クタ回路24の出力端はエラー検出回路(EDC)25
に接続されている。このエラー検出回路25は、例えば
入力データのパリティーエラーやシリアルデータの最後
に付加されたストップビットの有無からフレーミングエ
ラーを検出する。このエラー検出回路25の出力端は受
信用シフトレジスタ(RSR)26に接続され、この受
信用シフトレジスタ26の出力端はバッファレジスタ2
7に接続されている。このバッファレジスタ27の出力
端は前記データバス15に接続されている。さらに、前
記エラー検出回路25から出力されるエラー検出出力信
号はCPU14に供給される。
On the other hand, one input end of the selector circuit 24 is connected to the reception terminal 13, and the other input end is connected to the output end of the transmission shift register 17. The selector circuit 24 selects the output terminal of the reception terminal 13 or the transmission shift register 17 according to the control signal S2 output from the CPU 14, and the output terminal of the selector circuit 24 is an error detection circuit. (EDC) 25
It is connected to the. The error detection circuit 25 detects a framing error based on, for example, a parity error of input data or the presence / absence of a stop bit added at the end of serial data. The output end of the error detection circuit 25 is connected to the reception shift register (RSR) 26, and the output end of the reception shift register 26 is the buffer register 2.
7 is connected. The output terminal of the buffer register 27 is connected to the data bus 15. Further, the error detection output signal output from the error detection circuit 25 is supplied to the CPU 14.

【0013】上記構成において動作について説明する。
通常動作時において、前記CPU14から出力されたデ
ータは、データバス15、バッファレジスタ16を介し
てパラレルに送信用シフトレジスタ17に供給される。
送信用シフトレジスタ17に供給されたデータは、クロ
ック信号CKに応じて送信端子12からシリアルに送出
される。この際、セレクタ回路23はCPU14から出
力される制御信号S1によって電源電位Vccが選択され
ている。したがって、送信用シフトレジスタ17から出
力されるデータのMSBには例えばハイレベルのストッ
プビットが付加される。
The operation of the above configuration will be described.
During normal operation, the data output from the CPU 14 is supplied in parallel to the transmission shift register 17 via the data bus 15 and the buffer register 16.
The data supplied to the transmission shift register 17 is serially transmitted from the transmission terminal 12 according to the clock signal CK. At this time, in the selector circuit 23, the power supply potential Vcc is selected by the control signal S1 output from the CPU 14. Therefore, for example, a high-level stop bit is added to the MSB of the data output from the transmission shift register 17.

【0014】また、セレクタ回路24はCPU14から
出力される制御信号S2によって、受信端子13が選択
されている。外部から受信端子13に供給されたデータ
は、セレクタ回路24を介してエラー検出回路25に供
給され、このエラー検出回路25において受信データ中
のエラーの有無が検出される。このエラー検出回路25
を通過したデータは受信用シフトレジスタ26に供給さ
れ、この受信用シフトレジスタ26のデータはバッファ
レジスタ27、データバス15を介してCPU14に供
給される。
In the selector circuit 24, the receiving terminal 13 is selected by the control signal S2 output from the CPU 14. The data supplied from the outside to the reception terminal 13 is supplied to the error detection circuit 25 via the selector circuit 24, and the error detection circuit 25 detects the presence or absence of an error in the reception data. This error detection circuit 25
The data passed through is supplied to the reception shift register 26, and the data in the reception shift register 26 is supplied to the CPU 14 via the buffer register 27 and the data bus 15.

【0015】一方、例えば電源投入時には、CPU14
によって先ずテストモードが設定され、エラー検出回路
25の動作が自己診断される。この際、セレクタ回路2
3はCPU14から出力される制御信号S1に応じてD
FF回路20の出力端を選択し、セレクタ回路24は制
御信号S2に応じて送信用シフトレジスタ17の出力端
を選択する。この状態において、CPU14から例えば
2つの疑似エラーデータが出力される。このうちの一方
はパリティビットであり、他方はストップビットであ
る。ストップビットはラッチ回路21を介してDFF回
路19にセットされ、パリティビットはラッチ回路22
を介してDFF回路20にセットされる。これらパリテ
ィビット及びストップビットは誤ったデータとされてい
る。また、送信用シフトレジスタ17には、データバス
15、バッファレジスタ16を介して任意のデータが設
定される。
On the other hand, for example, when the power is turned on, the CPU 14
First, the test mode is set, and the operation of the error detection circuit 25 is self-diagnosed. At this time, the selector circuit 2
3 is D according to the control signal S1 output from the CPU 14.
The output terminal of the FF circuit 20 is selected, and the selector circuit 24 selects the output terminal of the transmission shift register 17 according to the control signal S2. In this state, the CPU 14 outputs, for example, two pieces of pseudo error data. One of these is a parity bit and the other is a stop bit. The stop bit is set in the DFF circuit 19 via the latch circuit 21, and the parity bit is set in the latch circuit 22.
Is set in the DFF circuit 20 via. These parity bits and stop bits are regarded as incorrect data. Further, arbitrary data is set in the transmission shift register 17 via the data bus 15 and the buffer register 16.

【0016】この状態において、送信用シフトレジスタ
17及びDFF回路19、20にセットされデータ及び
パリティビット及びストップビットをクロック信号CK
に応じて転送すると、これらのデータはセレクタ回路2
4を介してエラー検出回路25に供給される。このエラ
ー検出回路25はパリティビット及びストップビットを
チェックし、エラー検出回路25が正常に動作していれ
ば、パリティエラー、フレーミングエラーに相当するエ
ラー検出出力信号をCPU14に送出する。CPU14
はこの供給されたエラー検出出力信号に基づき、エラー
検出回路25が正常に動作していることを認識できる。
In this state, the data shift register 17 and the DFF circuits 19 and 20 are set in the transmission shift register 17 and the DFF circuits 19 and 20.
These data are transferred according to the selector circuit 2
4 is supplied to the error detection circuit 25. The error detection circuit 25 checks the parity bit and the stop bit, and if the error detection circuit 25 is operating normally, sends an error detection output signal corresponding to a parity error or a framing error to the CPU 14. CPU14
Can recognize that the error detection circuit 25 is operating normally based on the supplied error detection output signal.

【0017】上記実施例によれば、半導体集積回路装置
11内に付加回路18及びセレクタ回路24を設け、テ
ストモード時に付加回路18によって送信データにスト
ップビットやパリティビットからなるテストビットとし
ての疑似エラーデータを付加して送信用シフトレジスタ
17から出力するとともに、送信用シフトレジスタ17
の出力信号をセレクタ回路24によってエラー検出回路
25に取込んでいる。したがって、半導体集積回路装置
11により、そのエラー検出回路25の動作状態を自己
診断することができるため、半導体集積回路装置11の
信頼性を向上できる。
According to the above-described embodiment, the additional circuit 18 and the selector circuit 24 are provided in the semiconductor integrated circuit device 11, and in the test mode, the additional circuit 18 sends the transmission data with a pseudo error as a test bit including a stop bit and a parity bit. The data is added and output from the transmission shift register 17, and the transmission shift register 17
The output signal of is taken into the error detection circuit 25 by the selector circuit 24. Therefore, the semiconductor integrated circuit device 11 can self-diagnose the operation state of the error detection circuit 25, so that the reliability of the semiconductor integrated circuit device 11 can be improved.

【0018】次に、図2を参照してこの発明の第2の実
施の態様について説明する。図2において、図1と同一
部分には同一符号を付す。第1の実施の態様では、テス
トモード時に半導体集積回路装置11内部のエラー検出
回路25の動作状態を自己診断した。これに対して、第
2の実施の態様では、半導体集積回路装置11に接続さ
れる他の半導体集積回路装置のエラー検出回路の動作状
態を診断可能としている。
Next, a second embodiment of the present invention will be described with reference to FIG. 2, the same parts as those in FIG. 1 are denoted by the same reference numerals. In the first embodiment, the operation state of the error detection circuit 25 inside the semiconductor integrated circuit device 11 is self-diagnosed in the test mode. On the other hand, in the second embodiment, the operating state of the error detection circuit of another semiconductor integrated circuit device connected to the semiconductor integrated circuit device 11 can be diagnosed.

【0019】すなわち、図2において、半導体集積回路
装置11の送信端子12は半導体集積回路装置31の受
信端子32に接続され、受信端子13は半導体集積回路
装置31の送信端子33に接続されている。半導体集積
回路装置31の内部には受信端子32に接続されたエラ
ー検出回路34、このエラー検出回路34に接続された
受信用シフトレジスタ35、及び送信端子33に接続さ
れた送信用シフトレジスタ36等が設けられている。
That is, in FIG. 2, the transmission terminal 12 of the semiconductor integrated circuit device 11 is connected to the reception terminal 32 of the semiconductor integrated circuit device 31, and the reception terminal 13 is connected to the transmission terminal 33 of the semiconductor integrated circuit device 31. . Inside the semiconductor integrated circuit device 31, an error detection circuit 34 connected to the reception terminal 32, a reception shift register 35 connected to the error detection circuit 34, a transmission shift register 36 connected to the transmission terminal 33, and the like. Is provided.

【0020】上記構成において、テストモード時に半導
体集積回路装置11の内部で上述したように発生された
送信データ及び疑似エラーデータは送信端子12から出
力され、半導体集積回路装置31の受信端子32を介し
てエラー検出回路34に供給される。エラー検出回路3
4が正常であれば、疑似エラーデータを検出することが
でき、エラー検出出力信号を半導体集積回路装置31の
図示せぬCPUに送出することができる。したがって、
CPUはこの供給されたエラー検出出力信号に基づき、
エラー検出回路34が正常に動作していることを認識で
きる。
In the above structure, the transmission data and the pseudo error data generated as described above inside the semiconductor integrated circuit device 11 in the test mode are output from the transmission terminal 12 and the reception terminal 32 of the semiconductor integrated circuit device 31. Are supplied to the error detection circuit 34. Error detection circuit 3
If 4 is normal, pseudo error data can be detected, and an error detection output signal can be sent to the CPU (not shown) of the semiconductor integrated circuit device 31. Therefore,
The CPU, based on the supplied error detection output signal,
It can be recognized that the error detection circuit 34 is operating normally.

【0021】上記第2の実施の態様によれば、半導体集
積回路装置11で発生した疑似エラーデータを含む送信
データを半導体集積回路装置31に供給することによ
り、疑似エラーデータの発生機能を持たない半導体集積
回路装置31のエラー検出回路34を診断することがで
きる。したがって、半導体集積回路装置11及びこれに
接続された他の半導体集積回路装置31の信頼性を向上
できる。
According to the second embodiment, the transmission data including the pseudo error data generated in the semiconductor integrated circuit device 11 is supplied to the semiconductor integrated circuit device 31, so that the pseudo error data generation function is not provided. The error detection circuit 34 of the semiconductor integrated circuit device 31 can be diagnosed. Therefore, the reliability of the semiconductor integrated circuit device 11 and the other semiconductor integrated circuit device 31 connected thereto can be improved.

【0022】尚、付加回路18の構成は図1に示す構成
に限定されるものではなく、図3(a)(b)に示すよ
うに、例えばパリティビットやストップビットのいずれ
か一方のみを設定する構成としてもよい。
The configuration of the additional circuit 18 is not limited to the configuration shown in FIG. 1, and as shown in FIGS. 3A and 3B, for example, only one of the parity bit and the stop bit is set. It may be configured to.

【0023】[0023]

【発明の効果】以上、詳述したようにこの発明によれ
ば、作為的に送信側から受信側に誤った転送モードのデ
ータを送出可能とすることにより、エラー検出機能を確
実に診断でき、信頼性を向上することが可能な半導体集
積回路装置を提供できる。
As described above in detail, according to the present invention, the error detection function can be surely diagnosed by intentionally transmitting the data in the wrong transfer mode from the transmitting side to the receiving side. A semiconductor integrated circuit device capable of improving reliability can be provided.

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

【図1】図1はこの発明の第1の実施の態様を示す回路
構成図。
FIG. 1 is a circuit configuration diagram showing a first embodiment of the present invention.

【図2】図2はこの発明の第2の実施の態様を示す要部
の回路構成図。
FIG. 2 is a circuit configuration diagram of essential parts showing a second embodiment of the present invention.

【図3】図3はこの発明の変形例を示すものであり、送
信データの例を示す構成図。
FIG. 3 is a block diagram showing an example of transmission data, showing a modification of the present invention.

【図4】図4は従来の半導体集積回路装置を示す要部の
回路構成図。
FIG. 4 is a circuit configuration diagram of a main part showing a conventional semiconductor integrated circuit device.

【符号の説明】[Explanation of symbols]

18…付加回路、11、31…半導体集積回路装置、1
2、33…送信端子、13、32…受信端子、14…C
PU、17、36…送信用シフトレジスタ(TSR)、
26、35…受信用シフトレジスタ(RSR)、24…
セレクタ回路、25、34…エラー検出回路。
18 ... Additional circuit, 11, 31 ... Semiconductor integrated circuit device, 1
2, 33 ... Transmission terminal, 13, 32 ... Reception terminal, 14 ... C
PU, 17, 36 ... Transmission shift register (TSR),
26, 35 ... Shift register for reception (RSR), 24 ...
Selector circuit, 25, 34 ... Error detection circuit.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 出力端が送信端子に接続され、送信端子
から送出する送信データを保持する保持手段と、 前記保持手段に接続され、テストモード時に疑似エラー
データを前記送信データに付加する付加回路と、 データを受信する受信端子と、 前記受信端子によって受信したデータの誤りを検出する
検出手段と、 一方入力端が前記受信端子に接続され、他方入力端が前
記保持手段の出力端に接続され、出力端が前記検出手段
に接続され、前記テストモード時に前記保持手段から出
力される前記疑似エラーデータが付加された送信データ
を選択し、前記検出手段に供給する選択手段とを具備す
ることを特徴とする半導体集積回路装置。
1. A holding unit having an output terminal connected to a transmission terminal for holding transmission data sent from the transmission terminal, and an additional circuit connected to the holding unit for adding pseudo error data to the transmission data in a test mode. A receiving terminal for receiving data, a detecting means for detecting an error in the data received by the receiving terminal, one input terminal connected to the receiving terminal, and the other input terminal connected to the output terminal of the holding means. An output terminal connected to the detection means, and selecting means for selecting the transmission data added with the pseudo error data output from the holding means in the test mode and supplying the selected transmission data to the detection means. A characteristic semiconductor integrated circuit device.
【請求項2】 前記テストモード時に前記疑似エラーデ
ータを発生し、前記付加回路に供給する制御装置を有す
ることを特徴とする請求項1記載の半導体集積回路装
置。
2. The semiconductor integrated circuit device according to claim 1, further comprising a control device that generates the pseudo error data in the test mode and supplies the pseudo error data to the additional circuit.
【請求項3】 前記制御装置は、前記テストモード時に
前記疑似エラーデータとして少なくとも誤ったパリティ
ビットとストップビットのうちの1つを発生することを
特徴とする請求項1記載の半導体集積回路装置。
3. The semiconductor integrated circuit device according to claim 1, wherein the control device generates at least one of an erroneous parity bit and a stop bit as the pseudo error data in the test mode.
【請求項4】 受信したデータの誤りを検出する検出手
段を含む外部回路が接続される送信端子と、 出力端が前記送信端子に接続され、送信端子から送出す
る送信データを保持する保持手段と、 テストモード時に疑似エラーデータを発生する制御装置
と、 前記保持手段に接続され、テストモード時に前記制御装
置によって発生された前記疑似エラーデータを前記送信
データに付加する付加回路とを具備し、 前記テストモード時に、前記疑似エラーデータが付加さ
れた送信データを前記送信端子から前記外部回路に送信
することを特徴とする半導体集積回路装置。
4. A transmission terminal to which an external circuit including a detection means for detecting an error in received data is connected, and a holding means having an output end connected to the transmission terminal and holding transmission data sent from the transmission terminal. A control device for generating pseudo error data in a test mode; and an additional circuit connected to the holding means for adding the pseudo error data generated by the control device in the test mode to the transmission data, A semiconductor integrated circuit device, wherein in the test mode, the transmission data to which the pseudo error data is added is transmitted from the transmission terminal to the external circuit.
JP8042906A 1996-02-29 1996-02-29 Semiconductor integrated circuit device Pending JPH09237197A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8042906A JPH09237197A (en) 1996-02-29 1996-02-29 Semiconductor integrated circuit device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8042906A JPH09237197A (en) 1996-02-29 1996-02-29 Semiconductor integrated circuit device

Publications (1)

Publication Number Publication Date
JPH09237197A true JPH09237197A (en) 1997-09-09

Family

ID=12649083

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8042906A Pending JPH09237197A (en) 1996-02-29 1996-02-29 Semiconductor integrated circuit device

Country Status (1)

Country Link
JP (1) JPH09237197A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7120085B2 (en) 2004-04-13 2006-10-10 Hynix Semiconductor Inc. Pseudo SRAM having combined synchronous and asynchronous mode register set
JP2018535580A (en) * 2015-09-23 2018-11-29 クゥアルコム・インコーポレイテッドQualcomm Incorporated Self-error injection technique on point-to-point interconnections to increase test coverage

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7120085B2 (en) 2004-04-13 2006-10-10 Hynix Semiconductor Inc. Pseudo SRAM having combined synchronous and asynchronous mode register set
JP2018535580A (en) * 2015-09-23 2018-11-29 クゥアルコム・インコーポレイテッドQualcomm Incorporated Self-error injection technique on point-to-point interconnections to increase test coverage

Similar Documents

Publication Publication Date Title
US6292911B1 (en) Error detection scheme for a high-speed data channel
US4630295A (en) Low power consumption CMOS shift register
US5153509A (en) System for testing internal nodes in receive and transmit FIFO's
US6690733B1 (en) Method for data transmission
EP0304948B1 (en) Data processor including testing structure for barrel shifter
US7913002B2 (en) Test apparatus, configuration method, and device interface
EP0085973A2 (en) Information transmission system
JPH09237197A (en) Semiconductor integrated circuit device
US5737522A (en) Serial input/output circuit with an automatic transfer function
JPS6014347A (en) Trouble detector
JPS63290033A (en) Data transmission reception circuit
JP2979814B2 (en) Serial data transfer device
US5267250A (en) Circuit arrangement for detection of an erroneous selection signal supplied to selection means
JP2002366505A (en) Method and device for detecting mounting position
US6185714B1 (en) Address trap comparator capable of carrying out high speed fault detecting test
US7281184B2 (en) Test system and method for testing a circuit
JP2677084B2 (en) Alternating signal circuit with error detection function
KR940006297Y1 (en) Receiver and transmitter circuit
KR0160502B1 (en) Apparatus for detecting the configuration of a communication port
JP2606160B2 (en) Failure detection method for parity check circuit
US20020122436A1 (en) Serial communication device
JP2759607B2 (en) Synchronous signal detection device
JPH06104875A (en) Serial port
JP2001051026A (en) Electronic-circuit monitoring apparatus
JPH06274360A (en) Error check circuit