JPS63208942A - Microprogram memory circuit - Google Patents

Microprogram memory circuit

Info

Publication number
JPS63208942A
JPS63208942A JP4428887A JP4428887A JPS63208942A JP S63208942 A JPS63208942 A JP S63208942A JP 4428887 A JP4428887 A JP 4428887A JP 4428887 A JP4428887 A JP 4428887A JP S63208942 A JPS63208942 A JP S63208942A
Authority
JP
Japan
Prior art keywords
microinstruction
address information
bits
address
register
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
JP4428887A
Other languages
Japanese (ja)
Inventor
Toshikazu Chiba
千葉 俊和
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
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 filed Critical NEC Corp
Priority to JP4428887A priority Critical patent/JPS63208942A/en
Publication of JPS63208942A publication Critical patent/JPS63208942A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To simplify the constitution of a microprogram memory circuit by selecting a single microinstruction out of the data read out of a memory based on a control signal inputted separately to store it temporarily and producing specifically a control signal from the address information contained in said microinstruction. CONSTITUTION:The capacity of a single memory 1 is set at (mX2<n>) bits together with the address number set at 2<n-2> and the output width set at (mX2<a>) bits respectively (m>n>a). A single microinstruction is red out of the data read out of the memory 1 by a multiplexer 2 based on the signal of a branch deciding circuit 6 and stored temporarily in a microinstruction register 3. The n-bit address information contained in an output instruction is supplied to an address register 5. Then the lower rank (a) bit of the address information are inputted to the circuit 6 and this address information is qualified by a branch instruction when this instruction is given. While the address information is kept as it is when no branch instruction is given. Then a control signal of the multiplier 2 is produced.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は記憶しているマイクロ命令を順次に読出すマイ
クロプログラムメモリ回路に関し、特にマイクロ命令の
実行結果による条件分岐を行うマイクロプログラムメモ
リ回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a microprogram memory circuit that sequentially reads stored microinstructions, and particularly relates to a microprogram memory circuit that performs conditional branching depending on the execution result of the microinstructions. .

〔従来の技術〕[Conventional technology]

第2図はこの種のマイクロプログラムメモリ回路の従来
例の構成を示すブロック図である。
FIG. 2 is a block diagram showing the configuration of a conventional example of this type of microprogram memory circuit.

記憶装置208〜2n1は、条件分岐の数(本従来例に
おいては4個)だけ用意され、それぞれ。
The storage devices 208 to 2n1 are prepared as many as the number of conditional branches (four in this conventional example), respectively.

2n−2([1(nは3以上の正整数)の各アドレスに
mビットのマイクロ命令を記憶している。マイクロ命令
レジスタ201〜204は、それぞれ、各記憶装置20
8〜2n1から読出されたマイクロ命令を格納するレジ
スタであり、マイクロ命令の中には次に実行すべきマイ
クロ命令のアドレス情報がnビット含まれている。マイ
クロ命令レジスタ201〜204の出力は、マルチプレ
クサ205によりそのうちの1つが選択され、アドレス
情報を除く残りのm−nビットはそのままマイクロ命令
Mlとして出力されるとともに、nビットのアドレス情
報は経路2Hを介してアドレスレジスタ20?に導かれ
る。アドレスレジスタ207の出力の内、上位のn−2
ビットは記憶装置208〜2n1に共通に与えられ、そ
れぞれ同時に、同一アドレスのマイクロ命令が読出され
て命令レジスタ201〜204に格納される0分岐判定
回路2n2は、アドレスレジスタ207の出力のうち残
りの2ビットと直前に出力されていたマイクロ命令信号
Mlの実行結果に基づいた分岐信号JUMPを与えられ
て、分岐信号JUMPによる正規アドレス情報2ビット
の修飾と同期化およびデコードを行い、その出力により
制御信号線2n3を介してマルチプレクサ205を制御
し、次にマイクロ命令を実行すべき4個のマイクロ命令
レジスタ201〜204の中から真の1個が選択され出
力される。
An m-bit microinstruction is stored at each address of 2n-2 ([1 (n is a positive integer of 3 or more).
This register stores microinstructions read from 8 to 2n1, and each microinstruction includes n bits of address information of the next microinstruction to be executed. One of the outputs of the microinstruction registers 201 to 204 is selected by the multiplexer 205, and the remaining m-n bits excluding the address information are output as they are as the microinstruction Ml, and the n-bit address information is sent to the path 2H. Address register 20 through? guided by. Among the outputs of the address register 207, the upper n-2
The bits are commonly given to the storage devices 208 to 2n1, and microinstructions at the same address are read out and stored in the instruction registers 201 to 204 at the same time.The 0 branch determination circuit 2n2 selects the remaining bits from the output of the address register 207. 2 bits and a branch signal JUMP based on the execution result of the microinstruction signal Ml that was output immediately before, the branch signal JUMP modifies, synchronizes, and decodes the 2 bits of regular address information, and the control is controlled by the output. The multiplexer 205 is controlled via the signal line 2n3, and one of the four microinstruction registers 201 to 204 to be executed next is selected and output.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来のマイクロプログラムメモリ回路は、分岐
方向に応じた個数の記憶回路とマイクロ命令レジスタを
必要とし、かつ、それぞれ独立した記憶回路から出力を
集めてマルチプレクサによりそのうちの1個を選択しな
ければならないことや、それぞれの記憶装置に同一アド
レスを与えるための配線を必要とするなど、著しいハー
ドウェアの増大と設計の煩雑さを伴うという欠点がある
The conventional microprogram memory circuit described above requires memory circuits and microinstruction registers whose number corresponds to the branch direction, and the outputs from each independent memory circuit must be collected and one of them selected by a multiplexer. This method has disadvantages in that it requires a significant increase in hardware and design complexity, such as the need for wiring to give the same address to each storage device.

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

本発明のブイクロプログラムメモリ回路の記憶装置は、
容量がm×2nビット、アドレス数が2n−a個(mは
マイクロ命令のビット数、nおよびaは任意の正整数で
、かつm>n>a)で、mX2″ビットの出力幅を有し
、順序制御装置は、記憶装置から読出されたmX2’ビ
ット幅のデータより、別途入力された制御信号にしたが
い1個のマイクロ命令を選択するマルチプレクサと、マ
ルチプレクサにより選択されたマイクロ命令を一時格納
するマイクロ命令レジスタと、マイクロ命令レジスタか
ら出力されたマイクロ命令に含まれるnビットのアドレ
ス情報を入力し、その出力中のn−aビットのアドレス
で記憶装置をアクセスするアドレスレジスタと、アドレ
スレジスタから残りのaビットのアドレス情報を入力し
て、出力されたマイクロ命令の実行結果にもとづく分岐
命令が入力されたときは該分岐命令により該アドレス情
報を修飾し、分岐命令が無いときは該アドレス情報のま
まとして、それぞれのアドレス情報から前記制御信号を
生成する分岐判定回路を有している。
The storage device of the microprogram memory circuit of the present invention includes:
The capacity is m x 2n bits, the number of addresses is 2n-a (m is the number of microinstruction bits, n and a are any positive integers, and m > n > a), and it has an output width of m x 2'' bits. The sequence control device includes a multiplexer that selects one microinstruction from m×2' bit width data read from the storage device according to a control signal input separately, and a multiplexer that temporarily stores the microinstruction selected by the multiplexer. an address register that inputs the n-bit address information included in the microinstruction output from the microinstruction register and accesses the storage device using the n-a bit address in the output; The address information of the remaining a bits is input, and when a branch instruction based on the execution result of the output microinstruction is input, the address information is modified by the branch instruction, and when there is no branch instruction, the address information is It has a branch determination circuit that generates the control signal from each address information.

〔作用〕[Effect]

このように、単一の記憶装置と単一のマイクロ命令レジ
スタを用いて簡素化された構成により。
Thus, with a simplified configuration using a single storage device and a single microinstruction register.

従来回路と全く同様に、記憶装置から読出された複数の
マイクロ命令中から、必要とされたとき条件分岐にも応
じて、ブイクロ命令を選択して順次に出力することがで
きる。
Just like the conventional circuit, microinstructions can be selected and sequentially output from a plurality of microinstructions read out from the storage device, depending on conditional branching when necessary.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して説明する
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明のマイクロプログラムメモリ回路の一実
施例を示すブロック図である。
FIG. 1 is a block diagram showing one embodiment of the microprogram memory circuit of the present invention.

記憶装置1はマイクロ命令を記憶する単一の記憶装置で
、その容量がm×2nビット、アドレス数が2ト1個(
mはブイクロ命令のビット数、nおよびaは任意の正整
数で、かつm > n > a )で、m×2nビット
の出力幅を有している。マルチプレクサ2は、記憶装置
lから読出された1組のmX2°ビット幅のデータから
、制御信号にしたがい1個のマイクロ命令を選択する。
The storage device 1 is a single storage device that stores microinstructions, and its capacity is m x 2n bits and the number of addresses is 2 tons (1).
m is the number of bits of the BIC instruction, n and a are arbitrary positive integers, and m>n>a), and has an output width of m×2n bits. The multiplexer 2 selects one microinstruction from a set of m×2° bit width data read from the storage device 1 according to a control signal.

マイクロ命令レジスタ3は、マルチプレクサ2が選択し
た実行されるべきマイクロ命令を一時格納する。アドレ
スレジスタ5は、マイクロ命令レジスタ3から出力され
たマイクロ命令のうち、nビットを次に実行すべきマイ
クロ命令のアドレス情報として経路4を介して入力し、
アドレス情報の上位n −nビットを記憶装置1をアク
セスするアドレス信号として出力する0分岐判定回路6
は、アドレスレジスタ5から残りのnビットのアドレス
情報を受け、もしマイクロ命令レジスタ3から出力され
たマイクロ命令MIの実行結果に基づく分岐命令JUM
Pを与えられたときは、既にアドレスレジスタ5から入
力しているnビットのアドレス情報を該分岐命令JUM
Pにより修飾し、もし分岐命令JUlilPが無いとき
は該アドレス情報をそのままとして、それぞれをデコー
ドすることにより前記マルチプレクサ2の制御信号を生
成し出力する。なお、分岐判定回路6とマルチプレクサ
2を接続する制御信号線7は2a本より構成され、それ
ぞれを介して、マルチプレクサ2に読出される2a個の
マイクロ命令に対応する制御信号が伝達される。
The microinstruction register 3 temporarily stores the microinstruction selected by the multiplexer 2 to be executed. The address register 5 inputs n bits of the microinstruction outputted from the microinstruction register 3 as address information of the microinstruction to be executed next via the path 4;
0 branch determination circuit 6 that outputs the upper n-n bits of address information as an address signal for accessing the storage device 1
receives the remaining n-bit address information from the address register 5, and if it executes the branch instruction JUM based on the execution result of the microinstruction MI output from the microinstruction register 3.
When P is given, the n-bit address information already input from the address register 5 is sent to the corresponding branch instruction JUM.
If there is no branch instruction JUlilP, the address information is left as is and the control signal for the multiplexer 2 is generated and output by decoding each of them. Note that the control signal line 7 connecting the branch determination circuit 6 and the multiplexer 2 is composed of 2a lines, and control signals corresponding to 2a microinstructions read out to the multiplexer 2 are transmitted via each line.

次に、本実施例の動作を説明する。Next, the operation of this embodiment will be explained.

マイクロ命令はその中に次に実行すべきマイクロ命令の
アドレス情報としてnビットのアドレスフィールドを有
しており、まず、マイクロ命令レジスタ3よりアドレス
情報を除<m−nビットのデータがマイクロ命令Mlと
して出力され、マイクロプログラムの実行が開始される
。これと並行して、アドレスフィールドのアドレス情報
nビットが経路4を介してアドレスレジスタ5に伝達さ
れ、アドレスレジスタ5の出力のうち、下位nビットは
分岐判定回路6に伝達され、残りのn−nビットはアク
セスのためのアドレスとして記憶装置lに与えられてそ
の読出しが開始される。一方1分岐判定回路6では、仮
にそのとき実行されているマイクロ命令が条件分岐命令
であり、その実行結果が分岐を要求するものとなったと
きは(例えば、演算結果がオーバフローしたときなど)
、その旨を伝える分岐信号JUMPによって、既に与え
られているnビットのアドレス情報の一部または全部に
対して修飾が行われ、さらにそれがデコードされること
により、マルチプレクサ2との間の2nL木の制御信号
線7のうち対応するただ1本だけが活性化される。した
がって、この出力は記憶装置lの読出しが終了するのと
前後してマルチプレクサ2に制御信号として与えられる
ことになり、読出された2n個のマイクロ命令の中から
活性化された1本の制御信号線7に対応するアドレスの
マイクロ命令が選択され、条件分岐の命令が1サイクル
で完了する0分岐判定回路6に入力されたnビットのア
ドレス情報が全く修飾されないということは正規順序の
動作が行われていることを意味し、記憶装置lにおける
マイクロ命令の配列もそれにしたがったものとなる。
The microinstruction has an n-bit address field as address information for the next microinstruction to be executed. First, the address information is removed from the microinstruction register 3, and the data of m−n bits is stored in the microinstruction Ml. is output and the microprogram starts running. In parallel with this, n bits of address information in the address field are transmitted to the address register 5 via the path 4, and of the output of the address register 5, the lower n bits are transmitted to the branch decision circuit 6, and the remaining n- The n bits are given to the memory device l as an address for access and reading thereof is started. On the other hand, in the 1-branch determination circuit 6, if the microinstruction being executed at that time is a conditional branch instruction and the execution result requests a branch (for example, when the operation result overflows),
, a part or all of the n-bit address information that has already been given is modified by the branch signal JUMP that conveys this fact, and is further decoded to create a 2nL tree with multiplexer 2. Only one of the corresponding control signal lines 7 is activated. Therefore, this output is given as a control signal to the multiplexer 2 before and after the readout of the storage device 1 is completed, and one control signal is activated from among the 2n microinstructions read out. The fact that the n-bit address information input to the 0-branch determination circuit 6 where the microinstruction at the address corresponding to line 7 is selected and the conditional branch instruction completes in one cycle is not modified at all means that operations are performed in the normal order. This means that the microinstructions in the storage device I are arranged accordingly.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、単一の記憶装置および単
一のマイクロ命令レジスタを用い、かつより少ない配線
構成により、従来例とまったく同等の動作が可能なもの
とすることにより、ハードウェア数の著しい減少と配線
の簡素化を図ることができ、また、マイクロプログラム
を記憶する記憶装置における同時に読出される複数側の
マイクロ命令の物理的な配置組合せの自由度も、分離独
立した多数の記憶装置を用いた場合に比べて高く、特に
、同時に読出されるマイクロ命令の対応するビットをそ
れぞれが隣り合うように配置することによりマルチプレ
クサの構成も簡素化でき、マイクロ命令レジスタと合せ
て記憶装置と一体化された規則性のよい設計が容易なマ
イクロプログラムメモリ回路を供給できる効果がある。
As explained above, the present invention uses a single storage device and a single microinstruction register, and enables the same operation as the conventional example with a smaller wiring configuration, thereby reducing the number of hardware. In addition, the degree of freedom in the physical arrangement and combination of microinstructions on multiple sides that are read simultaneously in the storage device that stores the microprograms can be significantly reduced, and the degree of freedom in the physical arrangement and combination of microinstructions on multiple sides in the storage device that stores the microprograms can be significantly reduced. In particular, the configuration of the multiplexer can be simplified by arranging corresponding bits of microinstructions that are read at the same time adjacent to each other, and the structure of the multiplexer can be simplified in conjunction with the microinstruction register. This has the effect of providing an integrated microprogram memory circuit that is easy to design with good regularity.

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

第1図は本発明のマイクロプログラムメモリ回路の一実
施例を示すブロック図、第2図はマイクロプログラムメ
モリ回路の従来例を示すブロック図である。 1・・・・・・記憶装置、 2・・・・・・マルチプレクサ、 3・・・・・・マイクロ命令レジスタ、4・・・・・・
経路、 5・・・・・・アドレスレジスタ、 6・・・・・・分岐判定回路、 7・・・・・・制御信号線。 JUMP・・・分岐信号、 Ml・・・・・・マイクロ命令。 特許出願人  日本電気株式会社 第1図
FIG. 1 is a block diagram showing an embodiment of the microprogram memory circuit of the present invention, and FIG. 2 is a block diagram showing a conventional example of the microprogram memory circuit. 1...Storage device, 2...Multiplexer, 3...Microinstruction register, 4...
Route, 5...Address register, 6...Branch judgment circuit, 7...Control signal line. JUMP...Branch signal, Ml...Micro instruction. Patent applicant: NEC Corporation Figure 1

Claims (1)

【特許請求の範囲】 マイクロプログラムが格納される記憶装置と、記憶装置
からマイクロ命令を順次に読出す順序制御装置よりなる
マイクロプログラムメモリ回路であって、 前記記憶装置は、容量がm×2^nビット、アドレス数
が2^n^−^a個(mはマイクロ命令のビット数、n
およびaは任意の正整数で、かつm>n>a)で、m×
2^aビットの出力幅を有し、前記順序制御装置は、記
憶装置から読出されたm×2^aビット幅のデータより
、別途入力された制御信号にしたがい1個のマイクロ命
令を選択するマルチプレクサと、マルチプレクサにより
選択されたマイクロ命令を一時格納するマイクロ命令レ
ジスタと、マイクロ命令レジスタから出力されたマイク
ロ命令に含まれるnビットのアドレス情報を入力し、そ
の出力中のn−aビットのアドレスで記憶装置をアクセ
スするアドレスレジスタと、アドレスレジスタから残り
のaビットのアドレス情報を入力して、出力されたマイ
クロ命令の実行結果にもとづく分岐命令が入力されたと
きは該分岐命令により該アドレス情報を修飾し、分岐命
令が無いときは該アドレス情報のままとして、それぞれ
のアドレス情報から前記制御信号を生成する分岐判定回
路を有するマイクロプログラムメモリ回路。
[Scope of Claim] A microprogram memory circuit comprising a storage device in which a microprogram is stored and a sequence control device that sequentially reads microinstructions from the storage device, the storage device having a capacity of m×2^. n bits, number of addresses is 2^n^-^a (m is the number of bits of microinstruction, n
and a is any positive integer, and m>n>a), m×
The sequence control device has an output width of 2^a bits, and the sequence control device selects one microinstruction from data of m x 2^a bit width read from the storage device according to a control signal input separately. A multiplexer, a microinstruction register that temporarily stores the microinstruction selected by the multiplexer, and n-bit address information included in the microinstruction output from the microinstruction register are input, and the n-a bit address in the output is input. When a branch instruction based on the execution result of the output microinstruction is input by inputting the address register for accessing the storage device and the address information of the remaining a bits from the address register, the address information is input by the branch instruction. A microprogram memory circuit comprising a branch determination circuit that modifies the address information and generates the control signal from each address information while leaving the address information as it is when there is no branch instruction.
JP4428887A 1987-02-26 1987-02-26 Microprogram memory circuit Pending JPS63208942A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4428887A JPS63208942A (en) 1987-02-26 1987-02-26 Microprogram memory circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4428887A JPS63208942A (en) 1987-02-26 1987-02-26 Microprogram memory circuit

Publications (1)

Publication Number Publication Date
JPS63208942A true JPS63208942A (en) 1988-08-30

Family

ID=12687316

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4428887A Pending JPS63208942A (en) 1987-02-26 1987-02-26 Microprogram memory circuit

Country Status (1)

Country Link
JP (1) JPS63208942A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007102356A1 (en) * 2006-02-22 2007-09-13 Ricoh Company, Ltd. Image processing method, recorded matter, program, image processing apparatus, image forming apparatus, image forming system and ink

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007102356A1 (en) * 2006-02-22 2007-09-13 Ricoh Company, Ltd. Image processing method, recorded matter, program, image processing apparatus, image forming apparatus, image forming system and ink

Similar Documents

Publication Publication Date Title
JPH0374434B2 (en)
US4541045A (en) Microprocessor architecture employing efficient operand and instruction addressing
US3953833A (en) Microprogrammable computer having a dual function secondary storage element
KR940005202B1 (en) Bit order inverting device
US4467415A (en) High-speed microprogram control apparatus with decreased control storage requirements
NO141105B (en) DATA PROCESSING SYSTEM WHICH HAS A HIGH-SPEED BUFFER STORAGE - DATA TRANSFER DEVICE BETWEEN A MAIN STORAGE AND A CENTRAL PROCESSING UNIT
US20240004663A1 (en) Processing device with vector transformation execution
JPS63208942A (en) Microprogram memory circuit
JPH10116226A (en) Address array device of semiconductor storage device
JPS6288031A (en) Register filing system
JPS60189538A (en) Microprogram control unit and data processor using the same
JPS58186846A (en) Microprogram controller
JPS61173342A (en) Control memory branch system
JPS6221129B2 (en)
JP2576589B2 (en) Virtual storage access control method
JPS63141131A (en) Pipeline control system
JPH0778722B2 (en) Register file method
JPH0668055A (en) Digital signal processor
JPH0412850B2 (en)
JPH1074190A (en) Parallel processor
JPH01149132A (en) Parallel data processing control method
JPH0778730B2 (en) Information processing equipment
JPH0218732B2 (en)
JPH0625966B2 (en) Micro program controller
JPH02105936A (en) Data processor