JPS58114136A - Memory controlling system - Google Patents

Memory controlling system

Info

Publication number
JPS58114136A
JPS58114136A JP21401281A JP21401281A JPS58114136A JP S58114136 A JPS58114136 A JP S58114136A JP 21401281 A JP21401281 A JP 21401281A JP 21401281 A JP21401281 A JP 21401281A JP S58114136 A JPS58114136 A JP S58114136A
Authority
JP
Japan
Prior art keywords
processor
slave processor
flag
instruction
slave
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
JP21401281A
Other languages
Japanese (ja)
Inventor
Takahito Noda
野田 敬人
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP21401281A priority Critical patent/JPS58114136A/en
Publication of JPS58114136A publication Critical patent/JPS58114136A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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
    • G06F9/226Microinstruction function, e.g. input/output microinstruction; diagnostic microinstruction; microinstruction format

Abstract

PURPOSE:To facilitate changing specifications of instructions and processings, by providing a device, where execution stop indicating flags corresponding to addresses of a control storage device are stored, in a slave processor of a computer system and changing these indicating flags by a master processor. CONSTITUTION:A computer system is provided with a master processor 11 and a slave processor 12, and the processor 12 is provided with an indicating flag storage device 13, a controlling circuit 14, a control storage device 15, a microinstruction register 16, etc. Execution stop indicating flags corresponding to addresses of the storage device 15 are stored in the device 13; and when the system is operated by the storage devie 15, the execution is stopped quickly if the flag of the device 13 is set. This execution stop is detected by the processor 11, and the processor 11 changes contents of the register 16 by the execution stop, and the processor 12 is started by the processor 11. Thus, the change of specifications of instructions and processings is executed easily by the processor 11.

Description

【発明の詳細な説明】 (1)発明の技術分野 本発明は制御記憶装置としてリードオンリーメモリ(R
OM)を使用したプロセッサのメモリ制御方式に関する
@ (2)従来技術と問題点 従来、マイクロ命令を格納する制御記憶KROMを使用
し九プロセッサにおい°CFi、ROM内の命令を調整
制御する手段がないため、マイクロ命令の仕様変更や、
処理の変更に対しては、ROMの変換をしなければなら
ないという欠点があった。
DETAILED DESCRIPTION OF THE INVENTION (1) Technical field of the invention The present invention uses a read-only memory (R) as a control storage device.
(2) Conventional technology and problems Conventionally, there is no means to adjust and control the instructions in the CFi and ROM in nine processors using the control memory KROM that stores microinstructions. Therefore, changes in microinstruction specifications,
There was a drawback that the ROM had to be converted in order to change the processing.

(3)発明の目的 不発IIAは前記欠点を解消して、該マイクロ命令の仕
様変更や処理変更に柔軟に対処する方式を提供すること
を目的とすゐ0 (4)発明の構成 この目的は、マスタプロセッサとスレーブプロセッサか
らなる計算機システムにおいて、該スレーブプロセッサ
に、該スレーブプロセッサの制御記憶装置のアドレスに
対応する実行中止の指示フラグを格納する指示フラグ記
憶装蓋を設け、該指示フラグ記憶!ilは前記マスタプ
ロセッサにより任意に設定され、該スレーブプロセッサ
は、該制御記憶装置に従って動作している場合、対応す
る実行中止フラグがオンならば、速やかに実行を中止し
、一方前記マスタプロセツサは、該スレーブプロセッサ
が実行中止指示フラグを判定し停止したことを検出する
手段と、該スレーブプロセッサが停止している時に、前
記マスタプロセッサが該スレーブプロセッサのマイクロ
命令レジスタを変更し、該スレーブプロセッサをスター
トさせる手段を有するとともに、該スレーブプロセッサ
の実行中止フラグによハ該スレーブプロセッサが、該フ
ラグのある命令を実行しようとする時、該スレーブプロ
セッサを停止させ、該スレーブプロセッサが停止してい
る間に、該スレーブプロセッサの命令レジスタの内容を
変更した後、該スレーブプロセッサをスタートさせる手
段を備えたことを特徴とするメモリか制御方式により達
成される0(5)発明の実施例 以下本発明の実庇例を図面を用いて詳細に説明するO 図は本発明の一実施例を示す機能ブロックVであるO 図において、li#:tマスタプロセッサ(MCPU)
(3) Purpose of the Invention The purpose of the IIA is to eliminate the above-mentioned drawbacks and provide a method for flexibly dealing with changes in specifications and processing of the microinstructions. (4) Structure of the Invention This purpose is to , in a computer system consisting of a master processor and a slave processor, the slave processor is provided with an instruction flag storage cap that stores an execution stop instruction flag corresponding to the address of the control storage device of the slave processor, and the instruction flag storage! il is arbitrarily set by the master processor, and when the slave processor is operating according to the control storage device, if the corresponding execution abort flag is on, it immediately aborts execution, while the master processor , means for detecting that the slave processor has stopped by determining an execution stop instruction flag; and when the slave processor is stopped, the master processor changes a microinstruction register of the slave processor to cause the slave processor to stop. and means for stopping the slave processor when the slave processor attempts to execute an instruction with the flag based on the execution stop flag of the slave processor, and stopping the slave processor while the slave processor is stopped. The embodiments of the present invention are as follows: An actual example will be explained in detail using the drawings. The diagram shows a functional block V showing an embodiment of the present invention. In the diagram, li#:t master processor (MCPU)
.

12はスレーブプロセッサ(SCPU)、13け指示フ
ラグ記憶装置、14は制御回路、15Fi制御記憶装f
l(ROM)、16はマイクロ命令レジスタ(MIR)
、 17uマルチプレクサA318はw、n=テプレク
サBである0ここで15は単にメモリともいう。
12 is a slave processor (SCPU); 13 is an instruction flag storage device; 14 is a control circuit; 15 is a control storage device f
l (ROM), 16 is micro instruction register (MIR)
, 17u multiplexer A318 is w, n=teplexer B0 where 15 is also simply referred to as memory.

マスタプロセッサ11は32ビツトのデータノ(スヲ持
ち、スレーブプロセッサ12664ビツトのマイクロ命
令を持つシステムにおいて、該スレーブプロセッサ12
は実行中止を指示する指示フラグ記憶装置13と制御装
置14と、該フラグとを判定し、5CPU12をホルト
(ストップ)させる機能と、64ビツトO命令レジスタ
16と、5CPUI2がストップした時、該命令レジス
タ16に、MCPUIIから命令を取り出し、iルナプ
レクサ16.17により該命令をセットする。該MCP
U11から命令レジスタ16へのデータセットは32ビ
ツトづつ2回に分けて(例えば!ルナプレクサ16ti
下位ビット、マルチプレクサ17は上位32ビツトをセ
ット)行なわれる0 又、該MCPUIIは8CPU12が実行中止フラグの
ためにホルトしたことを検出する機能及び5CPU12
をスタートさせる機能本市する0この様にマスクとスレ
ーブの関係にあるプロセッサをもつ計算機では通常スレ
ーブ側は高速演算を受は持ち、マスク側はシステム制御
を行なう、本発明では5CPU12のマイクロ命令は次
のアドレス(Nextアドレス)をマイクロ命令レジス
タ16ONA部で指示するものとする。
In a system where the master processor 11 has 32 bits of data and the slave processor has 12,664 bits of microinstructions, the slave processor 12
The instruction flag storage device 13 and the control device 14 that instruct to stop execution, the function of determining the flag and halting (stopping) the 5 CPU 12, the 64-bit O instruction register 16, and the instruction when the 5 CPU I2 stops. An instruction is taken out from the MCPU II and set in the register 16 by the i Lunaplexer 16.17. The MCP
The data set from U11 to the instruction register 16 is divided into 2 times of 32 bits each (for example, Lunaplexer 16ti
The lower bit, the multiplexer 17 sets the upper 32 bits) to 0. Also, the MCPU II has a function to detect that the 8 CPU 12 has halted due to the execution abort flag, and the 5 CPU 12
In a computer with processors in the mask-slave relationship, the slave side normally handles high-speed calculations, and the mask side performs system control.In the present invention, the microinstructions of the 5CPUs 12 It is assumed that the next address (Next address) is specified by the ONA section of the microinstruction register 16.

更に動作例について詳細に説明すると、5CPU12に
ある制御記憶袋flli15のある番地(a番地)の内
容に変更がある時、実行中止の指示フラグ記憶装fl1
3の該a番地のフラグをON(’1’)にしておく、5
CPU12のマイクロ命令は次のマイクロ命令を制御記
憶装置115から読み出すたtNA(Next Add
resa )というフィールドを持っている。
To further explain the operation example in detail, when there is a change in the contents of the address (address a) of the control memory bag flli15 in the 5CPU 12, the execution stop instruction flag memory device fl1
Set the flag of address a in 3 to ON ('1'), 5
The CPU 12 microinstruction reads tNA (Next Add) the next microinstruction from the control storage 115.
It has a field called resa).

従って該a番地を読み出す#に必ず、NAP!it!で
Va番地を指示するマイクロ命令を実行する0即ち、N
A部にaという値のあるマイクロ命令をbとすると、命
令の実行順序はb→aとなる。
Therefore, when # reads the address a, NAP! It! 0, that is, N
If b is a microinstruction whose A part has a value of a, the instruction execution order is b→a.

制御記憶装置1115と、実行中止の指示フラグ記憶装
置13のa番地がアドレスされゐ0ところが実行中止の
指示フラグ記憶装[1Bから読み出された実行中止フラ
グが1″なので、該指示フラグ記憶装置13によ、6b
の命令実行後5CPU12はストップする。
Address a of the control storage device 1115 and the execution stop instruction flag storage device 13 is addressed as 0, but since the execution stop flag read from the execution stop instruction flag storage device [1B is 1'', the execution stop instruction flag storage device 13 is 13yo, 6b
After executing the instruction, the CPU 12 stops.

5CPU12が、実行中止フラグでストップ(ホルト)
シたのをマスタプロセッサ11が検出するト、該マスタ
プロセッサ11 FiSCPU12の制御記憶のa番地
の8容Kかわるマイク冒命令をマイクロ命令レジスタ1
6にセットし、5CPU12にスタートをかける@これ
により、5CPU12としては、制御記憶装置115の
a番地の命令を実行するかわルに、マスタプロセッサ1
1からセットされた命令を実行し、所望の処理を行なう
ことになる0また、マイクロ命令レジスタ16の64ビ
ツトニ対シ、マスタプロセッサ11のデータバスが32
ビツトなので、マスタプロセッサ11から5CPU12
のマイクロ命令レジスタ16へは2回に分けてセットす
ることになる0 8CPU12が、どのアドレスで実行中止フラグによ少
ストップしたかということは、1ステツプ前に実行され
たNAl5をいつもセーブしておく、例えばレジスタを
設け、それをマスタプロセッサ11が参照できるように
しておけは、マスタプロセッサが知ることができる◎ (6)発明の詳細 な説明したように、本発明によれば、制御記憶装置にリ
ードオンリーメモリ(ROM)を用いた計算機に特に有
効で、マイクロ命令等の変更に対してROMを交換する
ことなく、柔軟に対応できるといえ効果がある。
5CPU12 stops (halt) with execution stop flag
When the master processor 11 detects that the micro-instruction register 1 has changed the micro-instruction, the master processor 11 sends the micro-instruction instruction to the address a of the control memory of the FiSCPU 12.
6 and starts the 5CPU 12 @As a result, the 5CPU 12 starts the master processor 1 instead of executing the instruction at address a of the control storage device 115.
The instruction set from 1 to 0 is executed and the desired processing is performed.In addition, the microinstruction register 16 has 64 bits, and the data bus of the master processor 11 has 32 bits.
Since it is a bit, the master processor 11 to 5 CPU12
The microinstruction register 16 is set twice.08 The address at which the CPU 12 stopped the execution flag is determined by always saving NAL5, which was executed one step before. For example, if a register is provided so that the master processor 11 can refer to it, the master processor can know it. (6) As described in detail, according to the present invention, the control storage device This method is particularly effective for computers using read-only memory (ROM), and is effective in that it can flexibly respond to changes in microinstructions, etc., without replacing the ROM.

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

図は本発明の一実施例を示す機能ブロック図であるO 記号の説明、11はマスタプロセッサ(MCPU)、1
2はスレーブプロセッサ(SCPU)、13は指示フラ
グ記憶装置t、14Fi制御回路、15t’!制御記憶
装置(ROM)、16はマイクロ命令レジスタ(MIR
)、17は!ルチプレクサA、18にマルチプレクサB
。 i’5
The figure is a functional block diagram showing one embodiment of the present invention.O Explanation of symbols: 11 is a master processor (MCPU);
2 is a slave processor (SCPU), 13 is an instruction flag storage device t, 14 is a Fi control circuit, and 15t'! control memory (ROM), 16 is a microinstruction register (MIR);
), 17 is! Multiplexer A, 18 to multiplexer B
. i'5

Claims (1)

【特許請求の範囲】[Claims] マスタプロセッサとスレーブプロセッサからなる計算機
システムにおいて、該スレーブプロセッサに、該スレー
ブプロセッサのtlllJlill記憶装蓋のアドレ記
憶封蓋する実行中止の指示フラグを格納する指示フラグ
記憶装蓋を設け、該指示フラグ記憶装置は前記マスタプ
ロセッサにより任意に設定され、該スレーブプロセッサ
は、該制御記憶装着に従って動作している場合、対応す
る実行中止フラグがオンならば、速やかに実行を中止し
、一方前記マスタプロセッサは、該スレーブプロセッサ
が笑行中止推示フラグを判定し停止したことを検出する
手段と、該スレーブプロセッサが停止している時に、前
記マスタプロセッサが該スレーブプロセッサのマイクロ
命令レジスタを変更し、該スレーブプロセッサをスター
トさせる手段を有するとともに、該スレーブプロセッサ
の実行中止フラグにより、該スレーブプロセッサが、該
フラグのある命令を実行しようとする時、核スレーブプ
ロセッサを停止させ、該スレーブプロセッサが停止して
いる間に、該スレーブプロセッサの命令レジスタの内容
を変更した後、該スレーブプロセッサをスタートさせる
手段を備えたことを%徴とするメモリ制御方式。
In a computer system consisting of a master processor and a slave processor, the slave processor is provided with an instruction flag storage lid for storing an execution stop instruction flag that covers the address memory of a tllllJlill storage lid of the slave processor; The device is optionally configured by the master processor, and the slave processor, if operating according to the control storage attachment, immediately stops execution if the corresponding execution stop flag is on, while the master processor: means for detecting that the slave processor has stopped by determining a stop command flag; and when the slave processor is stopped, the master processor changes the microinstruction register of the slave processor, and the slave processor and means to stop the core slave processor when the slave processor is about to execute an instruction with the flag according to the execution stop flag of the slave processor, and while the slave processor is stopped. A memory control method characterized by comprising means for starting the slave processor after changing the contents of the instruction register of the slave processor.
JP21401281A 1981-12-26 1981-12-26 Memory controlling system Pending JPS58114136A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21401281A JPS58114136A (en) 1981-12-26 1981-12-26 Memory controlling system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21401281A JPS58114136A (en) 1981-12-26 1981-12-26 Memory controlling system

Publications (1)

Publication Number Publication Date
JPS58114136A true JPS58114136A (en) 1983-07-07

Family

ID=16648803

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21401281A Pending JPS58114136A (en) 1981-12-26 1981-12-26 Memory controlling system

Country Status (1)

Country Link
JP (1) JPS58114136A (en)

Similar Documents

Publication Publication Date Title
US4961161A (en) Arithmetic processor performing mask and trap operations for exceptions
JPH02153434A (en) Data processing system
JPS58114136A (en) Memory controlling system
JPS6355634A (en) Data processing system
JPS61184643A (en) Starting control system for virtual computer
JPS60160443A (en) Data processor
JPS5854422B2 (en) Control method for multiprocessing equipment
JPS61184644A (en) Control system of virtual computer system
JPH0754470B2 (en) Control method for virtual computer system
JPS6341092B2 (en)
JPS5842891B2 (en) Meirei Seigiyohoushiki
JPH0259933A (en) Microprocessor
JPS60126731A (en) Program control method
JPH08249024A (en) Programmable controller
JPS63120336A (en) Switching system for memory access mode
JPS6243740A (en) Countermeasure circuit for runaway of microprocessor device
JPH03208132A (en) Single chip microcomputer
JPS6373336A (en) Calling system for privileged program
JPS63298652A (en) Central processing unit
JPS62276634A (en) Virtual computer system
JPS5930288A (en) Address converting device
JPH02201650A (en) Arithmetic unit
JPS61276027A (en) Memory system for operating system
JPH0247730A (en) Virtual computer system
JPS61235951A (en) One chip microcomputer