JPS6220038A - Testing system for digital processor - Google Patents

Testing system for digital processor

Info

Publication number
JPS6220038A
JPS6220038A JP60159864A JP15986485A JPS6220038A JP S6220038 A JPS6220038 A JP S6220038A JP 60159864 A JP60159864 A JP 60159864A JP 15986485 A JP15986485 A JP 15986485A JP S6220038 A JPS6220038 A JP S6220038A
Authority
JP
Japan
Prior art keywords
test
microprogram
hardware
functional unit
hardware functional
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
JP60159864A
Other languages
Japanese (ja)
Inventor
Akio Shinagawa
明雄 品川
Hideo Miyake
英雄 三宅
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 JP60159864A priority Critical patent/JPS6220038A/en
Publication of JPS6220038A publication Critical patent/JPS6220038A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To test hardware as a test object precisely at a high speed by testing it with a testing microprogram corresponding to the test mode for every hardware function classification set by a mode setting means. CONSTITUTION:In case of the test of a hardware function unit (A2) 60 which cannot be accessed neither controlled directly by normal microprogram processing, the testing microprogram for the hardware function unit (A2) 60 is loaded onto a control storage device (CS) 10 and a flag element 70 is set to '1' before the start of the test. When the flag is set to '1', each microinstruction of the testing microprogram read out to a CS read register 20 from the CS 10 is supplied to a decoder 40, and the hardware function unit (A2) 60 is tested by the control signal outputted from the decoder.

Description

【発明の詳細な説明】 〔概要〕 マイクロプログラム制御形式のディジタル処理装置内の
、通常のマイクロプログラム処理によっては直接アクセ
ス制御し得ないハードウェア部分を直接アクセス制御し
得るように為し、そのようなハードウェア部分のチェッ
クを行なって所要のハードウェアについて高速且つ緻密
な試験を行な〔産業上の利用分野〕 本発明はディジタル処理装置の試験方式に関し、更に詳
しく言えば通常のマイクロプログラム試験処理ではその
試験機能が行き届かなかったハードウェア機能単位への
試験機能のi31透を実現するディジタル処理装置の試
験方式に関する。
[Detailed Description of the Invention] [Summary] Hardware parts in a microprogram-controlled digital processing device that cannot be accessed directly by normal microprogram processing can be directly accessed and controlled. The present invention relates to a test method for digital processing equipment, and more specifically, to perform a high-speed and precise test on the required hardware by checking the hardware part [Industrial Application Field] The present invention relates to a test method for a digital processing device that realizes i31 transmission of a test function to a hardware function unit that has not been fully covered by the test function.

電子計算機等のディジタル処理装置は各種のハードウェ
ア機能単位から構成され、それも最近では集積回路化さ
れている。そのような各ハードウエア部分についての試
験が工場出荷、保守作業等の任意の時点で行なわれる。
Digital processing devices such as electronic computers are composed of various hardware functional units, which have recently been integrated into integrated circuits. Tests on each of these hardware parts are performed at any time such as factory shipment, maintenance work, etc.

このような試験はすべてのハードウェア機能単位につい
て施行し得ることが望ましい。これは複数のハードウェ
ア機能単位をまとめて施行した場合に生ずる試験の粗雑
化を防げるからであり、障害を起こしている部分によっ
ては代替機能の援用によりそのチップ等の有効利用への
道を開き得る手段を提供し得ることにもなるからである
It is desirable that such tests can be performed on all hardware functional units. This is because it prevents the roughness of the test that occurs when multiple hardware functional units are tested at once, and depending on the part that is causing the failure, it opens the way to effective use of the chip etc. by using alternative functions. This is because it also provides a means for obtaining

〔従来の技術〕[Conventional technology]

従来においても、電子計算機に障害が発生しているか、
又は発生した障害がどこであるかを試験する手段が開発
されている。それは、計算機等の通常の動作を制御する
マイクロプログラムの代わりに試験用プログラムを制御
記憶装置にロードしてその試験用プログラムを実行させ
てハードウェアの試験を行なう如きものである。
Even in the past, if there were any problems with electronic computers,
Or, means have been developed to test where the failure has occurred. This is similar to testing hardware by loading a test program into a control storage device and executing the test program instead of a microprogram that controls the normal operation of a computer or the like.

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

この従来方式によると、試験用マイクロプログラムの試
験対象となるものは通常のマイクロプログラムによって
直接アクセス制御可能なハードウェア要素であり、その
ようなハードウェア要素のみが試験されるに過ぎず、直
接アクセス制御可能なハードウェア要素以外のものは全
く試験の対象とされないという欠点がある。
According to this conventional method, the test target of the test microprogram is a hardware element that can be directly accessed and controlled by a normal microprogram, and only such hardware elements are tested, and only those hardware elements that can be directly accessed and controlled are tested. The drawback is that nothing other than basic hardware elements are tested.

本発明は上述したような問題点に鑑みて創作されたもの
で、従来方式では試験対象とされ得なかったハードウェ
ア機能単位を試験対象として顕在化させて試験を行ない
得るディジタル処理装置の試験方式を提供することを目
的とする。
The present invention was created in view of the above-mentioned problems, and is a testing method for digital processing devices that enables testing by exposing hardware functional units that could not be tested using conventional methods. The purpose is to provide

〔問題点を解決するための手段〕[Means for solving problems]

第1図は本発明の原理ブロック図を示す。本発明は通常
のマイクロプログラム処理時に直接アクセス制御し得る
ハードウェア機能単位l及び直接アクセスし得ないハー
ドウェア機能単位2を有するディジタル処理装置におい
で、その要部を次のように構成したものである。
FIG. 1 shows a block diagram of the principle of the present invention. The present invention is a digital processing device having a hardware functional unit 1 that can be directly accessed and controlled during normal microprogram processing and a hardware functional unit 2 that cannot be directly accessed, and its main parts are configured as follows.

第1図において、3はディジタル処理装置に前記ハード
ウェア機能単位種別毎の試験モードを設定するモード設
定手段で、4は試験用マイクロプログラム供給手段であ
る。5は前記ハードウェア機能単位2のために設定され
た試験モード及び試験用マイクロプログラム供給手段か
らの対応する試験用マイクロプログラムに応答して前記
直接アクセス制御し得ないハードウェア機能単位2に所
要の動作を生ぜしめる制御手段である。ハードウェア機
能単位2からの出力内容がその機能単位2についての所
望のチェックに供される。
In FIG. 1, numeral 3 denotes a mode setting means for setting a test mode for each type of hardware functional unit in the digital processing device, and 4 denotes a test microprogram supply means. 5 is an operation required for the hardware functional unit 2 that cannot be accessed directly in response to the test mode set for the hardware functional unit 2 and the corresponding test microprogram from the test microprogram supply means; It is a control means that causes The output content from the hardware functional unit 2 is subjected to any desired checks on that functional unit 2.

〔作用〕[Effect]

モード設定手段3が通常の試験モードに設定されるなら
ば、それに対応する試験用マイクロプログラム(試験用
マイクロプログラム供給手段4からの試験用マイクロプ
ログラム)によりハードウェア機能単位1が試験される
If the mode setting means 3 is set to the normal test mode, the hardware functional unit 1 is tested by the corresponding test microprogram (test microprogram from the test microprogram supply means 4).

又、モード設定手段3がハードウェア機能単位2のため
の試験モードに設定されるならばそれに対応する試験用
マイクロプログラムが試験用マイクロプログラム供給手
段4から出力されそのマイクロプログラムによりハード
ウェア機能単位2の試験が行なわれる。
Further, if the mode setting means 3 is set to the test mode for the hardware functional unit 2, a corresponding test microprogram is output from the test microprogram supply means 4, and the microprogram is used to set the hardware functional unit 2 to the test mode. The test will be conducted.

これにより、試験対象となるハードウェアを高速に、し
かも緻密に試験して試験性能を向上させることができる
This allows the hardware to be tested to be tested quickly and precisely, thereby improving test performance.

〔実施例〕〔Example〕

第2図は本発明の一実施例を示す。この図において、1
0はマイクロプログラム制御で動作する電子計算機の制
御記憶袋ff(C3)であり、20はC8読み出しレジ
スタでんる。30及び40はC8読み出しレジスタ20
のマイクロ命令をデコードするデコーダDI、D2であ
る。5oはデコーダ30の出力信号によってアクセス制
御が可能とされるハードウェア機能単位(A1)で、こ
のハードウェア機能単位は通常の試験用マイクロプログ
ラムによって直接アクセス制御されるハードウェア部分
である。60はデコーダ40の出力信号によってアクセ
ス制御が可能とされるハードウェア機能単位(A2)で
、このハードウェア機能単位は該ハードウェア機能単位
の試験のために作成された試験用マイクロプログラムに
よって直接アクセス制御されるハードウェア部分である
。70は試験モードを設定可能なフラグ素子で、これに
“0”が設定される場合にはC3lOの対応する試験用
マイクロプログラムがデコーダ30へ送られてハードウ
ェア機能単位50の試験が生ぜしめられ、“1”が設定
される場合にはC3lOの対応する試験用マイクロプロ
グラムがデコーダ40へ送られてハードウェア機能単位
60の試験が生ぜしめられるように構成されている。
FIG. 2 shows an embodiment of the invention. In this figure, 1
0 is a control memory bag ff (C3) of an electronic computer that operates under microprogram control, and 20 is a C8 read register. 30 and 40 are C8 read registers 20
These are decoders DI and D2 that decode the micro-instructions. 5o is a hardware functional unit (A1) whose access can be controlled by the output signal of the decoder 30, and this hardware functional unit is a hardware portion whose access is directly controlled by a normal test microprogram. Reference numeral 60 denotes a hardware functional unit (A2) whose access can be controlled by the output signal of the decoder 40, and this hardware functional unit can be accessed directly by a test microprogram created for testing the hardware functional unit. This is the hardware part that is used. Reference numeral 70 denotes a flag element that can set a test mode, and when this is set to "0", the corresponding test microprogram of C31O is sent to the decoder 30 and a test of the hardware functional unit 50 is generated. , "1" is set, the corresponding test microprogram of C31O is sent to the decoder 40 to cause a test of the hardware functional unit 60.

このように構成される装置における試験態様を以下に説
明する。
The test mode in the apparatus configured in this way will be explained below.

先ず、ハードウェア機能単位(A1)の試験を行ないた
い場合には、それに対応する通常の試験用マイクロプロ
グラムがC5IOにロードされると共に、フラグ素子7
0に“0”がセットされる。
First, when it is desired to test the hardware functional unit (A1), the corresponding normal test microprogram is loaded into C5IO, and the flag element 7 is loaded.
"0" is set to 0.

このフラグが“0゛になっていることにより、C3lO
からC8読み出しレジスタ20に読み出された試験用マ
イクロプログラムの各マイクロ命令はデコーダ30へ供
給され、デコーダ30から出力される制御信号によって
ハードウェア機能単位(AI)50が試験されることに
なる。
Since this flag is “0”, C3lO
Each microinstruction of the test microprogram read out to the C8 read register 20 is supplied to the decoder 30, and the hardware functional unit (AI) 50 is tested by the control signal output from the decoder 30.

このように、通常のマイクロプログラム処理によってア
クセス制御可能なハードウェア機能単位(At)50に
ついての試験は上述の如〈従来方式と同様にして遂行さ
れることになるが、通常のマイクロプログラム処理によ
って直接アクセス制御可能でないハードウェア機能単位
(A2)60については何らの試験をも施行し得ない。
As described above, the test on the hardware functional unit (At) 50 whose access can be controlled by normal microprogram processing is performed in the same manner as in the conventional method, as described above. No tests can be performed on the hardware functional unit (A2) 60 that cannot be accessed directly.

本発明によれば、このハードウェア機能単位(A2)6
0の試験を成功裡に遂行し得る。
According to the invention, this hardware functional unit (A2) 6
0 tests can be successfully performed.

即ち、その試験開始に先立って、ハードウェア機能単位
(A2)のための試験用マイクロプログラムがC810
にロードされると共に、フラグ素子70に“1″がセン
トされる。
That is, prior to the start of the test, the test microprogram for the hardware functional unit (A2) is
At the same time, "1" is placed in the flag element 70.

フラグが“1”にセットされたことにより、C3lOか
らC8読み出しレジスタ20へ読み出された試験用マイ
クロプログラムの各マイクロ命令はデコーダ40へ供給
され、デコーダ40から出力される制御信号によってハ
ードウェア機能単位(A2)60が試験されることにな
る。かくして、従来通常のマイクロプログラム処理によ
っては直接制御できなかったハードウェア部分の試験を
行なうことができる。
By setting the flag to "1", each microinstruction of the test microprogram read from the C3lO to the C8 read register 20 is supplied to the decoder 40, and the hardware function is controlled by the control signal output from the decoder 40. Units (A2) 60 will be tested. In this way, it is possible to test hardware parts that could not be directly controlled by conventional microprogram processing.

このような具体例を示したのが第3図である。FIG. 3 shows such a specific example.

この例を第4図による従来方式と対比させて説明すると
、第3図のIR2は第4図のIRIに対応しており、こ
れらはインストラクションレジスタである。又、第3図
のB’ll、B12.B13は第4図のBl、B2.B
3に対応しており、これらはインストラクション先取り
レジスタである。
To explain this example in comparison with the conventional system shown in FIG. 4, IR2 in FIG. 3 corresponds to IRI in FIG. 4, and these are instruction registers. Also, B'll, B12. in FIG. B13 is Bl in FIG. 4, B2. B
3, and these are instruction prefetch registers.

第3図のX2は第4図のXlに対応しており、これはイ
ンストラクション(機械語命令)をインストラクション
先取りレジスタにセットするインストラクション転送線
である。YはX2と同様の線であるが、インストラクシ
ョン先取りレジスタB11、B12.B13を試験した
い場合に所要の値を送って来る線である。Zはインスト
ラクション先取りレジスタBll、B12.B13の出
力を取り出すための線である。
X2 in FIG. 3 corresponds to Xl in FIG. 4, and this is an instruction transfer line for setting an instruction (machine language instruction) to the instruction prefetch register. Y is a line similar to X2, but instruction prefetch registers B11, B12 . This is the line that sends the required value when you want to test B13. Z is instruction prefetch register Bll, B12. This is a line for taking out the output of B13.

第4図では、マイクロプログラム制御によってインスト
ラクションレジスタIRIのみしか直接制御できず、そ
のためインストラクション先取りレジスタBl、B2.
B3の試験を行なうことはできないが、本発明に係る第
3図においては、フラグを“O”にすることによって従
来方式と同様、所要の値をインストラクション先度りレ
ジスタB11、B12.B13を介してインストラクシ
ョンレジスタIRIヘセノトしてそこから取り出すこと
ができると共に、フラグを“1”にすることによって所
要の値を線Yを介してインストラクション先取りレジス
タBll、B12.B13にセットし、これらレジスタ
からその内容を線Zを介して取り出すことができる。こ
れにより、従来方式では直接アクセス制御できなかった
インストラクション先取りレジスタBll、B12.B
13を試験することができる。
In FIG. 4, only the instruction register IRI can be directly controlled by microprogram control, so the instruction prefetch registers B1, B2 .
Although it is not possible to test B3, in FIG. 3 according to the present invention, by setting the flag to "O", the required value is set to registers B11, B12 . By setting the flag to "1", the required value can be read from the instruction register IRI via line Y to the instruction prefetch register Bll, B12.B12. B13 and the contents can be retrieved from these registers via line Z. This allows instruction prefetch registers Bll, B12, . B
13 can be tested.

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

以上説明したように本発明によれば、マイクロプログラ
ム制御により動作するディジタル処理装置内の試験対象
となるハードウェアを高速に、しかも緻密に試験して試
験性能を向上させることができる。
As described above, according to the present invention, it is possible to quickly and precisely test hardware to be tested in a digital processing device that operates under microprogram control, thereby improving test performance.

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

第1図は本発明の原理ブロック図、 第2図は本発明の一実施例を示す図、 第3図は本発明実施例の具体例を示す図、第4図は第3
図と対比される従来方式の例を示す図である。 第1図において、 ■、2はハードウェア機能単位、 3はモード設定手段、 4は試験用マイクロプログラム供給手段、5は制御手段
である。 代理人弁理士 井桁貞−°・、′・′・□本拓日月の原
理フ゛口1.7フ図 第1図 ト 不発日月の一プ24イiイダ15と六ミぢ巨a第2図
Fig. 1 is a block diagram of the principle of the present invention, Fig. 2 is a diagram showing an embodiment of the invention, Fig. 3 is a diagram showing a specific example of the embodiment of the invention, and Fig. 4 is a diagram showing the third embodiment of the invention.
FIG. 2 is a diagram illustrating an example of a conventional method in comparison with the diagram. In FIG. 1, (1), 2 is a hardware functional unit, 3 is a mode setting means, 4 is a testing microprogram supply means, and 5 is a control means. Representative Patent Attorney Sada Igeta - °・,′・′・□Principles of Hontaku Sun and Moon Figure 1.7 Figure 1 To Unexploited Sun and Moon Part 24 I I Da 15 and 6mm Giant A Part Figure 2

Claims (1)

【特許請求の範囲】 通常のマイクロプログラム処理時に直接アクセス制御し
得るハードウェア機能単位(1)及び直接アクセス制御
し得ないハードウェア機能単位(2)を有するディジタ
ル処理装置において、該ディジタル処理装置にハードウ
ェア機能単位種別毎の試験モードを設定するモード設定
手段(3)と、 試験用マイクロプログラム供給手段(4)と、前記ハー
ドウェア機能単位(2)のために設定された試験モード
及び前記試験用マイクロプログラム供給手段(4)から
の対応する試験用マイクロプログラムに応答して前記ハ
ードウェア機能単位(2)に所要の動作を生ぜしめる制
御手段(5)とを備えて前記ハードウェア機能単位(2
)からの出力内容(6)を用いて該ハードウェア機能単
位についての所要のチェックを行なうことを特徴とする
ディジタル処理装置の試験方式。
[Scope of Claim] In a digital processing device having a hardware functional unit (1) whose access can be directly controlled during normal microprogram processing and a hardware functional unit (2) whose access cannot be directly controlled, mode setting means (3) for setting a test mode for each functional unit type; a test microprogram supply means (4); and a test mode set for the hardware functional unit (2) and the test microprogram. control means (5) for causing the hardware functional unit (2) to perform a desired operation in response to a corresponding test microprogram from the program supply means (4);
) A test method for a digital processing device, characterized in that necessary checks are performed on the hardware functional unit using the output content (6) from (6).
JP60159864A 1985-07-19 1985-07-19 Testing system for digital processor Pending JPS6220038A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60159864A JPS6220038A (en) 1985-07-19 1985-07-19 Testing system for digital processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60159864A JPS6220038A (en) 1985-07-19 1985-07-19 Testing system for digital processor

Publications (1)

Publication Number Publication Date
JPS6220038A true JPS6220038A (en) 1987-01-28

Family

ID=15702883

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60159864A Pending JPS6220038A (en) 1985-07-19 1985-07-19 Testing system for digital processor

Country Status (1)

Country Link
JP (1) JPS6220038A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63276135A (en) * 1987-05-06 1988-11-14 Nec Corp Semiconductor integrated circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63276135A (en) * 1987-05-06 1988-11-14 Nec Corp Semiconductor integrated circuit

Similar Documents

Publication Publication Date Title
KR20030059339A (en) Single-step processing
CA2172976A1 (en) Apparatus and method for interfacing a data processor and an io controller to a main memory
US5003468A (en) Guest machine execution control system for virutal machine system
US7302514B2 (en) Device, system, and method of virtual machine memory mapping
JPS6220038A (en) Testing system for digital processor
KR970703564A (en) METHOD AND APPARATUS FOR ACCESSING A DISTRIBUTED DATA BUFFER
US5815729A (en) Method and apparatus for on the fly descriptor validation
JPH0353320A (en) Program control system
JPS5922142A (en) Data processor
JPH04181454A (en) Data access controller
CA1165454A (en) Odd byte memory accessing in data processing apparatus
JPS6293733A (en) Microprogram control system data processor
JPH02281341A (en) Write data confirming method for debugging
JPH0324640A (en) Debugging system for information processor
JP3119859B2 (en) Computer system
JPH0293382A (en) Lsi testing method
JPS60549A (en) Memory testing system
JPS60132249A (en) Data processor
JPS62166451A (en) History analyzing device for logical unit
JPH01207861A (en) Storage control system
JPS6225353A (en) Microprogram loading system
KR890008681A (en) Processor control unit
Neumann Disk-based program swapping in 8080-based microcomputers
JPH0433060B2 (en)
JPS6234238A (en) Microprocessor