JPH0115090B2 - - Google Patents

Info

Publication number
JPH0115090B2
JPH0115090B2 JP57180861A JP18086182A JPH0115090B2 JP H0115090 B2 JPH0115090 B2 JP H0115090B2 JP 57180861 A JP57180861 A JP 57180861A JP 18086182 A JP18086182 A JP 18086182A JP H0115090 B2 JPH0115090 B2 JP H0115090B2
Authority
JP
Japan
Prior art keywords
register
address
buffer memory
microinstruction
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.)
Expired
Application number
JP57180861A
Other languages
Japanese (ja)
Other versions
JPS5969843A (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
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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
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 OR CALCULATING; 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)

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 for executing a part of a microprogram loaded into a buffer memory from a large capacity memory on the buffer memory.

(従来技術の説明) マイクロ命令の1ワード内に含まれる情報に
は、本来一部のマイクロ命令でしか使用されない
情報が多く含まれている。例えば、演算処理ユニ
ツト(ALU:Arithmetic and Logic Unit)の
動作指定においては2進算術演算機能、10進算術
演算機能、論理演算機能などが定義できるが、各
機能はすべてのマイクロプログラムで使用できる
必要はない。すなわち、或るワード数を単位とし
て全体のマイクロプログラムを複数のブロツクに
分割した場合、各ブロツクのなかでは上記演算処
理ユニツトの三つの機能のうちのいずれかひとつ
さえ実現できるように構成されていれば良い。こ
の点に注目して、制御メモリの各ブロツク毎にひ
とつのデコードモードを設け、これらを保持する
デコードモードメモリを置くことによりマイクロ
命令のビツト長を短縮したものが特願昭54−
152664号(特開昭56−74749号)に記載のマイク
ロプログラム制御装置において提案されている。
(Description of Prior Art) Information contained in one word of a microinstruction includes a lot of information that is originally used only in some microinstructions. For example, when specifying the operation of an arithmetic processing unit (ALU: Arithmetic and Logic Unit), binary arithmetic operation functions, decimal arithmetic operation functions, logical operation functions, etc. can be defined, but each function must be usable by all microprograms. There isn't. In other words, when the entire microprogram is divided into multiple blocks with a certain number of words as units, each block must be configured so that it can realize at least one of the three functions of the arithmetic processing unit. Good. Focusing on this point, a patent application filed in 1974 shortened the bit length of microinstructions by providing one decode mode for each block of control memory and placing a decode mode memory to hold these modes.
This is proposed in a microprogram control device described in No. 152664 (Japanese Patent Application Laid-open No. 74749/1983).

いつぽう、情報処理装置の機能の多様化や性能
向上要求に伴いい、マイクロプログラムの容量は
日増しに増大してきている。しかしながら、これ
らの要求を満足すべく制御メモリの大きさを増加
させることは、マシンサイクルや装置価格の増大
を招き、実質的な性能低下をもたらしてしまう。
この問題の解決策のひとつとして低価格の大容量
メモリとアドレスアレイを備えた高速バツフアメ
モリとを設けた方式が特願昭57−1596号(特開昭
58−119052号)に記載のマイクロプログラム制御
方式において提案されている。
Over time, the capacity of microprograms is increasing day by day with the diversification of functions and demands for improved performance of information processing devices. 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 method using a low-cost large-capacity memory and a high-speed buffer memory equipped with an address array is proposed in Japanese Patent Application No. 57-1596 (Japanese Unexamined Patent Publication No.
58-119052) is proposed in the microprogram control method described in JP-A No. 58-119052).

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

(発明の目的の説明) 本発明の目的は特願昭54−152664号に記載した
マイクロプログラム制御装置、ならびに特願昭57
−1596号に記載したマイクロプログラム制御方式
における上記欠点を解決し、処理すべきブロツク
のための管理情報とブロツク内のマイクロ命令実
行過程で共通的に使用されている制御情報とをア
ドレスアレイの内部に保持することにより、マイ
クロ命令のビツト長を短縮すると共に制御メモリ
の大きさを減じて実現したマイクロプログラム制
御方式を提供することにある。
(Description of Object 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
The above drawbacks of the microprogram control method described in No. 1596 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 in the address array. It is an object of the present invention to provide a microprogram control method which is realized by holding the bit length of the microinstruction and reducing the size of the control memory.

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

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

(実施例の説明) 次に本発明について図面を参照してさらに詳細
に説明する。
(Description of Examples) Next, the present invention will be described in further detail with reference to the drawings.

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

本発明の一実施例を示す第1図において、第1
のレジスタ1はマイクロ命令のアドレスを保持す
るためのアドレスレジスタ、バツフアメモリ2は
大容量メモリ9から読出されたマイクロプログラ
ムの一部をブロツク単位で保持するためのメモ
リ、第2のレジスタ3はバツフアメモリ2から読
出されたマイクロ命令を保持するためのマイクロ
命令レジスタである。アドレスアレイ4は、バツ
フアメモリ2に記憶されているマイクロプログラ
ムのためのブロツク管理情報と、ブロツク内のマ
イクロ命令実行過程で共通的に使用されている制
御情報とを保持し、バツフアメモリ2の各ブロツ
クに対応したエントリを有するものである。第3
のレジスタ5はアドレスアレイ4から読出された
上記制御情報を保持するための制御情報レジスタ
である。アドレス比較器6はアドレスアレイ4か
ら読出された上記ブロツク管理情報と第1のレジ
スタ1に保持されたマイクロ命令アドレスの一部
とを使用して、バツフアメモリ2の内部に期待す
るマイクロ命令が存在するか否かを検出し、存在
しない場合にはフリツプフロツプ7の状態を論理
値0にセツトし、存在する場合にはフリツプフロ
ツプ7の状態を論理値1にセツトするための比較
器である。デコーダ8は第2のレジスタ3と第3
のレジスタ5とに保持された内容を入力し、フリ
ツプフロツプ7の状態が1のときにはシステム内
の各制御部へ制御信号を送出するためのデコーダ
である。大容量メモリ9は複数のブロツクから成
立ち、マイクロプログラムを保持するためのメモ
リで、各ブロツク毎に対応した制御情報を含むも
のである。
In FIG. 1 showing one embodiment of the present invention, a first
The register 1 is an address register for holding the address of a microinstruction, the buffer memory 2 is a memory for holding a part of the microprogram read from the large capacity memory 9 in block units, and the second register 3 is a buffer memory 2. This is a microinstruction register for holding microinstructions read from the microinstruction register. The address array 4 holds block management information for the microprograms stored in the buffer memory 2 and control information commonly used in the process of executing microinstructions within the block. It has a corresponding entry. Third
The register 5 is a control information register for holding the control information read out from the address array 4. The address comparator 6 uses the block management information read from the address array 4 and a part of the microinstruction address held in the first register 1 to determine whether the expected microinstruction exists inside the buffer memory 2. This is a comparator for detecting whether or not the flip-flop exists, and sets the state of the flip-flop 7 to a logic value 0 if it does not exist, and sets the state of the flip-flop 7 to a logic value 1 if it exists. The decoder 8 has the second register 3 and the third
This is a decoder for inputting the contents held in the register 5 of the flip-flop 7 and for sending a control signal to each control section in the system when the state of the flip-flop 7 is 1. 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にセツトする。次い
で、第1のレジスタ1にセツトされたアドレスに
対応してバツフアメモリ2の内部のマイクロ命令
を第2のレジスタ3に読出す。同時に、アドレス
アレイ4から対応するエントリを読出し、上記マ
イクロ命令を含むブロツク内で共通的に使用され
る制御情報を第3のレジスタ5にセツトする。こ
れと共に、バツフアメモリ2から読出されたマイ
クロ命令が実行すべきものであるか否かをアドレ
ス比較器6により判定する。もし、このマイクロ
命令が実行すべきものである場合には、フリツプ
フロツプ7の状態を論理値1にセツトし、デコー
ダ8に対して第1のレジスタ3と第2のレジスタ
5とに保持されているデータが有効であることを
指示する。デコーダ8はこれを受けてシステム内
の各制御部に対して制御信号を送出し、このマイ
クロ命令を演算して処理を実行する。もし上記の
読出されたマイクロ命令が実行すべきものではな
い場合には、フリツプフロツプの状態を論理値0
にセツトし、デコーダ8に対して第2のレジスタ
3と第3のレジスタ5とのデーダが無効であるこ
とを指示する。これと共に、大容量メモリ9に対
しては、第1のレジスタ1に保持されているマイ
クロ命令アドレスをアクセスし、これに対応する
マイクロ命令を含むブロツクと、その内部のマイ
クロ命令の実行時に該マイクロ命令解読のために
共通的に使用される制御情報をロードする様に指
示を与える。大容量メモリ9は上記ブロツク内の
すべてのマイクロ命令を順次、バツフアメモリ2
の対応するブロツクへ書込むと共にアドレスアレ
イ4の対応するエントリに上記ブロツク内部のマ
イクロ命令で共通的に使用される制御情報とブロ
ツク管理情報とを書込む。以上の過程が終了する
と、あらためて第1のレジスタ1に保持されてい
るアドレスをアクセスし、これに対応するバツフ
アメモリ2の内容を読出し、第2のレジスタ3に
セツトする。これと共に、アドレスアレイ4の対
応するエントリを読出し、上記制御情報を第3の
レジスタ5にセツトする。このとき、上記制御情
報と共に読出されたブロツク管理情報は、上記の
ブロツクロード動作で書込まれた内容であり、当
然のことながらアドレス比較器6はバツフアメモ
リ2から読出されたデータが実行すべきマイクロ
命令であると判定し、フリツプフロツプ7の状態
を論理値1にセツトする。これにより、フリツプ
フロツプ7はデコーダ8に対して第2のレジスタ
3と第3のレジスタ5とに保持されているデータ
が有効であることを指示する。デコーダ8はこれ
らを受け、システム内部の各制御部へ制御信号を
送出し、このマイクロ命令を演算して実行する。
Hereinafter, the operation of this embodiment will be explained step by step with reference to FIG. First, the address of the microinstruction to be executed is set in the first register 1. 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 control information commonly used within the block containing the microinstruction is set 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. If this microinstruction is to be executed, the state of the flip-flop 7 is set to logic 1 and the data held in the first register 3 and the second register 5 are sent to the decoder 8. is 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 read microinstruction is not to be executed, the state of the flip-flop is set to logic 0.
, and instructs the decoder 8 that the data in the second register 3 and third register 5 are invalid. At the same time, the large-capacity memory 9 is accessed by accessing the microinstruction address held in the first register 1, and storing the block containing the corresponding microinstruction and the microinstruction when executing the internal microinstruction. Gives an instruction to load control information commonly used for instruction decoding. The large-capacity memory 9 sequentially stores all the microinstructions in the above block and transfers them to the buffer memory 2.
At the same time, 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. When the above process is completed, 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. At the same time, 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 out together with the control information is the content written in the block loading operation, and as a matter of course, the address comparator 6 selects the data read out from the buffer memory 2 from the microcontroller to be executed. It is determined that it is a command, and the state of 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 second register 3 and the third 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 drawings]

第1図は本発明によるマイクロプログラム制御
方式を実現するための装置を示すブロツク図であ
る。 1,3,5……レジスタ、2……バツフアメモ
リ、4……アドレスアレイ、6……アドレス比較
器、7……フリツプフロツプ、8……デコーダ、
9……大容量メモリ。
FIG. 1 is a block diagram showing an apparatus 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...Decoder,
9...Large capacity memory.

Claims (1)

【特許請求の範囲】[Claims] 1 マイクロ命令のアドレスを保持するための第
1のレジスタと、マイクロプログラムの一部をブ
ロツク単位で一時的に記憶するためのバツフアメ
モリと、前記バツフアメモリから読出されたマイ
クロ命令を保持するための第2のレジスタと、前
記バツフアメモリに記憶されているマイクロプロ
グラムのためのブロツク管理情報と前記ブロツク
単位のマイクロ命令実行過程でマイクロ命令の解
読のために共通的に使用される制御情報とを保持
して前記バツフアメモリの各ブロツクに対応した
エントリを有するアドレスアレイと、前記アドレ
スアレイから読出された前記制御情報を保持する
ための第3のレジスタと、前記第1のレジスタの
内容と前記ブロツク管理情報とを比較するための
アドレス比較器と、前記アドレス比較器が一致を
表わしている場合には状態1をセツトし、前記一
致を表わしていない場合には状態0をセツトする
ためのフリツプフロツプと、前記フリツプフロツ
プの状態が1の時のみに前記第2、および第3の
レジスタの内容を解読して制御信号を出力するた
めのデコーダと、前記マイクロ命令のあらかじめ
定められたワード数をひとつのブロツクとしてま
とめ、前記ブロツクを複数個と前記アドレスアレ
イに保持する各ブロツク単位の制御情報とを記憶
するための大容量メモリとを具備して実現したこ
とを特徴とするマイクロプログラム制御方式。
1. 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 second register for holding the microinstruction read from the buffer memory. registers, block management information for the microprogram stored in the buffer memory, and control information commonly used for decoding microinstructions in the process of executing microinstructions in units of blocks. An address array having entries corresponding to each block of the buffer memory, a third register for holding the control information read from the address array, and a comparison between the contents of the first register and the block management information. a flip-flop for setting state 1 if said address comparator indicates a match and state 0 if said 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 1. A microprogram control system characterized in that it is realized by comprising a large capacity memory for storing a plurality of blocks and control information for each block held in the address array.
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 JPS5969843A (en) 1984-04-20
JPH0115090B2 true 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)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE2547488C2 (en) * 1975-10-23 1982-04-15 Ibm Deutschland Gmbh, 7000 Stuttgart Micro-programmed data processing 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
JPS5969843A (en) 1984-04-20

Similar Documents

Publication Publication Date Title
JP2539199B2 (en) Digital processor controller
US6101584A (en) Computer system and semiconductor device on one chip including a memory and central processing unit for making interlock access to the memory
JP2776132B2 (en) Data processing system with static and dynamic masking of information in operands
US4912635A (en) System for reexecuting branch instruction without fetching by storing target instruction control information
US5109333A (en) Data transfer control method and apparatus for co-processor system
JPH0581935B2 (en)
EP0125855A2 (en) Buffer-storage control system
US4688188A (en) Data storage apparatus for storing groups of data with read and write request detection
US4639862A (en) Computer system
JPH05204709A (en) Processor
JPH0332818B2 (en)
JPH0115090B2 (en)
GB2037466A (en) Computer with cache memory
US4979103A (en) Data processing method and apparatus having plural bus interfaces
JPS59214977A (en) data processing equipment
JPS60134956A (en) Information processing system
JPS5972545A (en) Microprogram control system
JPH0425581B2 (en)
JPH0258646B2 (en)
JPS60142450A (en) Storage system
JPH01315858A (en) Data transfer control method and device
JPS6174045A (en) Channel control system in multi-processor system
JPH0258648B2 (en)
JPH02193235A (en) Detection of bus access exception
JPS6320631A (en) Register selecting system