JPS5969843A - Controlling method of microprogram - Google Patents

Controlling method of microprogram

Info

Publication number
JPS5969843A
JPS5969843A JP18086182A JP18086182A JPS5969843A JP S5969843 A JPS5969843 A JP S5969843A JP 18086182 A JP18086182 A JP 18086182A JP 18086182 A JP18086182 A JP 18086182A JP S5969843 A JPS5969843 A JP S5969843A
Authority
JP
Japan
Prior art keywords
microinstruction
register
address
buffer memory
block
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.)
Granted
Application number
JP18086182A
Other languages
Japanese (ja)
Other versions
JPH0115090B2 (en
Inventor
Yukio Ito
伊藤 行雄
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 JP18086182A priority Critical patent/JPS5969843A/en
Publication of JPS5969843A publication Critical patent/JPS5969843A/en
Publication of JPH0115090B2 publication Critical patent/JPH0115090B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/22Microcontrol or microprogram arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)

Abstract

PURPOSE:To shorten the bit length of a microinstruction by holding control information for a block to be processed and control information to be used in common at the process of execution of the microinstruction in a block in an address array. CONSTITUTION:The address of a microinstruction to be executed is set up in the 1st register 1. In accordance with the address set up in the 1st register 1, a microinstruction stored in a buffer memory 2 is read out to the 2nd register 3. Simultaneously, a corresponding entry is read out from an address array 4 and control information to be used in common in a block including the microinstruction is set up in the 3rd register 5. An address comparator 6 discriminates whether the microinstruction read out from the buffer memory 2 is to be executed or not, and when the microinstruction is to be executed, set up the status of an FF 7 to logical ''1''. Consequently, the FF 7 indicates that the data stored in the registers 3, 5 are effective to a decoder 8. Receiving the indication, the decoder 8 operates and executes the microinstruction.

Description

【発明の詳細な説明】 (発明の属する技術分野の説明) 本発明は大容量メモリからバッファメモリにロードした
マイクロプログラムの一部ヲ、バッファメモリ上で実行
するマイクロプログラム制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION (Description of the Technical Field to which the Invention Pertains) The present invention relates to a microprogram control method in which a part of a microprogram loaded from a large capacity memory into a buffer memory is executed on the buffer memory.

(従来技術の説明) マイクロ命令の1ワード内に含まれる情報には、本来一
部のマイクロ命令でしか使用されない情報が多く含まれ
て因る。例えば、演算処理ユニット(ALU : Ar
ithmetic and LogicUnit)の動
作指定においては2進算術演算機能、10進算術演算機
能、論理演算機能などが定義できるが、各機能はすべて
のマイクロプログラムで使用できる必要はな−。すなわ
ち、成るワード数を単位として全体のマイクロプログラ
ムを複数のブロックに分割した場合、各ブロックのなか
では上記演算処理ユニットの三つの機能のうちのいずれ
かひとつさえ実現できるように構成されていれば良い。
(Description of Prior Art) The information contained in one word of a microinstruction includes a lot of information that is originally used only in some microinstructions. For example, an arithmetic processing unit (ALU: Ar
Binary arithmetic operation functions, decimal arithmetic operation functions, logical operation functions, etc. can be defined in the operation specification of ithmetic and LogicUnit), but each function does not have to be usable in all microprograms. In other words, if the entire microprogram is divided into multiple blocks based on the number of words, each block is configured so that it can realize at least one of the three functions of the arithmetic processing unit. good.

この点に注目して、制御メモリの各ブロック毎にひとつ
のデコードモードを設け、これらを保持するデコードモ
ードメモリを置くことによりマイクロ命令のビット長を
短縮したものが特願昭54−152664号に記載のマ
イクロプログラム制御装置において提案されている。
Focusing on this point, Japanese Patent Application No. 54-152664 proposed a method in which the bit length of microinstructions was shortened by providing one decode mode for each block of control memory and placing a decode mode memory to hold these modes. It is proposed in the microprogram control device described.

いっぽう、情報処理装置の機能の多様化や性能向上要求
に伴い、マイクロプログラムの容量は日増しに増大して
きている。しかしながら、これらの要求を満足すべく制
御メモリの大きさを増加させることは、マシンサイクル
や装置価格の増大を招き、実質的な性能低下をもたらし
てしまう。この問題の解決策のひとつとして低価格の大
容量メモリとアドレスアレイを備えた高速バッファメモ
リとを設けた方式が特願昭57−1596号に記載のマ
イクロプログラム制御方式において提案されている。
On the other hand, with the diversification of functions of information processing devices and demands for improved performance, the capacity of microprograms is increasing day by day. However, increasing the size of the control memory to meet these demands increases machine cycles and equipment costs, resulting in a substantial performance drop. As one solution to this problem, a microprogram control system has been proposed in Japanese Patent Application No. 1596/1983, in which a low-cost large-capacity memory and a high-speed buffer memory equipped with an address array are provided.

しかし、これらのマイクロプログラム制御装置やマイク
ロプログラム制御方式では、デコードモードメモリの内
容に相当する情報がアドレスアレイに含まれていないの
で、末だにハードウェア量が多いと云う欠点があった。
However, these microprogram control devices and microprogram control methods have the disadvantage that the amount of hardware is still large because the address array does not contain information corresponding to the contents of the decode mode memory.

(発明の詳細な説明) 本発明の目的は特願昭54−152664号に記載した
マイクロプログラム制御装置、ならびに特願昭57−1
596号に記載したマイクロプログラム制御方式におけ
る上記欠点を解決し、処理すべきブロックのための管理
情報とブロック内のマイクロ命令実行過程で共通的に使
用されている制御情報とをアドレスアレイの内部に保持
することにより、マイクロ命令のビット長を短縮すると
共に制御メモリの大きさを減じて実現シたマイクロプロ
グラム制御方式を提供することにある。
(Detailed Description of the Invention) The object of the present invention is to provide a microprogram control device described in Japanese Patent Application No. 54-152664, and a microprogram control device described in Japanese Patent Application No. 57-1.
The above drawbacks of the microprogram control method described in No. 596 are solved, and management information for the block to be processed and control information commonly used in the process of executing microinstructions within the block are stored inside the address array. It is an object of the present invention to provide a microprogram control method that can be realized by holding the bit length of a microinstruction and reducing the size of a control memory.

(発明の構成と作用の説明) 本発明によるマイクロプログラム制御方式は第1〜第3
のレジスタと、バッファメモリと、アドレスアレイと、
アドレス比較器と、フリップフロップと、デコーダと、
大容量メモリとを具備して実現したものである。
(Description of structure and operation of the invention) The microprogram control method according to the present invention includes the first to third
registers, buffer memory, address array,
address comparator, flip-flop, decoder,
This is realized by having a large capacity memory.

第1のレジスタはマイクロ命令のアドレスを保持するだ
めのもので、アドレスレジスタトシて動作する。バッフ
ァメモリはマイクロプログラムの一部をブロック単位で
一時的に記憶するものである。第2のレジスタはバッフ
ァメモリから読出されたマイクロ命令を保持するための
もので、マイクロ命令レジスタとして動作する。
The first register is for holding the address of the microinstruction, and operates as an address register. The buffer memory temporarily stores part of the microprogram in blocks. The second register is for holding microinstructions read from the buffer memory and operates as a microinstruction register.

アドレスアレイはバッファメモ、りに記憶されているマ
イクロプログラムのためのブロック管理情報と、ブロッ
ク単位のマイクロ命令実行過程で共通的に使用される制
御情報とを保持し、バッファメモリの各ブロックに対応
したエントリを有するものである。第3のレジスタはア
ドレスプレイから読出された制御情報を保持するための
もので、制御レジスタとして動作する。アドレス比較器
は第1のレジスタの内容とブロック管理情報とを比較し
、バッファメモリの内部に期待するマイクロ命令が存在
するか否かを検出するものである。フリップフロップは
アドレス比較器が一致を表わし、バッファメモリの内部
に該当するマイクロ命令が存在する場合には状態1がセ
ットされ、一致を表わしてAな−場合には状態0がセッ
トされている。デコーダはフリップフロップの状態が1
の時のみに動作するものであり、第2および第3のレジ
スタの内容を解読し、システム内部の各制御部へ必要な
制御信号を送出する。大容量メモリは複数のブロックか
ら成立ち、マイクロプログラムを保持するためのメモリ
で、各ブロック毎に対応しだ制御情報を含むものである
The address array holds block management information for the microprogram stored in the buffer memory and control information commonly used in the process of executing microinstructions in blocks, and corresponds to each block in the buffer memory. This is the one that has the entry. The third register is for holding control information read from address play and operates as a control register. The address comparator compares the contents of the first register with the block management information to detect whether or not the expected microinstruction exists inside the buffer memory. In the flip-flop, if the address comparator indicates a match and the corresponding microinstruction is present in the buffer memory, state 1 is set, and if A indicates a match, state 0 is set. The state of the flip-flop in the decoder is 1
It operates only when the system decodes the contents of the second and third registers and sends necessary control signals to each control section inside the system. Large-capacity memory is a memory that is made up of a plurality of blocks and is used to hold microprograms, and each block contains corresponding control information.

実施例 次に本発明について図面を参照してさらに詳細に説明す
る。
EXAMPLES Next, the present invention will be explained in more detail with reference to the drawings.

本発明によるマイクロプログラム制御方式の一実施例は
第1〜第3のレジスタ1,3.5と、バッファメモリ2
と、アドレスアレイ4と、アドレス比較器6と、フリッ
プフロップ7と、デコーダ8と、大容量メモリ9とを具
備した装置により実現したものである。
An embodiment of the microprogram control system according to the present invention includes first to third registers 1, 3.5, and a buffer memory 2.
, an address array 4 , an address comparator 6 , a flip-flop 7 , a decoder 8 , and a large-capacity memory 9 .

本発明の一実施例を示す第1図において、第1のレジス
タ1はマイクロ命令のアドレスを保持するためのアドレ
スレジスタ、バッファメモリ2は大容量メモリ9から読
出されたマイクロプログラムの一部をブロック単位で保
持するためのメモリ、第2のレジスタ3はバッファメモ
リ2から読出されたマイクロ命令を保持するためのマイ
クロ命令レジスタである。アドレスアレイ4は、バッフ
ァメモリ2に記憶されてbるマイクロプログラムのだめ
のブロック管理情報と、ブロック内のマイクロ命令実行
過程で共通的に使用されてbる制御情報とを保持し、バ
ッファメモリ2の各ブロックに対応したエントリを有す
るものである。第3のレジスタ5はアドレスアレイ4か
ら読出された上記制御情報を保持するための制御情報レ
ジスタである。アドレス比較器6はアドレスアレイ4か
ら読出された上記ブロック管理情報と第1のレジスタ1
に保持されたマイクロ命令アドレスの一部とを使用して
、バッファメモリ2の内部に期待するマイクロ命令が存
在するか否かを検出し、存在しなり場合にはフリップフ
ロップ7の状態を論理値Oにセットし、存在する場合に
はフリップフロップ7の状態を論理値1にセットするた
めの比較器である。デコーダ8は第2のレジスタ3と第
3のレジスタ5とに保持された内容を入力し、フリップ
フロップ7の状態が1のときにはシステム内の各制御部
へ制御信号を送出するためのデコーダである。大容量メ
モリ9は複数のブロックから成立ち、マイクロプログラ
ムを保持スるためのメモリで、各ブロック毎に対応した
制御情報を含むものである。
In FIG. 1 showing an embodiment of the present invention, a first register 1 is an address register for holding the address of a microinstruction, and a buffer memory 2 blocks a part of a microprogram read from a large capacity memory 9. The second register 3, which is a memory for holding in units, is a microinstruction register for holding microinstructions read out from the buffer memory 2. The address array 4 holds block management information for the microprogram stored in the buffer memory 2 and control information commonly used in the process of executing microinstructions within the block. It has an entry corresponding to each block. The third register 5 is a control information register for holding the control information read out from the address array 4. The address comparator 6 compares the block management information read from the address array 4 with the first register 1.
It uses part of the microinstruction address held in the buffer memory 2 to detect whether or not the expected microinstruction exists inside the buffer memory 2, and if it does, the state of the flip-flop 7 is set to a logical value. This is a comparator for setting the state of the flip-flop 7 to logic value 1 if present. The decoder 8 inputs the contents held in the second register 3 and the third register 5, and when the state of the flip-flop 7 is 1, it is a decoder for sending a control signal to each control unit in the system. . The large capacity memory 9 is made up of a plurality of blocks and is a memory for holding microprograms, and includes control information corresponding to each block.

以下、第1図に従って本実施例の動作を順を追って説明
する。まず、実行すべきマイクロ命令のアドレスを第1
のレジスタ1にセットする。
Hereinafter, the operation of this embodiment will be explained step by step according to FIG. First, the address of the microinstruction to be executed is
Set to register 1 of

次いで、第1のレジスタ1にセットされたアドレスに対
応してバッファメモリ2の内部のマイクロ命令を第2の
レジスタ3に読出す。同時に、アドレスアレイ4から対
応するエントリを読出し、上記マイクロ命令を含むブロ
ック内で共通的に使用される制御情報を第3のレジスタ
5にセラトスる。これと共に、バッファメモリ2から読
出されたマイクロ命令が実行すべきものであるか否かを
アドレス比較器6により判定する。
Next, the microinstruction inside the buffer memory 2 is read out to the second register 3 in accordance with the address set in the first register 1. At the same time, the corresponding entry is read from the address array 4 and the control information commonly used within the block containing the microinstruction is stored in the third register 5. At the same time, the address comparator 6 determines whether the microinstruction read from the buffer memory 2 is to be executed.

もし、このマイクロ命令が実行すべきものである場合に
は、フリップフロップ7の状態を論理値1にセットし、
デコーダ8に対して第1のレジスタ3と第2のレジスタ
5とに保持されているデータが有効であることを声示す
る。デコーダ8はこれを受けてシステム内の各制御部に
対して制御信号を送出し、このマイクロ命令を演算して
処理を実行する。もし上記の読出されたマイクロ命令が
実行すべきものではない場合には、フリップフロップの
状態を論理値0にセットシ、デコーダ8に対して第1の
レジスタ3と第2のレジスタ5とのデータが無効である
ことを指示する。これと共に、大容量メモリ9に対して
は、第1のレジスタ1に保持されているマイクロ命令ア
ドレスをアクセスし、これに対応するマイクロ命令を含
むブロックをロードする様に指示を与える。大容量メモ
リ9は上記ブロック内のすべてのマイクロ命令を順次、
バッファメモリ2の対応するブロックへ書込むと共にア
ドレスアレイ4の対応するエントリに上記ブロック内部
のマイクロ命令で共通的に使用される制御情報とブロッ
ク管理情報とを書込む。以上の過程が終了すると1.あ
らためて第1のレジスタ1に保持されているアドレスを
アクセスし、これに対応するバッファメモリ2の内容を
読出し、第2のレジスタ3にセットする。これと共に、
アドレスアレイ4の対応するエントリを読出し、上記制
御情報を第3のレジスタ5にセットする。このとき、上
記制御情報と共に読出されたブロック管理情報は、上記
のブロックロード動作で書込まれた内容であり、当然の
ことながらアドレス比較器6はバッファメモリ2から読
出されたデータが実行すべきマイクロ命令であると判定
し、フリップフロップ7の状態を論理値1にセットする
。これにより、フリップフロップ7はデコーダ8に対し
て第1のレジスタ3と第2のレジスタ5とに保持されて
いるデータが有効であることを指示する。デコーダ8は
これらを受け、システム内部の各制御部へ制御信号を送
出し、このマイクロ命令を演算して実行する。
If this microinstruction is to be executed, set the state of flip-flop 7 to logic value 1,
It indicates to the decoder 8 that the data held in the first register 3 and the second register 5 are valid. Upon receiving this, the decoder 8 sends a control signal to each control unit in the system, calculates this microinstruction, and executes processing. If the above-mentioned read microinstruction is not to be executed, the state of the flip-flop is set to a logical value of 0, and the data in the first register 3 and the second register 5 are invalidated to the decoder 8. Indicates that At the same time, the large capacity memory 9 is instructed to access the microinstruction address held in the first register 1 and load a block containing the corresponding microinstruction. The large-capacity memory 9 sequentially stores all microinstructions in the above block.
The control information and block management information commonly used by the microinstructions inside the block are written into the corresponding entry of the address array 4 as well as into the corresponding block of the buffer memory 2. When the above process is completed, 1. The address held in the first register 1 is accessed again, the corresponding contents of the buffer memory 2 are read out, and the contents are set in the second register 3. Along with this,
The corresponding entry in the address array 4 is read and the above control information is set in the third register 5. At this time, the block management information read together with the control information is the content written in the block load operation described above, and as a matter of course, the address comparator 6 uses the data read from the buffer memory 2 to execute the block management information. It is determined that it is a microinstruction, and the state of the flip-flop 7 is set to logical value 1. As a result, the flip-flop 7 instructs the decoder 8 that the data held in the first register 3 and the second register 5 are valid. The decoder 8 receives these, sends control signals to each control section inside the system, and calculates and executes the microinstructions.

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

第1図は本発明によるマイクロプログラム制御方式を実
現するだめの装置を示すブロック図である。 1.3.5・・・レジスタ 2・・・バッファメモリ  4・・・アドレスアレイ6
・・・アドレス比較器 7・・・フリップフロップ 8川デコーダ9・・・大容
量メモリ 特許出願人  日本電気株式会社
FIG. 1 is a block diagram showing a device for implementing the microprogram control method according to the present invention. 1.3.5...Register 2...Buffer memory 4...Address array 6
...Address comparator 7...Flip-flop 8 River decoder 9...Large capacity memory patent applicant NEC Corporation

Claims (1)

【特許請求の範囲】[Claims] マイクロ命令のアドレスを保持するだめの第1のレジス
タと、マイクロプログラムの一部をブロック単位で一時
的に記憶するだめのバッファメモリと、前記バッファメ
モリから読出されたマイクロ命令を保持するだめの第2
のレジスタと、前記バッファメモリに記憶されて因るマ
イクロプログラムのだめのブロック管理情報と前記ブロ
ック単位のマイクロ命令実行過程で共通的に使用される
制御情報とを保持して前記バッファメモリの各ブロック
に対応したエントリを有するアドレスアレイと、前記ア
ドレスアレイから読出された前記制御情報を保持するた
めの第3のレジスタと、前記第1のレジスタの内容と前
記ブロック管理情報と、を比較するだめのアドレス比較
器と、前記アドレス比較器が一致を表わしている場合に
は状態1をセットし、前記一致を表わしてしない場合に
は状態0をセットするためのフリップフロップと、前記
フリップフロップの状態が1の時のみに前記第2、およ
び第3のレジスタの内容を解読して制御信号を出力する
ためのデコーダと、前記マイクロ命令のあらかじめ定め
られたワード数をひとつのブロックとしてまとめ、前記
ブロックを橡数個だけ記憶するための犬容゛敬メモリ七
を具備して実現したととを特徴とするマイクロプログラ
ム制御方式。
A first register for holding the address of a microinstruction, a buffer memory for temporarily storing a part of the microprogram in blocks, and a first register for holding the microinstruction read from the buffer memory. 2
registers, block management information of the microprogram stored in the buffer memory, and control information commonly used in the microinstruction execution process in units of blocks, and is stored in each block of the buffer memory. an address array having corresponding entries; a third register for holding the control information read from the address array; and an address for comparing the contents of the first register and the block management information. a comparator, a flip-flop for setting a state 1 if the address comparator indicates a match and a state 0 if the address comparator does not indicate a match; A decoder for decoding the contents of the second and third registers and outputting a control signal only when A microprogram control system characterized by being equipped with a special memory for storing only a few items.
JP18086182A 1982-10-15 1982-10-15 Controlling method of microprogram Granted JPS5969843A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18086182A JPS5969843A (en) 1982-10-15 1982-10-15 Controlling method of microprogram

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18086182A JPS5969843A (en) 1982-10-15 1982-10-15 Controlling method of microprogram

Publications (2)

Publication Number Publication Date
JPS5969843A true JPS5969843A (en) 1984-04-20
JPH0115090B2 JPH0115090B2 (en) 1989-03-15

Family

ID=16090633

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18086182A Granted JPS5969843A (en) 1982-10-15 1982-10-15 Controlling method of microprogram

Country Status (1)

Country Link
JP (1) JPS5969843A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5251836A (en) * 1975-10-23 1977-04-26 Ibm Microprogram data processor system
JPS5515520A (en) * 1978-07-18 1980-02-02 Fujitsu Ltd Automatic micro cash control system
JPS5674749A (en) * 1979-11-26 1981-06-20 Nec Corp Microprogram controlling device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5251836A (en) * 1975-10-23 1977-04-26 Ibm Microprogram data processor system
JPS5515520A (en) * 1978-07-18 1980-02-02 Fujitsu Ltd Automatic micro cash control system
JPS5674749A (en) * 1979-11-26 1981-06-20 Nec Corp Microprogram controlling device

Also Published As

Publication number Publication date
JPH0115090B2 (en) 1989-03-15

Similar Documents

Publication Publication Date Title
JP2539199B2 (en) Digital processor controller
JP2745949B2 (en) A data processor that simultaneously and independently performs static and dynamic masking of operand information
JP2776132B2 (en) Data processing system with static and dynamic masking of information in operands
EP0125855A2 (en) Buffer-storage control system
JPH0414385B2 (en)
JPH05204709A (en) Processor
US4639862A (en) Computer system
US4460972A (en) Single chip microcomputer selectively operable in response to instructions stored on the computer chip or in response to instructions stored external to the chip
US4949242A (en) Microcomputer capable of accessing continuous addresses for a short time
EP0385136B1 (en) Microprocessor cooperating with a coprocessor
US5586336A (en) Microcomputer capable of monitoring internal resources from external
US6535943B1 (en) Information processing device enabling floating interrupt to be pending and a method executing an interrupt condition change instruction
JPS5969843A (en) Controlling method of microprogram
EP0020972B1 (en) Program controlled microprocessing apparatus
JPS59214977A (en) Data processing device
US6269429B1 (en) Microcomputer which writer data to memory based on an interrupt control mode
JPS60134956A (en) Information processing system
JPS5972545A (en) Microprogram control system
JPS60193046A (en) Detecting system for instruction exception
JPH05334074A (en) Microprocessor
JPH01169639A (en) Memory
JPH01255037A (en) Electronic computer
JPH0258646B2 (en)
JPS629926B2 (en)
JPS61194566A (en) Vector data reference control system