JPS60201437A - Microprocessor - Google Patents

Microprocessor

Info

Publication number
JPS60201437A
JPS60201437A JP59057906A JP5790684A JPS60201437A JP S60201437 A JPS60201437 A JP S60201437A JP 59057906 A JP59057906 A JP 59057906A JP 5790684 A JP5790684 A JP 5790684A JP S60201437 A JPS60201437 A JP S60201437A
Authority
JP
Japan
Prior art keywords
microcode
micro
ram
data bus
bus
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
JP59057906A
Other languages
Japanese (ja)
Inventor
Yoshikazu Sakurai
桜井 良和
Koichi Yamada
宏一 山田
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.)
NEC Corp
Original Assignee
NEC Corp
Nippon Electric 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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP59057906A priority Critical patent/JPS60201437A/en
Publication of JPS60201437A publication Critical patent/JPS60201437A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Read Only Memory (AREA)

Abstract

PURPOSE:To cope with an error of a microcode in a ROM by connecting a RAM to a microcode transfer bus, in a microprocessor having an internal data bus and the microcode transfer bus. CONSTITUTION:An output (microcode) of a micro-RAM is outputted to a micro- ROM data bus RDB, and a micro-RAM having the same bit length as the microcode and registers of plural sages inputs data being on an internal data bus DB, and outputs the data to the data bus RDB. An instruction is inputted from an external input terminal of a microprocessor from the outside, and when its instruction is executed, the micro-ROM is brought to access, and the microcode is outputted to the bus RDB. If an error exists in its code, the processor causes a mulfunction, but when the error is detected, a correct microcode group corresponding to a group of the microcode containing the error is sent to the bus DB from the external input terminal, and it is inputted to the RAM. In this way, a correct microcode is obtained from the RAM.

Description

【発明の詳細な説明】 (技術分野) 本発明は、マイクロROM制御方式のマイクロプロセッ
サに関する。
DETAILED DESCRIPTION OF THE INVENTION (Technical Field) The present invention relates to a microprocessor using a microROM control method.

(・従来技術) 従来、マイクロROM制御方式のマイクロプロセッサに
おいて、マイクロR,OMの内容は、第1図(a)のよ
うに、出力制御信号によってマイクロROMデータバス
に出力されるか、あるいは第1図1b)のようにマイク
ロ命令レジスタ全通してマイクロROMデータバスに出
力されていた。マイクロROMデータバスは、マイクロ
ROMから出力されたデータ(マイクロ命令)を演算制
御回路等へ伝送する役割を持っている。
(Prior art) Conventionally, in a microprocessor using a micro ROM control system, the contents of the micro R and OM are outputted to the micro ROM data bus by an output control signal, as shown in FIG. As shown in FIG. 1b), the entire microinstruction register was passed through and outputted to the microROM data bus. The micro ROM data bus has the role of transmitting data (micro instructions) output from the micro ROM to an arithmetic control circuit and the like.

これらの方式においては、マイクロROM内のデータ誤
シ(マイクロコード誤シ)などが原因で、誤ったデータ
がマイクロROMデータバスに出力された場合、このデ
ータ全修正することが不可能でめった。したがって、マ
イクロROM内容の誤シ等の原因によって、マイクロI
(、OMのデータを修正する必要が生じた場合にも、そ
のマイクロコードに関する動作の解析が、きわめて回能
で、かつ不可能な場合もおった。その上、第1図(a)
 、 (b)の構成をとる限り、ソフトウェアでマイク
ロROMの出力を修正することは不可能である。
In these systems, when erroneous data is output to the micro ROM data bus due to a data error (micro code error) in the micro ROM, it is rarely possible to correct all of the data. Therefore, due to reasons such as errors in the contents of the micro ROM, the micro I
(Even if it was necessary to modify OM data, analysis of the operation related to the microcode was extremely slow and sometimes impossible. Furthermore, as shown in Figure 1(a)
, (b), it is impossible to modify the output of the micro ROM with software.

(発明の目的) 本発明はマイクロROM内のコード誤9によって生じる
誤動作を防止した1チツプマイクロプロセツサを提供す
ることを目的とする。
(Object of the Invention) An object of the present invention is to provide a one-chip microprocessor that prevents malfunctions caused by code errors in a micro ROM.

(発明の構成) 本発明は内部データバスとマイクロコード転送バスとを
有するマイクロプロセッサにおいて、前記内部データバ
スに入力が接続され、前記マイクロコード転送バスに出
力が接続された読出し簀込み可能メモ+7(RAM)を
設け、ROM内のマイクロコードに誤りがある場合、正
しいマイクロコードを前記内部データバスを介して前記
RAMに書き込み、これを前記マイクロコード転送ノ(
スに出力するようにしたことを特徴とするマイクロプロ
セッサを得る。
(Structure of the Invention) The present invention provides a microprocessor having an internal data bus and a microcode transfer bus, in which an input is connected to the internal data bus and an output is connected to the microcode transfer bus. (RAM), and if there is an error in the microcode in the ROM, write the correct microcode to the RAM via the internal data bus and transfer it to the microcode transfer node (RAM).
To obtain a microprocessor, which is characterized in that it outputs data to a computer.

(実施例) 次に、第2図を用いて、本発明の一実施例の構成と動作
を説明する。
(Embodiment) Next, the configuration and operation of an embodiment of the present invention will be described using FIG. 2.

本発明はマイクロROM(μROM)の出力(マイクロ
コード)を伝播するマイクロROMデータバス(RDB
)と、制御11号C1に応答してマイクロROMの内容
をマイクロROMデータノくスに出力する出力制御部1
と、マイクロコードと同一ビット長で複数段のレジスタ
を有するマイクロRAM(μRAM)と、制御信号C2
に応答してマイクロnAMKMBデータバス(DB)上
のデータを入力する入力制御部2と、制御信号C3に応
答してマイクロRAMの内容をマイクロROMデータノ
くスに出力する出力制御部3とを含む。マイクロROM
データバスRD8と内部データバスとは物理的かつ機能
的に異なるタイプのノくスで、前者はマイクロコード転
送専用として用いられ、後者は演算中のデータや演算結
果のデータを転送するために用いられる。よって前者の
ノ(スはプロ七ツサチツプ内に配設δれ、外部端子とは
接続されない)(スーCあるのに対し、後者は外部周辺
機器とプロセッサとの間でデータ交換を行なうものであ
るため、外部端子との接続点を有する)(スである。
The present invention is based on a microROM data bus (RDB) that propagates the output (microcode) of a microROM (μROM).
), and an output control unit 1 that outputs the contents of the micro ROM to the micro ROM data node in response to control number 11 C1.
, a micro RAM (μRAM) having the same bit length as the micro code and multiple stages of registers, and a control signal C2.
includes an input control section 2 that inputs data on the micro nAMKMB data bus (DB) in response to the control signal C3, and an output control section 3 that outputs the contents of the micro RAM to the micro ROM data bus in response to the control signal C3. . Micro ROM
The data bus RD8 and the internal data bus are physically and functionally different types of buses; the former is used exclusively for microcode transfer, and the latter is used to transfer data during calculations and data resulting from calculations. It will be done. Therefore, the former is located inside the processor chip and is not connected to external terminals (there is a processor chip), whereas the latter is used to exchange data between external peripheral devices and the processor. Therefore, it has connection points with external terminals).

第2図において、内部データノ(ス上にデータがある間
に、制御信号Cskアクティブにすることによってマイ
クロRAMの中にそのデータを書き込むことができる。
In FIG. 2, while the data is on the internal data node, the data can be written into the micro RAM by activating the control signal Csk.

つまシマイクロRAMへのデータの書き込みは、内部デ
ータバスを使用する通常の命令(データ転送命令等)の
実行中に制御信号C2にアクティブにすることによって
も行なえるし、又マイクロRAMにデータを114@込
むために別々に用意された命令を実行することによって
も可能である。こうして記憶されたマイクロRAMの内
容は、制御信号C3によってマイクロROMデータバス
に出力することができる。制御信号C1と制御信号Cs
k、外部端子から入力したり、るるいは内部制御回路で
発生することによって、プロセッサ動作中、随時任意の
ステップ数に渡って任意のデータをマイクロROMから
の出力の代わシとしてマイクロROMデータバスに出力
することができる。
Writing data to the micro RAM can also be done by activating the control signal C2 during the execution of a normal command (such as a data transfer command) that uses the internal data bus, or by writing data to the micro RAM. This is also possible by executing a separately prepared instruction for 114@. The contents of the micro RAM thus stored can be output to the micro ROM data bus by means of the control signal C3. Control signal C1 and control signal Cs
k. By inputting from an external terminal or generated by an internal control circuit, arbitrary data can be sent to the micro ROM data bus as a substitute for output from the micro ROM at any time during processor operation over an arbitrary number of steps. can be output to.

このことは、試作時、マイクロROMのデータに誤りが
あった場合にも、マイクロRAMに正しいデータを書き
込み、読み出すことで、正しいマイクロコードをマイク
ロROMデータバスに出力できることを可能とし、プロ
セッサ内部動作の解析処理全確実に行なえる効果を得る
ことができる。
This makes it possible to output the correct microcode to the microROM data bus by writing and reading the correct data to the microRAM even if there is an error in the data in the microROM during prototyping, and the processor's internal operations It is possible to obtain the effect that all analysis processing can be carried out reliably.

5− 更に詳しく説明すると、外部からマイクロプロセッサの
外部入力端子を通して命令が入力された時(この命令は
内部データバスを通して命令デコーダ等に転送される)
、該命令の実行において必要と判断された時のみマイク
ロROMrj、アクセスされ、マイクロコードを順次マ
イクロROMデータバス()LDB)に出力するもので
ある。よって、読み出されたマイクロコードの中に誤り
がめった場合、当然プロセッサは誤動作金蔵こす。従っ
て、この場合、プロセッサの動作状態を管理して、誤動
作を検出すると、それがマイクロコード誤9に起因する
場合(これは動作状態を管理することによって比較的容
易に判断できる)、誤りe含むマイクロコードのグルー
プ(一般に複数のマイクロコードで1つの処理を制御す
る)に相当する正しいマイクロコード群を外部入力端子
から内部データバス(DB)に送シ、これをマイクロR
AMに一旦入力して、ここから正しいマイクロコードと
してマイクロROMデータバス(riiB)に出力する
ように構成されているので、プロセッサを正6− しく制御することができる。
5- To explain in more detail, when an instruction is input from the outside through the external input terminal of the microprocessor (this instruction is transferred to the instruction decoder etc. through the internal data bus).
, the micro ROMrj is accessed only when it is determined to be necessary in the execution of the instruction, and the micro code is sequentially output to the micro ROM data bus (LDB). Therefore, if an error occurs in the read microcode, the processor will naturally malfunction. Therefore, in this case, if the operating state of the processor is managed and a malfunction is detected, if it is caused by a microcode error 9 (this can be determined relatively easily by managing the operating state), the error e will be included. A correct group of microcodes corresponding to a group of microcodes (generally, one process is controlled by multiple microcodes) is sent from the external input terminal to the internal data bus (DB), and this is sent to the microR.
Since it is configured such that it is once input to AM and then outputted from there to the micro ROM data bus (riiB) as a correct microcode, the processor can be controlled correctly.

なお、誤葦9マイクロコードが1個の場合には、RAM
はルジスタ構成でよい。また、マイクロコードグループ
を入力する場合にはF’IP’0構成のレジスタにすれ
ば、入力順のマイクロコードがバスにはき出される。も
し、ランダムアクセスが必要であればRAM1アドレス
でアクセスできるようにしておけばよい。
In addition, if there is one Misashi9 microcode, the RAM
may be a Lujistor configuration. Further, when inputting a microcode group, if the register is configured as F'IP'0, the microcodes in the input order are outputted to the bus. If random access is required, it can be accessed using the RAM1 address.

以上述べたように、本発明の回路をマイクロプロセッサ
に内蔵することにより、マイクロROMに誤シのめる場
合にも、正しいデータをマイクロROMデータバス上に
出力することができ、プロセッサの動作解析を効率よく
行なうことができる。
As described above, by incorporating the circuit of the present invention into a microprocessor, even if the circuit is erroneously transferred to a micro ROM, the correct data can be output onto the micro ROM data bus, making it possible to efficiently analyze the operation of the processor. I can do it well.

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

第1図ta) 、 lb)は、夫々従来のマイクロプロ
セッサにおけるマイクロROMとその周辺のブロック図
、第2図は、本発明の一実施例を示すブロック図である
。 μROM・・・・・・マイクロROM、μRAM・・・
・・・マイクロRAM%RDB・・団・マイクロROM
データバス、DB・・・・・・内部データバス、TR・
・・・・・マイクロ命令レジスタ、c−c1〜c3・・
・・・・制御信号。
FIGS. 1(a) and 1(b) are block diagrams of a micro ROM and its surroundings in a conventional microprocessor, respectively, and FIG. 2 is a block diagram showing an embodiment of the present invention. μROM...Micro ROM, μRAM...
・・・Micro RAM%RDB・Dan・Micro ROM
Data bus, DB...Internal data bus, TR.
...Microinstruction register, c-c1 to c3...
····Control signal.

Claims (1)

【特許請求の範囲】[Claims] マイクロROMの出力を伝播するマイクロ)40Mデー
タバスと、外部端子との接続点を有する内部データバス
と、前記マイクロROMデータノ(スに出力端が接続さ
れ、前記内部データノ(スに入力端が接続δれたメモリ
手段と金石することを特徴とするマイクロプロセッサ。
A micro) 40M data bus that propagates the output of the micro ROM, an internal data bus having connection points with external terminals, an output end connected to the micro ROM data node, and an input end connected to the internal data node. A microprocessor characterized by an integrated memory means and an integrated memory.
JP59057906A 1984-03-26 1984-03-26 Microprocessor Pending JPS60201437A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59057906A JPS60201437A (en) 1984-03-26 1984-03-26 Microprocessor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59057906A JPS60201437A (en) 1984-03-26 1984-03-26 Microprocessor

Publications (1)

Publication Number Publication Date
JPS60201437A true JPS60201437A (en) 1985-10-11

Family

ID=13069027

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59057906A Pending JPS60201437A (en) 1984-03-26 1984-03-26 Microprocessor

Country Status (1)

Country Link
JP (1) JPS60201437A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6262851A (en) * 1985-09-11 1987-03-19 Mitsubishi Yuka Badische Co Ltd Self-crosslinking type resin composition

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6262851A (en) * 1985-09-11 1987-03-19 Mitsubishi Yuka Badische Co Ltd Self-crosslinking type resin composition

Similar Documents

Publication Publication Date Title
US4716527A (en) Bus converter
JPS6342299B2 (en)
JPS60201437A (en) Microprocessor
JPS60159951A (en) Tracing system in information processing device
JPH06103104A (en) Remote debugging method
JPS6025624Y2 (en) Equipment for information processing equipment development
JPH0821009B2 (en) CHANNEL CONTROLLER INITIALIZATION METHOD AND SYSTEM FOR THE INITIALIZATION
JPH02281341A (en) Write data confirming method for debugging
JPH0317760A (en) Data write confirming system
CN121658373A (en) Function test method and device, electronic equipment and storage medium
JPH01125633A (en) System for debugging multi-processing system
JPH10312307A (en) Emulator applied to computer system
JP3130798B2 (en) Bus transfer device
JPS5936838A (en) Controlling method of interface
JP3171615B2 (en) Data transfer retry control method
JPS6148741B2 (en)
JPH01130250A (en) Memory transfer system
JPS60193046A (en) Instruction exception detection method
JPH0474254A (en) Microprocessor diagnostic system
JPH0435779B2 (en)
JPH0342757A (en) Parallel interface circuit
JPH05100901A (en) Microcomputer
JPS60164849A (en) Program debugging system
JPH0332823B2 (en)
JPH0412855B2 (en)