JPS5818761A - Storage controlling system - Google Patents

Storage controlling system

Info

Publication number
JPS5818761A
JPS5818761A JP11576381A JP11576381A JPS5818761A JP S5818761 A JPS5818761 A JP S5818761A JP 11576381 A JP11576381 A JP 11576381A JP 11576381 A JP11576381 A JP 11576381A JP S5818761 A JPS5818761 A JP S5818761A
Authority
JP
Japan
Prior art keywords
data
register
request
readout
storing device
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
JP11576381A
Other languages
Japanese (ja)
Inventor
Kana Kamiyama
神山 奏
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Tokyo Shibaura 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 Toshiba Corp, Tokyo Shibaura Electric Co Ltd filed Critical Toshiba Corp
Priority to JP11576381A priority Critical patent/JPS5818761A/en
Publication of JPS5818761A publication Critical patent/JPS5818761A/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/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/34Addressing or accessing the instruction operand or the result ; Formation of operand address; Addressing modes

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multi Processors (AREA)

Abstract

PURPOSE:To make an arrangement that operations can be performed with respect to optional bit positions in a storage area through one piece of memory operation request, by giving a simple operational function to a storing device. CONSTITUTION:When an operation request is made from the outside, an address and operation data to be transferred are simultaneously set in an address register 12 and an operation data register 15, respectively. When data is sent, a storing device 11 simultaneously starts a readout operation and the data thus obtained are held in a data register 13. The readout data are sent to the device which performs the request through the data register 13 and, at the same time, sent to an arithmetic circuit 14 through a readout data line 18. The arithmetic circuit 14 performs the operation of the above-mentioned inputted value (through line 18) and a value already preset in the operation data register 15, and sends the result to the storing device 11 through a writing data line 19. The storing device 11 executes a writing operation after the above-mentioned readout operation.

Description

【発明の詳細な説明】 本発明は記憶制御方式に関する。2つ以上の独立に動作
する演算制御装置(プロセッサ)を有し、2つ以上のプ
ログラムを同時に実行しうる多重処理方式によるデータ
処理システムを多重処理システムという。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a storage control method. A multiprocessing system is a data processing system that has two or more independently operating arithmetic and control units (processors) and can execute two or more programs simultaneously.

E記多重処理システムにおいては、記憶装置等に特定な
共通領域を用意し、その領域へ特定データを書込み、読
出しチェックを行うことにより、プロセッサ相互間の同
期をとる方式が通常用いられている。即ち、特定領域の
情報を記憶装置から続出し、読出したことを示すため。
In the E-book multiprocessing system, a method is usually used in which a specific common area is prepared in a storage device or the like, and specific data is written into the area and read checking is performed to synchronize the processors. That is, to indicate that information in a specific area has been successively read out from the storage device.

特定データを書込むことにより、1個のプロセッサがメ
モリ操作を行なったことを示す。ところが、一般の読出
し/書込み動作において、特定領域のアクセス競合が生
じ、1個のプロセッサがデータを読出し、再書込みを行
う前に他方のブロツセツサがデータの読出しを行なって
しまうと、プロセッサ相互間の同期が正しくとれなくな
ってしまうという欠点があった。
Writing specific data indicates that one processor has performed a memory operation. However, in general read/write operations, if an access conflict for a specific area occurs, and one processor reads data and another processor reads the data before rewriting it, the problem between the processors may occur. The drawback was that synchronization could not be achieved properly.

これを防ぐため従来はメモリロックと称される機能を記
憶装置に持たせている。即ち、特定アドレスにおける記
憶領域操作中は記憶装置をロックすることにより、他方
のプロセッサからのアクセスを禁止するものである。あ
るいFi。
To prevent this, conventionally, storage devices have been provided with a function called a memory lock. That is, by locking the storage device while a storage area is being manipulated at a specific address, access from the other processor is prohibited. Ai Fi.

特別な動作要求を用意し、特定領域に付随して指定され
た領域を読出すと同時に、その領域に対し、一定のデー
タ(オールvAo“又はオール゛11#)を書込むよう
にしていたものである。
A special operation request was prepared, and at the same time a specified area was read along with a specific area, a certain amount of data (all vAo'' or all 11#) was written to that area. .

ところで、ベージング(外部ページ記憶装置と実記憶装
置間でページ単位に行なわれる転送処厖)を行なってい
る計算機システムでは、アドレス変換のためのテーブル
を参照し、且つ一部のフラグビット等を変更しようとす
る際、1個のプロセッサがデータを読出し、変更後再書
込みを行うまでは上記同様、メモリロック機構により、
他方のプロセッサがテーブルの読出しを行なわない様に
コントロールしていたものである。
By the way, in a computer system that performs paging (transfer processing performed page by page between an external page storage device and a real storage device), a table for address conversion is referred to, and some flag bits, etc. are changed. When attempting to do so, one processor reads the data, and until it rewrites the data after changing it, the memory lock mechanism is used as described above.
The other processor was controlling the table so that it would not read it.

しかしながら、上記ロック機構を採用した方式によれば
、メモリロックが広い範囲で領域に及ぶため、不必要な
領域に対してもロック動作が及ぶ効率低下、更には記憶
内容を書きかえるのに2メモリサイクルを要するといっ
た効率上の欠点があった。又、特定領域に付随する領域
を設ける方式によれば、上記メモリロック方式より更に
効率が悪化し、メモリの使用効率、も悪くなる。
However, according to the system that employs the above-mentioned locking mechanism, the memory lock extends over a wide range of areas, resulting in a decrease in efficiency as the locking operation extends to unnecessary areas, and furthermore, it takes two memos to rewrite the memory contents. There were efficiency drawbacks such as the need for recycling. Furthermore, according to the method of providing an area attached to a specific area, the efficiency is even worse than the above-mentioned memory lock method, and the memory usage efficiency is also deteriorated.

本発明は上記事情に基づいてなされたものであり、記憶
装置に簡単な演算檀能を持たせることにより、効果的な
多重処理システムを実現させる記憶制御方式を提供する
ことを目的とする。
The present invention has been made based on the above-mentioned circumstances, and an object of the present invention is to provide a storage control method that realizes an effective multiprocessing system by providing a storage device with simple arithmetic performance.

以下1図面を使用して本発明に関し詳細に説明する。第
1図は本発明を実現する記憶装置周辺の実施例を示すブ
ロック図である。図において、11はプログラム及びデ
ータが格納される記憶装置である。前記記憶装置11を
アクセス(読出し/書込み)すべきアドレスはアドレス
データライン16を介してアドレスレジスタI2に保持
される。前記記憶装置11から得られるデータはデータ
レジスタ13に保持される。
The present invention will be described in detail below using one drawing. FIG. 1 is a block diagram showing an embodiment of the periphery of a storage device that implements the present invention. In the figure, 11 is a storage device in which programs and data are stored. The address to access (read/write) the memory device 11 is held in the address register I2 via the address data line 16. Data obtained from the storage device 11 is held in a data register 13.

14は演算回路であって、前記データレジスタイ3出力
ならびに後述する演算データレジスタ15出力が供給さ
れ、ここで演算された結果は書込みデータライン19を
介して記憶装置11へ供給される。演算データレジスタ
15には演算データライン17を介して外部(中央処理
装置)より演算データが設定される。
Reference numeral 14 denotes an arithmetic circuit, to which the output of the data register 3 and the output of an arithmetic data register 15 to be described later are supplied, and the result of the arithmetic operation here is supplied to the storage device 11 via a write data line 19. Calculation data is set in the calculation data register 15 from the outside (central processing unit) via the calculation data line 17.

第2図は本発明の動作を概念的に示すデータ表示例であ
る1図において、 (alは演算データ(ラインJ 7
 ) 、(blは読出されたデータ(ライン1 B )
 、 (clは記憶装置11に対し書込まれるデータ(
ライン19)のそれぞれの内容を示す。
FIG. 2 is a data display example conceptually showing the operation of the present invention. In FIG. 1, (al is calculation data (line J 7
), (bl is the read data (line 1 B)
, (cl is the data written to the storage device 11 (
The contents of each line 19) are shown.

以下、第2図を参照しながら第1図に示した本発明実施
例の動作につき詳細に説明する。まず、外部より動作要
求があると同時に転送されるアドレス、及び演算データ
が通常の書込み動作と同様、それぞれアドレスデータラ
イン16゜演算データライン17を介し、アドレスレジ
スタ12.演算データレジスタ15に設定される。
Hereinafter, the operation of the embodiment of the present invention shown in FIG. 1 will be explained in detail with reference to FIG. First, when an operation request is received from the outside, the address and operation data that are transferred are transferred through the address data line 16 and the operation data line 17, respectively, to the address register 12. It is set in the calculation data register 15.

記憶装置11はデータが送られてくると同時に読出し動
作を開始し、ここで得られるデータをデータレジスタI
3に保持する。読出されたデータは、このデータレジス
タ13を介して要求のめった装置へ送られると共に、読
出しデータライン18を介して演算回路14へ送られる
The storage device 11 starts a read operation at the same time as the data is sent, and stores the obtained data in the data register I.
Hold at 3. The read data is sent to the requesting device via the data register 13, and is also sent to the arithmetic circuit 14 via the read data line 18.

演算(ロ)路14では、該入力値(ライン18)と既に
演算データレジスタ15に設定されである値との演算(
例えば論理和、論理積等)を行ない、その結果を書込み
データライン19を介して記憶装置11へ供給する。記
憶装置11は上記読出し動作に続き、書込み動作を行う
The operation (b) path 14 performs an operation between the input value (line 18) and a value already set in the operation data register 15 (
(eg, logical sum, logical product, etc.) and supplies the result to the storage device 11 via the write data line 19. Following the read operation described above, the storage device 11 performs a write operation.

上記動作の具体例は第2図に示されている。A concrete example of the above operation is shown in FIG.

即ち、(alの如きデータ’10000000’が演算
データライン11を介して演算回路14の一入力端へ供
給され、演算回路14の他方の入力端へは記憶装置11
より得られる(blの如きデータ“01010101’
が供給されたとする。今、演算回路14の動作モードが
論理和であったとすれば、演算回路14にて上記両入力
の論理和演算がなされ、(C1の如きデータ’1101
0101’が得られる。ここで得られ九内容は書込みデ
ータライン19を介して記憶装置IIへ書込まれ。
That is, data '10000000' such as (al) is supplied to one input terminal of the arithmetic circuit 14 via the arithmetic data line 11, and the data '10000000' such as (al) is supplied to one input terminal of the arithmetic circuit 14 through the memory device 11.
(data such as bl "01010101'
Suppose that is supplied. Now, if the operation mode of the arithmetic circuit 14 is a logical sum, the logical sum operation of the above two inputs is performed in the arithmetic circuit 14, and (data such as C1 '1101
0101' is obtained. The nine contents obtained here are written to the memory device II via the write data line 19.

lblで示されるデータがプロセッサ等要求のあった外
部装置へ転送されるものである0以上の続出し、再書込
みの動作は1個のメモリ動作要求にて実現される。
The data indicated by lbl is transferred to an external device such as a processor that has made a request, and the rewriting operation is realized by one memory operation request.

以上説明の如く本発明は記憶装置に簡単な演算機能を持
たせたことにより、記憶領域の任意のビット位置に対し
1個のメモリ動作要求で操作を行えるため、1個の記憶
領域で多くの異るデータを貯えたり、あるいは1個のメ
モリ動作要求でデータを読出しつつ操作を行うことが出
来る。従って、動車的な多重処理システムが実現出来、
更にページング動作時においても、テーブル操作が簡便
となって効果的な多重処理システムを構成できる。
As explained above, the present invention provides a storage device with a simple arithmetic function so that an arbitrary bit position in a storage area can be operated with one memory operation request. It is possible to store different data or perform operations while reading data with a single memory operation request. Therefore, a mobile-like multiprocessing system can be realized.
Furthermore, even during paging operations, table operations are simplified and an effective multi-processing system can be constructed.

以上の説明はプロセッサ相互間の同期についてのみ述べ
てきたが、同様にプロセッサと入出力制御装置あるいは
入出力制御装置間相互でも応用可能である。分散処理傾
向が進み、プロセッサ並みの機能を持った入出力制御装
置が存在する今日1本発明が与える利点は大きい。淘。
Although the above explanation has been made only regarding synchronization between processors, it is also applicable to synchronization between a processor and an input/output control device or between input/output control devices. Nowadays, as the trend toward distributed processing progresses and input/output control devices with functions comparable to processors exist, the present invention has great advantages. Abandoned.

通信制御装置にも同様に応用できることはもちろんであ
る。
Of course, the present invention can also be applied to communication control devices.

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

第1図は本発明を実現する記憶装置周辺の実4.1”例
を示すブロック図、第2図は本発明の動作を概念的に示
すデータ表示例である。 11・・・記憶装置、12・・・アドレスレジスタ。 13・・・データレジスタ、14・・・演算回路、15
・・・演Nf−タレジスタ。 出願人代理人  弁理士 鈴 江 武 彦第1図 一了一 ◆ 第2図 一ニニニニ■I (b)  E[コff )15 1゛8 ■エロ ■印口
FIG. 1 is a block diagram showing an actual example of the periphery of a storage device that implements the present invention, and FIG. 2 is a data display example conceptually showing the operation of the present invention. 11...Storage device, 12... Address register. 13... Data register, 14... Arithmetic circuit, 15
...Performance Nf-tare register. Applicant's representative Patent attorney Suzue Takehiko Figure 1 Ichiryoichi◆ Figure 2 I Ninini Ni ■I (b) E [coff ) 15 1゛8 ■Erotic ■Seal

Claims (1)

【特許請求の範囲】[Claims] 外部より転送される領域指定と演算データ及び動作要求
とを受けとり、受けとった動作要求に従って続出し、書
込みを行う記憶装置において、前記指定された領域のデ
ータを読出し、それを要求のあった装置へ転送すると共
に、受けとった演算データと読出したデータとの間で演
算を行い、且つ再書込みのための動作を1個のメモリ動
作要求で行うことを特徴とする記憶制御方式。
In a storage device that receives an area designation, calculation data, and operation request transferred from the outside, continues writing according to the received operation request, and reads data in the specified area and transfers it to the device that made the request. 1. A storage control method characterized in that, in addition to transferring, arithmetic operations are performed between received arithmetic data and read data, and a rewriting operation is performed with one memory operation request.
JP11576381A 1981-07-23 1981-07-23 Storage controlling system Pending JPS5818761A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11576381A JPS5818761A (en) 1981-07-23 1981-07-23 Storage controlling system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11576381A JPS5818761A (en) 1981-07-23 1981-07-23 Storage controlling system

Publications (1)

Publication Number Publication Date
JPS5818761A true JPS5818761A (en) 1983-02-03

Family

ID=14670434

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11576381A Pending JPS5818761A (en) 1981-07-23 1981-07-23 Storage controlling system

Country Status (1)

Country Link
JP (1) JPS5818761A (en)

Similar Documents

Publication Publication Date Title
JPH03228169A (en) Computer system
JPH01269142A (en) Buffer memory control system
US5481756A (en) DMA controller mailing auto-initialize halting unit
JPS59188764A (en) Memory device
JPS5818761A (en) Storage controlling system
JPS6478361A (en) Data processing system
JPH02132543A (en) Information processor
JP2699482B2 (en) Data transfer control device
JP2657947B2 (en) Data processing device
JPH0520246A (en) Asynchronous i/o dynamic priority changing system
JP2581144B2 (en) Bus control device
JPS6111864A (en) Data processing system
JPS6125248A (en) Architecture exclusive for base register
JPS63206855A (en) Data transmission equipment
JPS6267648A (en) Processing system for exclusive control instruction
JPH03252856A (en) Processing system for program
JPS6368960A (en) Sequential access controller for shared storage medium
JPH01248207A (en) Numerical controller
JPS6345669A (en) Multi-processor system
JPS6095667A (en) High speed access system in external address space
JPH0236011B2 (en)
JPS6345652A (en) Invalidation processing system for information processor
JPH01311342A (en) Memory system
JPS61109145A (en) Calculation system for memory address
JPS58166581A (en) Addressing system of memory