JPH0664555B2 - Bus control method in information processing device - Google Patents

Bus control method in information processing device

Info

Publication number
JPH0664555B2
JPH0664555B2 JP62147274A JP14727487A JPH0664555B2 JP H0664555 B2 JPH0664555 B2 JP H0664555B2 JP 62147274 A JP62147274 A JP 62147274A JP 14727487 A JP14727487 A JP 14727487A JP H0664555 B2 JPH0664555 B2 JP H0664555B2
Authority
JP
Japan
Prior art keywords
data bus
control
outside
general
processor
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.)
Expired - Lifetime
Application number
JP62147274A
Other languages
Japanese (ja)
Other versions
JPS63311459A (en
Inventor
正善 武居
雄志 村田
敬人 野田
裕士 神阪
憲一 阿保
一泰 野々村
良市 西町
康智 桜井
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 JP62147274A priority Critical patent/JPH0664555B2/en
Publication of JPS63311459A publication Critical patent/JPS63311459A/en
Publication of JPH0664555B2 publication Critical patent/JPH0664555B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔概要〕 この発明は、データバスを用いて外部と交信し、外部か
らスタート/ストップ指示によって動作すると共に、外
部から任意のレジスタをリード、ライトし得るように構
成した情報処理装置におけるバス制御方式において、デ
ータバスが故障した時にプロセッサを制御し得ない問題
を解決するため、通常の一般データバスとは別に制御用
データバスを設けることにより、例え一般データバスが
故障してもこの制御用データバスを用いて外部から制御
レジスタをアクセスしてプロセッサの制御を行い得るよ
うにしている。
DETAILED DESCRIPTION [Overview] The present invention is configured to communicate with the outside using a data bus, operate according to a start / stop instruction from the outside, and read or write any register from the outside. In the bus control method of the information processing device, in order to solve the problem that the processor cannot be controlled when the data bus fails, by providing a control data bus in addition to the normal general data bus, the general data bus fails, for example. Even so, the control data bus is used to access the control register from the outside to control the processor.

〔産業上の利用分野〕[Industrial application field]

本発明は、通常のデータバスの他に制御用データバスを
設けた情報処理装置におけるバス制御方式に関するもの
である。
The present invention relates to a bus control system in an information processing device provided with a control data bus in addition to a normal data bus.

〔従来の技術〕[Conventional technology]

一般的にプロセッサへの外部からのアクセスは、プロセ
ッサ中に設けたレジスタのアドレスを指定すると共に、
プロセッサ中に設けたデータバスを介して外部との間で
リード/ライトするデータを受け渡して行うようにして
いる。以下第2図を用いて簡単に説明する。
Generally, the access from the outside to the processor specifies the address of the register provided in the processor,
Data to be read / written is exchanged with the outside via a data bus provided in the processor. A brief description will be given below with reference to FIG.

第2図において、プロセッサ(情報処理装置)11は各
種演算処理を行うものである。このプロセッサ11中に
設けた一般レジスタ1ないしMは命令実行に必要なレジ
スタ(例えばWB、RB、WRなど)であり、制御レジ
スタ1ないしNはプロセッサのスタート指示、マスク、
ステータス情報などを保持して制御するものである。こ
れら一般レジスタ1ないしM、および制御レジスタ1な
いしNをアクセスするには、外部からレジスタアドレス
をデコーダ14に供給してデコードしていずれかのもの
を選択すると共に、データバス12を介して外部から所
定のデータを書き込むか、あるいはデータバス12を介
して外部に読み出すようにしている。
In FIG. 2, a processor (information processing device) 11 performs various arithmetic processes. The general registers 1 to M provided in the processor 11 are registers (for example, WB, RB, WR, etc.) necessary for executing instructions, and the control registers 1 to N are start instructions, masks for the processor,
It holds and controls status information and the like. In order to access these general registers 1 to M and control registers 1 to N, a register address is supplied from the outside to the decoder 14 to be decoded and one of them is selected, and at the same time from the outside via the data bus 12. Predetermined data is written or read out to the outside via the data bus 12.

尚、図中RUNモードは、プロセッサ11が通常の処理
を行っている場合のモードである。TESTモードは、
デバックボード16を接続し、キーボード17−2から
所定のデータをデータバス12を介して制御レジスタ1
ないしN、あるいは一般レジスタ1ないしMに書き込ん
だり、あるいは読みだしてディスプレイ17−1に表示
などすることにより、プロセッサ11をデバックするモ
ードである。
The RUN mode in the figure is a mode when the processor 11 is performing normal processing. The TEST mode is
The debug register 16 is connected to the control register 1 via the data bus 12 to transfer predetermined data from the keyboard 17-2.
To N or the general registers 1 to M, or the mode is a mode in which the processor 11 is debugged by reading or reading and displaying on the display 17-1.

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

従来の情報処理装置におけるデータバスは、第2図に示
すように、制御レジスタ1ないしNも一般レジスタ1な
いしMも共通のデータバス12を介して外部との間で交
信を行っているため、このデータバス12に何らかの障
害が発生した場合例えばデータバス12の一部が切断し
た場合、あるいはマイクロプログラムの暴走によってデ
ータバス12のイネーブルが異常動作した場合には、外
部からデータバス12を使用して制御レジスタ1ないし
Nにアクセスし得ないため、制御が全く不可能になって
しまうという問題点があった。特に、プロセッサをLS
I化した場合には、計測器のプローブを制御レジスタ1
ないしNの端子などに直接に接続して内部状態を読むこ
とができないため、デバックが不可能になってしまうと
いう問題点があった。
As shown in FIG. 2, the data bus in the conventional information processing apparatus communicates with the outside through the common data bus 12 for both the control registers 1 to N and the general registers 1 to M. When some trouble occurs in the data bus 12, for example, when a part of the data bus 12 is disconnected, or when the enable of the data bus 12 is abnormally operated due to a runaway of a microprogram, the data bus 12 is externally used. Therefore, since the control registers 1 to N cannot be accessed, the control becomes completely impossible. In particular, the processor is LS
When converted to I, set the probe of the measuring instrument to the control register 1
There is also a problem that debugging cannot be performed because the internal state cannot be read by directly connecting to the N terminal or the like.

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

本発明は、前記問題点を解決するため、通常使用する一
般データバスとは別に制御用データバスを独立に設ける
ようにしている。
According to the present invention, in order to solve the above problems, a control data bus is provided independently of the general data bus normally used.

第1図を参照して問題点を解決するための手段を説明す
る。
Means for solving the problem will be described with reference to FIG.

第1図において、一般データバス2は、外部から一般レ
ジスタ1ないしMに対してデータを書き込んだり、ある
いは一般レジスタ1ないしMから読み出したデータを外
部に送出するものである。
In FIG. 1, a general data bus 2 is used to write data to the general registers 1 to M from the outside or send data read from the general registers 1 to M to the outside.

制御用データバス3は、外部から制御レジスタ1ないし
Nに対してデータを書き込んだり、あるいは制御レジス
タ1ないしNから読み出したデータを外部に送出するも
のである。
The control data bus 3 writes data to the control registers 1 to N from the outside or sends data read from the control registers 1 to N to the outside.

デコーダ4は、外部から供給されたレジスタアドレスを
デコードして該当するレジスタに対してアクセス可能に
するものである。
The decoder 4 decodes the register address supplied from the outside and makes the corresponding register accessible.

〔作用〕[Action]

次に動作を説明する。 Next, the operation will be described.

第1図において、一般データバス2に何らかの障害が発
生して使用できなくなっても、独立に設けた制御用デー
タバス3を介して外部から制御レジスタ1ないしNをア
クセスすることにより、プロセッサ1の制御を行うこと
が可能となる。
In FIG. 1, even if the general data bus 2 becomes unusable due to some trouble, by accessing the control registers 1 to N from the outside through an independently provided control data bus 3, the processor 1 It becomes possible to control.

〔実施例〕〔Example〕

次に第1図を用いて本発明の1実施例の構成および動作
を詳細に説明する。
Next, the configuration and operation of one embodiment of the present invention will be described in detail with reference to FIG.

第1図において、一般データバス2は、外部からデータ
を一般レジスタ1ないしMに書き込んだり、一般レジス
タ1ないしMから読み出したデータを外部に送出するも
のである。この一般データバス2のデータ幅は広くとっ
てある。
In FIG. 1, a general data bus 2 is used to write data to the general registers 1 to M from the outside and to send data read from the general registers 1 to M to the outside. The data width of the general data bus 2 is wide.

制御用データバス3は、外部からデータを制御レジスタ
1ないしNに書き込んだり、制御レジスタ1ないしNか
ら読み出したデータを外部に送出したりするものであ
る。これのデータ幅は狭くてもよい。特にLSI化して
ピン数が制限されるときには、制御用データバス3自体
はプロセッサ1の性能にはさほど影響を与えないので、
数回に分けてアクセスするように構成し、ピン数の削減
を行うようにしてもよい。
The control data bus 3 is used to write data to the control registers 1 to N from the outside and to send the data read from the control registers 1 to N to the outside. The data width of this may be narrow. In particular, when the number of pins is limited in an LSI, the control data bus 3 itself does not significantly affect the performance of the processor 1.
The number of pins may be reduced by configuring the access so as to be divided into several times.

デコーダ4は、外部から通知されたレジスタアドレスを
デコードしていずれかのレジスタに対して一般データバ
ス2あるいは制御用データバス3を経由してデータを書
き込むようにしたり、あるいはいずれかのレジスタから
読み出したデータをマルチプレクサ、3ステートバッフ
ァおよび一般データバス2あるいは制御用データバス3
を経由して外部に送出したりするものである。この読み
出し時に3ステートバッファに供給される一般イネーブ
ル信号あるいは制御イネーブル信号は、例えば図示点線
を用いて示すように、一般レジスタ1に格納されている
値をデコードして生成したり、あるいは制御レジスタ1
の所定ビットの値を用いたりすればよい。
The decoder 4 decodes the register address notified from the outside and writes the data to any one of the registers via the general data bus 2 or the control data bus 3, or reads from any one of the registers. Multiplexer data, 3 state buffer and general data bus 2 or control data bus 3
It is sent to the outside via the. The general enable signal or the control enable signal supplied to the 3-state buffer at the time of reading is generated by decoding the value stored in the general register 1 as shown by the dotted line in the figure, or by the control register 1
The value of the predetermined bit of may be used.

次に動作を説明する。Next, the operation will be described.

通常の処理時には、一般データバス2を介して外部と一
般レジスタ1ないしMとの間で交信が行われ、所定の処
理が実行される。また、割込み処理などを行う場合に
は、制御用データバス3を介して外部と制御レジスタ1
ないしNとの間で交信(所定のマスクデータをマスク制
御するための制御レジスタに書き込むことなど)が行わ
れる。
During normal processing, communication is performed between the outside and the general registers 1 to M via the general data bus 2, and predetermined processing is executed. When performing interrupt processing, etc., the control register 1 and the outside are connected via the control data bus 3.
Through N (writing to a control register for mask control of predetermined mask data, etc.).

この状態で、何等かの原因例えば一般データバス2の一
部が切断した場合、あるいはマイクロプログラムの暴走
によってイネーブル信号がアクティブ状態に保持されて
しまった場合などにおいて、この一般データバス2が使
用できなくなっても、独立に設けた制御用データバス3
を介して制御用レジスタ1ないしNに対して独立にアク
セスして、プロセッサ1を制御することが可能である。
In this state, the general data bus 2 can be used for some reason, for example, when a part of the general data bus 2 is disconnected, or when the enable signal is held in the active state due to a runaway microprogram. Even if it disappears, the control data bus 3 is provided independently
It is possible to control the processor 1 by independently accessing the control registers 1 to N via.

以上のように、一般データバス2の他に新たに制御用デ
ータバス3を設けても、この制御用データバス3の幅
は、一般データバス2の幅に比して狭いので、LSIの
ピン数を増加する割合は少ない。しかも、制御レジスタ
1ないしNを選択するレジスタアドレスは、第2図に示
す従来と共通であり、更にマルチプレクサのセレクト、
バスイネーブル回路も特に増加することはない。更に、
LSIのピン数が限られている場合、数回に分けてアク
セスするようにしてピン数の削減を図るようにすればよ
い。
As described above, even if the control data bus 3 is newly provided in addition to the general data bus 2, since the width of the control data bus 3 is narrower than the width of the general data bus 2, the LSI pin The rate of increasing the number is small. Moreover, the register address for selecting the control registers 1 to N is the same as the conventional register address shown in FIG.
The number of bus enable circuits also does not increase. Furthermore,
When the number of pins of the LSI is limited, the number of pins may be reduced by accessing the LSI several times.

〔発明の効果〕〔The invention's effect〕

以上説明したように、本発明によれば、通常の一般デー
タバスとは別に制御用データバスを独立に設ける構成を
採用しているため、例え一般データバスが何等かの原因
によって故障しても独立に設けた制御用データバスを用
いて外部から制御レジスタをアクセスしてプロセッサの
制御を行うことができる。このため、プロセッサの制御
の信頼性を向上させることができると共に、デバックを
効率的に行うことができる。
As described above, according to the present invention, since the control data bus is provided separately from the ordinary general data bus, even if the general data bus fails due to some cause, for example. The processor can be controlled by accessing the control register from the outside by using an independently provided control data bus. Therefore, the reliability of the control of the processor can be improved and the debugging can be efficiently performed.

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

第1図は本発明の1実施例構成図、第2図は従来方式の
構成図を示す。 図中、1はプロセッサ(情報処理装置)、2は一般デー
タバス、3は制御用データバス、4はデコーダを表す。
FIG. 1 shows a block diagram of one embodiment of the present invention, and FIG. 2 shows a block diagram of a conventional system. In the figure, 1 is a processor (information processing device), 2 is a general data bus, 3 is a control data bus, and 4 is a decoder.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 神阪 裕士 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (72)発明者 阿保 憲一 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (72)発明者 野々村 一泰 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (72)発明者 西町 良市 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (72)発明者 桜井 康智 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 ─────────────────────────────────────────────────── ─── Continued Front Page (72) Inventor Hiroshi Kamisaka 1015 Kamiodanaka, Nakahara-ku, Kawasaki City, Kanagawa Prefecture, Fujitsu Limited (72) Inventor Kenichi Abo, 1015, Kamiodanaka, Nakahara-ku, Kawasaki, Kanagawa Prefecture, Fujitsu Limited (72) Inventor Kazuyasu Nonomura, 1015 Kamiodanaka, Nakahara-ku, Kawasaki-shi, Kanagawa, Fujitsu Limited (72) Inventor, Ryo-shi Nishimachi, 1015, Uedanaka, Nakahara-ku, Kawasaki, Kanagawa, Japan (72) Inventor, Sakurai Yasuchi 1015 Kamiodanaka, Nakahara-ku, Kawasaki City, Kanagawa Prefecture, Fujitsu Limited

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】データバスを用いて外部と交信し、外部か
らスタート/ストップ指示によって動作すると共に、外
部から任意のレジスタをリード、ライトし得るように構
成した情報処理装置におけるバス制御方式において、 一般レジスタ(1)ないし(M)に対して読み書きして処理を
行うための一般データバス(2)の他に、制御レジスタ(1)
ないし(N)に対して独立に読み書きする制御用データバ
ス(3)を備え、 この制御用データバス(3)を用いて外部からプロセッサ
の制御を行い得るように構成したことを特徴とする情報
処理装置におけるバス制御方式。
1. A bus control system in an information processing device, which is configured to communicate with the outside using a data bus, operate according to a start / stop instruction from the outside, and read / write an arbitrary register from the outside, In addition to the general data bus (2) for reading and writing to the general registers (1) to (M), the control register (1)
Or (N) is equipped with a control data bus (3) for reading and writing independently, and the information is characterized by being configured so that the processor can be externally controlled using this control data bus (3). Bus control method in processor.
JP62147274A 1987-06-12 1987-06-12 Bus control method in information processing device Expired - Lifetime JPH0664555B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62147274A JPH0664555B2 (en) 1987-06-12 1987-06-12 Bus control method in information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62147274A JPH0664555B2 (en) 1987-06-12 1987-06-12 Bus control method in information processing device

Publications (2)

Publication Number Publication Date
JPS63311459A JPS63311459A (en) 1988-12-20
JPH0664555B2 true JPH0664555B2 (en) 1994-08-22

Family

ID=15426505

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62147274A Expired - Lifetime JPH0664555B2 (en) 1987-06-12 1987-06-12 Bus control method in information processing device

Country Status (1)

Country Link
JP (1) JPH0664555B2 (en)

Also Published As

Publication number Publication date
JPS63311459A (en) 1988-12-20

Similar Documents

Publication Publication Date Title
JP2927108B2 (en) In-circuit emulator
EP0391173B1 (en) Debug peripheral for microcomputers, microprocessors and core processor integrated circuits and system using the same
JPH0193837A (en) Microprocessor for debug
EP0267613B1 (en) Micro processor capable of being connected with coprocessor
JPH02224140A (en) Interruption testing device
KR950009691B1 (en) Test control circuit of data processing apparatus
JPH0664555B2 (en) Bus control method in information processing device
JPS62224836A (en) Semiconductor integrated circuit device
JP3008914B2 (en) Semiconductor integrated circuit
JPS6320545A (en) Register read-out device for emulator
JP2558902B2 (en) Semiconductor integrated circuit device
JPH02281341A (en) Write data confirming method for debugging
JP2821176B2 (en) Information processing device
JPS59117645A (en) Testing method of computer system
JP2000347898A (en) Software development supporting device
JPS59202546A (en) Debugging device
JPS59163653A (en) Debug device
JPS648381B2 (en)
JPH0370055A (en) Semiconductor integrated circuit device
JPS62293452A (en) Memory ic diagnosing circuit
JPS59167764A (en) Memory access system
JPH06175875A (en) In-circuit emulator
JPS6381547A (en) Cache memory access system
JPS61138344A (en) Debugging system
JPS62123551A (en) Memory device