JPS59164969A - Signal generation circuit - Google Patents

Signal generation circuit

Info

Publication number
JPS59164969A
JPS59164969A JP58039251A JP3925183A JPS59164969A JP S59164969 A JPS59164969 A JP S59164969A JP 58039251 A JP58039251 A JP 58039251A JP 3925183 A JP3925183 A JP 3925183A JP S59164969 A JPS59164969 A JP S59164969A
Authority
JP
Japan
Prior art keywords
signal
address
circuit
microprogram
storage
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
JP58039251A
Other languages
Japanese (ja)
Inventor
Toshikazu Takato
高藤 敏和
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP58039251A priority Critical patent/JPS59164969A/en
Publication of JPS59164969A publication Critical patent/JPS59164969A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/25Testing of logic operation, e.g. by logic analysers

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)
  • Tests Of Electronic Circuits (AREA)

Abstract

PURPOSE:To make an efficient analysis using a logic analyzer feasible by setting an address on a specifying means corresponding to a microprogram for a desired analysis. CONSTITUTION:A microprocessor 1 reads out and processes a microprogram stored in a control storage 2. The reading and writing address of the storage 2 is specified by an address signal from a signal line 7. A comparator circuit 10 compares an address specifying signal 9 as output of an address circuit 8 with an address signal 7 sent to the storage 2 and outputs a trigger signal 11 for logic analyzer when both coincide with each other.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は信号発生回路、特にマイクロプログラムによっ
て制御される装置の動作を、いわゆるロジックアナライ
ザによって確認したり、障害の解析を行う際に、上記ロ
ジックアナライザのトリガ信号として好適な信号を発生
する信号発生回路に関するものである。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention is useful for checking the operation of a signal generating circuit, especially a device controlled by a microprogram, using a so-called logic analyzer, or for analyzing a failure. The present invention relates to a signal generation circuit that generates a signal suitable as a trigger signal for an analyzer.

〔従来技術〕[Prior art]

電子装置における動作の確認、障害の解析を行う際に、
ロジックアナライザを使用すると解析等の効率向上を図
ることが可能である。上記ロジックアナライザは、信号
をl”またはNOI+の論理値に変換し、所定の時間間
隔でロジックアナライザ内の記憶装置に記憶し、その記
憶内容をブラウン管上等に再生表示して前記信号の時間
的変化や信号相互間の関連を確認する装置であり、該ロ
ジックアナライザに対しては前記記憶開始、あるいは終
了を指示する信号が必要である。
When checking the operation of electronic equipment and analyzing failures,
By using a logic analyzer, it is possible to improve the efficiency of analysis, etc. The logic analyzer converts the signal into a logical value of l'' or NOI+, stores it in a storage device within the logic analyzer at predetermined time intervals, and reproduces and displays the stored contents on a cathode ray tube or the like to change the time of the signal. This is a device for checking changes and relationships between signals, and the logic analyzer requires a signal to instruct the logic analyzer to start or end the storage.

上記信号としては、通常は、被測定装置の回路内の信号
を利用しているが、マイクロプログラムによって制御さ
れる装置においては、制御の進行状態はマイクロプログ
ラムの実行ステップに対応しており、論理回路内に適切
なトリガ信号がないという場合がしばしばあった。
The signals mentioned above are usually signals within the circuit of the device under test, but in devices controlled by microprograms, the progress state of control corresponds to the execution steps of the microprogram, and the logic It was often the case that there was no suitable trigger signal in the circuit.

〔発明の目的〕[Purpose of the invention]

本発明は上記事情に鑑みてなされたもので、その目的と
するところは、マイクロプログラムによつて制御される
装置内に備え付け、マイクロプログラムが所定のステッ
プを実行したときに前記冒シックアナライザに対して記
憶開始あるいは終了を指示するトリガ信号として利用で
きる信号を発生する信号発生回路を提供することにある
The present invention has been made in view of the above-mentioned circumstances, and its object is to install the analyzer in a device controlled by a microprogram, and to cause the above-mentioned blasphemous analyzer to respond when the microprogram executes a predetermined step. An object of the present invention is to provide a signal generation circuit that generates a signal that can be used as a trigger signal to instruct the start or end of storage.

〔発明の概要〕[Summary of the invention]

本発明の目的は、マイクロプログラムによって制御され
る装置において、マイクロプログラムが格納されている
記憶装置(以下、「コン)o−ル・ストレージ」という
)のアドレス指定信号と、トリガ信号を発生させたいマ
イクロプログラムが格納されているアドレスを指定する
信号とを比較し、両者が一致したときに上記トリガ信号
を発生する如く構成した信号発生回路によって達成され
る。
An object of the present invention is to generate an addressing signal and a trigger signal for a storage device (hereinafter referred to as "control storage") in which a microprogram is stored in a device controlled by a microprogram. This is achieved by a signal generating circuit configured to compare the signal specifying the address where the microprogram is stored and generate the trigger signal when the two match.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の実施例を図面に基づいて詳細に説明する
Embodiments of the present invention will be described in detail below with reference to the drawings.

第1図は本発明を適用するに好適な装置の一例を示すブ
ロック図である。図において、1はマイ。
FIG. 1 is a block diagram showing an example of a device suitable for applying the present invention. In the diagram, 1 is my.

クロプロセッサ、2はコントルール・ストレージ、3は
制御される回路、そして牛は全体を制御するクロック等
の制御信号6を出力する回路である。
2 is a control storage, 3 is a controlled circuit, and C is a circuit that outputs a control signal 6 such as a clock that controls the entire system.

この装置においては、マイクロプロセッサ1がコントロ
ール・ストレージ2内に格納されているマイクロプログ
ラムを順次読出し処理するもので、制御される回路3は
上記コントロール・ストレージ2から出力される命令本
データおよび他の信号5により制御される。コントロー
ル・ストレージ2の読出し、書込みアドレスは、アドレ
ス信号線7を介して送られるアドレス信号によって指定
される。
In this device, a microprocessor 1 sequentially reads and processes microprograms stored in a control storage 2, and a controlled circuit 3 receives instructions, data and other data output from the control storage 2. Controlled by signal 5. The read and write addresses of the control storage 2 are designated by address signals sent via the address signal line 7.

第2図は本発明の一実施例を示すもので、第1図に示し
た装置に、本発明の信号発生回路を付加した例を示すも
のである。図において、記号1〜7は第1図に示したと
同じ構成要素を示し、8G−I!アドレス指定回路、l
Oは比較回路、12はトリガ信号出力端子を示している
。上記比較回路10は、アドレス回路8の出力であるア
ドレス指定信号9とコントロール・ストレージ2に送ら
れるアドレス信号7とを比較し、両者が一致したときに
ロジックアナライザ用トリガ信号11を出力する。
FIG. 2 shows an embodiment of the present invention, and shows an example in which the signal generating circuit of the present invention is added to the device shown in FIG. In the figure, symbols 1 to 7 indicate the same components as shown in FIG. 1, and 8G-I! addressing circuit, l
0 indicates a comparison circuit, and 12 indicates a trigger signal output terminal. The comparison circuit 10 compares the address designation signal 9 output from the address circuit 8 with the address signal 7 sent to the control storage 2, and outputs a logic analyzer trigger signal 11 when the two match.

第3図に上記アドレス指定回路8および比較回路10の
詳細を示した。アドレス指定回路8は、任意に設定し得
る複数のスイッチ21□、21.、  ・・・・21□
、と、該スイッチ開放時に所定の電圧を与える抵抗22
  、22  、  ・・・22□、とで構成されl 
      2 ている。また、比較回路10は排他的論理和回路13□
、13.、  ・・・13□、と、その論理和の否定を
出力するNOR回路14および回路の時間的ずれから生
じる不要信号を排除するためのAND回路15から構成
されている。また16はAND回路15に用いるくり抜
き用の信号17  +  171 +  ・・・・・1
7□、は前記アドレス信号線7を介して送られるアドレ
ス信号である。
FIG. 3 shows details of the addressing circuit 8 and comparison circuit 10. The addressing circuit 8 includes a plurality of switches 21□, 21 . , ・・・21□
, and a resistor 22 that applies a predetermined voltage when the switch is opened.
, 22 , ...22□, and l
2. Further, the comparison circuit 10 is an exclusive OR circuit 13□
, 13. , . . . 13□, a NOR circuit 14 that outputs the negative of the logical sum thereof, and an AND circuit 15 that eliminates unnecessary signals caused by time lag of the circuits. Further, 16 is a signal for hollowing out used for the AND circuit 15 17 + 171 + . . . 1
7□ is an address signal sent via the address signal line 7.

上述の如く、第3図に示した実施例回路においでは、コ
ントロール・ストレージ2のア・ドレスを指定する信号
線は12本あり、これによって、0番地から4095番
地までの指定が行われる。
As mentioned above, in the embodiment circuit shown in FIG. 3, there are 12 signal lines for specifying the address of the control storage 2, and addresses from 0 to 4095 are specified by these lines.

また、上記12本の信号線に対応して12個のスイッチ
が設けられており、これらの設定状況と信号線の状態と
が完全に一致したとき、前記トリガ信号11が出力され
る如く構成されている。
Further, 12 switches are provided corresponding to the 12 signal lines, and the trigger signal 11 is output when the settings of these switches completely match the state of the signal lines. ing.

本実施例回路の機能について、以下説明する。The functions of the circuit of this embodiment will be explained below.

マイクロプログラムによって制御される装置において、
何らかのハードウェア上の誤動作か外乱等によってプp
ダラムがエラー警告を出力したとき、エラー警告は確認
できるが、そのエラー警告を発する原因となったハード
ウェア上の誤動作あるいは外乱が何であるか哄良くわか
らない場合が多いが、この場合に、上記エラー警告を出
力するプ四グラムのルーチンが格納されている前記コン
トソール・ストレージのアドレスを、前負己アドレス指
定回路8に設定し、ロジックアナライザの測定プローブ
を障害の発生が予測されるハードウェア各部に接続する
とともに、トリガ信号用プローブをトリガ信号出力端子
12に接続しておく。
In devices controlled by microprograms,
The error occurred due to some kind of hardware malfunction or external disturbance.
When Durham outputs an error warning, the error warning can be confirmed, but in many cases it is not clear what the hardware malfunction or disturbance was that caused the error warning to be issued. The address of the control storage where the program routine that outputs the warning is stored is set in the pre-load self-addressing circuit 8, and the measurement probe of the logic analyzer is set to each part of the hardware where the failure is expected to occur. At the same time, a trigger signal probe is connected to the trigger signal output terminal 12.

上述の如く接続して、トリガ信号発生前の信号状態を記
憶するよう、ロジックアナライザをセットしておけば、
期待する現象が発生した時点におけるハードウェアの状
態を配録し、再現することが可能になる。
If you connect as described above and set the logic analyzer to memorize the signal state before the trigger signal is generated,
It becomes possible to record and reproduce the state of the hardware at the time the expected phenomenon occurred.

上記実施例に示した信号発生回路は、比較的安価に作成
することができ、既設の装置への追加も容易であるとい
う利点もある。
The signal generating circuit shown in the above embodiment has the advantage that it can be produced relatively inexpensively and can be easily added to an existing device.

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

以上述べた如く、本発明によれば、マイクロプログラム
によって制御される装置において、アドレス指定手段と
、コントロール・ストレージのアドレス指定信号と前記
アドレス指定手段の出力とを比較し、両者が一致したと
きにトリガ信号を発生する比較回路とを設けたので、前
記アドレス指定手段に解析を所望するマイクロプログラ
ムに対応するアドレスをセットすることにより、ロジッ
クアナライザを用いる解析を効率的に実行することが可
能になるという顕著な効果を奏するものである。
As described above, according to the present invention, in a device controlled by a microprogram, the addressing means compares the addressing signal of the control storage with the output of the addressing means, and when the two match, Since a comparison circuit that generates a trigger signal is provided, by setting an address corresponding to the microprogram desired to be analyzed in the addressing means, it becomes possible to efficiently perform analysis using a logic analyzer. This has a remarkable effect.

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

第1図は本発明の適用対象である装置の一例を示すブロ
ック図、第2図は本発明の一実施例を示すブロック図、
第3図はその要部の詳細図である(。 1:マイクロプロセッサ、2:コントロール・ストレー
ジ、3二制御される回路、4=制制御骨発生回路、5:
データノ(スライン、6:制御信号、7:ア、ドレス信
号線、8ニアドレス指定回路、lO:比較回路、11:
トリガ信号、12ニトリガイ言号用出力端子、13:排
他的論理和回路、14:NOR回路、15:AND’回
路0 第   1   図 第   2   図
FIG. 1 is a block diagram showing an example of a device to which the present invention is applied, FIG. 2 is a block diagram showing an embodiment of the present invention,
Figure 3 is a detailed diagram of the main parts (1: microprocessor, 2: control storage, 32 controlled circuit, 4 = control bone generation circuit, 5:
Data no (sline, 6: control signal, 7: address signal line, 8 near address designation circuit, lO: comparison circuit, 11:
Trigger signal, output terminal for 12-bit signal, 13: exclusive OR circuit, 14: NOR circuit, 15: AND' circuit 0 Figure 1 Figure 2

Claims (1)

【特許請求の範囲】[Claims] マイクロプログラムによって制御される装置を解析装置
で確認、解析なるものにおいて、データパターンを任意
に設定し得る設定手段と、プログラムを実行する過程に
おいて現われるデータパターンと前記設定手段で設定さ
れた値とを比較する比較手段を有し、両者が一致したと
きに解析装置用の外部トリガ信号として信号を出力する
如く構成されたことを特徴とする信号発生回路。
A device controlled by a microprogram is checked and analyzed by an analysis device, and there is a setting means that can arbitrarily set a data pattern, and a data pattern that appears in the process of executing the program and a value set by the setting means. 1. A signal generating circuit comprising a comparing means for comparing, and configured to output a signal as an external trigger signal for an analysis device when the two match.
JP58039251A 1983-03-11 1983-03-11 Signal generation circuit Pending JPS59164969A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58039251A JPS59164969A (en) 1983-03-11 1983-03-11 Signal generation circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58039251A JPS59164969A (en) 1983-03-11 1983-03-11 Signal generation circuit

Publications (1)

Publication Number Publication Date
JPS59164969A true JPS59164969A (en) 1984-09-18

Family

ID=12547913

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58039251A Pending JPS59164969A (en) 1983-03-11 1983-03-11 Signal generation circuit

Country Status (1)

Country Link
JP (1) JPS59164969A (en)

Similar Documents

Publication Publication Date Title
JPS6134639A (en) Electronic circuit tester
JPH0627749B2 (en) Spectrum analyzer
JPH0314033A (en) Inspection system for microprocessor comparison checking function
JPS59164969A (en) Signal generation circuit
KR100297224B1 (en) Microcomputer loaded with prom and data read-out testing method for same
KR890005051B1 (en) Circuit for testing magnetic recording device
JPS5838879B2 (en) fail memory
JPS626498A (en) Memory appreciating device
JP2720761B2 (en) Semiconductor integrated circuit test equipment
JPS60132249A (en) Data processor
JP2000112781A (en) Device for electronic circuit analysis, method therefor and storage medium
JPH03201043A (en) Control signal generator
JPH0267977A (en) Memory testing apparatus
JPH10311866A (en) Ic test equipment
JPH0546908B2 (en)
JPS584458A (en) System test system
JPS6188326A (en) Check method of disk controller
JPS595972A (en) Apparatus for testing operation of integrated circuit
JPH01121950A (en) Microprocessor with trace function
JPH02100145A (en) Computer system for microprogram control system
JPS61223569A (en) Inspection of control substrate
JPS62111330A (en) Program transfer device
JPS62255882A (en) Logic analyzer
JPS6140574A (en) Test condition setting apparatus
JPS6044704B2 (en) Malfunction detection method and device for digital input device