JPH0916539A - Shared memory applying system - Google Patents

Shared memory applying system

Info

Publication number
JPH0916539A
JPH0916539A JP7168612A JP16861295A JPH0916539A JP H0916539 A JPH0916539 A JP H0916539A JP 7168612 A JP7168612 A JP 7168612A JP 16861295 A JP16861295 A JP 16861295A JP H0916539 A JPH0916539 A JP H0916539A
Authority
JP
Japan
Prior art keywords
shared memory
signal
circuit
control processor
address
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
JP7168612A
Other languages
Japanese (ja)
Inventor
Takahiro Shiga
隆広 志賀
Shinji Goto
伸治 後藤
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 JP7168612A priority Critical patent/JPH0916539A/en
Publication of JPH0916539A publication Critical patent/JPH0916539A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PROBLEM TO BE SOLVED: To save the address space of a main storage by sharing an address with two kinds of main memory circuits and switching the selection of a main storage space by a data transfer direction between the main storage space and a control processor. SOLUTION: A transfer mode setting circuit 5 receives a read-in signal 16 and a write signal 17 from the control processor 1, and outputs the transfer mode signal 18 of either a read-in mode signal or write mode signal to a switching circuit 6. The switching circuit 6 receives a shared memory selection signal 10, and outputs a shared memory selection signal 14(15) in accordance with the transfer mode signal 18 to a shared memory circuit 2(3). Namely, the shared memory selection signal 10 inputted to the switching circuit 6 is outputted as the shared memory selection signal 14 to the shared memory circuit 2 in a read-in mode. Also, the shared memory selection signal 10 inputted to the switching circuit 6 is outputted as the shared memory selection signal 15 to the shared memory circuit 3 in a write mode.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、主記憶空間上に確
保した共有メモリ空間を媒体に制御プロセッサの主記憶
内容を共有する共有メモリ使用方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a shared memory use method for sharing the main memory contents of a control processor with a shared memory space secured on a main memory space as a medium.

【0002】[0002]

【従来の技術】従来、制御プロセッサ間で主記憶内容の
共有を実現する場合、制御プロセッサから主記憶回路の
方向および主記憶回路から制御プロセッサへの方向の双
方向の情報転送が可能な主記憶回路を共有メモリとして
使用していた。
2. Description of the Related Art Conventionally, when a main memory content is shared between control processors, a main memory capable of bidirectional information transfer from the control processor to the main memory circuit and from the main memory circuit to the control processor. The circuit was used as shared memory.

【0003】[0003]

【発明が解決しようとする課題】前述した双方向の情報
転送が可能な主記憶回路による共有メモリ使用方式で
は、書き込み用主記憶回路と読み込み用主記憶回路を異
なるアドレス空間に配置する必要があるため、共有メモ
リの大容量化に伴い主記憶空間を圧迫するという問題が
ある。
In the above-mentioned shared memory use system by the main memory circuit capable of bidirectional information transfer, it is necessary to arrange the write main memory circuit and the read main memory circuit in different address spaces. Therefore, there is a problem that the main memory space is pressed down as the capacity of the shared memory increases.

【0004】本発明の目的は、制御プロセッサで共有す
る主記憶回路のアドレス空間を節約する共有メモリ使用
方式を提供することにある。
It is an object of the present invention to provide a shared memory use system which saves the address space of the main memory circuit shared by the control processors.

【0005】[0005]

【課題を解決するための手段】本発明は、前記の課題を
解決するために、主記憶空間の一部分を共有メモリ空間
とし制御プロセッサで主記憶空間を共有するメモリ使用
方式において、書き込み専用と読み込み専用の2種類の
主記憶回路でアドレスを共有し、主記憶空間と制御プロ
セッサ間のデータ転送の方向によって主記憶空間の選択
を切り替えることを特徴とする。
SUMMARY OF THE INVENTION In order to solve the above problems, the present invention is a memory use system in which a part of a main memory space is used as a shared memory space and a main memory space is shared by a control processor. It is characterized in that an address is shared by two kinds of dedicated main memory circuits and the selection of the main memory space is switched depending on the direction of data transfer between the main memory space and the control processor.

【0006】[0006]

【発明の実施の形態】次に、本発明の実施の形態を図面
を参照して説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, embodiments of the present invention will be described with reference to the drawings.

【0007】図1は、本発明の1実施の形態による共有
メモリ使用方式を示すブロック図である。図1に示すよ
うに、本発明の共有メモリ使用方式は、制御プロセッサ
1と、共有メモリ回路2と、共有メモリ回路3と、アド
レスデコーダ4とから成る基本構成に、転送モード設定
回路5と、切替回路6とを追加してなるものである。
FIG. 1 is a block diagram showing a shared memory using method according to an embodiment of the present invention. As shown in FIG. 1, the shared memory using method of the present invention has a basic configuration including a control processor 1, a shared memory circuit 2, a shared memory circuit 3, and an address decoder 4, a transfer mode setting circuit 5, The switching circuit 6 is added.

【0008】転送モード設定回路5は、データの転送モ
ードを設定するものであり、制御プロセッサ1から読み
込み信号16および書き込み信号17を受け、読み込み
モード信号または書き込みモード信号のいずれかの転送
モード信号18を切替回路6に出力する。制御プロセッ
サ1と共有メモリ回路2,3との間では、データ信号7
の送受が行われる。制御プロセッサ1は、共有メモリ
2,3にアドレス信号8を与え、アドレスデコーダ4に
はアドレス信号9を与える。
The transfer mode setting circuit 5 sets a data transfer mode, receives a read signal 16 and a write signal 17 from the control processor 1, and transfers a transfer mode signal 18 which is either a read mode signal or a write mode signal. Is output to the switching circuit 6. Between the control processor 1 and the shared memory circuits 2 and 3, the data signal 7
Is sent and received. The control processor 1 gives an address signal 8 to the shared memories 2 and 3, and gives an address signal 9 to the address decoder 4.

【0009】切替回路6は、共有メモリ選択信号10を
受け、転送モード信号18に応じた共有メモリ選択信号
14または15を共有メモリ回路2または3に出力す
る。すなわち、読み込みモードの場合、切替回路6に入
力された共有メモリ選択信号10を共有メモリ回路2へ
の共有メモリ選択信号14として出力する。書き込みモ
ードの場合、切替回路6に入力された共有メモリ選択信
号10を共有メモリ回路3への共有メモリ選択信号15
として出力する。従って、共有メモリ回路2および3
は、同一アドレス空間に配置されていながら、それぞれ
独立した読み込み専用および書き込み専用の共有メモリ
として動作する。
The switching circuit 6 receives the shared memory selection signal 10 and outputs the shared memory selection signal 14 or 15 corresponding to the transfer mode signal 18 to the shared memory circuit 2 or 3. That is, in the read mode, the shared memory selection signal 10 input to the switching circuit 6 is output as the shared memory selection signal 14 to the shared memory circuit 2. In the write mode, the shared memory selection signal 10 input to the switching circuit 6 is transferred to the shared memory selection signal 15 to the shared memory circuit 3.
Output as Therefore, the shared memory circuits 2 and 3
, Which are arranged in the same address space, operate as independent read-only and write-only shared memories.

【0010】図2は、上述した共有メモリ使用方式を複
数の制御プロセッサに適用した場合における本発明の他
の実施の形態を示すブロック図である。
FIG. 2 is a block diagram showing another embodiment of the present invention in the case where the above-mentioned shared memory use method is applied to a plurality of control processors.

【0011】図2に示すように、本発明の共有メモリ使
用方式は、制御プロセッサ21,22と、共有メモリ回
路23,24と、アドレスデコーダ25,26と、転送
モード設定回路27,28と、切替回路29,30とを
有している。
As shown in FIG. 2, the shared memory using method of the present invention includes control processors 21 and 22, shared memory circuits 23 and 24, address decoders 25 and 26, and transfer mode setting circuits 27 and 28. And switching circuits 29 and 30.

【0012】共有メモリ回路23からデータ信号31が
制御プロセッサ21,22に与えられ、かつ、共有メモ
リ回路24からデータ信号32が制御プロセッサ21,
22に与えられる。制御プロセッサ21からアドレス信
号33が制御プロセッサ21,22およびアドレスデコ
ーダ25に与えられ、かつ、制御プロセッサ22からア
ドレス信号34が制御プロセッサ21,22およびアド
レスデコーダ26に与えられる。制御プロセッサ21か
ら読み込み信号35が共有メモリ回路23および転送モ
ード設定回路27に与えられる。制御プロセッサ22か
ら読み込み信号36が共有メモリ回路24および転送モ
ード設定回路28に与えられる。制御プロセッサ21か
ら書き込み信号37が共有メモリ回路23および転送モ
ード設定回路27に与えられる。制御プロセッサ22か
ら書き込み信号38が共有メモリ回路24および転送モ
ード設定回路28に与えられる。
A data signal 31 is supplied from the shared memory circuit 23 to the control processors 21 and 22, and a data signal 32 is supplied from the shared memory circuit 24 to the control processors 21 and 22.
22. Address signal 33 is applied from control processor 21 to control processors 21 and 22 and address decoder 25, and address signal 34 is applied from control processor 22 to control processors 21 and 22 and address decoder 26. A read signal 35 is given from the control processor 21 to the shared memory circuit 23 and the transfer mode setting circuit 27. A read signal 36 is given from the control processor 22 to the shared memory circuit 24 and the transfer mode setting circuit 28. A write signal 37 is given from the control processor 21 to the shared memory circuit 23 and the transfer mode setting circuit 27. A write signal 38 is applied from the control processor 22 to the shared memory circuit 24 and the transfer mode setting circuit 28.

【0013】制御プロセッサ21は、読み込みモードの
場合に共有メモリ回路23を選択し、書き込みモードの
場合に共有メモリ回路24を選択する。一方、制御プロ
セッサ22は、読み込みモードの場合共有メモリ回路2
4を選択し、書き込みモードの場合に共有メモリ回路2
3を選択する。
The control processor 21 selects the shared memory circuit 23 in the read mode, and selects the shared memory circuit 24 in the write mode. On the other hand, the control processor 22 uses the shared memory circuit 2 in the read mode.
4 is selected and the shared memory circuit 2 is used in the write mode.
Select 3.

【0014】図3は、図2における制御プロセッサ21
および22の主記憶回路のアドレス空間を示す図であ
る。制御プロセッサ21,22は、2つの共有メモリ回
路23,24のアドレス空間を共有し、一方の共有メモ
リ回路を読み込み専用に、他方の共有メモリ回路を書き
込み専用として動作させることにより、制御プロセッサ
21,22の間のメモリ転送を同一アドレス空間上で実
現している。すなわち、制御プロセッサ21から制御プ
ロセッサ22へのメモリ転送では共有メモリ23を使用
し、制御プロセッサ22から制御プロセッサ21へのメ
モリ転送では共有メモリ24を使用する。
FIG. 3 shows the control processor 21 in FIG.
And FIG. 22 is a diagram showing an address space of main memory circuits 22 and 22. The control processors 21 and 22 share the address space of the two shared memory circuits 23 and 24, and operate one shared memory circuit as a read-only memory and the other shared memory circuit as a write-only memory. Memory transfer between 22 is realized on the same address space. That is, the shared memory 23 is used for the memory transfer from the control processor 21 to the control processor 22, and the shared memory 24 is used for the memory transfer from the control processor 22 to the control processor 21.

【0015】[0015]

【発明の効果】本発明は、主記憶空間の固定領域に共有
メモリ空間を持ち、同一アドレス空間に配置した読み込
み専用の主記憶回路と書き込み専用の主記憶回路を選択
して使用することにより、主記憶のアドレス空間を節約
することができる。
According to the present invention, a shared memory space is provided in a fixed area of the main memory space, and a read-only main memory circuit and a write-only main memory circuit arranged in the same address space are selected and used. The address space of the main memory can be saved.

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

【図1】本発明の1実施の形態を示すブロック図であ
る。
FIG. 1 is a block diagram showing one embodiment of the present invention.

【図2】本発明の共有メモリ使用方式を複数の制御プロ
セッサに適用した実施の形態を示すブロック図である。
FIG. 2 is a block diagram showing an embodiment in which the shared memory use system of the present invention is applied to a plurality of control processors.

【図3】図2に示す共有メモリ使用方式における各制御
プロセッサの主記憶のアドレス空間を示す図である。
FIG. 3 is a diagram showing an address space of a main memory of each control processor in the shared memory using system shown in FIG.

【符号の説明】[Explanation of symbols]

1 制御プロセッサ 2,3 共有メモリ回路 4 アドレスデコーダ 5 転送モード設定回路 6 切替回路 7 データ信号 8,9 アドレス信号 10,14,15 共有メモリ選択信号 11〜13 主記憶選択信号 16 読み込み信号 17 書き込み信号 18 転送モード信号 21,22 制御プロセッサ 23,24 共有メモリ(回路) 25,26 アドレスデコーダ 27,28 転送モード設定回路 29,30 切替回路 31,32 データ信号 33,34 アドレス信号 35,36 読み込み信号 37,38 書き込み信号 1 control processor 2,3 shared memory circuit 4 address decoder 5 transfer mode setting circuit 6 switching circuit 7 data signal 8,9 address signal 10,14,15 shared memory selection signal 11-13 main memory selection signal 16 read signal 17 write signal 18 transfer mode signal 21,22 control processor 23,24 shared memory (circuit) 25,26 address decoder 27,28 transfer mode setting circuit 29,30 switching circuit 31,32 data signal 33,34 address signal 35,36 read signal 37 , 38 Write signal

─────────────────────────────────────────────────────
────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成7年9月4日[Submission date] September 4, 1995

【手続補正1】[Procedure amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0012[Correction target item name] 0012

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0012】共有メモリ回路23からデータ信号31が
制御プロセッサ21に与えられ、かつ、共有メモリ回路
24からデータ信号32が制御プロセッサ22に与えら
れる。制御プロセッサ21からデータ信号31が共有メ
モリ回路24に与えられ、かつ、制御プロセッサ22か
らデータ信号32が共有メモリ回路23に与えられる。
制御プロセッサ21からアドレス信号33が共有メモリ
回路23,24およびアドレスデコーダ25に与えら
れ、かつ、制御プロセッサ22からアドレス信号34が
共有メモリ回路23,24およびアドレスデコーダ26
に与えられる。制御プロセッサ21から読み込み信号3
5が共有メモリ回路23および転送モード設定回路27
に与えられる。制御プロセッサ22から読み込み信号3
6が共有メモリ回路24および転送モード設定回路28
に与えられる。制御プロセッサ21から書き込み信号3
7が共有メモリ回路23および転送モード設定回路27
に与えられる。制御プロセッサ22から書き込み信号3
8が共有メモリ回路24および転送モード設定回路28
に与えられる。
A data signal 31 is applied from the shared memory circuit 23 to the control processor 21, and a data signal 32 is applied from the shared memory circuit 24 to the control processor 22. A data signal 31 is applied from the control processor 21 to the shared memory circuit 24, and a data signal 32 is applied from the control processor 22 to the shared memory circuit 23.
The control processor 21 supplies the address signal 33 to the shared memory circuits 23 and 24 and the address decoder 25, and the control processor 22 outputs the address signal 34 to the shared memory circuits 23 and 24 and the address decoder 26.
Given to. Read signal 3 from control processor 21
5 is a shared memory circuit 23 and a transfer mode setting circuit 27
Given to. Read signal 3 from control processor 22
6 is a shared memory circuit 24 and a transfer mode setting circuit 28
Given to. Write signal 3 from control processor 21
7 is a shared memory circuit 23 and a transfer mode setting circuit 27.
Given to. Write signal 3 from control processor 22
8 is a shared memory circuit 24 and a transfer mode setting circuit 28
Given to.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 主記憶空間の一部分を共有メモリ空間と
し制御プロセッサで主記憶空間を共有する共有メモリ使
用方式において、書き込み専用と読み込み専用の2種類
の主記憶回路でアドレスを共有し、主記憶空間と制御プ
ロセッサ間のデータ転送の方向によって主記憶空間の選
択を切り替えることを特徴とする共有メモリ使用方式。
1. In a shared memory use method in which a part of the main memory space is used as a shared memory space and the control processor shares the main memory space, two types of main memory circuits, a write-only and a read-only, share an address, A shared memory usage method characterized by switching the selection of the main storage space according to the direction of data transfer between the space and the control processor.
【請求項2】 請求項1に記載された共有メモリ使用方
式において、前記主記憶空間上の一部分に確保した共有
メモリ空間へのアクセスモードを決定するためのデータ
転送モードを設定する手段と、読み込み専用の共有メモ
リ空間のアドレスと書き込み専用の共有メモリ空間のア
ドレスを共有する手段と、前記データ転送モードによっ
て読み込み専用あるいは書き込み専用のいずれかの共有
メモリ空間を選択する手段とを有していることを特徴と
する共有メモリ使用方式。
2. The shared memory using method according to claim 1, further comprising means for setting a data transfer mode for determining an access mode to the shared memory space secured in a part of the main memory space, and reading. It has a means for sharing an address of a dedicated shared memory space and an address of a shared memory space for writing only, and a means for selecting one of the read-only or write-only shared memory space depending on the data transfer mode. Shared memory usage method characterized by.
JP7168612A 1995-07-04 1995-07-04 Shared memory applying system Pending JPH0916539A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7168612A JPH0916539A (en) 1995-07-04 1995-07-04 Shared memory applying system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7168612A JPH0916539A (en) 1995-07-04 1995-07-04 Shared memory applying system

Publications (1)

Publication Number Publication Date
JPH0916539A true JPH0916539A (en) 1997-01-17

Family

ID=15871292

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7168612A Pending JPH0916539A (en) 1995-07-04 1995-07-04 Shared memory applying system

Country Status (1)

Country Link
JP (1) JPH0916539A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7517073B2 (en) 2004-03-16 2009-04-14 Canon Kabushiki Kaisha Liquid composition, set of liquid composition and ink, ink jet recording apparatus, and image forming method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7517073B2 (en) 2004-03-16 2009-04-14 Canon Kabushiki Kaisha Liquid composition, set of liquid composition and ink, ink jet recording apparatus, and image forming method

Similar Documents

Publication Publication Date Title
US20010010057A1 (en) Semiconductor integrated circuit, computer system, data processor and data processing method
KR100267412B1 (en) Semiconductor memory device with block write function
US5701436A (en) Information processing apparatus including synchronous storage having backup registers for storing the latest sets of information to enable state restoration after interruption
JPH0916539A (en) Shared memory applying system
JPS59226958A (en) Memory device
US4618946A (en) Dual page memory system having storage elements which are selectively swapped between the pages
US6405293B1 (en) Selectively accessible memory banks for operating in alternately reading or writing modes of operation
US20020156964A1 (en) Reduction of bank switching instructions in main memory of data processing apparatus having main memory and plural memory
JP3131918B2 (en) Memory device
JPS6246354A (en) Page history memory control system
JPH0520173A (en) Cache memory circuit
JP2547256B2 (en) DMA device
KR900003148B1 (en) Monitor interface system for storing image data transiently
JP2636253B2 (en) Expansion bus method
JP2841432B2 (en) Data transfer device
JPS646491B2 (en)
JPH0865497A (en) Image processing system
JPH10293716A (en) Memory use system
JPH01261767A (en) Data communication system
JPS63100554A (en) Memory controller
JPH04155454A (en) Information processor
JPH08235054A (en) shared memory
JPH02139651A (en) Address decoding circuit
JPS6012657B2 (en) Storage device
JPH05165731A (en) Duplex storage device

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19980924