JPH02100145A - Computer system for microprogram control system - Google Patents

Computer system for microprogram control system

Info

Publication number
JPH02100145A
JPH02100145A JP63252577A JP25257788A JPH02100145A JP H02100145 A JPH02100145 A JP H02100145A JP 63252577 A JP63252577 A JP 63252577A JP 25257788 A JP25257788 A JP 25257788A JP H02100145 A JPH02100145 A JP H02100145A
Authority
JP
Japan
Prior art keywords
address
register
data
microinstruction
memory
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
JP63252577A
Other languages
Japanese (ja)
Inventor
Yoshitetsu Nishiwaki
西脇 義哲
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP63252577A priority Critical patent/JPH02100145A/en
Publication of JPH02100145A publication Critical patent/JPH02100145A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To dispense with a decoder circuit by providing a first data register to hold data in an extension storage at an address pointed by a micro address register and a second data register to hold the data read out from the extension storage at the address pointed by the micro address register. CONSTITUTION:A reloadable extension storage 6 instructed by the micro address register 2 corresponding to each address of a control storage 1 in one to one, the first data register 7 to hold the data stored in the extension storage 6, and the second data register 8 to hold the data read out from the extension storage 6 at the address pointed by the micro address register 2 are provided. When the prescribed address of the control storage 1 is executed, the data is read out from the corresponding address of the extension storage 6 by storing prescribed data at the address of the extension storage 6 corresponding to the prescribed address of the control storage 1. A readout signal can be used directly as, for example, the trigger signal of an oscilloscope. In such a way, it is possible to dispense with the decoder circuit.

Description

【発明の詳細な説明】 [産業上の利用分野コ この発明は、マイクロプログラム制御方式の計算機シス
テムに係わり、特にそのデバッグや故障解析、あるいは
性能測定を可能とした計算機システムに関するものであ
る。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a computer system using a microprogram control method, and particularly to a computer system that enables debugging, failure analysis, or performance measurement thereof.

[従来の技術] 第2図は従来のこの種の計算機システムの要部構成を示
すブロック図であり、図において、(1)は・マイクロ
命令を格納する制御記憶で、主に読み出し専用のROM
で構成されている。(2)は上記制御記憶+1)からマ
イクロ命令を読み出すためのマイクロアドレスを保持す
るマイクロアドレスレジスタ、(3)は上記制御記憶(
1)から読み出されたマイクロ命令を保持するマイクロ
命令レジスタであり、このマイクロ命令レジスタ(3)
に保持されたマイクロ命令が実行に移される。一方、+
4)t +51はデバッグや故障解析、あるいは性能測
定を行なうために設けられる第1のデコード回路と第2
のデコード回路であり、第1のデコード回路(4)はマ
イクロアドレスレジスタ(2)に保持されたマイクロア
ドレスをデコードして、当該アドレスが予め設定された
特定の番地の時は1”に、それ以外の時は′O”に変換
して出力するもので、第2のデコード回路(5)はマイ
クロ命令レジスタ(3)に保持されたマイクロ命令をデ
コードして、当該命令が予め設定された特定のマイクロ
命令の時はII 1 #に、それ以外の時は# 017
に変換して出力するものであり、各デコード回路f4L
 (5)の出力信号はオシロスコープあるいはロジック
アナライザのトリガ信号として使用される。
[Prior Art] Fig. 2 is a block diagram showing the main part configuration of a conventional computer system of this type. In the figure, (1) is a control memory that stores micro instructions, and is mainly a read-only ROM.
It consists of (2) is a microaddress register that holds a microaddress for reading a microinstruction from the above control memory +1), and (3) is a microaddress register that holds a microaddress for reading a microinstruction from the above control memory (+1).
This is a microinstruction register that holds the microinstructions read from (1), and this microinstruction register (3)
The microinstructions held in the microinstructions are executed. On the other hand, +
4) t+51 is a first decoding circuit and a second decoding circuit provided for debugging, failure analysis, or performance measurement.
The first decoding circuit (4) decodes the microaddress held in the microaddress register (2) and sets it to 1'' when the address is a specific address set in advance. In other cases, it is converted to 'O' and output.The second decoding circuit (5) decodes the microinstruction held in the microinstruction register (3) and converts the instruction into a preset specific When the microinstruction is II 1 #, otherwise # 017
Each decoding circuit f4L
The output signal of (5) is used as a trigger signal for an oscilloscope or logic analyzer.

次に動作について説明する。Next, the operation will be explained.

制御記憶(1)には予め各番地に所定のマイクロ命令が
格納されている。マイクロアドレスレジスタ(2)には
次に実行するマイクロ命令のアドレスが格納され、制御
記憶(1)から上記アドレスが指し示す番地のマイクロ
命令が読み出されてマイクロ命令レジスタ(3)に格納
され、実行に移される。特定の番地を実行したことを検
出するためには、マイクロアドレスレジスタ(2)のマ
イクロアドレスをデコードする第1のデコード回路(4
)を設けて、特定の番地の時のみl(1##にデコード
して出力するようにする。また、特定のマイクロ命令を
実行したことを検出するためには、マイクロ命令レジス
タ(3)のマイクロ命令をデコードする第2のデコード
回路(5)を設けて、特定のマイクロ命令の時のみ((
1$1にデコードして出力するようにする。従って、デ
コード回路+41. (51から出力される“1″′の
信号をオシロスコープあるいはロジックアナライザのト
リガ信号とすることにより、ハードウェアやマイクロプ
ログラムのデバッグや故障解析を行なうことができる。
In the control memory (1), predetermined microinstructions are stored in advance at each address. The address of the next microinstruction to be executed is stored in the microaddress register (2), and the microinstruction at the address pointed to by the above address is read from the control memory (1), stored in the microinstruction register (3), and executed. will be moved to In order to detect that a specific address has been executed, a first decoding circuit (4) decodes the microaddress of the microaddress register (2).
) to decode and output l(1##) only at a specific address.Furthermore, in order to detect the execution of a specific microinstruction, the microinstruction register (3) A second decoding circuit (5) for decoding microinstructions is provided, and only when a specific microinstruction ((
Decode it to 1$1 and output it. Therefore, the decoding circuit +41. (By using the "1" signal output from 51 as a trigger signal for an oscilloscope or logic analyzer, debugging and failure analysis of hardware and microprograms can be performed.

劃だ、ある特定番地と別の特定番地、又は、ある特定の
マイクロ命令と別の特定のマイクロ命令の時間間隔を測
定することにより性能測定を行なうことができる。
Alternatively, performance can be measured by measuring the time interval between one specific address and another specific address, or one specific microinstruction and another specific microinstruction.

[発明が解決しようとする課題] 従来のこの種の計算機システムは以上のように構成され
ているので、ハードウェアやマイクロプログラムのデバ
ッグや故障解析あるいは性能測定を行なう場合、特定の
番地や特定のマイクロ命令を実行したことを検出するた
めに、マイクロアドレスやマイクロ命令をデコードして
オシロスコープあるいはロジックアナライザのトリガ信
号を生成するデコード回路が必要となるが、これらのデ
コード回路はその都度回路が異なるため予め他の回路と
ともに作っておくことができず、そのためデコード回路
を別のモジュールに作る必要があるなどの問題点があっ
た。
[Problems to be Solved by the Invention] Conventional computer systems of this type are configured as described above, so when debugging, failure analysis, or performance measurement of hardware or microprograms, it is necessary to In order to detect the execution of a microinstruction, a decoding circuit is required to decode the microaddress or microinstruction and generate a trigger signal for an oscilloscope or logic analyzer, but these decoding circuits are different each time. There were problems in that the decoding circuit could not be made in advance together with other circuits, and therefore the decoding circuit had to be made in a separate module.

この発明は上記のような問題点を解消するためになされ
たもので、その都度、デコード回路を別モジュールに作
ることなしに、特定の番地や特定の命令を実行したこと
を容易に検出できるマイクロプログラム制御方式の計算
機システムを得ることを目的とする。
This invention was made in order to solve the above problems, and it is possible to easily detect a specific address or the execution of a specific instruction without creating a decoding circuit in a separate module each time. The purpose is to obtain a program-controlled computer system.

[課題を解決するための手段] この発明に係るマイクロプログラム制御方式の計算機シ
ステムは、制御記憶の各番地に1対〕、に対応して存在
しマイクロアドレスレジスタによって指し示される書き
換え可能な拡張記憶と、マイクロアドレスレジスタが指
し示す番地の拡張記憶に格納するデータを保持する第1
のデータレジスタと、マイクロアドレスレジスタが指し
示す番地の拡張記憶から読み出したデータを保持する第
2のデータレジスタとを備えたものである。
[Means for Solving the Problems] A computer system using a microprogram control method according to the present invention has a rewritable extended memory that exists corresponding to each address of the control memory and is pointed to by a microaddress register. and the first one that holds the data to be stored in the expanded memory at the address pointed to by the microaddress register.
, and a second data register that holds data read from the expanded storage at the address pointed to by the microaddress register.

[作用] この発明においては、制御記憶の特定番地に対応する拡
張記憶の番地に予め特定のデータを格納しておくことに
より、制御記憶の特定番地を実行すると、対応する拡張
記憶の番地からそのデータが読み出される。読み出した
信号は、例えばオシロスコープやロジックアナライザの
トリガ信号に直接使用することができる。
[Operation] In this invention, by storing specific data in advance at an address in extended memory that corresponds to a specific address in control memory, when a specific address in control memory is executed, the data is read from the corresponding extended memory address. Data is read. The read signal can be used directly as a trigger signal for an oscilloscope or logic analyzer, for example.

[実施例] 以下、この発明の一実施例を図について説明する。[Example] An embodiment of the present invention will be described below with reference to the drawings.

第1図は実施例の要部構成を示すブロック図であり、前
記第2図の従来例と同一、又は相当部分には同一符号を
用いて、その説明は省略する。
FIG. 1 is a block diagram showing the main structure of the embodiment, and the same or corresponding parts as in the conventional example shown in FIG.

図において、(6)は制御記憶(1)のすべての番地に
1対1に対応して存在し、制御記憶(1)と同様にマイ
クロアドレスレジスタ(2)によって指し示される拡張
記憶で、書き換え可能なRAMで構成されている。(7
)はマイクロアドレスレジスタ(2)が指し示す番地の
拡張記憶(6)に書き込むデータを保持する第1のデー
タレジスタ、(8)はマイクロアドレスレジスタ(2)
が指し示す番地の拡張記憶(6)から読み出したデータ
を保持する第2のデータレジスタである。
In the figure, (6) is extended memory that exists in one-to-one correspondence with all addresses of control memory (1), and is pointed to by micro address register (2) like control memory (1), and is rewritable. It is made up of available RAM. (7
) is the first data register that holds the data to be written to the expanded memory (6) at the address pointed to by the micro address register (2), and (8) is the micro address register (2).
This is a second data register that holds data read from the expanded storage (6) at the address indicated by .

次に動作について説明する。Next, the operation will be explained.

先ず、特定の番地を実行したことを検出する場合を例に
説明する。予め、拡張記憶(6)のすべての番地の内容
を“0”にしておく、更に、マイクロアドレスレジスタ
(2)と第1のデータレジスタ(7)を用いて、検出し
たい制御記憶fi+の特定番地に対応する番地の拡張記
憶(6)の任意の1ビツトだけに“1″を書き込む、こ
れにより、検出したい番地を実行すると、すなわち検出
したい番地がマイクロアドレスレジスタ(2)にセット
されることになるため、制御記憶(1)からは本来のマ
イクロ命令がマイクロ命令レジスタ(3)に読み出され
る。同時に拡張記憶(6)の同じ番地から、予め書き込
んでおいた“1″が第2のデータレジスタ(8)に読み
出される。この時、第2のデータレジスタ(8)の内容
を観測してい゛ると、検出したい番地を実行したときの
み“1”の信号が出てくる。この信号をオシロスコープ
あるいはロジックアナライザのトリガ信号として、特別
のデコード回路なしに直接使用でき、ハードウェアやマ
イクロプログラムのデバッグや故障解析を容易に行なう
ことができる。また、ある特定番地と別の特定番地間の
時間間隔を測定することができ、性能測定を容易に行な
うことができる。
First, an example will be explained in which the execution of a specific address is detected. Set the contents of all addresses in the extended memory (6) to "0" in advance, and then use the micro address register (2) and the first data register (7) to set the specific address of the control memory fi+ that you want to detect. Write "1" to just one arbitrary bit of the expanded memory (6) of the address corresponding to the address.This means that when the address you want to detect is executed, that is, the address you want to detect is set in the microaddress register (2). Therefore, the original microinstruction is read out from the control memory (1) to the microinstruction register (3). At the same time, "1" written in advance is read out from the same address in the extended storage (6) to the second data register (8). At this time, when observing the contents of the second data register (8), a signal of "1" is output only when the address to be detected is executed. This signal can be used directly as a trigger signal for an oscilloscope or logic analyzer without a special decoding circuit, making it easy to debug and analyze failures of hardware and microprograms. Furthermore, the time interval between one specific address and another specific address can be measured, and performance can be easily measured.

次に、特定のマイクロ命令を実行したことを検出する場
合の例について説明する。この場合も。
Next, an example of detecting execution of a specific microinstruction will be described. In this case too.

予め拡張記憶(6)のすべての番地の内容を′″0″に
しておく、更に、マイクロアドレスレジスタ(2)と第
1のデータレジスタ(7)を用いて、検出したいマイク
ロ命令が格納されている制御記憶(1)の番地に対応す
る番地の拡張記憶(6)の任意の1ビツトだけに“1″
′を書き込む。これにより、検出したいマイクロ命令を
実行すると、すなわち検出したいマイクロ命令が格納さ
れた番地がマイクロアドレスレジスタ(2)にセラ1−
されることになるため、制御記憶(11からは本来のマ
イクロ命令がマイクロ命令レジスタ(3)に読み出され
る。同時に拡張記憶(6)の同じ番地から、予め書き込
んでおいた“1″が第2のデータレジスタ(8)に読み
出される。この時、第2のデータレジスタ(8)の内容
を観測していると、検出したいマイクロ命令を実行した
ときのみ“1″の信号が出てくる。この信号をオシロス
コープあるいはロジックアナライザのトリガ信号として
、特別のデコード回路なしに直接使用でき、ハードウェ
アやマイクロプログラムのデバッグや故障解析を容易に
行なうことができる。また、ある特定のマイクロ命令と
別の特定のマイクロ命令間の時間間隔を測定することが
でき、性能測定を容易に行なうことができる。
The contents of all addresses in the expanded memory (6) are set to ``0'' in advance, and the microinstruction to be detected is stored using the microaddress register (2) and the first data register (7). Set "1" to only one arbitrary bit of the extended memory (6) at the address corresponding to the address of the control memory (1) located in the control memory (1).
′ is written. As a result, when the microinstruction to be detected is executed, the address where the microinstruction to be detected is stored is stored in the microaddress register (2).
Therefore, the original microinstruction is read from the control memory (11) to the microinstruction register (3). At the same time, the "1" written in advance is read from the same address in the extended memory (6) to the second microinstruction. At this time, when observing the contents of the second data register (8), a signal of "1" is output only when the microinstruction to be detected is executed. The signal can be used directly as a trigger signal for an oscilloscope or logic analyzer without a special decoding circuit, making it easy to debug hardware or microprograms or analyze failures. The time interval between microinstructions can be measured, making performance measurements easy.

なお、上記実施例では、拡張記憶(6)のビット幅を特
に明示していないが、任意のビット幅でも、上記と同様
の効果を奏する。
Note that although the bit width of the extended memory (6) is not specified in the above embodiment, the same effect as described above can be achieved with any bit width.

[発明の効果] 以上のように、この発明によれば、制御記憶の各番地に
1対1に対応して存在しマイクロアドレスレジスタによ
って指し示される書き換え可能な拡張記憶と、マイクロ
アドレスレジスタが指し示す番地の拡張記憶に格納する
データを保持する第1のデータレジスタと、マイクロア
ドレスレジスタが指し示す番地の拡張記憶から読み出し
たデータを保持する第2のデータレジスタとを備えて、
制御記憶に対応する拡張記憶の所望の番地に特定のデー
タを書き込み、制御記憶に対応して拡張記憶から読み出
された信号を容易に観測できるようにしたので、オシロ
スコープやロジックアナライザのトリガ信号を生成する
ためのデコード回路が不要となり、ハードウェアやマイ
クロプログラムのデバッグや故障解析、あるいは性能測
定が容易になる効果がある。
[Effects of the Invention] As described above, according to the present invention, the rewritable extended memory exists in one-to-one correspondence with each address of the control memory and is pointed to by the microaddress register, and a first data register that holds data stored in the extended memory at the address; and a second data register that holds data read from the extended memory at the address pointed to by the microaddress register;
Specific data can be written to a desired address in the extended memory corresponding to the control memory, and the signals read out from the extended memory corresponding to the control memory can be easily observed, so the trigger signal of an oscilloscope or logic analyzer can be easily observed. This eliminates the need for a decoding circuit for generation, which has the effect of facilitating debugging, failure analysis, and performance measurement of hardware and microprograms.

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

第1図はこの発明の一実施例による計算機システムの要
部構成を示すブロック図、第2図は従来技術による計算
機システムの要部構成を示すブロック図である。 (1)は制御記憶、(2)はマイクロアドレスレジスタ
、(3)はマイクロ命令レジスタ、(6)は拡張記憶、
(7)は第1のデータレジスタ、(8)は第2のデータ
レジスタ。 なお、図中、同一符号は同一、又は相当部分を示す。
FIG. 1 is a block diagram showing the main part configuration of a computer system according to an embodiment of the present invention, and FIG. 2 is a block diagram showing the main part structure of a computer system according to the prior art. (1) is control memory, (2) is microaddress register, (3) is microinstruction register, (6) is extended memory,
(7) is a first data register, and (8) is a second data register. In addition, in the figures, the same reference numerals indicate the same or equivalent parts.

Claims (1)

【特許請求の範囲】[Claims] マイクロ命令を格納する制御記憶と、マイクロアドレス
を保持するマイクロアドレスレジスタと、このマイクロ
アドレスレジスタが指し示す番地の制御記憶から読み出
したマイクロ命令を保持するマイクロ命令レジスタとを
備えたマイクロプログラム制御方式の計算機システムに
おいて、前記制御記憶の各番地に1対1に対応して存在
し前記マイクロアドレスレジスタによって指し示される
書き換え可能な拡張記憶と、前記マイクロアドレスレジ
スタが指し示す番地の拡張記憶に格納するデータを保持
する第1のデータレジスタと、前記マイクロアドレスレ
ジスタが指し示す番地の拡張記憶から読み出したデータ
を保持する第2のデータレジスタとを備えたことを特徴
とするマイクロプログラム制御方式の計算機システム。
A microprogram control computer equipped with a control memory for storing microinstructions, a microaddress register for holding microaddresses, and a microinstruction register for holding microinstructions read from the control memory at the address pointed to by the microaddress register. In the system, a rewritable extended memory exists in a one-to-one correspondence with each address of the control memory and is pointed to by the microaddress register, and data to be stored in the extended memory at the address pointed to by the microaddress register is held. 1. A computer system using a microprogram control system, comprising: a first data register that holds data read from extended storage at an address pointed to by the microaddress register;
JP63252577A 1988-10-06 1988-10-06 Computer system for microprogram control system Pending JPH02100145A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63252577A JPH02100145A (en) 1988-10-06 1988-10-06 Computer system for microprogram control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63252577A JPH02100145A (en) 1988-10-06 1988-10-06 Computer system for microprogram control system

Publications (1)

Publication Number Publication Date
JPH02100145A true JPH02100145A (en) 1990-04-12

Family

ID=17239308

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63252577A Pending JPH02100145A (en) 1988-10-06 1988-10-06 Computer system for microprogram control system

Country Status (1)

Country Link
JP (1) JPH02100145A (en)

Similar Documents

Publication Publication Date Title
US5751942A (en) Trace event detection during trace enable transitions
JPS5886648A (en) Tracing device
JPH02100145A (en) Computer system for microprogram control system
JPS594051B2 (en) One-chip microprocessor test processing method
JPS6160143A (en) Fault diagnosis system for microprogram controller
JPS6248865B2 (en)
JPS5936853A (en) Operation processor
JPS60147849A (en) System for debugging microprogram
SU1247877A1 (en) Device for debugging microcomputers
JPS5829056A (en) Control storage device
JPS6367212B2 (en)
JPS6247752A (en) Counter circuit for number of instruction executions of information processor
JPS62111336A (en) Debugging system
JPS6158049A (en) Error detection
JPS626341A (en) Information processor
JPH0444973B2 (en)
JPS6170644A (en) Program debugging system
JPH01121950A (en) Microprocessor with trace function
JPH0588946A (en) History memory write system
JPH03119436A (en) Microinstruction address tracer
JPS6027052B2 (en) Test method for memory device address circuits
JPH01296355A (en) Data processor
JPH01274252A (en) Activity history memory
JPS6236578B2 (en)
JPH0353654B2 (en)