Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH024008B2 - - Google Patents
[go: Go Back, main page]

JPH024008B2 - - Google Patents

Info

Publication number
JPH024008B2
JPH024008B2 JP216384A JP216384A JPH024008B2 JP H024008 B2 JPH024008 B2 JP H024008B2 JP 216384 A JP216384 A JP 216384A JP 216384 A JP216384 A JP 216384A JP H024008 B2 JPH024008 B2 JP H024008B2
Authority
JP
Japan
Prior art keywords
data
control data
program
micro
parameter
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
JP216384A
Other languages
Japanese (ja)
Other versions
JPS60146329A (en
Inventor
Juichiro Fujihashi
Akira Fukui
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 JP216384A priority Critical patent/JPS60146329A/en
Publication of JPS60146329A publication Critical patent/JPS60146329A/en
Publication of JPH024008B2 publication Critical patent/JPH024008B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔発明の技術分野〕 この発明は複数の機能または特性のうち1つを
選択してこれを実現するマイクロ・プログラム制
御処理装置の起動方法に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a method for starting a microprogram-controlled processing device that selects and implements one of a plurality of functions or characteristics.

〔従来技術〕[Prior art]

従来、複数の機能または特性のうち1つを選択
して実現するマイクロ・プログラム制御処理装置
では、第1図に示すような起動方法が用いられて
いる。第1図の例は、選択できる機能または特性
の種類を4種類とし、マイクロ・プログラムのス
タート1、初期設定部2、制御データ読み取り部
3、制御データ判別部4、パラメータ設定マイク
ロ・プログラム5,6,7,8及び処理マイク
ロ・プログラム9,10,11,12より構成さ
れる。
BACKGROUND ART Conventionally, a startup method as shown in FIG. 1 has been used in a microprogram control processing device that selects and implements one of a plurality of functions or characteristics. In the example shown in FIG. 1, there are four types of functions or characteristics that can be selected: micro program start 1, initial setting section 2, control data reading section 3, control data discriminating section 4, parameter setting micro program 5, 6, 7, 8 and processing micro programs 9, 10, 11, 12.

このような構成において、先ず、初期設定部2
によつてレジスタ、フラグの初期設定を行ない、
次に制御データ読み取り部3によつて制御データ
を内部レジスタに読み取る。読み取られた制御デ
ータは制御データ判別部4で判別され、その判別
結果に従つて制御データ判別部4内のジヤンプ・
テーブルが参照され、パラメータ設定マイクロ・
プログラム5,6,7,8のいずれか1つに飛び
先きが指定される。そして選択されたパラメータ
設定マイクロ・プログラム5,6,7,8のいず
れか1つによつて、選択された機能または特性を
実現する為の全パラメータがデータ・メモリに設
定される。
In such a configuration, first, the initial setting section 2
Initialize registers and flags by
Next, the control data reading section 3 reads the control data into the internal register. The read control data is discriminated by the control data discriminator 4, and the jump/jump in the control data discriminator 4 is determined according to the discrimination result.
The table is referenced and the parameter setting micro
A jump destination is specified for any one of programs 5, 6, 7, and 8. All parameters for realizing the selected function or characteristic are set in the data memory by any one of the selected parameter setting microprograms 5, 6, 7, and 8.

各パラメータ設定マイクロ・プログラム5,
6,7,8の次には処理マイクロ・プログラム
9,10,11,12がそれぞれ用意され、各パ
ラメータ設定マイクロ・プログラムと処理マイク
ロ・プログラムが組となりいずれか1つの処理マ
イクロ・プログラムが実行され、制御データによ
つて選択された機能または特性が実現される。
Each parameter setting micro program 5,
Processing micro programs 9, 10, 11, and 12 are prepared next to 6, 7, and 8, respectively, and each parameter setting micro program and processing micro program are paired and one of the processing micro programs is executed. , the selected function or characteristic is realized by the control data.

しかしながら、第1図に示した従来例の場合、
パラメータ設定マイクロ・プログラムは各々、全
パラメータを設定する必要があり、ソフト・ウエ
アが冗長になつてしまい、また処理マイクロ・プ
ログラムが別々に用意されている為、更にソフ
ト・ウエアが冗長となる欠点がある。そして処理
マイクロ・プログラムを共用にして1つにした場
合でも、パラメータ設定マイクロ・プログラムの
冗長性は残り、効率的にマイクロ・プログラム制
御処理装置を起動することはできない。この欠点
を解決するため実現したい機能または特性を選択
する制御データをハードウエアによつて検出する
検出回路を設け、ジヤンプ・テーブルを該検出回
路によつてアクセスして飛び先きを指定すること
によつて、パラメータ設定マイクロ・プログラム
及び処理マイクロ・プログラムを選択し実行させ
る方法が提案されている(特願昭53−133438(特
公昭58−24808))が、この方法の場合、検出回路
を設ける必要があり、ハード・ウエアが冗長にな
るという欠点がある。
However, in the case of the conventional example shown in Fig. 1,
Each parameter setting micro program needs to set all parameters, making the software redundant, and since processing micro programs are prepared separately, the software becomes even more redundant. There is. Even if the processing microprograms are shared and unified, the redundancy of the parameter setting microprograms remains, making it impossible to efficiently start up the microprogram control processing device. In order to solve this drawback, a detection circuit is provided that uses hardware to detect control data for selecting the desired function or characteristic, and the jump table is accessed by the detection circuit to specify the jump destination. Therefore, a method has been proposed in which a parameter setting micro program and a processing micro program are selected and executed (Japanese Patent Application No. 53-133438 (Japanese Patent Publication No. 58-24808)), but this method requires a detection circuit to be provided. The disadvantage is that the hardware is redundant.

〔発明の目的および構成〕[Object and structure of the invention]

したがつてこの発明の目的は、ハード・ウエア
およびソフト・ウエアを冗長にすることのないマ
イクロ・プログラム制御処理装置の起動方法を提
供することにある。
SUMMARY OF THE INVENTION Accordingly, it is an object of the present invention to provide a method for starting a microprogram-controlled processing device without making hardware and software redundant.

このような目的を達成するためにこの発明は、
実現したい機能または特性を選択する為の制御デ
ータをいくつかのデータ・ブロツクに分け、各デ
ータ・ブロツク単位に順次判別し、その判別結果
に従つて、いくつかのパラメータ群に分かれたパ
ラメータをパラメータ群ごとに順次データ・メモ
リに設定していき、最後に共用の処理マイクロ・
プログラムを実行させるようにしたものである。
In order to achieve this purpose, this invention
The control data for selecting the function or characteristic to be realized is divided into several data blocks, each data block is sequentially determined, and according to the determination results, the parameters divided into several parameter groups are set as parameters. The data memory is set sequentially for each group, and finally the shared processing micro-
It is designed to run a program.

以下、実施例を示す図面を用いてこの発明を詳
細に説明する。
Hereinafter, the present invention will be explained in detail using drawings showing embodiments.

〔実施例〕〔Example〕

第2図はこの発明の一実施例を示すフロー・チ
ヤートである。同図において13はマイクロ・プ
ログラムのスタート、14は初期設定部、15は
制御データ読み取り部、16,19は制御データ
判別部、17,18,20,21はパラメータ設
定マイクロ・プログラム、22は処理マイクロ・
プログラムである。本実施例では制御データのデ
ータ・ブロツク数を2とし、選択して実現できる
機能を4種類とする。
FIG. 2 is a flow chart showing one embodiment of the present invention. In the figure, 13 is the start of the micro program, 14 is the initial setting section, 15 is the control data reading section, 16 and 19 are the control data discrimination sections, 17, 18, 20, and 21 are the parameter setting micro program, and 22 is the processing section. micro·
It is a program. In this embodiment, the number of data blocks of control data is 2, and the number of functions that can be selected and implemented is 4 types.

先ず、初期設定部14を実行させ、レジスタ、
フラグ、共通部データ・メモリの初期設定を行な
う。次に、制御データ読み取り部15では制御デ
ータが書き込まれる迄、書き込み待ちの状態にな
る様にプログラム・カウンタが制御され、制御デ
ータを内部レジスタに読み取る処理を行なう。読
み取られた制御データは2つのデータ・ブロツク
よりなり、第1データ・ブロツクは制御データ判
別部16によつて判別され、その判別結果に従つ
てパラメータ設定マイクロ・プログラム17また
は18のいずれかが選択される。選択されたパラ
メータ設定マイクロ・プログラム17あるいは1
8によつて第1のパラメータ群がデータ・メモリ
に設定される。
First, the initial setting section 14 is executed and registers,
Initializes flags and common part data memory. Next, in the control data reading unit 15, the program counter is controlled to be in a writing wait state until the control data is written, and the process of reading the control data into the internal register is performed. The read control data consists of two data blocks, the first data block is discriminated by the control data discriminator 16, and either the parameter setting microprogram 17 or 18 is selected according to the discrimination result. be done. Selected parameter setting micro program 17 or 1
8 sets the first set of parameters in the data memory.

制御データの第2のデータ・ブロツクは、制御
データ判別部19によつて判別され、その結果に
従つてパラメータ設定マイクロ・プログラム20
または21のいずれかが選択される。選択された
パラメータ設定マイクロ・プログラム20あるい
は21によつて第2のパラメータ群がデータ・メ
モリに設定される。最後に、処理マイクロ・プロ
グラム22を実行させると、制御データによつて
選択され設定されたパラメータ群の値に従つて、
指定された機能が実現される。制御データによる
パラメータ群設定の組合せは4通りあり、実現で
きる機能は4種類である。
The second data block of the control data is determined by the control data determining section 19, and the parameter setting micro program 20 is executed according to the result.
or 21 is selected. The second parameter group is set in the data memory by the selected parameter setting microprogram 20 or 21. Finally, when the processing microprogram 22 is executed, according to the values of the parameter group selected and set by the control data,
The specified function is realized. There are four combinations of parameter group settings based on control data, and four types of functions that can be realized.

また、制御データのデータ・ブロツク数を3に
増やせば、パラメータ群設定の組合せは8通りに
なり、機能の切替えが8種類可能となる。
Furthermore, if the number of data blocks of the control data is increased to three, the number of combinations of parameter group settings becomes eight, and eight types of functions can be switched.

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

この発明は以上説明したように、実現したい機
能または特性を選択する制御データをいくつかの
データ・ブロツクに分け、各データ・ブロツク単
位に順次判別し、その判別結果に従つていくつか
のパラメータ群に分れたパラメータをパラメータ
群ごとに順次データ・メモリに設定していき、最
後に共用の処理マイクロ・プログラムを実行させ
るという方法を用いることにより、複数の機能ま
たは特性のうち1つを選択し、実現できるマイク
ロ・プログラム制御処理装置の起動を、より少な
いソフト・ウエア及びハード・ウエアで効率よく
行なえるという効果がある。
As explained above, this invention divides control data for selecting a desired function or characteristic into several data blocks, sequentially determines each data block, and selects several parameter groups according to the results of the determination. One of the multiple functions or characteristics can be selected by sequentially setting parameters in the data memory for each parameter group, and finally executing a shared processing microprogram. This has the effect that the micro program controlled processing device that can be realized can be started up efficiently with less software and hardware.

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

第1図は従来のマイクロ・プログラム制御処理
装置の起動方法の一例を示すフローチヤート、第
2図はこの発明に係るマイクロ・プログラム制御
処理装置の起動方法の一実施例を示すフローチヤ
ートである。 1,13……マイクロ・プログラムのスター
ト、2,14……初期設定部、3,15……制御
データ読み取り部、4,16,19……制御デー
タ判別部、5,6,7,8,17,18,20,
21……パラメータ設定マイクロ・プログラム、
9,10,11,12,22……処理マイクロ・
プログラム。
FIG. 1 is a flowchart showing an example of a conventional method for starting a microprogram control processing device, and FIG. 2 is a flowchart showing an embodiment of a method for starting a microprogram control processing device according to the present invention. 1, 13... Start of micro program, 2, 14... Initial setting section, 3, 15... Control data reading section, 4, 16, 19... Control data determining section, 5, 6, 7, 8, 17, 18, 20,
21...Parameter setting micro program,
9, 10, 11, 12, 22...processing micro-
program.

Claims (1)

【特許請求の範囲】[Claims] 1 データ・メモリに書き込まれたパラメータの
値により機能または特性が変わる処理マイクロ・
プログラムとパラメータ群を設定する1つ以上の
パラメータ設定マイクロ・プログラムより構成さ
れるマイクロ・プログラム制御処理装置におい
て、1つ以上のデータ・ブロツクよりなり各デー
タ・ブロツクはパラメータ群設定情報を有する制
御データが書き込まれた後は制御データをデー
タ・ブロツク単位に判別し、その判別結果に従つ
てパラメータ設定マイクロ・プログラムを選択し
実行させてパラメータ群をデータ・メモリに設定
する操作を該制御データのデータ・ブロツクの数
だけ順次行ない、最後に処理マイクロ・プログラ
ムを実行させることにより、複数の機能または特
性のうち1つを選択して実現させることを特徴と
したマイクロ・プログラム制御処理装置の起動方
法。
1 A processing microprocessor whose functions or characteristics change depending on the parameter values written to the data memory.
In a microprogram control processing device that is composed of one or more parameter setting micro programs that set a program and a parameter group, each data block is composed of one or more data blocks, and each data block is control data that has parameter group setting information. After the control data is written, the control data is discriminated in units of data blocks, and according to the discrimination result, the parameter setting micro program is selected and executed to set the parameter group in the data memory. - A method for activating a micro-program-controlled processing device, characterized in that one of a plurality of functions or characteristics is selected and realized by sequentially executing the same number of blocks and finally executing the processing micro-program.
JP216384A 1984-01-10 1984-01-10 Starting method of microprogram control processor Granted JPS60146329A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP216384A JPS60146329A (en) 1984-01-10 1984-01-10 Starting method of microprogram control processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP216384A JPS60146329A (en) 1984-01-10 1984-01-10 Starting method of microprogram control processor

Publications (2)

Publication Number Publication Date
JPS60146329A JPS60146329A (en) 1985-08-02
JPH024008B2 true JPH024008B2 (en) 1990-01-25

Family

ID=11521687

Family Applications (1)

Application Number Title Priority Date Filing Date
JP216384A Granted JPS60146329A (en) 1984-01-10 1984-01-10 Starting method of microprogram control processor

Country Status (1)

Country Link
JP (1) JPS60146329A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11720352B2 (en) * 2019-12-10 2023-08-08 Micron Technology, Inc. Flexible command pointers to microcode operations

Also Published As

Publication number Publication date
JPS60146329A (en) 1985-08-02

Similar Documents

Publication Publication Date Title
JPH024008B2 (en)
JPH024007B2 (en)
JPS603747A (en) Program selecting control system
JP2600376B2 (en) Memory controller
JPH0236972B2 (en)
JPS6341966A (en) Direct memory access transfer device
JP2853736B2 (en) Cluster number conversion circuit
JPH06103250A (en) Method for initializing multiprocessor system
JP3069355B2 (en) DRAM type setting device method and computer
JP2680013B2 (en) Programmable controller external input/output control circuit
JPS5920069A (en) One-chip microcomputer
JPH01266651A (en) Semiconductor memory device
JPH0474254A (en) Microprocessor diagnostic system
JPS62260242A (en) Large capacity memory device for continuous data
JPH0227692B2 (en)
JPS62248027A (en) Data processor
JPS6326744A (en) Memory bank switching circuit for microprocessor
JPS62186328A (en) Sort processing system
JPH0245843A (en) Register and memory switching circuit
JPH03158923A (en) Memory controller
JPH09305444A (en) Coverage memory
JPH03109633A (en) Load sharing system
JPH0221306A (en) Programmable controller
JPS62248050A (en) Diagnosis system for storage element
JPH06282456A (en) Artificial oiperation device