JPS63237154A - Memory access system - Google Patents
Memory access systemInfo
- Publication number
- JPS63237154A JPS63237154A JP7037187A JP7037187A JPS63237154A JP S63237154 A JPS63237154 A JP S63237154A JP 7037187 A JP7037187 A JP 7037187A JP 7037187 A JP7037187 A JP 7037187A JP S63237154 A JPS63237154 A JP S63237154A
- Authority
- JP
- Japan
- Prior art keywords
- bus
- cpu
- memory
- access
- selector
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4004—Coupling between buses
- G06F13/4022—Coupling between buses using switching circuits, e.g. switching matrix, connection or expansion network
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Mathematical Physics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Multi Processors (AREA)
- Bus Control (AREA)
Abstract
Description
【発明の詳細な説明】
[発明の目的]
(産業上の利用分野)
本発明はマルチCPU (中央処理装置)システムのメ
モリアクセス方式に関する。DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Field of Industrial Application) The present invention relates to a memory access method for a multi-CPU (Central Processing Unit) system.
(従来の技術)
従来マルチCPUシステムにおいては、バス調停回路(
バスの使用権の制御をする回路)を通してバスに信号を
出力し、メモリへのアクセスを行なっていた。第4図示
そのマルチCPUシステムを示し、図中11+12はC
PUボード、CPU1.CPU2は中央処理装置、21
.22はバス調停回路、3はメモリボード、4はメモリ
、5はバスである。従ってCPUからメモリ4へのアク
セスが発生した場合、必ずバス調停回路が動作するため
、アクセス時にバス調停回路によるオーバーヘッド(無
駄時間)を生じる。このためCPUのもつ処理能力を低
下させる原因になっていた。(Prior art) In a conventional multi-CPU system, a bus arbitration circuit (
The memory was accessed by outputting signals to the bus through a circuit that controlled the right to use the bus. The fourth figure shows the multi-CPU system, and 11+12 in the figure shows the C
PU board, CPU1. CPU2 is a central processing unit, 21
.. 22 is a bus arbitration circuit, 3 is a memory board, 4 is a memory, and 5 is a bus. Therefore, when an access from the CPU to the memory 4 occurs, the bus arbitration circuit always operates, which causes overhead (waste time) due to the bus arbitration circuit at the time of access. This has caused a reduction in the processing power of the CPU.
(発明が解決しようとする間遅点)
上記のように従来は、バス調停回路を通してメモリへの
アクセスを行なっていたため、CPUの処理能力を低下
させていた。(A slow point for the invention to solve) As described above, in the past, access to memory was performed through the bus arbitration circuit, which reduced the processing power of the CPU.
そこで本発明の目的とするところは、CPUのアクセス
速度を低下させないシステムバス構成を得ることにより
、CPUの処理能力を低下させないマルチ〇PUのメモ
リアクセス方式を提供することにある。Therefore, an object of the present invention is to provide a multi-PU memory access method that does not reduce the processing performance of the CPU by obtaining a system bus configuration that does not reduce the access speed of the CPU.
[発明の構成]
(問題点を解決するための手段)
本発明は、第1のCPUからの信号を直接出力する第1
のバスと、このバスからのアクセスを優先して受けつけ
るバス切り換え手段と、この手段の出力側に設けられた
メモリと、第2のCPUからの信号で前記バス切り換え
手段を第2のバス側へ切り換える手段とを具備したこと
を特徴とする。[Structure of the Invention] (Means for Solving the Problems) The present invention provides a first CPU that directly outputs a signal from a first CPU.
a bus, a bus switching means for preferentially accepting accesses from this bus, a memory provided on the output side of this means, and a signal from a second CPU to switch the bus switching means to the second bus side. The present invention is characterized by comprising a means for switching.
即ち本発明は、第1のCPUがメモリをアクセスすると
き第1のバスが使用でき、かつ切り換え糸路は定常では
第1のバス側につながれているから、メモリアクセスを
高速に行なうことができ、従ってCPUのもつ処理能力
を向上できるようにしたものである。That is, in the present invention, the first bus can be used when the first CPU accesses the memory, and the switching thread path is normally connected to the first bus side, so that memory access can be performed at high speed. Therefore, it is possible to improve the processing power of the CPU.
(実施例)
以下図面を参照して本発明の一実施例を説明する。第1
図は同実施例の構成図であり、1□。(Example) An example of the present invention will be described below with reference to the drawings. 1st
The figure is a configuration diagram of the same embodiment, and is 1□.
12はCPUボード、CPU1 、CPU2は中央処理
装置、2工、22はバス調停回路、31゜32はメモリ
ボード、M□、M2はメモリ、AはCP U□の信号を
直接出力するバス(CPU1専用のバス)、Bはマルチ
CPUシステムに対応するバス、9はバスAとBのバス
信号を切り換える回路である。12 is a CPU board, CPU1, CPU2 are central processing units, 2nd board, 22 is a bus arbitration circuit, 31°32 is a memory board, M□, M2 are memories, A is a bus that directly outputs the signals of CPU□ (CPU1 Dedicated bus), B is a bus compatible with the multi-CPU system, and 9 is a circuit for switching bus signals between buses A and B.
第2図は切り換え回路9の具体例であり、10はバスA
よりのアクセスを受けつけ、メモリへの要求を出す回路
、ilはバスBよりのアクセスを受けつけ、メモリへの
要求を出す回路、12は回路10と11からの要求を調
停しバス切り換えを行なうバス切り換え回路、13はメ
モリM1へのアクセス信号を切り換えるセレクタである
。FIG. 2 shows a specific example of the switching circuit 9, and 10 is a bus A.
il is a circuit that accepts access from bus B and issues a request to memory; 12 is a bus switching circuit that mediates requests from circuits 10 and 11 and performs bus switching; A circuit 13 is a selector that switches an access signal to the memory M1.
第3図は上記構成の動作を示すフロチャートである。な
おこのフロチャートはCPUIから見たものであり、C
PU2から見たものではない。まずCPU、からメモリ
M1へのアクセスが発生すると(ステップS 1) 、
CPU1からの信号はバスAに出力される(ステップS
2)。バスAに出力された信号は切り換え回路9を通し
くステップS3)、メモリM1のアクセスが行なわれる
(ステップS6)。即ちバスBよりのアクセスが発生し
てないとき(糸路S4)、切り換え回路12はバスAの
信号をメモリMエヘ接続する論理となっており、セレク
タ13によりバスAの信号をメモリM1へ接続している
。この時点においてバスAよりのアクセスが発生すると
、バスの切り換え動作をおこすことなく、アクセス信号
がメモリM1へ伝えられ該メモリへのアクセスが行なわ
れる。FIG. 3 is a flowchart showing the operation of the above configuration. Note that this flowchart is viewed from the CPUI, and is
This is not what I saw from PU2. First, when the CPU accesses the memory M1 (step S1),
The signal from CPU1 is output to bus A (step S
2). The signal output to the bus A is passed through the switching circuit 9 (step S3), and the memory M1 is accessed (step S6). That is, when there is no access from bus B (thread path S4), the switching circuit 12 has the logic to connect the bus A signal to memory M, and the selector 13 connects the bus A signal to memory M1. are doing. If an access from bus A occurs at this point, an access signal is transmitted to memory M1 and the memory is accessed without performing a bus switching operation.
一方、CPU2よりバスBを通してのアクセスが発生し
ていた場合(糸路S5)、回路11より要求が出され、
バス切り換え回路12によりバスBへの切り換え信号が
出され、セレクタ13が動作し、バスBからメモリM1
へのアクセスが行なわれる(ステップS7)。このアク
セスが終了した時点で、セレクタ13はバスAの信号を
メモリM1へ接続する論理となるものである(ステップ
S8)。On the other hand, if access is occurring from the CPU 2 through the bus B (Itoro S5), a request is issued from the circuit 11,
The bus switching circuit 12 issues a switching signal to the bus B, the selector 13 operates, and the bus B switches to the memory M1.
is accessed (step S7). When this access is completed, the selector 13 becomes the logic for connecting the signal on the bus A to the memory M1 (step S8).
上記のものにおいては、CPU、がメモリM1をアクセ
スする時、バスΔが使用できかつセレクタ13の糸路は
、定常では、バスAにつながれているから、メモリアク
セスを高速に行なうことが可能となり、CI) U 、
のもつ処理能力を向上できるものである。In the above system, when the CPU accesses the memory M1, the bus Δ can be used and the thread path of the selector 13 is normally connected to the bus A, so it is possible to access the memory at high speed. , CI) U,
It is possible to improve the processing power of the computer.
[発明の効果〕
以上説明した如く本発明によれば、CPUのアクセス速
度を低下させない構成を得ることにより、CPUの処理
能力を低下させないマルチCPUのメモリアクセス方式
を提供できるものである。[Effects of the Invention] As described above, according to the present invention, by obtaining a configuration that does not reduce the access speed of the CPU, it is possible to provide a multi-CPU memory access method that does not reduce the processing performance of the CPU.
第1図は本発明の一実施例を示す構成図、第2図は同構
成の一部を詳細化して示す構成図、第3図は同構成の動
作を示すフローチャート、第4図は従来のマルチ〇PU
のメモリアクセス方式を示す構成図ある。
CPU1.CPU2・・・中央処理装置、Ml。
M2・・・メモリ、A、B・・・バス%11.12・・
・CPUボード、21122・・・バス調停回路、9・
・・切り換え回路、10.11・・・アクセス要求回路
、12・・・バス切り換え回路、13・・・セレクタ。
出願人代理人 弁理士 鈴江武彦
第3図
第4図Fig. 1 is a block diagram showing one embodiment of the present invention, Fig. 2 is a block diagram showing a part of the same structure in detail, Fig. 3 is a flowchart showing the operation of the same structure, and Fig. 4 is a conventional block diagram. Multi 〇PU
FIG. 1 is a block diagram showing a memory access method of FIG. CPU1. CPU2...Central processing unit, Ml. M2...Memory, A, B...Bus%11.12...
・CPU board, 21122...Bus arbitration circuit, 9・
...Switching circuit, 10.11... Access request circuit, 12... Bus switching circuit, 13... Selector. Applicant's agent Patent attorney Takehiko Suzue Figure 3 Figure 4
Claims (1)
このバスからのアクセスを優先して受けつけるバス切り
換え手段と、この手段の出力側に設けられたメモリと、
第2のCPUからの信号で前記バス切り換え手段を第2
のバス側へ切り換える手段とを具備したことを特徴とす
るメモリアクセス方式。a first bus that directly outputs a signal from the first CPU;
a bus switching means for receiving access from this bus with priority; a memory provided on the output side of this means;
A signal from the second CPU causes the bus switching means to switch to the second
A memory access method characterized by comprising means for switching to the bus side.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7037187A JPS63237154A (en) | 1987-03-26 | 1987-03-26 | Memory access system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7037187A JPS63237154A (en) | 1987-03-26 | 1987-03-26 | Memory access system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPS63237154A true JPS63237154A (en) | 1988-10-03 |
Family
ID=13429514
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP7037187A Pending JPS63237154A (en) | 1987-03-26 | 1987-03-26 | Memory access system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS63237154A (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5750037A (en) * | 1980-09-10 | 1982-03-24 | Fujitsu Ltd | Data transfer system |
| JPS5864529A (en) * | 1981-10-14 | 1983-04-16 | Hitachi Ltd | Computer system input/output control device |
-
1987
- 1987-03-26 JP JP7037187A patent/JPS63237154A/en active Pending
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5750037A (en) * | 1980-09-10 | 1982-03-24 | Fujitsu Ltd | Data transfer system |
| JPS5864529A (en) * | 1981-10-14 | 1983-04-16 | Hitachi Ltd | Computer system input/output control device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20080244124A1 (en) | Bus system for use with information processing apparatus | |
| JPS63237154A (en) | Memory access system | |
| JPH02130662A (en) | Information processing system | |
| JPH0343804A (en) | Sequence controller | |
| JP2565916B2 (en) | Memory access controller | |
| JPS6240565A (en) | Memory control system | |
| JPS6315953Y2 (en) | ||
| JP2664777B2 (en) | Function expansion method | |
| JP3200821B2 (en) | Semiconductor integrated circuit system | |
| JPS6269348A (en) | Data transfer device | |
| JPH0254362A (en) | Parallel process computer | |
| JP2579003B2 (en) | Data transfer device between memories | |
| JPS6130300B2 (en) | ||
| JPH07104795B2 (en) | Error detection method | |
| KR960003650B1 (en) | Input/output processor for improving computer system performance | |
| JPS6347867A (en) | Inter-dual cpu communication system | |
| KR830001847B1 (en) | System to Control Multiple Microprocessors | |
| JPH07160625A (en) | Data transfer device | |
| JPH03290750A (en) | DMA transfer method | |
| JPS5836380B2 (en) | Direct memory access method in multiprocessor systems | |
| JPS61153770A (en) | Image processor | |
| JPH0535693A (en) | Data transfer device | |
| JPS63206854A (en) | Data transfer system | |
| JPS61251943A (en) | Data processor | |
| JPS63279359A (en) | Data transfer device for multi-cpu |