JPH0425955A - Bus interface diagnosis device - Google Patents

Bus interface diagnosis device

Info

Publication number
JPH0425955A
JPH0425955A JP2132184A JP13218490A JPH0425955A JP H0425955 A JPH0425955 A JP H0425955A JP 2132184 A JP2132184 A JP 2132184A JP 13218490 A JP13218490 A JP 13218490A JP H0425955 A JPH0425955 A JP H0425955A
Authority
JP
Japan
Prior art keywords
data
bus interface
register
section
bus
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
JP2132184A
Other languages
Japanese (ja)
Inventor
Toshio Kimura
利男 木村
Keiji Honda
本多 恵治
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.)
NEC Corp
NEC Engineering Ltd
Original Assignee
NEC Corp
NEC Engineering 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 NEC Corp, NEC Engineering Ltd filed Critical NEC Corp
Priority to JP2132184A priority Critical patent/JPH0425955A/en
Publication of JPH0425955A publication Critical patent/JPH0425955A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To obtain a bus interface diagnosis device where the diagnosis of a bus interface and the specification of a suspected device and a suspected chip become easy by comparing the value of arbitrary data held in a holding part and that of data in a comparison part. CONSTITUTION:In the bus interface diagnosis device 30, a control part 5 supplies a clock pulse from a clock pulse supply part 1 to a reception-side device 10 one pulse by one, a reception register 14 is caused to transmit and set the value of a transmission register 25 through a bus driver 21, a bus 40 and a bus receiver 16. Then, the value of the reception register 14 is fetched into the holding part 3 (scan register) in the diagnosis device 30 from a scan path 39 and the fetched value of the reception register 14 is compared with the value which is set in the transmission register 25 of a transmission-side device 20, which is fetched into the holding part 3 in a scan path line 39 and which is recognized in the comparison part 4. Thus, there is an effect that the diagnosis of the bus interface and the specification of the suspected device and the suspected chip become easy.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、受信側装置と送信側装置から成る情報処理装
置に関し、特にバスインタフェースを診断するバスイン
タフェース診断装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an information processing device comprising a receiving device and a transmitting device, and more particularly to a bus interface diagnostic device for diagnosing a bus interface.

〔従来の技術〕[Conventional technology]

従来の情報処理装置は、バスインタフェースを診断する
場合、情報処理装置のバスにログ情報を出力する装置を
接続し、情報処理装置を実際に動作させて行っていた。
In conventional information processing devices, when diagnosing a bus interface, a device that outputs log information is connected to the bus of the information processing device, and the information processing device is actually operated.

そしてバスインタフェースに障害があった場合、障害発
生の通知に対してクロックを停止させ、各装置のレジス
タ等記憶素子の状態値をログ情報として出力していた。
If there is a failure in the bus interface, the clock is stopped in response to notification of the failure occurrence, and the status values of storage elements such as registers of each device are output as log information.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来の情報処理装置では、バスインタフェース
の診断をログ情報を出力する装置を動作させ、障害発生
時の出力されたログ情報を基に行うため、被疑装置の特
定はどうにかできても、ビット位置、すなわち被疑チッ
プの特定が困難という欠点があった。
In the conventional information processing device described above, bus interface diagnosis is performed by operating a device that outputs log information and based on the log information output when a failure occurs. There was a drawback that it was difficult to identify the location, that is, the suspect chip.

本発明の目的は、上記欠点を解消し、バスインタフェー
スの診断及び被疑装置、被疑チップが容易なバスインタ
フェース診断装置を提供することにある。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a bus interface diagnostic device that eliminates the above-mentioned drawbacks and allows easy diagnosis of bus interfaces, suspect devices, and suspect chips.

〔課題を解決するための手段〕[Means to solve the problem]

本発明は、送信側装置と受信側装置とがバスを介してデ
ータ転送を行う情報処理装置のバスインタフェースを診
断するバスインタフェース診断装置であって、 送信側装置及び受信側装置にクロックパルスを供給する
クロックパルス供給部と、特定データ及び任意データを
送信側装置及び受信側装置に設定するデータ設定部と、
データを保持する保持部と、保持されたデータの値を比
較する比較部と、クロックパルス供給部、データ設定部
、比較部及び保持部を制御する制御部とを有し、 制御部は、データ設定部から送信側装置及び受信側装置
のレジスタに特定データを設定して送受信可能状態とし
、データ設定部から送信側装置に設定した任意データと
、前記クロックパルスにより前記任意データが前記送信
側装置から受信側装置に伝送されたデータとを保持部に
保持し、保持部に保持した前記任意データと前記データ
との値を比較部で比較することにより、バスインタフェ
ースの診断を行うことを特徴とする。
The present invention is a bus interface diagnostic device for diagnosing a bus interface of an information processing device in which a sending device and a receiving device transfer data via a bus, the device providing clock pulses to the sending device and the receiving device. a clock pulse supply unit for setting specific data and arbitrary data to the transmitting side device and the receiving side device;
It has a holding section that holds data, a comparison section that compares the values of the held data, and a control section that controls the clock pulse supply section, the data setting section, the comparison section, and the holding section. The setting section sets specific data in the registers of the sending device and the receiving device to enable transmission and reception, and the arbitrary data set in the sending device from the data setting section and the clock pulse transfer the arbitrary data to the sending device. The bus interface is diagnosed by holding the data transmitted from the storage unit to the receiving device in a holding unit, and comparing the values of the arbitrary data held in the holding unit and the data in a comparing unit. do.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して説明する
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は、本発明の一実施例を示す機能ブロック図であ
る。
FIG. 1 is a functional block diagram showing one embodiment of the present invention.

このバスインタフェース診断装置は、クロックパルス供
給部1と、データ設定部2と、保持部3と、比較部4と
、制御部5とを備えている。
This bus interface diagnostic device includes a clock pulse supply section 1, a data setting section 2, a holding section 3, a comparison section 4, and a control section 5.

クロックパルス供給部1は、受信側装置及び送信側装置
から成る情報処理装置に動作させるためのクロックパル
スを供給する。
The clock pulse supply section 1 supplies clock pulses for operating an information processing apparatus consisting of a receiving side device and a transmitting side device.

データ設定部2は、送信側装置のレジスタにバスインタ
フェースをチエツクするための任意のデータを設定する
。また送信側装置のバスドライバをイネーブル状態、受
信側装置の受信レジスタを常時セット有効状態とするた
めに特定データ例えば“1”を送信する。そして受信側
装置及び送信側装置を送受信可能の状態とする。
The data setting unit 2 sets arbitrary data for checking the bus interface in the register of the sending device. Further, specific data such as "1" is transmitted to enable the bus driver of the transmitting device and to always set the reception register of the receiving device to a valid state. Then, the receiving side device and the sending side device are placed in a state where they can transmit and receive data.

保持部4は、送信側装置に設定した任意データと、送信
側装置への設定後に送信側装置から受信側装置に伝送さ
れ受信側装置から取り込まれたスキャンアウトデータと
を保持し、比較部4に送出する。
The holding unit 4 holds arbitrary data set in the sending device and scan-out data transmitted from the sending device to the receiving device and taken in from the receiving device after setting in the sending device. Send to.

比較部4は、保持部3からの送信側装置に設定した任意
データ及び受信側装置から取り込んだデータを比較し、
不一致を検出する。送信側装置に設定した任意データと
、送信側装置から受信側装置に伝送され、受信側装置か
ら取り込んだデータは、同じ値のデータであるため、こ
れらのデータの不一致からバスインタフェースでの障害
を判定できる。
The comparing unit 4 compares arbitrary data set in the transmitting side device from the holding unit 3 and data fetched from the receiving side device,
Detect discrepancies. Since the arbitrary data set in the sending device and the data transmitted from the sending device to the receiving device and retrieved from the receiving device have the same value, it is possible to prevent a failure at the bus interface from a mismatch in these data. Can be judged.

制御部5は、クロックパルス供給部1.データ設定部2
.保持部3.比較部4を総合的に制御する。
The control section 5 includes a clock pulse supply section 1. Data setting section 2
.. Holding part 3. Comprehensively controls the comparison section 4.

第2図は、本実施例によるバスインタフェース診断の具
体的な装置の接続を示す図である。
FIG. 2 is a diagram showing the connection of specific devices for bus interface diagnosis according to this embodiment.

バスインタフェース診断装置30は、受信側装置10及
び送信側装置20とクロックパルス分配線3233、シ
フトモード線34、スキャンバス線35.3839と接
続されている。受信側装置10は、受信レジスタ制御回
路11と、セレクタ12と、レジスタ13と、受信レジ
スタ14と、バスレシーバ15とを有し、送信側装置2
0は、バスドライバ21と、セレクタ22と、バスドラ
イバ制御回路23と、レジスタ24と、送出レジスタ2
4とを有している。この送信側装置2oについては、図
示していないが複数台あるものとする。
The bus interface diagnostic device 30 is connected to the receiving device 10, the transmitting device 20, a clock pulse distribution line 3233, a shift mode line 34, and a scan line 35.3839. The receiving device 10 includes a receiving register control circuit 11, a selector 12, a register 13, a receiving register 14, and a bus receiver 15, and the transmitting device 2
0 is a bus driver 21, a selector 22, a bus driver control circuit 23, a register 24, and a sending register 2.
4. Although not shown, it is assumed that there are a plurality of transmitter devices 2o.

送信側装置20と受信側装置1oとは、バスドライバ2
Iの出力とバスレシーバ15の入力とがバス4oヲ介し
て接続されている。また受信個装ff1oの受信レジス
タ14とレジスタ13との間及び送信側装置20のレジ
スタ24と送出レジスタ25との間は、スキャンバス線
36.37により接続されている。バスインタフェース
診断装置30のスキャンバス線35は、受信側装置10
の受信レジスタ14及び送信側装置20のレジスタ24
と接続されている。またバスインタフェース診断装置3
0のスキャンバス線39は、受信側装置10のレジスタ
エ3の出力と接続され、スキャンバス線38は、送信側
装置20の送出レジスタ25の出力と接続されている。
The transmitting side device 20 and the receiving side device 1o are the bus driver 2
The output of I and the input of bus receiver 15 are connected via bus 4o. Further, the receiving register 14 and register 13 of the receiving unit ff1o and the register 24 and sending register 25 of the transmitting side device 20 are connected by scan lines 36 and 37. The scan line 35 of the bus interface diagnostic device 30 is connected to the receiving device 10.
The receiving register 14 of the transmitting device 20 and the register 24 of the transmitting device 20
is connected to. Also, the bus interface diagnostic device 3
The 0 scan canvas line 39 is connected to the output of the register 3 of the receiving device 10, and the scan canvas line 38 is connected to the output of the sending register 25 of the transmitting device 20.

またクロック分配線32.33は、クロックパルス供給
部1から受信側装置lO及び送信個装W20に送受信動
作のためのクロックパルスを供給し、スキャンバス線3
5は、データ設定部2から送信側装置20及び受信側装
置10に任意データ及び特定データを設定し、スキャン
バス線38.39は、受信側装置10及び送信側装置2
0のレジスタに設定したデータを保持部3に取り込む。
In addition, the clock distribution lines 32 and 33 supply clock pulses for transmitting and receiving operations from the clock pulse supply unit 1 to the receiving side device IO and the transmitting unit W20, and
5 sets arbitrary data and specific data from the data setting unit 2 to the sending device 20 and the receiving device 10, and scan lines 38 and 39 set arbitrary data and specific data from the data setting unit 2 to the sending device 10 and the sending device 2.
The data set in the 0 register is taken into the holding unit 3.

次に、第1図及び第2図を参照して、本実施例のバスイ
ンタフェース診断における動作について説明する。
Next, the operation in bus interface diagnosis of this embodiment will be explained with reference to FIGS. 1 and 2.

バスインタフェースの診断を行う場合、バスインタフェ
ース診断装置30では、制御部5が送出個装ff20の
送出レジスタ25に任意のデータ、レジスタ24に特定
のデータ例えば°゛1′をデータ設定部2からスキャン
バス線35.37を介して設定する。
When diagnosing the bus interface, in the bus interface diagnostic device 30, the control unit 5 scans arbitrary data into the sending register 25 of the sending unit ff20 and specific data, for example, °゛1' into the register 24, from the data setting unit 2. Setting via bus lines 35.37.

また、送信レジスタ25に設定した任意のデータは、ス
キャンバス線38を介してフィードバックして保持部3
に保持する。そして送信レジスタ25に任意データが正
しく設定されたかを確認する。このとき、送出側装置2
0.受信側装置10は、スキャン動作時板外クロック停
止状態とする。
Furthermore, any data set in the transmission register 25 is fed back via the scan line 38 to the holding unit 3.
to hold. Then, it is confirmed whether the arbitrary data is correctly set in the transmission register 25. At this time, the sending device 2
0. The receiving device 10 is in a state where the external clock is stopped during the scan operation.

バスインタフェース診断装置t30から、送出側装置2
0のレジスタ24に特定データ“l”が設定されたこと
により、セレクタ22はレジスタ24の値を選択し、バ
スドライバ21はイネーブル状態となる。
From the bus interface diagnostic device t30 to the sending device 2
Since the specific data "l" is set in the register 24 of 0, the selector 22 selects the value of the register 24, and the bus driver 21 becomes enabled.

一方、バスインタフェース診断装置30では、制御部5
が受信側装置10のレジスタ13にスキャンバス線35
.36を介して特定データ“’ 1111 ”を設定す
ることにより、セレクタエ2をレジスタ13側に倒し、
受信レジスタ14を常時セット有効状態とする。そして
受信側装置10及び送信側装置20が、送受信可能状態
となる。
On the other hand, in the bus interface diagnostic device 30, the control unit 5
The scan line 35 is stored in the register 13 of the receiving device 10.
.. By setting the specific data "'1111" through 36, selector 2 is moved to the register 13 side,
The reception register 14 is always set to a valid state. Then, the receiving device 10 and the transmitting device 20 become ready for transmission and reception.

バスインタフェース診断装置30では、制御部5がクロ
ックパルス供給部1から受信側装置10にクロックパル
スを1パルスずつ供給し、受信レジスタ14に送出レジ
スタ25の値をハスドライバ21.バス40.バスレシ
ーバ16を介して伝送させセットさせる。そしてスキャ
ンバス線39から、受信レジスタ14の値を、診断装置
30内の保持部3(スキャンレジスタ)に取り込み、こ
の取り込まれた受信レジスタ14の値と、送信側装置2
0の送出レジスタ25に設定しスキャンバス線39で保
持部3に取り込みf!認した値とを比較部4で比較する
In the bus interface diagnostic device 30, the control section 5 supplies clock pulses one by one from the clock pulse supply section 1 to the receiving side device 10, and transmits the value of the sending register 25 to the receiving register 14 through the hash driver 21. Bus 40. It is transmitted and set via the bus receiver 16. Then, the value of the reception register 14 is taken into the holding unit 3 (scan register) in the diagnostic device 30 from the scan canvas line 39, and the value of the reception register 14 and the transmission side device 2 are taken in.
0 in the sending register 25 and fetched into the holding unit 3 via the scan canvas line 39 f! The comparator 4 compares the detected value with the recognized value.

以上の様な操作をデータのパターンを変えて複数回行い
、更に他送出側装置についても同様の操作を行う。例え
ば送出レジスタ25.受信レジスタ14が4ビツトのデ
ータであるとすると、設定データを“’0001’″、
  ”0010’“、oioo’“、“’1000″と
して、例えば4台の送出側装置との間でデータのパター
ンを変えて組み合わせる。このことにより、各装置とも
“1000””のみ不一致であるならば、バス40.バ
スレシーバ16.受信レジスタ14のいずれかのビン)
Oの“1′”固定の障害であり、また特定の送出側装置
に対してのみの不一致である場合、その送出側装置のバ
スドライバ21のビット0の゛1°゛固定の障害である
ことが判定できる。
The above operation is performed multiple times with different data patterns, and the same operation is also performed for other sending devices. For example, the sending register 25. Assuming that the reception register 14 is 4-bit data, the setting data is "'0001'",
"0010", oioo'", and "1000", for example, are combined with the four sending devices by changing the data pattern. As a result, if only "1000" is a mismatch between each device, Bus 40. Bass receiver 16. any bin of the reception register 14)
If the fault is fixed at "1'" in O, and if the mismatch is only for a specific sending device, the fault is fixed at "1" in bit 0 of the bus driver 21 of that sending device. can be determined.

[発明の効果] 以上説明したように本発明は、バスインクフェースの診
断時に任意の送信側装置の送出レジスタに任意のデータ
を設定し、クロックパルスを進めてこのデータを受信側
装置の受信レジスタに取り込み、この値と送出レジスタ
に設定したデータの値と比較する操作を、設定データの
パターン及び送出側装置を変えて行うことにより、バス
インタフェースの診断及び被疑装置、被疑チップの特定
が容易となる効果がある。
[Effects of the Invention] As explained above, the present invention sets arbitrary data in the sending register of an arbitrary sending device when diagnosing a bus interface, advances the clock pulse, and transfers this data to the receiving register of the receiving device. By comparing this value with the value of the data set in the sending register while changing the setting data pattern and the sending device, it is easy to diagnose the bus interface and identify the suspect device and suspect chip. There is a certain effect.

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

第1図は、本発明の一実施例による機能プロッり図、 第2図は、第1図の装置を使用したバスインタフェース
診断における具体的な接続を示す図である。 1・・・・・クロックパルス供給部 2・・・・;データ設定部 3・・・・・保持部 4・・・・・比較部 5・・・・・制御部
FIG. 1 is a functional plot diagram according to an embodiment of the present invention, and FIG. 2 is a diagram showing specific connections in bus interface diagnosis using the device of FIG. 1. 1... Clock pulse supply section 2...; Data setting section 3... Holding section 4... Comparison section 5... Control section

Claims (1)

【特許請求の範囲】[Claims] (1)送信側装置と受信側装置とがバスを介してデータ
転送を行う情報処理装置のバスインタフェースを診断す
るバスインタフェース診断装置であって、 送信側装置及び受信側装置にクロックパルスを供給する
クロックパルス供給部と、特定データ及び任意データを
送信側装置及び受信側装置に設定するデータ設定部と、
データを保持する保持部と、保持されたデータの値を比
較する比較部と、クロックパルス供給部、データ設定部
、比較部及び保持部を制御する制御部とを有し、 制御部は、データ設定部から送信側装置及び受信側装置
のレジスタに特定データを設定して送受信可能状態とし
、データ設定部から送信側装置に設定した任意データと
、前記クロックパルスにより前記任意データが前記送信
側装置から受信側装置に伝送されたデータとを保持部に
保持し、保持部に保持した前記任意データと前記データ
との値を比較部で比較することにより、バスインタフェ
ースの診断を行うことを特徴とするバスインタフェース
診断装置。
(1) A bus interface diagnostic device for diagnosing a bus interface of an information processing device in which a sending device and a receiving device transfer data via a bus, the device supplying clock pulses to the sending device and the receiving device. a clock pulse supply unit; a data setting unit that sets specific data and arbitrary data to the sending device and the receiving device;
It has a holding section that holds data, a comparison section that compares the values of the held data, and a control section that controls the clock pulse supply section, the data setting section, the comparison section, and the holding section. The setting section sets specific data in the registers of the sending device and the receiving device to enable transmission and reception, and the arbitrary data set in the sending device from the data setting section and the clock pulse transfer the arbitrary data to the sending device. The bus interface is diagnosed by holding the data transmitted from the storage unit to the receiving device in a holding unit, and comparing the values of the arbitrary data held in the holding unit and the data in a comparing unit. bus interface diagnostic equipment.
JP2132184A 1990-05-22 1990-05-22 Bus interface diagnosis device Pending JPH0425955A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2132184A JPH0425955A (en) 1990-05-22 1990-05-22 Bus interface diagnosis device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2132184A JPH0425955A (en) 1990-05-22 1990-05-22 Bus interface diagnosis device

Publications (1)

Publication Number Publication Date
JPH0425955A true JPH0425955A (en) 1992-01-29

Family

ID=15075355

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2132184A Pending JPH0425955A (en) 1990-05-22 1990-05-22 Bus interface diagnosis device

Country Status (1)

Country Link
JP (1) JPH0425955A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101680932A (en) * 2007-06-14 2010-03-24 高通股份有限公司 Integrated circuit with self-test feature for validating functionality of external interfaces
JP2014010714A (en) * 2012-06-29 2014-01-20 Fujitsu Ltd System and abnormal place specifying method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101680932A (en) * 2007-06-14 2010-03-24 高通股份有限公司 Integrated circuit with self-test feature for validating functionality of external interfaces
JP2010537156A (en) * 2007-08-21 2010-12-02 クゥアルコム・インコーポレイテッド Integrated circuit with self-test mechanism to verify functionality of external interface
JP2014010714A (en) * 2012-06-29 2014-01-20 Fujitsu Ltd System and abnormal place specifying method

Similar Documents

Publication Publication Date Title
US6977960B2 (en) Self test circuit for evaluating a high-speed serial interface
US4622669A (en) Test module for asynchronous bus
US6292911B1 (en) Error detection scheme for a high-speed data channel
US4486750A (en) Data transfer system
US7139957B2 (en) Automatic self test of an integrated circuit component via AC I/O loopback
US7177965B2 (en) Linking addressable shadow port and protocol for serial bus networks
WO2004095297A2 (en) A high performance serial bus testing methodology
CN100573463C (en) Parallel input/output self-test circuit and method
US20060107150A1 (en) Semiconductor device and test method thereof
US20090024875A1 (en) Serial advanced technology attachment device and method testing the same
EP0957429B1 (en) Detecting communication errors across a chip boundary
JPH0425955A (en) Bus interface diagnosis device
US20020053056A1 (en) Method and apparatus for testing digital circuitry
CN112925684B (en) Testing method of link establishment logic and related equipment
US8245089B2 (en) Transmission device, image data transmission system and transmission method
US7200510B2 (en) Measurement control apparatus including interface circuits
US7478005B2 (en) Technique for testing interconnections between electronic components
US6496544B1 (en) Digital computing system having adaptive communication components
JPH01253343A (en) Communication controller
JPH05103041A (en) Data processing unit and its fault detection method
KR20230101533A (en) Semiconductor device and method of testing the semiconductor device
KR0176401B1 (en) Data receive circuit of loop back test
JPS6160164A (en) Data transfer device
JP2001051019A (en) Boundary scan cell circuit
US20050204222A1 (en) Apparatus and method for eliminating the TMS connection in a JTAG procedure