JPS5991542A - Tracing device of microprogram - Google Patents

Tracing device of microprogram

Info

Publication number
JPS5991542A
JPS5991542A JP57201618A JP20161882A JPS5991542A JP S5991542 A JPS5991542 A JP S5991542A JP 57201618 A JP57201618 A JP 57201618A JP 20161882 A JP20161882 A JP 20161882A JP S5991542 A JPS5991542 A JP S5991542A
Authority
JP
Japan
Prior art keywords
microprogram
register
address
contents
tracer
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
JP57201618A
Other languages
Japanese (ja)
Inventor
Kiyohiko 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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP57201618A priority Critical patent/JPS5991542A/en
Publication of JPS5991542A publication Critical patent/JPS5991542A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software

Abstract

PURPOSE:To trace the execution of a microprogram in accordance with a program list by adjusting the shift of generation of timing between an address signal and a control signal of each part. CONSTITUTION:In a clock period when a microinstruction A read out from an address A of a microprogram memory 2 is held in a pipe-line register 3 and a control signal SCS with contents (a) indicating the succeeding address is outputted from the register 3, the address signal ADR of the succeeding address 1,001 in the microprogram memory 2 is outputted from a sequence controller 1. The contents 1,001 of the ADR outputted from the sequence controller 1 is latched by a register 6 connected to the prestage of a tracer 4 at the timing holding the contents B of control of each part in the pipe-line register 3. Consequently, the ADR of 1,001 latched by the register 6 through the tracer 4 can be read at the same timing as the CS held in the pipe-line register 3 and respective contents can be displayed.

Description

【発明の詳細な説明】 技術分野 本元stHま、プログラミングの是非について判定を行
なうマイクロプログラムのトレース装置に関する0 従来技術 一般に、プログラミングのデバッグ作業の大部分はプロ
グラムの実行をトレースして、その結果を判断すること
によって行なわれている。
[Detailed Description of the Invention] Technical Field Original stH 0 Related to a microprogram tracing device for determining the pros and cons of programming 0 Prior Art In general, most of the debugging work for programming involves tracing the execution of the program and analyzing the results. This is done by determining the

従来、ンーケンサの動作をマイクロプログラムを格納し
ているメモリ中の71クロ命令によって夙定スルマイク
ロプログラム。コントロールンステムにあっては、第1
図に示すように、ンーケンスコントローラ1からマイク
ロプログラム・メモリ2に出されるアドレス信号ADH
と、そのメモリ2の出力側に設けられたパイプラインレ
ジスタ3から出される各部制御信号C8とをトレーサ4
に読み込ませ、その実行結果を記憶させたうえで表示器
5に表示させ、それによジブログラミングのエラーチェ
ックを行なわせることができるようにしている。
Conventionally, the operation of the controller was determined by 71 instructions in the memory storing the microprogram. In the control stem, the first
As shown in the figure, the address signal ADH is sent from the sequence controller 1 to the microprogram memory 2.
and each part control signal C8 outputted from the pipeline register 3 provided on the output side of the memory 2 is transmitted to the tracer 4.
The execution result is stored and displayed on the display 5, so that an error check of the jiggling programming can be performed.

その場合、特にマイクロプログラム・コントロ−ルンス
テム側において、パイプラインレジスタ3により現時点
で実行する各部側$1i号C8とともに次のメモリアド
レスを決めるためのシーケンス制御信号SO8を保持さ
せ、それによりマイクロ命令の先行制御を行なわせるい
わゆるパイプライン化が図られているため、シーケンス
コントローラ1からマイクロプログラム・メモリ2に出
されるアドレス信号ADHとしては、パイプラインレジ
スタ(ポジティブエツジ6トリカ型のレジスタ)3に与
えられるクロックCLKにおける1クロック期間の後半
には次の実行命令によるメモリアドレスを示すことにな
る。
In that case, especially on the microprogram control system side, the pipeline register 3 holds the sequence control signal SO8 for determining the next memory address together with the $1i number C8 on each part side currently being executed, thereby Since the so-called pipeline system is designed to perform advance control, the address signal ADH sent from the sequence controller 1 to the microprogram memory 2 is given to the pipeline register (positive edge six-tricker type register) 3. The second half of one clock period in the clock CLK indicates the memory address according to the next execution instruction.

したがって、パイプライン化されたマイクロプログラム
・コントロールシステムにあっては、そのマイクロプロ
グラムのトレースを行なう際、トレーサ4にとり込まれ
るアドレス信号ADHと各部制御信号C8との各内容が
時間的に異なったものとなってし7まい、プログラミン
グのデバッグ作業に不便をきたしている。
Therefore, in a pipelined microprogram control system, when tracing the microprogram, the contents of the address signal ADH taken into the tracer 4 and the control signal C8 of each part may differ in time. 7, causing inconvenience in programming debugging work.

目的 本発明は以上の点を考慮してなされたもので、パイプラ
インコントロール方式をとる場合、アドレス信@ADR
と各部制御信号C8との発生タイミングのずれを調整し
てプログラムリスト通りにマイクロプログラムの実行を
トレースさせることができるようにしたマイクロプログ
ラムのトレース装置を提供するものである。
Purpose The present invention has been made in consideration of the above points, and when using the pipeline control method, the address signal @ADR
This invention provides a microprogram tracing device that can trace the execution of a microprogram according to a program list by adjusting the generation timing difference between the control signal C8 and each part control signal C8.

構成 v下、添付図面を参照して本発明の一実施例について詳
述する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described in detail below with reference to the accompanying drawings.

本発明によるマイクロプログラムのトレース装置にあっ
ては、第2図に示すように、シーケンスコントローラ1
1マイクロプログラム−)モリ2およびパイプラインレ
ジスタ3からなるパイプライン化ct’lマイクロプロ
グラム・コントロールシステムにおけるマイクロプログ
ラムの実行をトレーサ4によってトレースさせる除、特
にパイプラインレジスタ3のクロックCLKが与えられ
、七のクロックCLI(に応じてシーケンスコントロー
ラ1から71クロプログラム・メモリ2に出されるアド
レス信号ADRをラッチさせるレジスタ6を設け、その
レジスタ6のラッチ内容とパイプラインレジスタ3から
出される各部制御信号C8とをトレーサ4に読み込ませ
るようにしている。
In the microprogram tracing device according to the present invention, as shown in FIG.
1 microprogram-) Execution of a microprogram in a pipelined ct'l microprogram control system consisting of a memory 2 and a pipeline register 3 is traced by a tracer 4. In particular, the clock CLK of the pipeline register 3 is given; A register 6 is provided to latch the address signal ADR output from the sequence controller 1 to the 71 program memory 2 in response to the 7 clock CLI, and the latched contents of the register 6 and each part control signal C8 output from the pipeline register 3 are provided. and is read into tracer 4.

このように構成されたものにあって、い・まテノ(ラグ
時に注目しているマイクロプログラムのリストが以下の
ようなものであるとしたときの動作について、以下説明
をする。
In the system configured as described above, the following describes the operation when the list of microprograms to be focused on at the time of lag is as follows.

マイクロプログラム  各部制御年  ンーケンス制御
・メモリ2のアドレス 号C8の内容 信号SC8の内
容1000        A         al
ool        E          bいま
、パイプラインレジスタ3にマイクロプログラム・メモ
リ2のアドレス1000からリードされたマイクロ命令
Aが保持され、かつそのパイグラ1ンレジヌタ3から次
アドレスを指示するa内容のシーケンス制御信号SO8
が出されているクロック期間だとすると、シーケンスコ
ントローラ1からはマイクロプログラム・メモリ2にお
ける次アドレス1001のアドレス信号ADHが出され
ている。
Microprogram Each part control year Address of sequence control/memory 2 Contents of No. C8 Contents of signal SC8 1000 A al
ool E b Now, the microinstruction A read from address 1000 of the microprogram memory 2 is held in the pipeline register 3, and the sequence control signal SO8 with content a instructs the next address from the pipeline register 3.
If this is the clock period during which the address signal ADH of the next address 1001 in the microprogram memory 2 is output from the sequence controller 1.

しかして、シーケンスコントローラ1から出されるアド
レス信号ADRの内容1001は、次のクロック期間の
始めにパイプラインレジスタ3に各部制舞の内容Bが保
持されるタイミングでトレーサ4の前段(て設けられた
レジスタ6にラッチされる。それにより、トレーサ4に
おいてそのレジスタ6にラッチされたアドレス同容10
01のアドレス信号ADHとパイプラインレジスタ3に
保持されている制御内容Bの各部制御信号C8とを同一
タイミングで読み込んで表示器5に各内容を表示させる
ことができ、マイクロプログラムの実行結果をプログラ
ムリスト通りにチェックすることが可能となる。
Therefore, the content 1001 of the address signal ADR output from the sequence controller 1 is transmitted to the previous stage of the tracer 4 at the timing when the content B of each part control is held in the pipeline register 3 at the beginning of the next clock period. latched in register 6.Thereby, in tracer 4, the address equivalent 10 latched in that register 6
The address signal ADH of 01 and the control signal C8 of each part of the control content B held in the pipeline register 3 can be read at the same timing to display each content on the display 5, and the execution result of the microprogram can be displayed in the program. It is possible to check the list.

効果 以上、本発明によるマイクロプログラムのトレース装置
にあっては、マイクロプログラム・コントロールシステ
ムがパイプラインコントロール方式をとる場合、パイプ
ラインレジスタと同一のクロックが与えられるアドレス
信号ラッチ用のレジスタを用いて、マイクロプログラム
・メモリのアドレス信号とバイプラづンレジスタから出
される制御イS号との発生タイミングのずれを調整し、
トレーサにおけるマイクロプログラムの実行結果をプロ
グラムリスト通シにチェックすることかでさるようにし
たもので、従来のようにマイクロプログラムの実行結果
を編集しなおしたうえでデバッグ作菓を行なわせるよう
な必要がなくなり、デバッグ作条の速度と正確性を向上
させることができるという優れた利点を有している。
As described above, in the microprogram tracing device according to the present invention, when the microprogram control system adopts the pipeline control method, an address signal latch register to which the same clock as the pipeline register is applied is used. Adjusts the timing difference between the address signal of the microprogram memory and the control signal issued from the bipolar register,
This allows you to check the execution results of microprograms in the tracer through the program list, eliminating the need to edit the execution results of microprograms and then perform debugging as in the past. This has the great advantage of improving the speed and accuracy of debugging.

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

第1図は従来のマイクロプログラムのトレース装置を示
すブロック構成図、第2図は本発明の一実施例によるマ
イクロプログラムのトレース装置を示すブロック構成図
である。 ■・・・シーケンスコントローラ、2・・・マイクロプ
ログラム舎メモリ、3・・−パイプラインレジスタ、4
・・・トレーサ、5・・・表示器、6・・・レジスタ。 出願人代理人 鳥 井  清
FIG. 1 is a block diagram showing a conventional microprogram tracing device, and FIG. 2 is a block diagram showing a microprogram tracing device according to an embodiment of the present invention. ■...Sequence controller, 2...Microprogram memory, 3...-pipeline register, 4
...Tracer, 5...Display device, 6...Register. Applicant's agent Kiyoshi Torii

Claims (1)

【特許請求の範囲】[Claims] パイプライン化されたマイクロプログラム拳コントロー
ルシステムにおけるマイクロプログラムの実行結果をト
レーサによりチェックするものにおいて、システム側の
パイプラインレジスタと同一のクロックが与えられて、
そのパイプラインレジスタにマイクロプログラムメモリ
から読み出されたマイクロ命令が保持されると同一タイ
ミングでマイクロプログラムメモリに与えられるアドレ
ス信号をラッチさせるレジスタを設け、そのレジスタの
内容をトレーサに与えるようにしたことを特徴とするマ
イクロプログラムのトレース装置。
In a system that uses a tracer to check the execution results of microprograms in a pipelined microprogram control system, the same clock as the pipeline register on the system side is given.
A register is provided in the pipeline register to latch an address signal given to the microprogram memory at the same timing when a microinstruction read from the microprogram memory is held, and the contents of the register are given to the tracer. A microprogram tracing device featuring:
JP57201618A 1982-11-16 1982-11-16 Tracing device of microprogram Pending JPS5991542A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57201618A JPS5991542A (en) 1982-11-16 1982-11-16 Tracing device of microprogram

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57201618A JPS5991542A (en) 1982-11-16 1982-11-16 Tracing device of microprogram

Publications (1)

Publication Number Publication Date
JPS5991542A true JPS5991542A (en) 1984-05-26

Family

ID=16444039

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57201618A Pending JPS5991542A (en) 1982-11-16 1982-11-16 Tracing device of microprogram

Country Status (1)

Country Link
JP (1) JPS5991542A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0251745A (en) * 1988-08-15 1990-02-21 Fujitsu Ltd History data control system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0251745A (en) * 1988-08-15 1990-02-21 Fujitsu Ltd History data control system

Similar Documents

Publication Publication Date Title
CA1298410C (en) Vector operation instruction issue control method
JPS5991542A (en) Tracing device of microprogram
JP2785606B2 (en) Debugger for pipelined computer programs
JPH02181236A (en) Debug device
JP2990099B2 (en) Trace buffer control method
JPH02307129A (en) Setting/deleting system for snap id output sentence
JPS5936853A (en) Operation processor
JPS6365542A (en) Debugging system
JPS63211037A (en) Program debugging method
JPS6386029A (en) Data processing method
JPS6249454A (en) Debug supporting circuit for microprogram
JPS5917468B2 (en) Program counter trajectory storage device
JPH012142A (en) Microprocessor standby instruction execution device
JPS62127949A (en) Debug system for digital signal processing processor
JPS63221429A (en) Data processor
JPS61246841A (en) Information processor
JPH03154929A (en) Central processing unit
JPS6395539A (en) Pipeline processing system
JPS60198646A (en) Error producing system of control storage
JPH03150601A (en) Arithmetic processing system for programmable controller
JPS61208126A (en) Control system for execution of program to be tested
JPS61229125A (en) Arithmetic processing unit
JPS6255738A (en) Data processor having program counter tracing mechanism
JPS62103736A (en) Branch control system
JPH02216546A (en) Program debugging supporting system for information processing system