JPS6113628B2 - - Google Patents

Info

Publication number
JPS6113628B2
JPS6113628B2 JP13526378A JP13526378A JPS6113628B2 JP S6113628 B2 JPS6113628 B2 JP S6113628B2 JP 13526378 A JP13526378 A JP 13526378A JP 13526378 A JP13526378 A JP 13526378A JP S6113628 B2 JPS6113628 B2 JP S6113628B2
Authority
JP
Japan
Prior art keywords
memory
processor
data
shared
output
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
JP13526378A
Other languages
Japanese (ja)
Other versions
JPS5561866A (en
Inventor
Toshihiko Oohori
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP13526378A priority Critical patent/JPS5561866A/en
Publication of JPS5561866A publication Critical patent/JPS5561866A/en
Publication of JPS6113628B2 publication Critical patent/JPS6113628B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 本発明はマルチプロセツシングシステムにおい
て、それぞれデータビツト構成の異なるプロセツ
サがメモリを共有する場合のメモリ指定方式に関
する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a memory specification method in a multiprocessing system when processors each having a different data bit configuration share the memory.

マルチプロセツシングシステムいおいて、各プ
ロセツサがメモリを共有する場合、つまりメモリ
シエアド方式を用いている場合、各プロセツサの
データビツト構成が異なる場合がある。例えばデ
ータを8ビツト単位で処理する8ビツトプロセツ
サが周辺機器とのデータの授受を処理し、データ
を16ビツト単位で処理する16ビツトプロセツサが
主ルーチンを処理するような場合である。このよ
うに例えば8ビツトプロセツサと16ビツトプロセ
ツサを用いた場合、共有メモリは一方のプロセツ
サに合わせてビツト構成及びアクセス内容が設定
される。例えば16ビツト構成の共有メモリを用い
た場合、一般には8ビツトプロセツサを中心とし
てアクセス内容が設定されるもので、第1図a,
bに示すように下位8ビツトにデータ例えばキヤ
ラクタデータA,B……及びコントロールデータ
が1番地おきに交互に書込まれる。しかし、この
ように共有メモリの下位8ビツトを使用するよう
にした場合は、共有メモリの上位8ビツトが無駄
になる。また、16ビツトプロセツサを中心に考え
て16ビツト共有メモリの下位8ビツトにキヤラク
タデータ、上位8ビツトにコントロールデータを
書込むようにすると、8ビツトプロセツサのアド
レスデータをアドレス変換しないと共有メモリの
上位ビツトをアクセスできず、構成が複雑化する
という問題がある。また、共有メモリを8ビツト
構成とした場合は、メモリ容量の無駄をなくすこ
とができるが、16ビツトプロセツサの処理が遅く
なるという欠点がある。
In a multiprocessing system, when each processor shares memory, that is, when a memory shared system is used, the data bit configuration of each processor may be different. For example, an 8-bit processor that processes data in units of 8 bits processes data exchange with peripheral equipment, and a 16-bit processor that processes data in units of 16 bits processes the main routine. In this way, for example, when an 8-bit processor and a 16-bit processor are used, the bit configuration and access contents of the shared memory are set according to one of the processors. For example, when using a shared memory with a 16-bit configuration, access contents are generally set centering around an 8-bit processor, and the contents shown in Figure 1a,
As shown in b, data such as character data A, B, . . . and control data are alternately written in the lower 8 bits at every other address. However, if the lower 8 bits of the shared memory are used in this way, the upper 8 bits of the shared memory are wasted. Furthermore, if we focus on a 16-bit processor and write character data to the lower 8 bits of the 16-bit shared memory and control data to the upper 8 bits, if the address data of the 8-bit processor is not converted, the upper bits of the shared memory will be written. There is a problem that the configuration cannot be accessed and the configuration becomes complicated. Furthermore, if the shared memory is configured as 8 bits, it is possible to eliminate wasted memory capacity, but there is a drawback that processing by a 16 bit processor becomes slower.

本発明は上記の点り鑑みてなされたもので、処
理装置の処理速度が低下することなく、共有メリ
を有効に利用し得るメモリ指定方式を提供するこ
とを目的とする。
The present invention has been made in view of the above points, and an object of the present invention is to provide a memory specification method that can effectively utilize shared memory without reducing the processing speed of a processing device.

以下図面を参照して本発明の一実施例を説明す
る。第2図において、1はデータビツト構成が8
ビツトのプロセツサA、2はデータビツト構成が
16ビツトのプロセツサBである。上記プロセツサ
A1、プロセツサB2は、プロセツサコントロー
ラ3によつて制御されるもので、プロセツサA
1,B2にはプロセツサコントローラ3からスタ
ート、ストツプ指令が送られる。また、プロセツ
サA1,B2からはプロセツサコントローラ3に
実行中を示す信号が送られる。そして、プロセツ
サA1及びプロセツサコントローラ3には、8ビ
ツトのAデータバス4aを介して8ビツトの占有
メモリ5及び8ビツトの共有メモリ6aが接続さ
れると共にさらに双方向性ゲートGを介して8ビ
ツトの共有メモリ6bが接続される。また、プロ
セツサB2及びプロセツサコントローラ3には、
16ビツトのBデータバス7aを介して16ビツトの
占有メモリ8が接続されると共に上記共有メモリ
6a,6bが接続される。上記メモリ5,6a,
6b,8としてはRAM(ランダムアクセスメモ
リ)が用いられる。しかして、プロセツサA1は
例えば16ビツトのアドレスデータAA0〜AA15
出力するアドレスバス4bを備えており、占有メ
モリ5にはアドレスデータAA0〜AA7が送られ、
共有メモリ6a,6b、プロセツサコントローラ
3にはアドレスデータAA1〜AA8が送られる。ま
た、プロセツサA1から出力されるアドレスデー
タAA9〜AA15は制御データとして動作指令A―
VLDと共にデコーダ9へ送られる。このデコー
ダ9は出力ライン9a〜9cを備えており、出力
ライン9aから出力される信号は占有メモリ5へ
チツプセレクト信号CSとして送られる。また、
デコーダ9の出力ライン9bから出力される信号
はアンド回路10,11へ入力され、出力ライン
9cから出力される信号はステータス信号として
プロセツサコントローラ3へ送られる。また、プ
ロセツサA1から出力されるアドレスデータA0
はアンド回路11へ入力されると共にインバータ
12を介してアンド回路10へ入力される。この
アンド回路10の出力はオア回路12を介して共
有メモリ6aへチツプセレクト信号CSとして送
られ、アンド回路11の出力はオア回路13を介
して共有メモリ6bへチツプセレクト信号CSと
して送られる。また、プロセツサA1から出力さ
れる読出し/書込み指令R/Wは、動作指令A―
VLDと共にアンド回路14へ入力され、このア
ンド回路14の出力が占有メモリ5へ送られると
共にオア回路15,19をそれぞれ介して共有メ
モリ6a,6bへ送られる。一方、プロセツサB
2は、16ビツトのアドレスデータBA0〜BA15を備
えており、アドレスデータBA0〜BA7がアドレス
バス7bを介して共有メモリ6a,6b、占有メ
モリ8及びプロセツサコントローラ3へ送られ
る。また、プロセツサB2から出力されるアドレ
スデータBA8〜BA15は制御データとして動作指令
B―VLDと共にデコーダ16へ送られる。この
デコーダ16は出力ライン16a〜16cを備え
ており、出力ライン16aから出力される信号は
チツプセレクト信号CSとしてオア回路12,1
3を介して共有メモリ6a,6bへ送られると共
にインバータ17を介して双方向性ゲートGへゲ
ート制御信号として送られる。この双方向性ゲー
トGは制御信号が“0”の場合にゲートを閉じ、
制御信号が“1”の時にゲートを開くようになつ
ている。また、デコーダ16の出力ライン16b
から出力される信号は、占有メモリ8へチツプセ
レクト信号CSとして送られ、出力ライン16c
から出力される信号はステータス信号としてプロ
セツサコントローラ3へ送られる。さらに、プロ
セツサ2から出力される読出し/書込み指令R/
Wは、動作指令B―VLDと共にアンド回路18
を介して出力され、さらにオア回路19を介して
共有メモリ6bへ送られると共にオア回路15を
介して共有メモリ6aへ送られる。また、アンド
回路18から出力される読出し/書込み指令は占
有メモリ8へ送られる。
An embodiment of the present invention will be described below with reference to the drawings. In Figure 2, 1 has a data bit configuration of 8.
The data bit configuration of bit processors A and 2 is
This is a 16-bit processor B. The processor A1 and processor B2 are controlled by a processor controller 3.
Start and stop commands are sent from the processor controller 3 to 1 and B2. Furthermore, a signal indicating that the process is being executed is sent from the processors A1 and B2 to the processor controller 3. An 8-bit dedicated memory 5 and an 8-bit shared memory 6a are connected to the processor A1 and the processor controller 3 via an 8-bit A data bus 4a, and an 8-bit shared memory 6a is connected via a bidirectional gate G. A bit shared memory 6b is connected. In addition, the processor B2 and processor controller 3 include
A 16-bit exclusive memory 8 is connected via a 16-bit B data bus 7a, and the shared memories 6a and 6b are also connected. The memory 5, 6a,
As 6b and 8, RAM (random access memory) is used. The processor A1 is equipped with an address bus 4b that outputs, for example, 16-bit address data AA0 to AA15 , and the address data AA0 to AA7 are sent to the exclusive memory 5.
Address data AA 1 to AA 8 are sent to the shared memories 6a, 6b and the processor controller 3. In addition, address data AA 9 to AA 15 output from processor A1 are used as control data for operation commands A-
It is sent to the decoder 9 together with VLD. This decoder 9 includes output lines 9a to 9c, and the signal output from the output line 9a is sent to the dedicated memory 5 as a chip select signal CS. Also,
The signal output from the output line 9b of the decoder 9 is input to AND circuits 10 and 11, and the signal output from the output line 9c is sent to the processor controller 3 as a status signal. Also, address data A 0 output from processor A1
is input to the AND circuit 11 and also to the AND circuit 10 via the inverter 12. The output of the AND circuit 10 is sent to the shared memory 6a as a chip select signal CS via an OR circuit 12, and the output of the AND circuit 11 is sent to the shared memory 6b via an OR circuit 13 as a chip select signal CS. In addition, the read/write command R/W output from processor A1 is the operation command A-
It is input together with VLD to an AND circuit 14, and the output of this AND circuit 14 is sent to the exclusive memory 5 and also to the shared memories 6a and 6b via OR circuits 15 and 19, respectively. On the other hand, processor B
2 includes 16-bit address data BA 0 -BA 15 , and the address data BA 0 -BA 7 are sent to the shared memories 6a, 6b, the dedicated memory 8, and the processor controller 3 via the address bus 7b. Further, the address data BA 8 to BA 15 outputted from the processor B2 are sent to the decoder 16 as control data together with the operation command B-VLD. This decoder 16 is equipped with output lines 16a to 16c, and the signal outputted from the output line 16a is used as a chip select signal CS by the OR circuits 12 and 16c.
3 to the shared memories 6a, 6b, and also to the bidirectional gate G via the inverter 17 as a gate control signal. This bidirectional gate G closes the gate when the control signal is “0”,
The gate is opened when the control signal is "1". Also, the output line 16b of the decoder 16
The signal output from
The signal output from the processor controller 3 is sent to the processor controller 3 as a status signal. Furthermore, the read/write command R/
W is the AND circuit 18 along with the operation command B-VLD.
Further, it is sent to the shared memory 6b via the OR circuit 19, and also sent to the shared memory 6a via the OR circuit 15. Further, the read/write command output from the AND circuit 18 is sent to the exclusive memory 8.

次に上記のように構成された本発明の動作を説
明する。16ビツトの占有メモリ8には例えば第3
図aに示すように下位8ビツトにキヤラクタデー
タA,B,C……が書込まれ、上位8ビツトにコ
ントロールデータが書込まれる。このコントロー
ルデータは、下位ビツトに書込まれているキヤラ
クタデータに対するもので、キヤラクタデータが
例えばデイスプレイ装置において表示するもので
あれば、プロテクト、ブリンク、ニユーメリツ
ク、グラフイツク等、キヤラクタの特性を示して
いる。共有メモリ6a,6bは占有メモリ8の下
位ビツト及び上位ビツトに対応しており、共有メ
モリ6aにキヤラクタデータ、共有メモリ6bに
コントロールデータが書込まれる。また、8ビツ
トの占有メモリ5には8ビツトのキヤラクタとコ
ントロールデータが1番地おきに交互に書込まれ
る。
Next, the operation of the present invention configured as described above will be explained. For example, the 16-bit occupied memory 8 has a third
As shown in Figure a, character data A, B, C, . . . are written in the lower 8 bits, and control data is written in the upper 8 bits. This control data is for the character data written in the lower bits, and if the character data is to be displayed on a display device, it indicates the characteristics of the character such as protect, blink, new music, graphics, etc. There is. Shared memories 6a and 6b correspond to lower bits and upper bits of exclusive memory 8, character data is written in shared memory 6a, and control data is written in shared memory 6b. Furthermore, 8-bit characters and control data are alternately written into the 8-bit exclusive memory 5 at every other address.

しかして、プロセツサA1及びプロセツサB2
は、プロセツサロントローラ3からのスタート/
ストツプ指令によつて動作が制御される。今例え
ばプロセツサコントローラ3からのスタート指令
によりプロセツサA1が処理の実行を開始すれ
ば、その実行動作を行つている間、プロセツサA
1からプロセツサコントローラ3へ第4図aに示
すように実行中信号が送られる。また、プロセツ
サA1からは、処理を実行している間、第4図c
に示すように動作指令A―VLDが出力され、第
4図eに示すようにプロセツサA1に対するAデ
ータバス4a、Aアドレスバス4bの使用が保証
される。しかして、プロセツサA1が占有メモリ
5を使用する場合は、アドレスデータAA9
AA15を使用して占有メモリ5を指定する制御デ
ータを出力すると共に動作指令A―VLDを出力
し、デコーダ9に入力する。デコーダ9は上記制
御データをデコードし、出力ライン9aから
“1”信号を出力して占有メリ5を選択指定す
る。また、プロセツサA1は読出し/書込み指令
R/Wを出力して動作指令A―VLDと共にアン
ド回路14へ入力する。読出し/書込み指令R/
Wは、“0”の場合が読出し、“1”の場合が書込
みであり、アンド回路14の出力によつて占有メ
モリ5の読出しあるいは書込みを指定する。さら
に、プロセツサA1はAアドレスバス4bを介し
てアドレスデータAA0〜AA7を出力し、占有メモ
リ5のアドレスを指定する。そして、読出しの場
合であれば、指定アドレスに従つて占有メモリ5
の内容がAデータバス4aを介してプロセツサA
1に読出され、書込みの場合であればプロセツサ
A1からAデータバス4aに出力されるデータが
占有メモリ5に書込まれる。そしてプロセツサA
1は占有メモリ5へのアクセスを終了するとプロ
セツサコントローラ3への実行中信号の送出を停
止する。これによりプロセツサコントローラ3は
次の制御動作に進む。
Therefore, processor A1 and processor B2
Starts from Proset Salon Trolla 3/
The operation is controlled by a stop command. For example, if the processor A1 starts executing a process in response to a start command from the processor controller 3, the processor A1
1 sends an execution signal to the processor controller 3 as shown in FIG. 4a. Also, from processor A1, while processing is being executed,
As shown in FIG. 4, the operation command A-VLD is output, and the use of the A data bus 4a and the A address bus 4b for the processor A1 is guaranteed as shown in FIG. 4e. Therefore, when processor A1 uses exclusive memory 5, address data AA 9 to
Using AA 15 , it outputs control data specifying the occupied memory 5 and also outputs an operation command A-VLD, which is input to the decoder 9. The decoder 9 decodes the control data and outputs a "1" signal from the output line 9a to select and designate the occupied memory 5. Further, the processor A1 outputs a read/write command R/W and inputs it to the AND circuit 14 together with the operation command A-VLD. Read/write command R/
When W is "0", it is read, and when it is "1", it is write, and the output of the AND circuit 14 specifies reading or writing of the exclusive memory 5. Further, the processor A1 outputs address data AA0 to AA7 via the A address bus 4b to designate an address in the exclusive memory 5. In the case of reading, the occupied memory 5 is read according to the specified address.
The contents of are sent to the processor A via the A data bus 4a.
1, and in the case of writing, the data output from the processor A1 to the A data bus 4a is written into the exclusive memory 5. and processor A
1 stops sending the execution signal to the processor controller 3 when the access to the exclusive memory 5 is completed. This causes the processor controller 3 to proceed to the next control operation.

また、プロセツサA1が共有メモリ6a,6b
を使用する場合は、アドレスデータAA9〜AA15
により共有メモリ6a,6bを指定する制御デー
タを出力する。この制御データはデコーダ9でデ
コードされ、デコーダ9の出力ライン9bから
“1”信号が出力される。このデコーダ9の出力
信号はアンド回路10,11へ入力され、プロセ
ツサA1から出力されるアドレスデータAA0によ
つてアンド回路10,11の何れかの出力が
“1”となり、共有メモリ6a,6bの一方が選
択指定される。すなわち、アドレスデータAA0
“0”の場合はインバータ12の出力が“1”と
なるためアンド回路10の出力が“1”となり、
共有メモリ6aが選択され、アドレスデータAA0
が“1”の場合はアンド回路11の出力が“1”
となつて共有メモリ6bが選択指定される。そし
て、プロセツサA1は、共有メモリ6a,6bを
使用する場合はアドレスデータAA1〜AA8によつ
てアドレス指定を行い、同一アドレスに対してア
ドレスデータAA0を“0”と“1”に切替えるこ
とによつて共有メモリ6a,6bを交互に選択指
定する。すなわち、プロセツサA1が共有メモリ
6a,6bを使用する場合は第3図bに示すよう
にキヤラクタデータとコントロールデータを交互
にアクセスする。上記プロセツサA1が共有メモ
リ6a,6bをアクセスしている時はデコーダ9
の出力ライン9cから出力されるステータス信号
によつて、プロセツサコントローラ3はプロセツ
サ2の共有メモリ6a,6bへのアクセスを禁止
する。従つてこの時デコーダ16の出力ライン1
6aから出力される信号は“0”でインバータ1
7の出力が“1”となつており、双方向性ゲート
のゲートが開かれている。すなわち、プロセツサ
A1が共有メモリ6a,6bを使用する時は、第
4図gに示すように共有メモリ6a,6bを占有
する。
In addition, the processor A1 uses the shared memories 6a and 6b.
If using , address data AA 9 ~ AA 15
control data specifying the shared memories 6a and 6b is output. This control data is decoded by the decoder 9, and a "1" signal is output from the output line 9b of the decoder 9. The output signal of this decoder 9 is input to AND circuits 10 and 11, and the output of one of the AND circuits 10 and 11 becomes "1" depending on the address data AA 0 output from the processor A1, and the shared memories 6a and 6b One of them is selected and specified. That is, when address data AA 0 is "0", the output of the inverter 12 is "1", so the output of the AND circuit 10 is "1",
Shared memory 6a is selected and address data AA 0
is “1”, the output of AND circuit 11 is “1”
Thus, the shared memory 6b is selected and specified. When using the shared memories 6a and 6b, the processor A1 specifies addresses using address data AA 1 to AA 8 , and switches address data AA 0 between "0" and "1" for the same address. By this, the shared memories 6a and 6b are alternately selected and designated. That is, when processor A1 uses shared memories 6a and 6b, character data and control data are accessed alternately as shown in FIG. 3b. When the processor A1 is accessing the shared memories 6a and 6b, the decoder 9
The processor controller 3 prohibits the processor 2 from accessing the shared memories 6a and 6b in response to the status signal output from the output line 9c. Therefore, at this time, output line 1 of the decoder 16
The signal output from 6a is “0” and inverter 1
The output of 7 is "1", and the gate of the bidirectional gate is open. That is, when the processor A1 uses the shared memories 6a and 6b, it occupies the shared memories 6a and 6b as shown in FIG. 4g.

一方、プロセツサB2がプロセツサコントロー
ラ3からの指令に従つて処理動作を実行する場合
は、第4図bに示す実行中信号及び第4図dに示
す動作指令B―VLDを出力する。これにより第
4図fに示すようにプロセツサB2に対するBデ
ータバス7a及びBアドレスバスbの使用が保証
される。そして、プロセツサB2が占有メモリ8
を使用する場合は、アドレスデータBA8〜BA15
より占有メモリ8を使用する制御データを出力す
る。この制御データによりデコーダ16の出力ラ
イン16bから“1”信号が出力されて占有メモ
リ8が選択指定され、プロセツサA1の場合と同
様にして占有メモリ8に対するアクセスが行われ
る。
On the other hand, when the processor B2 executes a processing operation in accordance with a command from the processor controller 3, it outputs an execution signal shown in FIG. 4b and an operation command B-VLD shown in FIG. 4d. This ensures the use of B data bus 7a and B address bus b for processor B2, as shown in FIG. 4f. Then, processor B2 uses the occupied memory 8.
When using the address data BA8 to BA15 , control data for using the exclusive memory 8 is output. Based on this control data, a "1" signal is output from the output line 16b of the decoder 16 to select and designate the dedicated memory 8, and access to the dedicated memory 8 is performed in the same manner as in the case of the processor A1.

また、プロセツサB2が共有メモリ6a,6b
を使用する場合は、アドレスデータBA8〜BA15
より共有メモリ6a,6bを指定する。この際デ
コーダ16の出力ライン16aから“1”信号が
出力され、オア回路12,13を介して共有メモ
リ6a,6bへ送られてその選択指定が行われ
る。すなわち、プロセツサB2が共有メモリ6
a,6bをアクセスする場合は、共有メモリ6
a,6bが同時に選択指定される。そして、デコ
ーダ16の出力ライン16aから“1”信号が出
力されるとインバータ17の出力が“0”となつ
て双方向性ゲートGのゲートが閉じ、Aデータバ
ス4aが共有メモリ6bから切離される。また、
プロセツサコントローラ3はデコーダ16の出力
ライン16cから出力されるステータス信号によ
りプロセツサA1の共有メモリ6a,6bへのア
クセスを禁止する。これによりプロセツサB2は
第4図gに示すように共有メモリ6a,6bを占
有する。そして、プロセツサB2はアドレスデー
タBA0〜BA7をBアドレスバス7bに出力し、共
有メモリ6a,6bのアドレスを指定する。ま
た、この際プロセツサB2からは読出し/書込み
指令R/Wが出力され、指定アドレスに対するデ
ータの読出しあるいは書込みが行われ。すなわ
ち、プロセツサB2がアクセスする場合は上記し
たように共有メモリ6a,6bが同時にアクセス
され、第4図aに示すように共有メモリ6aに対
してはキヤラクタデータ、また、共有メモリ6b
に対してはコントロールデータの読出しあるいは
書込みが行われる。
In addition, the processor B2 uses the shared memories 6a and 6b.
When using the shared memories 6a and 6b, address data BA8 to BA15 are used. At this time, a "1" signal is output from the output line 16a of the decoder 16, and is sent to the shared memories 6a, 6b via the OR circuits 12, 13 to designate the selection. That is, processor B2 uses shared memory 6.
When accessing a and 6b, shared memory 6
a and 6b are selected and specified at the same time. When a "1" signal is output from the output line 16a of the decoder 16, the output of the inverter 17 becomes "0", the gate of the bidirectional gate G is closed, and the A data bus 4a is disconnected from the shared memory 6b. It can be done. Also,
The processor controller 3 prohibits access of the processor A1 to the shared memories 6a and 6b by the status signal outputted from the output line 16c of the decoder 16. As a result, processor B2 occupies the shared memories 6a and 6b as shown in FIG. 4g. Processor B2 then outputs address data BA0 to BA7 to B address bus 7b to designate the addresses of shared memories 6a and 6b. At this time, the processor B2 outputs a read/write command R/W, and data is read or written to the specified address. That is, when the processor B2 accesses, the shared memories 6a and 6b are accessed simultaneously as described above, and as shown in FIG.
Control data is read or written to.

上記実施例では8ビツト及び16ビツトのプロセ
ツサ1,2により共有メモリをアクセスする場合
について示したが、その他のビツト構成のプロセ
ツサを用いる場合でも同様に実施し得ることは勿
論である。
In the above embodiment, the shared memory is accessed by 8-bit and 16-bit processors 1 and 2, but it goes without saying that the same implementation is possible even when processors with other bit configurations are used.

また、上記実施例では共有メモリを2つに分割
して使用する場合について示したが、更に多数に
分割してデータビツト多い処理装置がアクセスす
る場合に分割した共有メモリを全部又は複数個同
時にアクセスするようにしてもよい。
In addition, although the above embodiment shows the case where the shared memory is divided into two parts, when the shared memory is further divided into a large number of parts and accessed by a processing device with a large number of data bits, all or a plurality of the divided shared memories can be accessed simultaneously. You may also do so.

さらに、プロセツサ以外、例えばダイレクトメ
モリアクセスのチヤンネルコントローラについて
も実施例と同様に実施し得るものである。
Furthermore, other than the processor, for example, a channel controller for direct memory access can also be implemented in the same manner as in the embodiment.

以上述べたように本発明によれば、マルチプロ
セツシングシステムにおいて、異なるデータビツ
ト構成の処理装置を用いて共有メモリをアクセス
する場合に、データビツトの少ない処理装置に対
応させて共有メモリを分割し、データビツトの少
ない処理装置がアクセスする場合は分割した共有
メモリを個々に指定してアクセスし、データビツ
トの多い処理装置がアクセスする場合は分割した
共有メモリを全部又は複数個同時にアクセスする
ようにしたので、処理速度を低下することなく効
率的に使用することができる。
As described above, according to the present invention, when shared memory is accessed using processing devices with different data bit configurations in a multiprocessing system, the shared memory is divided according to the processing device with fewer data bits. However, when a processing device with a small number of data bits accesses, it specifies and accesses the divided shared memory individually, and when a processing device with a large number of data bits accesses, it accesses all or multiple divided shared memories at the same time. , it can be used efficiently without reducing processing speed.

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

第1図は従来のメモリ指定方式を示す図、第2
図は本発明の一実施例を示す回路構成図、第3図
a,bは同実施例における共有メモリのアクセス
状態を示す図、第4図は同実施例の動作を説明す
るためのタイムチヤートである。 1,2…プロセツサ、5,8…占有メモリ、6
a,6b…共有メモリ、4a,7a…データバ
ス、4b,7b…アドレスバス。
Figure 1 shows the conventional memory specification method, Figure 2 shows the conventional memory specification method.
The figure is a circuit configuration diagram showing one embodiment of the present invention, FIGS. 3a and 3b are diagrams showing access states of the shared memory in the same embodiment, and FIG. 4 is a time chart for explaining the operation of the same embodiment. It is. 1, 2...Processor, 5, 8...Occupied memory, 6
a, 6b...shared memory, 4a, 7a...data bus, 4b, 7b...address bus.

Claims (1)

【特許請求の範囲】 1 それぞれデータビツト構成の異なる処理装置
を用いて共有メモリをアクセスするマルチプロセ
ツシングシステムにおいて、データビツト構成の
少ない処理装置に対応させて共有メモリを分割す
る手段と、データビツトの少ない処理装置がメモ
リアクセスする場合は分割した共有メモリを個々
に選択指定してアクセスする手段と、データビツ
ト構成の多い処理装置がメモリアクセスする場合
共有メモリを全部又は複数個同時にアクセスする
手段とを具備したことを特徴とするメモリ指定方
式。 2 データビツト構成の少ない処理装置がメモリ
アクセスする場合、下位アドレスラインを用いて
共有メモリの選択指定を行う特許請求の範囲第1
項記載のメモリ方式。
[Scope of Claims] 1. In a multiprocessing system in which a shared memory is accessed using processing devices each having a different data bit configuration, means for dividing the shared memory in correspondence with processing devices having a small number of data bit configurations; When a processing device with a small number of data bits accesses the memory, there is a means to individually select and specify divided shared memory to access it, and when a processing device with a large data bit structure accesses the memory, there is a means to access all or multiple pieces of shared memory at the same time. A memory specification method characterized by comprising the following. 2. When a processing device with a small data bit configuration accesses the memory, the lower address line is used to select and designate the shared memory.
Memory method described in section.
JP13526378A 1978-11-02 1978-11-02 Memory designation system Granted JPS5561866A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13526378A JPS5561866A (en) 1978-11-02 1978-11-02 Memory designation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13526378A JPS5561866A (en) 1978-11-02 1978-11-02 Memory designation system

Publications (2)

Publication Number Publication Date
JPS5561866A JPS5561866A (en) 1980-05-09
JPS6113628B2 true JPS6113628B2 (en) 1986-04-14

Family

ID=15147607

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13526378A Granted JPS5561866A (en) 1978-11-02 1978-11-02 Memory designation system

Country Status (1)

Country Link
JP (1) JPS5561866A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2112186B (en) * 1981-12-22 1985-09-11 Intersil Inc Improved distributed processing system
JPS63113745A (en) * 1986-10-31 1988-05-18 Sony Tektronix Corp Memory controller
JPH0774986B2 (en) * 1987-09-19 1995-08-09 富士通株式会社 Data bus connection system

Also Published As

Publication number Publication date
JPS5561866A (en) 1980-05-09

Similar Documents

Publication Publication Date Title
JP2633458B2 (en) DMA channel device and DMA channel conversion device
JPH01502221A (en) Computer system with computer address translation device
JPS61271548A (en) Electronic circuit for connecting processor to high capacitymemory
JPH01263737A (en) Emulation device
JPS6113629B2 (en)
JPS6113628B2 (en)
JPS63244152A (en) Access control system for extended memory device
JPS59173828A (en) Data processing system
JP2687679B2 (en) Program development equipment
JP3203007B2 (en) I / O address conversion method for virtual machines
JPH0441393Y2 (en)
JPS6161139B2 (en)
JPH01258169A (en) Shared memory address designating system
JPS6265149A (en) Rewriting system for memory control unit
JP2002318779A (en) Device, and access method for its register
JPS599755A (en) Microprogram read-out control system
JPS6249458A (en) Memory device
JPS5960481A (en) Crt controller
JPS61150047A (en) Remote supervisory control device
JPS62164155A (en) Multiprocessor addressing system
JPS63313251A (en) Addressing circuit
JPS6146854B2 (en)
JPH0378049A (en) Microcomputer
JPH05189306A (en) Memory device and programmable controller
JPH03142544A (en) Memory access system