JPH02252024A - Microprogram loading system - Google Patents

Microprogram loading system

Info

Publication number
JPH02252024A
JPH02252024A JP7209289A JP7209289A JPH02252024A JP H02252024 A JPH02252024 A JP H02252024A JP 7209289 A JP7209289 A JP 7209289A JP 7209289 A JP7209289 A JP 7209289A JP H02252024 A JPH02252024 A JP H02252024A
Authority
JP
Japan
Prior art keywords
microprogram
bank
memory
control
circuit
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
JP7209289A
Other languages
Japanese (ja)
Inventor
Masayuki Ishigami
正之 石上
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP7209289A priority Critical patent/JPH02252024A/en
Publication of JPH02252024A publication Critical patent/JPH02252024A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PURPOSE:To attain plural processing more than the capacity of a memory without dropping a processing speed by connecting plural banks to be independently accessed to control a control memory, and loading a microprogram to another bank during the execution of the microprogram. CONSTITUTION:The microprogram controlled by a general microprocessor and loaded to a bank WCS1 in control memory 13 to be a RAM based upon a sequencer 11 is read out to execute the program. On the other hand, an WCS selection control circuit 17 uses a bank WCS2 capable of independently accessing the bank WCS1 by address information from the sequencer 11 as the succeeding loading bank to load the microprogram to the WCS2. When the execution of the program is advanced, the bank WCS1 is loaded by the circuit 17, the WCS2 is switched to the executing bank. The repeat of such operations makes more than the capacity of the memory 13 without dropping the processing capacity execution of complex microprogram possible.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はマイクロプログラム制御のデータ処理装置にお
けるマイクロプログラムロード方式に係り、特に容量の
制限された書込み可能制御メモリを備えたマイクロプロ
グラム制御の特定用途向き集積回路に好適なマイクロプ
ログラムロード方式〔従来の技術〕 LSI技術の進歩により、それぞれの用途に向いた集積
回路が開発されるようになってきており。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a microprogram loading method in a microprogram-controlled data processing device, and particularly to the specification of a microprogram control equipped with a writable control memory having a limited capacity. Microprogram loading method suitable for application-specific integrated circuits [Conventional technology] Advances in LSI technology have led to the development of integrated circuits suitable for various applications.

特にマイクロプログラム制御の集積回路(マイクロプロ
グラム制御LSI)は回路設計の容易性や機能変更や追
加等に対して柔軟に対応できる利点を有している。この
マイクロプログラム制御の集積回路には、マイクロプロ
グラムを格納する制御メモリ(C8)を外部に備える場
合と集積回路に内蔵する場合があるが、処理速度やピン
数の面から内蔵するのが一般的であり、更に機能の変更
や追加等に柔軟に対応するために、通常、書込み可能な
RAMで構成される。
In particular, microprogram controlled integrated circuits (microprogram controlled LSIs) have the advantage of ease of circuit design and flexibility in responding to functional changes and additions. This microprogram-controlled integrated circuit may have a control memory (C8) that stores the microprogram externally, or it may be built into the integrated circuit, but it is generally built in from the standpoint of processing speed and number of pins. Furthermore, in order to flexibly respond to changes and additions of functions, it is usually configured with a writable RAM.

この種のマイクプログラム制御LSIの従来の構成例を
第3図に示す、第3図において、制御メモリ33は書込
み可能なRAMで構成され、以下、これをWC5(Wr
itable Conrol 5tore)と称す、電
源投入時のような起動時、外部メモリ等からマイクロプ
ログラムがデータ切替回路34を介してWC833にロ
ードされる。この時、WCS33のロードアドレスは、
ロードアドレス生成回路3Gからアドレス切替回路32
を介して与えられる。このロードアドレス生成回″j6
36は、汎用マイクロプロセッサ等からの制御信号でロ
ードに先立って初期化され、WC833に1マイクロ命
令が書込まれるごとにインクリメントされる。通常の動
作時は、マイクロプログラムの実行順序を制御するシー
ケンサ31からの次マイクロ命令アドレスがアドレス切
替回路32を介してWC833に与えられ、WC833
から読出されたマイクロ命令がデータ切替回路34を介
してマイクロ命令レジスタ35にセラ1−され、該マイ
クロ命令が実行されるや同時に、このマイクロ命令レジ
スタ25の実行中のマイクロ命令の次アドレス制御フィ
ールドがシーケンサ31に取込まれ、シーケンサ31に
よって次マイクロ命令アドレスが生成される。
An example of the conventional configuration of this type of microphone program control LSI is shown in FIG. 3. In FIG.
At startup, such as when the power is turned on, a microprogram is loaded into the WC 833 from an external memory or the like via the data switching circuit 34. At this time, the load address of WCS33 is
From the load address generation circuit 3G to the address switching circuit 32
given through. This load address generation time ``j6
36 is initialized prior to loading by a control signal from a general-purpose microprocessor or the like, and is incremented every time one microinstruction is written to the WC833. During normal operation, the next microinstruction address from the sequencer 31 that controls the execution order of microprograms is given to the WC833 via the address switching circuit 32.
The micro-instruction read from the micro-instruction register 35 is transferred to the micro-instruction register 35 via the data switching circuit 34, and as soon as the micro-instruction is executed, the next address control field of the micro-instruction being executed in the micro-instruction register 25 is stored. is taken into the sequencer 31, and the sequencer 31 generates the next microinstruction address.

(発明が解決しようとするii!!り 従来技術では、電源投入時といった起動時に外部メモリ
等からWC8にマイクロプログラムをロードするだけで
あり、使用するWC8の容量以上のマイクロブ1コグラ
ムを処理速度を低下させることなく実行することはでき
ず、特にWC8を内蔵するマイクロプログラム制御LS
Iでは、チップ面積の制約から内蔵でさるWC8容斌に
は制限があり、複雑な処理機能を実現する妨げとなって
いた。
(ii!!) In the conventional technology, the microprogram is simply loaded from an external memory to the WC8 at startup, such as when the power is turned on. Microprogram controlled LS with built-in WC8 cannot be executed without deterioration.
In I, the built-in WC8 capacity was limited due to chip area constraints, which hindered the realization of complex processing functions.

本発明の目的は、容量の制限されたWC8を備えたマイ
クロプログラム制御の集積回路において。
The object of the invention is to provide a microprogram controlled integrated circuit with a WC8 of limited capacity.

該WC8容蓄以上のマイクロプログラムを処理速度を低
下させることなく実行できるようにして。
To be able to execute a microprogram with a capacity of WC8 or more without reducing processing speed.

この種のマイクロプログラム制御LSIで複雑な処理を
可能どするマイクロプログラムロード方式を提供するこ
とにある。
The object of the present invention is to provide a microprogram loading method that enables complex processing with this type of microprogram controlled LSI.

〔課題を解決するための手段〕[Means to solve the problem]

上記目的を達成するために、本発明は、マイクロプログ
ラムを格納する制御メモリを独立にアクセス可能な複数
バンクからなる書込み可能メモリで構成し、あるバンク
に格納されたマイクロプログラムの実行中に他のバンク
にマイクロプログラムをロードすることを特徴とするも
のである。
In order to achieve the above object, the present invention comprises a control memory that stores microprograms as a writable memory consisting of multiple banks that can be accessed independently, and that while a microprogram stored in one bank is being executed, other It is characterized by loading a microprogram into a bank.

〔作 用〕[For production]

ある処理機能を実現するのに、約1200ステツプのマ
イクロプログラムが必要であり、そのための専用LSI
には高々5J、2ステツプ(マイク口語)分のメモリし
か内蔵できないとする。この場合、256ステツプづつ
の2バンクWC8構成とし、マイクロプログラムを25
6ステツプ以内の複数の独立した。逐次実行モジュール
に分割しく例えば、240,200,230,2]、0
,150.170というように)、一方のバンクのマイ
クロプログラム・モジュールの実行中に他のバンクにマ
イクロプログラム・モジュールをロードする動作を繰返
すことにより、WaS容量以上のマイクロプログラムの
実行が処理速度を低下させることなく実現できる。上記
の例の場合、256ステツプ以内の独立した逐次実行モ
ジュールという制約はあるが、マイクロプログラムでは
、全体として大きな容量は必要な機能の場合も、それを
実現する個々の処理ステップはそれほど大きくなること
はないので問題とならない。
A microprogram of approximately 1200 steps is required to realize a certain processing function, and a dedicated LSI is required for that purpose.
It is assumed that the device can only have a built-in memory of 5J, or 2 steps (microphone colloquial language) at most. In this case, the configuration is 2 banks of WC8 each with 256 steps, and the microprogram is 256 steps each.
Multiple independent steps within 6 steps. For example, 240, 200, 230, 2], 0
, 150, 170), by repeating the operation of loading a microprogram module into another bank while a microprogram module in one bank is being executed, the processing speed can be increased by executing microprograms that exceed the WaS capacity. This can be achieved without any deterioration. In the case of the above example, there is a constraint to an independent sequential execution module within 256 steps, but in a microprogram, even if the function requires a large capacity as a whole, the individual processing steps to realize it may not be that large. There is no problem, so it is not a problem.

〔実施例〕〔Example〕

以下、本発明の一実施例について図面により説明する。 An embodiment of the present invention will be described below with reference to the drawings.

第1図は本発明の一実施例の構成図である1本実施例で
は、マイクロプログラムを格納する書込み可能制御メモ
リ(WCS ) 13は、各々独立にアクセス可能な2
パンクWC8]、、、WC82よりなるとしている。マ
イクロ命令!ノジスタ15は実行中のマイクロ命令を保
持している。シーケンサ11はマイクロ命令レジスタ1
5中のマイクロ命令の次アドレス制御フィールドや演算
部(図示せず)からの信号を入力として次に実行すべき
マイクロ命令の保持されたWC8I−あるいはWC52
の読出しアドレスを出力する。ロードアドレス生成回路
16は、外部のメモリからマイクロプログラムをロード
する際にwcsi、あるいはWC82の書込みアドレス
を生成する。WCS選択回路12.14は、実行中のマ
イクロプログラムを保持しているWC8IあるいはWC
82及び外部からマイクロプログラムをロードする同W
C8IあるいはWO82を選択してアドレスやマイクロ
命令を入出力する回路である。WCS選択制御回路17
は、シーケンサ11からのアドレス情報にもとづいてW
C8選択回路12.14を制御する回路である。なお、
シーケンサ11すなわちマイクロプログラムから見て、
WO81とWO82は連続した同一のアドレス空間にお
かれ、このアドレスの最上位ビットを使ってWC8I、
2の選択が行われるとする。WCS識別信号は現在実行
中のWO2を示す。
FIG. 1 is a block diagram of one embodiment of the present invention. In this embodiment, there are two writable control memories (WCS) 13 that store microprograms, each of which can be accessed independently.
Punk WC8], ..., WC82. Micro instructions! Nogistor 15 holds the microinstruction being executed. Sequencer 11 is microinstruction register 1
WC8I- or WC52, which holds the next microinstruction to be executed by inputting the next address control field of the microinstruction in 5 or a signal from the calculation unit (not shown).
Outputs the read address. The load address generation circuit 16 generates a write address for the wcsi or WC82 when loading a microprogram from an external memory. The WCS selection circuit 12.14 selects the WC8I or WC that holds the microprogram being executed.
82 and the same W that loads the microprogram from the outside.
This circuit inputs and outputs addresses and microinstructions by selecting C8I or WO82. WCS selection control circuit 17
is based on the address information from the sequencer 11.
This is a circuit that controls the C8 selection circuits 12 and 14. In addition,
From the perspective of the sequencer 11, that is, the microprogram,
WO81 and WO82 are placed in the same consecutive address space, and using the most significant bit of this address, WC8I,
Suppose that selection 2 is made. The WCS identification signal indicates the WO2 currently being executed.

第2図にシステム全体の構成例を示す、これは、第1図
の構成をとるマイクロプログラム制御の特定用途向きL
SI21.全体を制御する汎用のマイクロプロセッサ2
2、マイクロプロセッサ22のプログラムやデータを保
持するメモリ23、特定用途向きLSI21からのWC
8識別信号からマイクロプロセッサ22への割込み要求
信号を生成する割込み生成部24.及びデータバス25
゜アドレスバス26からなる。LSI21へロードされ
るマイクロプログラムは、マイクロプロセッサ22のデ
ータとしてメモリ23へ保持されており、マイクロプロ
セッサ22の制御のもとに適宜LSI21のWC8Iあ
るいはWO52にロードされる1割込み生成部24はL
S I 21からのWCSg別信号から、WO2の切替
りを示す割込み要求信号を生成し、この割込み要求に応
えてマイクロプロセッサ22がメモリ23から必要なマ
イクロプログラムを読出し、LSI21へ転送する。
Figure 2 shows an example of the overall system configuration.
SI21. General-purpose microprocessor 2 that controls the entire system
2. Memory 23 that holds programs and data of the microprocessor 22, WC from the LSI 21 for specific applications
an interrupt generating section 24 that generates an interrupt request signal to the microprocessor 22 from the .8 identification signal; and data bus 25
゜It consists of an address bus 26. The microprogram loaded into the LSI 21 is held in the memory 23 as data of the microprocessor 22, and the 1-interrupt generation unit 24 is loaded into the WC8I or WO52 of the LSI 21 as appropriate under the control of the microprocessor 22.
An interrupt request signal indicating switching of WO2 is generated from the WCSg separate signal from the SI 21, and in response to this interrupt request, the microprocessor 22 reads a necessary microprogram from the memory 23 and transfers it to the LSI 21.

次に、第1図の動作を説明する。ここで、マイクロプロ
グラムを、1バンクあたりのWO2にロードできる容量
と実行順序にもとづいてpi、p2、P3.P4.P5
.P6と分け(局所的にP2からPlへ戻るといった分
岐等は無いように分割する)、必要とする特定の処理機
能はPL、P2、P3.P4.P5.P6の順にマイク
ロプログラムを繰返し、実行することにより実現される
ものとする。
Next, the operation shown in FIG. 1 will be explained. Here, microprograms are loaded into pi, p2, P3, etc. based on the capacity that can be loaded into WO2 per bank and the execution order. P4. P5
.. The specific processing functions required are PL, P2, P3. P4. P5. It is assumed that this is realized by repeatedly executing the microprogram in the order of P6.

まず、汎用マイクロプロセッサ22の制御下などで、W
CS選択制御回路17により制御メモリ13のWC5I
がロードWC8とされるとともに。
First, under the control of the general-purpose microprocessor 22, W
WC5I of the control memory 13 by the CS selection control circuit 17
was designated as Road WC8.

ロードアドレス生成回路16が初期化される。その後、
汎用マイクロプロセッサ22によりメモリ23からマイ
クロプログラムの21部分が読出され、WCS選択回路
14を介してwcsiに書込まれる。この時のwcsi
のアドレスはロードアドレス生成回路16からWC8選
択回路12を介して与えられ、1マイクロ命令が書込ま
れるごとに自動的にインクリメントされる。WO51へ
の書込み信号はロードデータの転送と同期して与えられ
る。
Load address generation circuit 16 is initialized. after that,
21 portions of the microprogram are read from memory 23 by general-purpose microprocessor 22 and written to wcsi via WCS selection circuit 14. wcsi at this time
The address is given from the load address generation circuit 16 via the WC8 selection circuit 12, and is automatically incremented every time one microinstruction is written. A write signal to the WO 51 is given in synchronization with the transfer of load data.

マイクロプログ5421部分がWC5Iにロードされる
と、汎用マイクロプロセッサ22より読動がかけられ、
シーケンサ11にもとづいて、該W(:Slにロードさ
れたマイクロプログラムの21部分の実行が開始される
。一方、WCS選択制御回路17はシーケンサ11から
のアドレス情報によりWO82を次のロードWC8とす
る。これにより、次にメモリ23より読出されるマイク
ロプログラムの22部分は制御メモリ13のWO82に
ロードされる。
When the microprogram 5421 part is loaded into the WC5I, the general-purpose microprocessor 22 reads and writes it.
Based on the sequencer 11, execution of part 21 of the microprogram loaded into the W(:Sl) is started. On the other hand, the WCS selection control circuit 17 selects WO82 as the next load WC8 based on the address information from the sequencer 11. As a result, the 22 portions of the microprogram to be read next from the memory 23 are loaded into the WO 82 of the control memory 13.

マイクロプログラムの実行が進み、22部分に移ると、
WC8選択制御回路17によりWC8IがロードWCS
に、WO82が実行WCSに選択され、また、WC8識
別信号によりWO2の切替りが割込み生成部24に通知
される0割込み生成部24では、WO2の切替りを示す
割込み要求信号を生成し、これを受けてマイクロプロセ
ッサ22はロードアドレス生成回路16をWC5Iの先
頭に初期化して、マイクロプログラムの23部分をメモ
リ23より読出してWC5Iにロードする。
As the microprogram progresses and moves to part 22,
WC8I is loaded WCS by WC8 selection control circuit 17
Then, WO82 is selected as the execution WCS, and the interrupt generation unit 24 is notified of the switching of WO2 by the WC8 identification signal.The interrupt generation unit 24 generates an interrupt request signal indicating the switching of WO2. In response, the microprocessor 22 initializes the load address generation circuit 16 to the beginning of the WC5I, reads 23 portions of the microprogram from the memory 23, and loads them into the WC5I.

以下同様に、マイクロプログラムの24部分はWO52
に、25部分はWC5Iに、26部分はWO52に、実
行と並行して順次ロードされる。
Similarly, the 24th part of the microprogram is written in WO52.
Then, the 25th part is loaded into the WC5I and the 26th part is loaded into the WO52 in parallel with execution.

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

以上説明したように1本発明によれば、マイクロプログ
ラム制御の特定用途向きLSI等において、チップに内
蔵された書込み可能制御メモリの容量以上のマイクロプ
ログラムを処理速度を低下させること無く、実行するこ
とが可能と成る。従ってかなり大きいマイクロプログラ
ムを必要とする複雑な処理の高機能処理が実現できるい
As explained above, according to the present invention, in a microprogram-controlled LSI for specific applications, a microprogram larger than the capacity of the writable control memory built into the chip can be executed without reducing the processing speed. becomes possible. Therefore, it is possible to realize high-performance processing of complex processing that requires a fairly large microprogram.

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

第1図は本発明のマイクロプログラムロード方式の一実
施例の構成図、第2図は第1図の構成マイクロプログラ
ム制御LSIを使用するシステムの一例を示す図、第3
図は従来のマイクロプログラムロード方式を説明する図
である。 11・・・シーケンサ、  12,14・・・WCS選
択回路、 13・・・制御メモリ、 】−5・・・マイ
クロ命令レジスタ、  16・・・ロードアドレス生成
回路、 17・・・WCS選択ル制御回路。 第3図
FIG. 1 is a block diagram of an embodiment of the microprogram loading method of the present invention, FIG. 2 is a diagram showing an example of a system using the microprogram control LSI configured in FIG. 1, and FIG.
The figure is a diagram illustrating a conventional microprogram loading method. DESCRIPTION OF SYMBOLS 11... Sequencer, 12, 14... WCS selection circuit, 13... Control memory, ]-5... Micro instruction register, 16... Load address generation circuit, 17... WCS selection control circuit. Figure 3

Claims (1)

【特許請求の範囲】[Claims] (1)マイクロプログラム制御のデータ処理装置におい
て、マイクロプログラムを格納する制御メモリを独立に
アクセス可能な複数バンクからなる書込み可能メモリで
構成し、あるバンクに格納されたマイクロプログラムの
実行中に他のバンクにマイクロプログラムをロードする
ことを特徴とするマイクロプログラムロード方式。
(1) In a microprogram-controlled data processing device, the control memory that stores the microprogram is composed of a writable memory consisting of multiple banks that can be accessed independently, and while a microprogram stored in one bank is being executed, other A microprogram loading method characterized by loading a microprogram into a bank.
JP7209289A 1989-03-24 1989-03-24 Microprogram loading system Pending JPH02252024A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7209289A JPH02252024A (en) 1989-03-24 1989-03-24 Microprogram loading system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7209289A JPH02252024A (en) 1989-03-24 1989-03-24 Microprogram loading system

Publications (1)

Publication Number Publication Date
JPH02252024A true JPH02252024A (en) 1990-10-09

Family

ID=13479419

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7209289A Pending JPH02252024A (en) 1989-03-24 1989-03-24 Microprogram loading system

Country Status (1)

Country Link
JP (1) JPH02252024A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06187146A (en) * 1992-03-31 1994-07-08 Internatl Business Mach Corp <Ibm> Apparatus for storage of firmware

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06187146A (en) * 1992-03-31 1994-07-08 Internatl Business Mach Corp <Ibm> Apparatus for storage of firmware

Similar Documents

Publication Publication Date Title
US4314333A (en) Data processor
WO1994003860A1 (en) Massively parallel computer including auxiliary vector processor
US5455955A (en) Data processing system with device for arranging instructions
US20040193840A1 (en) Active memory command engine and method
KR100288170B1 (en) Data processor with a compute unit that shares a set of register files
JPH067380B2 (en) Multiprocessor system
JPH02252024A (en) Microprogram loading system
JP2000284964A (en) Efficient sub-instruction emulation in vliw processor
US5893928A (en) Data movement apparatus and method
JP2731618B2 (en) emulator
JPH05151369A (en) Integrated circuit
JPH02214938A (en) Data processor
JP2883489B2 (en) Instruction processing unit
JPH04175924A (en) Multi-os execution system
JPH0778730B2 (en) Information processing equipment
JPH01205339A (en) Microcomputer system
JPH01266651A (en) Semiconductor memory device
JPS6379162A (en) Control system for transferring processor data
JPS61240332A (en) Processor control system
JPH0512107A (en) Program execution system
JPS58182772A (en) Storage device having transfer function
JPS62194545A (en) Program rewriting device for data flow type computer
JPH04188323A (en) Microinstruction reading out system
JPH0319570B2 (en)
JPS62109285A (en) Switching circuit for ram bank of microcomputer