JPH0258646B2 - - Google Patents
Info
- Publication number
- JPH0258646B2 JPH0258646B2 JP59030676A JP3067684A JPH0258646B2 JP H0258646 B2 JPH0258646 B2 JP H0258646B2 JP 59030676 A JP59030676 A JP 59030676A JP 3067684 A JP3067684 A JP 3067684A JP H0258646 B2 JPH0258646 B2 JP H0258646B2
- Authority
- JP
- Japan
- Prior art keywords
- buffer memory
- microinstruction
- blocks
- address
- 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.)
- Expired - Lifetime
Links
Landscapes
- Advance Control (AREA)
- Memory System Of A Hierarchy Structure (AREA)
Description
【発明の詳細な説明】
発明の属する技術分野
本発明は大容量メモリ上に記憶されたマイクロ
プログラムをバツフアメモリ上にロードし、この
バツフアメモリで実行するマイクロプログラム制
御装置に関する。DETAILED DESCRIPTION OF THE INVENTION TECHNICAL FIELD The present invention relates to a microprogram control device that loads a microprogram stored in a large capacity memory onto a buffer memory and executes it in the buffer memory.
従来技術
マイクロプログラムにより制御される情報処理
装置においては、機能の多様化や性能向上のため
にマイクロプログラム容量が増大しつつある。一
方、性能向上のためにはマシンサイクルの短縮や
装置価格の低減なども要求され、むやみに制御メ
モリの容量を増加できないという事情にある。BACKGROUND ART In information processing devices controlled by microprograms, the microprogram capacity is increasing in order to diversify functions and improve performance. On the other hand, in order to improve performance, it is necessary to shorten the machine cycle and reduce the cost of the equipment, so it is difficult to increase the capacity of the control memory unnecessarily.
この種の問題の解決策として特開昭58―119052
号公報にバツフアメモリを有する方式が提案され
ている。従来、大容量メモリから高速バツフアメ
モリにマイクロプログラムをロードして実行する
この種の装置においては、バツフアメモリにロー
ドする際のブロツクの大きさが固定であるため
に、本来ロードしたいマイクロプログラムが極め
て少ないにもかかわらず1ブロツク分のマイクロ
プログラムをロードしなければならなかつたり、
逆にロードしたいマイクロプログラムが極めて多
い場合にはブロツクロード動作を何回も起動する
ことによるロスが発生し、全体の処理性能を低下
させるという欠点がある。 As a solution to this kind of problem, JP-A-58-119052
A system having a buffer memory is proposed in Japanese Patent Application No. Conventionally, in this type of device that loads microprograms from large-capacity memory to high-speed buffer memory and executes them, the size of the block when loading to buffer memory is fixed, so there are very few microprograms that originally need to be loaded. However, one block of microprogram must be loaded,
On the other hand, if there are an extremely large number of microprograms to be loaded, there is a disadvantage that the block loading operation is started many times, resulting in loss, which reduces the overall processing performance.
発明の目的
本発明の目的は大容量メモリから高速バツフア
メモリにロードすべきブロツク数を与えるブロツ
ク数テーブルを設け、1回のブロツクロード動作
でロードすべきブロツクの数を可変にし、無駄の
ない最適化されたブロツクロード動作を実現する
ようにしたマイクロプログラム制御装置を提供す
ることにある。Purpose of the Invention The purpose of the present invention is to provide a block number table that gives the number of blocks to be loaded from a large capacity memory to a high-speed buffer memory, to make the number of blocks to be loaded in one block loading operation variable, and to achieve lean optimization. An object of the present invention is to provide a microprogram control device that realizes a block loading operation.
発明の構成
本発明によるマイクロプログラム制御装置は、
大容量メモリと、アドレスレジスタと、バツフア
メモリと、アドレスアレイと、比較器と、ブロツ
ク数テーブルと、ロード制御回路とから構成され
ている。Structure of the Invention The microprogram control device according to the present invention includes:
It consists of a large capacity memory, an address register, a buffer memory, an address array, a comparator, a block number table, and a load control circuit.
大容量メモリは一連のマイクロプログラムを記
憶するものである。アドレスレジスタはマイクロ
命令アドレスを保持するものである。バツフアメ
モリは大容量メモリに記憶されたマイクロプログ
ラムの一部を保持するもので複数のブロツクから
構成されている。アドレスアレイはバツフアメモ
リの複数のブロツクにそれぞれ対応したエントリ
を有するものである。比較器はアドレスアレイの
出力とレジスタの内容の一部と比較し、バツフア
メモリ上に実行すべきマイクロ命令が保持されて
いるか否かを確認するための回路である。ブロツ
ク数テーブルは大容量メモリからバツフアメモリ
への1回のロード動作でロードすべきブロツク数
を与えるものである。ロード制御回路はブロツク
数テーブルで指示されたブロツク数分のロード動
作を制御するための回路である。 Mass memory stores a series of microprograms. The address register holds microinstruction addresses. The buffer memory holds part of the microprogram stored in the large capacity memory and is composed of a plurality of blocks. The address array has entries corresponding to a plurality of blocks in the buffer memory. The comparator is a circuit that compares the output of the address array with part of the contents of the register to confirm whether or not a microinstruction to be executed is held in the buffer memory. The block number table gives the number of blocks to be loaded in one load operation from the large capacity memory to the buffer memory. The load control circuit is a circuit for controlling loading operations for the number of blocks specified by the block number table.
発明の実施例
次に本発明について図面を参照しながら詳細に
説明する。Embodiments of the Invention Next, the present invention will be described in detail with reference to the drawings.
本発明によるマイクロプログラム制御システム
はアドレスレジスタ1と、バツフアメモリ2と、
アドレスアレイ3と、比較器4と、ブロツク数テ
ーブル5と、大容量メモリ6と、ロード制御回路
7とから構成されている。 The microprogram control system according to the present invention includes an address register 1, a buffer memory 2,
It is composed of an address array 3, a comparator 4, a block number table 5, a large capacity memory 6, and a load control circuit 7.
本実施例におけるマイクロプログラムは65536
ワードの容量から成り、そのマイクロ命令アドレ
スは16ビツトから成るものである。 The microprogram in this example is 65536
It has a word capacity and its microinstruction address consists of 16 bits.
第1図を参照すると、レジスタ1は16ビツトの
マイクロ命令アドレスを保持するためのレジス
タ,バツフアメモリ2は4096ワードの容量を有す
るメモリ、アドレスアレイ3は256個のエントリ
を有する素子である。バツフアメモリ2は16ワー
ド毎に256のブロツクに分割されており、各ブロ
ツクはアドレスアレイ3の各エントリに対応して
いる。バツフアメモリ2にはレジスタ1のビツト
4〜15がアドレス情報として与えられ、アドレス
アレイ3にはビツト4〜11がアドレス情報として
与えられている。アドレスアレイ3の各エントリ
には、対応するバツフアメモリ2のブロツク内に
保持されているマイクロ命令のマイクロ命令アド
レスのビツト0〜3が格納されている。比較器4
はレジスタ1のビツト0〜3とアドレスアレイ3
の出力とを比較し、レジスタ1に保持されたマイ
クロ命令アドレスに対応するマイクロ命令がバツ
フアメモリ2に保持されているか否かを検出す
る。ブロツク数テーブル5はレジスタ1のビツト
0〜7を索引情報として使用した256個の項目か
ら構成されるブロツク数テーブルである。大容量
メモリ6は65536ワードのマイクロプログラムを
記憶する領域から構成されている。この大容量メ
モリ上に比較されたマイクロプログラムは、それ
ぞれ256ワードのグループに分割され、さらにこ
の各グループ内が16ワードの16個のブロツクに分
割されている。この各グループはブロツク数テー
ブル5の各項目に対応しており、グループ内のマ
イクロ命令を大容量メモリ6からバツフアメモリ
2へロードする際にロードすべきブロツクの数が
ブロツク数テーブル5から与えられる。ロード制
御回路7は大容量メモリ6からバツフアメモリ2
へのマイクロ命令のロード動作をブロツク単位に
制御し、ブロツク数テーブル5から与えられたブ
ロツク数だけブロツクロードを行なうよう制御す
るための回路である。 Referring to FIG. 1, register 1 is a register for holding a 16-bit microinstruction address, buffer memory 2 is a memory having a capacity of 4096 words, and address array 3 is an element having 256 entries. Buffer memory 2 is divided into 256 blocks of 16 words each, each block corresponding to each entry in address array 3. Buffer memory 2 is given bits 4-15 of register 1 as address information, and address array 3 is given bits 4-11 as address information. Each entry in address array 3 stores bits 0 to 3 of the microinstruction address of the microinstruction held in the corresponding block of buffer memory 2. Comparator 4
is bits 0-3 of register 1 and address array 3
It is detected whether the microinstruction corresponding to the microinstruction address held in the register 1 is held in the buffer memory 2 or not. Block number table 5 is a block number table consisting of 256 items using bits 0 to 7 of register 1 as index information. The large capacity memory 6 consists of an area for storing 65536 words of microprograms. The microprograms compared on this large capacity memory are divided into groups of 256 words each, and each group is further divided into 16 blocks of 16 words. Each group corresponds to each item in the block number table 5, and the number of blocks to be loaded when loading the microinstructions in the group from the large capacity memory 6 to the buffer memory 2 is given from the block number table 5. The load control circuit 7 transfers data from the large capacity memory 6 to the buffer memory 2.
This circuit controls the loading operation of microinstructions to the block in block units, and controls the block loading to be performed by the number of blocks given from the block number table 5.
次に第1図に示す一実施例の動作を順に追つて
詳細に説明する。まず、アドレスレジスタ1にマ
イクロ命令アドレスがセツトされると、該レジス
タ1の内容に対応するバツフアメモリ2の1ワー
ドが出力信号線11に読出される。これととも
に、レジスタ1の内容に対応するアドレスアレイ
3の1エントリが出力信号線12に読出され比較
器4においてレジスタ1のビツト0〜3と比較さ
れる。もし、レジスタ1の内容に対応するマイク
ロ命令がバツフアメモリ2に保持されていれば、
出力信号線11が有効化され、ロード制御回路7
は起動されない。しかしながら、もし、対応する
マイクロ命令がバツフアメモリ2上に保持されて
いなければ、出力信号線11は無効化されるとと
もに、信号線13を介してロード制御回路7に対
してブロツクロード動作の起動がかけられる。こ
のとき同時にブロツク数テーブル5から信号線1
4にロードすべきブロツク数“N”(Nは1以上
の整数)が読出され、レジスタ1の出力ビツト0
〜11とともにロード制御回路7に供給される。ロ
ード制御回路7はこれらの情報を受け、レジスタ
1の内容に対応するマイクロ命令を含むブロツク
の先頭ワードから“16×N”ワードを順次大容量
メモリ6から読出しバツフアメモリの対応する番
地に書込む。同時に、アドレスアレイ3の対応す
るN個のエントリに対して、レジスタ1のビツト
0〜3に保持されている内容を順次書込む。以上
の過程が終了すると、制御メモリ2の出力信号線
11にはレジスタ1に保持されたマイクロ命令ア
ドレスに対応するマイクロ命令が読出され、アド
レスアレイ3の出力信号線12にはレジスタ1の
ビツト0〜3と同じ内容が読出されるため、比較
器4はバツフアメモリ2に対応するマイクロ命令
が保持されていることを示し、出力信号線11が
有効化される。 Next, the operation of the embodiment shown in FIG. 1 will be described in detail. First, when a microinstruction address is set in the address register 1, one word of the buffer memory 2 corresponding to the contents of the register 1 is read out to the output signal line 11. At the same time, one entry of address array 3 corresponding to the contents of register 1 is read out to output signal line 12 and compared with bits 0 to 3 of register 1 in comparator 4. If the microinstruction corresponding to the contents of register 1 is held in buffer memory 2, then
The output signal line 11 is enabled and the load control circuit 7
is not started. However, if the corresponding microinstruction is not held in the buffer memory 2, the output signal line 11 is disabled and the load control circuit 7 is activated to start a block load operation via the signal line 13. It will be done. At this time, from block number table 5 to signal line 1
The number of blocks "N" (N is an integer greater than or equal to 1) to be loaded into register 1 is read out, and the output bit 0 of register 1 is read out.
.about.11 are supplied to the load control circuit 7. The load control circuit 7 receives these information, sequentially reads "16×N" words from the large capacity memory 6 starting from the first word of the block containing the microinstruction corresponding to the contents of the register 1, and writes them to the corresponding address in the buffer memory. At the same time, the contents held in bits 0 to 3 of register 1 are sequentially written to the corresponding N entries of address array 3. When the above process is completed, the microinstruction corresponding to the microinstruction address held in the register 1 is read out to the output signal line 11 of the control memory 2, and the bit 0 of the register 1 is read out to the output signal line 12 of the address array 3. Since the same contents as .about.3 are read out, comparator 4 indicates that the corresponding microinstruction is held in buffer memory 2, and output signal line 11 is enabled.
発明の効果
本発明には、大容量メモリから高速バツフアメ
モリにロードする際のマイクロ命令のワード数を
可変にでき、無駄のない最適化されたブロツクロ
ード動作を実現することで、情報処理装置の処理
性能を高めるという効果がある。Effects of the Invention The present invention has the advantage of making it possible to vary the number of microinstruction words when loading from a large capacity memory to a high-speed buffer memory, and by realizing an optimized block loading operation with no waste. It has the effect of improving performance.
第1図は本発明の一実施例を示す図である。
第1図において、1……レジスタ、2……バツ
フアメモリ、3……アドレスアレイ、4……比較
器、5……ブロツク数テーブル、6……大容量メ
モリ、7……ロード制御回路、11〜14……信
号線。
FIG. 1 is a diagram showing an embodiment of the present invention. In FIG. 1, 1...Register, 2...Buffer memory, 3...Address array, 4...Comparator, 5...Block number table, 6...Large capacity memory, 7...Load control circuit, 11- 14...Signal line.
Claims (1)
メモリと、 マイクロ命令アドレスを保持するためのアドレ
スレジスタと、 上記マイクロプログラムの一部をブロツク単位
に保持するための複数ブロツクからなるバツフア
メモリと、 前記バツフアメモリの複数ブロツクのそれぞれ
に対応したエントリを有するアドレスアレイと、 前記アドレスレジスタに保持された内容の一部
と前記アドレスアレイの出力とを比較して前記バ
ツフアメモリ上に実行すべきマイクロ命令が保持
されているか否かを確認するための比較器と、 前記大容量メモリに記憶されたマイクロプログ
ラムはそれぞれが1つまたは複数のブロツクから
なる複数のマイクロ命令グループに分割されてお
り、この各マイクロ命令グループに対応したエン
トリを有し、前記大容量メモリから前記バツフア
メモリへの前記マイクロ命令のロード動作に際し
て、そのロードすべきブロツクの数を与えるブロ
ツク数テーブルと、 前記ブロツク数テーブルを索引して得られるブ
ロツク数分の前記ロード動作を1つ又は複数のブ
ロツク単位に制御するためのロード制御回路とを
含むことを特徴とするマイクロプログラム制御装
置。[Scope of Claims] 1. A large-capacity memory for storing a microprogram, an address register for holding a microinstruction address, and a buffer memory consisting of a plurality of blocks for holding a part of the microprogram in block units. an address array having entries corresponding to each of the plurality of blocks of the buffer memory; and a microinstruction to be executed on the buffer memory by comparing a portion of the contents held in the address register with the output of the address array. The microprogram stored in the large-capacity memory is divided into a plurality of microinstruction groups each consisting of one or more blocks. a block number table having an entry corresponding to a microinstruction group and giving the number of blocks to be loaded when the microinstruction is loaded from the large capacity memory to the buffer memory; and a block number table that indexes the block number table. A microprogram control device comprising: a load control circuit for controlling the load operation for the number of blocks obtained in units of one or more blocks.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59030676A JPS60175143A (en) | 1984-02-21 | 1984-02-21 | Microprogram control device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59030676A JPS60175143A (en) | 1984-02-21 | 1984-02-21 | Microprogram control device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS60175143A JPS60175143A (en) | 1985-09-09 |
| JPH0258646B2 true JPH0258646B2 (en) | 1990-12-10 |
Family
ID=12310312
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP59030676A Granted JPS60175143A (en) | 1984-02-21 | 1984-02-21 | Microprogram control device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS60175143A (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0754482B2 (en) * | 1990-08-07 | 1995-06-07 | 株式会社日立製作所 | Computer system |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5816263B2 (en) * | 1975-11-28 | 1983-03-30 | 株式会社日立製作所 | General information |
| JPS58214946A (en) * | 1982-06-08 | 1983-12-14 | Nec Corp | Controlling system of microprogram |
| JPS6027967A (en) * | 1983-07-27 | 1985-02-13 | Hitachi Ltd | Block transfer control method for buffer storage device |
-
1984
- 1984-02-21 JP JP59030676A patent/JPS60175143A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS60175143A (en) | 1985-09-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS6053896B2 (en) | Memory system of data processing equipment | |
| US3771142A (en) | Digital data storage system | |
| US4639862A (en) | Computer system | |
| US3949376A (en) | Data processing apparatus having high speed slave store and multi-word instruction buffer | |
| JPH0258646B2 (en) | ||
| JPH04357519A (en) | Memory device | |
| JPS5972545A (en) | Microprogram control system | |
| JPS6240736B2 (en) | ||
| JPS60186964A (en) | vector processing device | |
| JPS629437A (en) | Microprogram controller | |
| JP2531822B2 (en) | Instruction read-ahead device | |
| JPS61283933A (en) | Control system for microprogram | |
| JPS629436A (en) | Microprogram controller | |
| JPH0115090B2 (en) | ||
| JPS61283934A (en) | Control system for microprogram | |
| JPS61283932A (en) | Control system for microprogram | |
| JP2798492B2 (en) | List vector processing device | |
| JPH0216651A (en) | Disk cache control system | |
| JPS6260032A (en) | Controller for microprogram of buffer memory system | |
| JPS63187349A (en) | Storage device | |
| JPS6393045A (en) | Microprogram controller | |
| JPS62186328A (en) | Sort processing system | |
| JPS60116050A (en) | Address conversion system | |
| JPH07141260A (en) | High speed storage reading system and device therefor | |
| JPS60151747A (en) | Microprogram controller |