JPH0132543B2 - - Google Patents
Info
- Publication number
- JPH0132543B2 JPH0132543B2 JP59131605A JP13160584A JPH0132543B2 JP H0132543 B2 JPH0132543 B2 JP H0132543B2 JP 59131605 A JP59131605 A JP 59131605A JP 13160584 A JP13160584 A JP 13160584A JP H0132543 B2 JPH0132543 B2 JP H0132543B2
- Authority
- JP
- Japan
- Prior art keywords
- processor
- bus
- common bus
- processors
- priority
- 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
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/14—Handling requests for interconnection or transfer
- G06F13/20—Handling requests for interconnection or transfer for access to input/output bus
- G06F13/28—Handling requests for interconnection or transfer for access to input/output bus using burst mode transfer, e.g. direct memory access DMA, cycle steal
- G06F13/30—Handling requests for interconnection or transfer for access to input/output bus using burst mode transfer, e.g. direct memory access DMA, cycle steal with priority control
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Multi Processors (AREA)
- Bus Control (AREA)
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は複数のプロセツサに優先順位を与えて
共通バスを割当て該バスに接続されたメモリ、チ
ヤネルをアクセスするマルチプロセツサシステム
に関するものである。[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a multiprocessor system that gives priority to a plurality of processors, allocates a common bus, and accesses the memory and channels connected to the bus. .
従来、複数のプロセツサに優先順位を与えて共
通バスを占有させるマルチプロセツサシステムが
用いられる。第3図はこの種のシステムの1例を
示したものである。プロセツサ(0)11,(1)1
2,……(n)1oがそれぞれドライバ21,22…
…2oを介して並列に共通バス3に接続され、共
通バス3にドライバ4を介し共通のメモリ5が、
またそれぞれドライバ61,62……を介しチヤン
ネル(0)71,(1)72……が接続される。これら
複数プロセツサ11〜1oの共通バス3の占有を制
御するため、詳しくは後述するように、何れかの
プロセツサ、たとえばプロセツサ(0)11内に
優先判定回路10を設けておき、各プロセツサか
らのバス要求に応じて所定の優先順位に従い許可
を与える。このようにして任意のプロセツサまた
は任意のチヤネルが共通バスを占有して所要のア
クセスを行なうことができる。
Conventionally, a multiprocessor system is used in which a plurality of processors are given priorities and are made to occupy a common bus. FIG. 3 shows an example of this type of system. Processor (0)1 1 , (1)1
2 , ...(n)1 o are drivers 2 1 , 2 2 ..., respectively.
...2 o are connected to the common bus 3 in parallel, and the common memory 5 is connected to the common bus 3 via the driver 4.
Channels (0) 7 1 , (1) 7 2 . . . are connected via drivers 6 1 , 6 2 . . . respectively. In order to control the occupation of the common bus 3 by these plurality of processors 11 to 1o , a priority determination circuit 10 is provided in one of the processors, for example, processor (0) 11 , as will be described in detail later. Permissions are granted according to predetermined priorities in response to bus requests from processors. In this way, any processor or any channel can occupy the common bus and make the necessary accesses.
このマルチプロセツサシステムのメモリアクセ
スの手順を第4図〜に示す。すなわち、同図
のクロツク(CLK)で制御されるとき、任意
のプロセツサから同図のバス要求があると、プ
ロセツサ(0)11の優先判定回路10で判定さ
れ、同図のバスアクセス許可が返される。これ
により要求プロセツサから同図のアドレスが出
力され、同図のメモリアクセス信号が設定さ
れ、同図のデータの読出しが行なわれる。 The memory access procedure of this multiprocessor system is shown in FIGS. In other words, when controlled by the clock (CLK) in the figure, when there is a bus request in the figure from any processor, the priority determination circuit 10 of processor (0) 11 determines, and the bus access permission in the figure is granted. returned. As a result, the request processor outputs the address shown in the figure, the memory access signal shown in the figure is set, and the data shown in the figure is read out.
上記従来例の手順で問題となるのは、同図〜
で示される要求プロセツサのバス要求からメモ
リアクセス信号までの時間T1が大きいことであ
る。これはプロセツサからローカルバスを介して
共通バスを通しアドレスを確実に送るのを保証す
る手順を含むためである。かつ各プロセツサは同
等に扱われる。
The problem with the conventional procedure above is as shown in the figure.
The time T 1 from the request processor's bus request to the memory access signal, shown by , is large. This is because it includes a procedure to ensure that addresses are sent reliably from the processor through the local bus through the common bus. And each processor is treated equally.
従つて優先順位の高い多用するプロセツサでは
この時間の集計はかなり大きな負担となることが
問題点であつた。 Therefore, the problem is that for a frequently used processor with a high priority level, tallying up this time becomes a considerable burden.
本発明は上述の問題点を解決し、とくに利用度
の高い最高優先順位のプロセツサのアクセスを効
率的にして共通バスの利用率を高めるようにした
マルチプロセツサのバス割当方式を提供すること
を目的とするものである。 The present invention solves the above-mentioned problems and provides a multiprocessor bus allocation method that improves the utilization rate of a common bus by making the access of the highest priority processor, which is particularly highly used, more efficient. This is the purpose.
前記目的を達成するため、本発明のマルチプロ
セツサ制御方式は複数のプロセツサに優先順位を
与えて共通バスを割当て該バスに接続されたメモ
リ、チヤンネルをアクセスするマルチプロセツサ
システムにおいて、前記複数のプロセツサのうち
最も多用するものを最高優先順位のプロセツサと
して指定し、それ以外のプロセツサが共通バスを
使用していない時は常に最高優先順位のプロセツ
サに共通バスを割当てることを特徴とするもので
ある。このように制御することにより多用する最
高優先順位のプロセツサは最初を除き、常に従来
例の第4図に示したT1時間の時間ロスをなくす
ることができるものである。最高優先順位以外の
プロセツサまたはチヤンネルが共通バスをアクセ
スする場合は第4図の手順通りであり、その終了
後は必ず最高優先順位のプロセツサに割当てられ
る。
In order to achieve the above object, the multiprocessor control method of the present invention gives priority to a plurality of processors, allocates a common bus, and accesses the memory and channels connected to the bus. The processor that is used most frequently is designated as the processor with the highest priority, and when no other processors are using the common bus, the common bus is always assigned to the processor with the highest priority. . By controlling in this way, the processor with the highest priority which is frequently used can always eliminate the time loss of T1 time shown in FIG. 4 in the conventional example, except for the first one. When a processor or channel other than the one with the highest priority accesses the common bus, the procedure shown in FIG. 4 is followed, and after the procedure is completed, the bus is always allocated to the processor with the highest priority.
このように、従来全プロセツサの共通の待ち時
間を最高優先順位のプロセツサの占有に割当てる
ことにより、実際に該プロセツサに要求があつた
場合には、このアドレスをアクセスするための手
順に要する時間T1の一部が省かれて時間短縮さ
れ、その集計により多用する最高優先順位のプロ
セツサのオーバヘツドを軽減することになり、従
つて他のプロセツサに対する待ち時間も減少する
ことができる。 In this way, by allocating the common waiting time of all processors to the occupancy of the processor with the highest priority, when a request is actually made to that processor, the time required for the procedure to access this address is reduced to T. 1 is omitted, which saves time, and its aggregation reduces the overhead of the heavily used highest priority processor, thus reducing the latency for other processors.
第1図は本発明の実施例の構成説明図であり、
第2図〜はその動作説明図である。以下第1
図に従い、第2図〜を参照しつつ説明する。
全体のシステムは第3図の通りとし、最高優先順
位のプロセツサとしてプロセツサ(0)11とし、
ここに優先判定回路10を設ける。第1図はプロ
セツサ(0)11とトランシーバ21を含む部分の
詳細な構成例を示したものである。
FIG. 1 is an explanatory diagram of the configuration of an embodiment of the present invention,
FIGS. 2A and 2B are explanatory diagrams of the operation. Part 1 below
The explanation will be made according to the figures and with reference to FIGS.
The entire system is as shown in Figure 3, with processor (0) 1 as the highest priority processor,
A priority determination circuit 10 is provided here. FIG. 1 shows a detailed configuration example of a portion including a processor (0) 11 and a transceiver 21 .
プロセツサ(0)11以外の他の装置がバスを
アクセスしていない時はプロセツサ(0)11が
バスを占有しているものとする。 It is assumed that processor (0) 1 1 occupies the bus when no other device other than processor (0) 1 1 is accessing the bus.
いま、チヤンネル1に対しメモリ5から直接転
送するように指示するDMA要求を優先判定回路
10に入力すると、プロセツサ(0)11の命令
により、たとえば図示のチヤンネル1、チヤンネ
ル0、プロセツサ1に対し優先順位に従いDMA
許可DACK0、DACK1、DACK2が出力する。こ
の場合、プロセツサ(0)11自身の要求に対す
るDMA許可DACK3がないことを条件に、たと
えばプロセツサ(1)12のDMA許可信号DACK0を
出力とし、これを受けてチヤンネル1は下記のデ
ータ転送シーケンスを開始し、第1図の下部に示
すトランシーバ制御回路を制御する。 Now, when a DMA request instructing channel 1 to directly transfer data from memory 5 is input to priority determination circuit 10, the command from processor (0) 11 causes, for example, channel 1, channel 0, and processor 1 shown in the figure to be DMA according to priority
Allow DACK0, DACK1, DACK2 to output. In this case, on the condition that there is no DMA permission DACK3 for the request of processor (0) 1 1 itself, for example, the DMA permission signal DACK0 of processor (1) 1 2 is output, and in response, channel 1 performs the following data transfer. Initiate the sequence and control the transceiver control circuit shown at the bottom of FIG.
(i) アドレス/データを出力する(第2図)。(i) Output address/data (Figure 2).
(ii) バスのスキユおよびアドレス・デコード時間
T1′を保証するためのストローブ信号DSV1を
出力する(第2図)。(ii) Bus skew and address decode time
A strobe signal DSV1 is output to guarantee T 1 ' (Figure 2).
(iii) メモリからの応答信号SRV0により、バス・
シーケンスを終了する。(iii) Response signal SRV0 from memory causes bus
End the sequence.
まずDMA許可信号DACK0をOR回路14を介
しフリツプフロツプ(FF2)12に入れ第2図
,に示すタイミングでセツトする。前述の時
間T1′を第2図のストローブDSV1により保証
し、メモリ応答SRV0の立上りで(FF2)12を
リセツトし、その出力をOR回路16を介しト
ランシーバ21に送り共通バス3を占有する。一
方AND回路15を介してメモリアクセス信号A
を第2図のメモリ応答SRV0とともにAND回
路15に入れてタイミングを合せ、OR回路16
を経てトランシーバ21を駆動し共通バス3にメ
モリアクセス信号を送出する。そしてメモリ応答
SRV0の立上りによりプロセツサ(1)12のバス占
有が終り、同時にプロセツサ(0)11がバスを
占有し、アドレス/データを出力する。 First, the DMA permission signal DACK0 is input to the flip-flop (FF2) 12 via the OR circuit 14 and set at the timing shown in FIG. The above-mentioned time T 1 ' is guaranteed by the strobe DSV1 shown in FIG . . On the other hand, through the AND circuit 15, the memory access signal A
is input into the AND circuit 15 along with the memory response SRV0 in FIG.
The transceiver 2 1 is driven through the memory access signal 3 and the memory access signal is sent to the common bus 3 . and memory response
With the rising edge of SRV0, processor (1) 1-2 finishes occupying the bus, and at the same time processor (0) 1-1 occupies the bus and outputs address/data.
プロセツサ(0)11自身のDMA要求が発生す
ると、第1図上部のフリツプフロツプ(FF1)1
1とフリツプフロツプ(FF3)13より成る回路
の(FF1)11にDMA許可DACK3を入力して
セツトし、ストローブ信号DSV1を出力するが、
この場合はプロセツサ(0)11の占有は確定し
ており、直ちにアドレス/データを出力できるの
で、バスのスキユおよびアドレス・デコード時間
T1′の保証をとくに行なう必要がない。 When processor (0) 1 1 's own DMA request occurs, flip-flop (FF1) 1 at the top of Fig.
DMA permission DACK3 is input and set to (FF1) 11 of the circuit consisting of flip-flop 1 and flip-flop (FF3) 13, and strobe signal DSV1 is output.
In this case, occupancy of processor (0) 11 is determined and address/data can be output immediately, so bus skew and address decoding time are reduced.
There is no need to specifically guarantee T 1 ′.
従つて、第2図〜に示すように、同図の
アドレス/データを出力するとともに、自身の
DMA許可DACK3をフリツプフロツプ(FF1)
11に入れ、同図,のタイミングでセツト
し、同図のメモリ応答SRV0と同期させた同図
のメモリアクセス信号Aを、前述のトランシー
バ制御回路21のAND回路15、OR回路16を
介してトランシーバ21に送りこれを駆動制御す
る。ここで、本発明では第2図のDSV1により
T1′時間を設定するための同図の(FF2)12
のセツト手順を省略したことになり、時間短縮が
行なわれる。 Therefore, as shown in Figure 2~, it outputs the address/data shown in the figure and also outputs its own address/data.
Flip-flop DMA permission DACK3 (FF1)
11, set at the timing shown in the same figure, and synchronized with the memory response SRV0 of the same figure. The signal is sent to transceiver 21 to drive and control it. Here, in the present invention, according to DSV1 in FIG.
(FF2) 12 in the same figure for setting T 1 ' time
This means that the setting procedure is omitted, which saves time.
以上説明したように、本発明によれば、最高優
先順位のプロセツサを指定し、それ以外のプロセ
ツサが共通バスを使用していない時は常に最高優
先順位のプロセツサに共通バスを割当てるように
制御するものである。これにより、最高優先順位
のプロセツサ以外のプロセツサに共通バスを割当
てる場合にはストローブによる時間T1′を設定す
る必要があるが、そのアクセス終了後最高優先順
位のプロセツサが必ず共通バスに割当てられるか
ら、直ちにアドレス/データを出力しアドレスを
保証する手順に要する時間T1′を省くことができ
る。優先順位の高いプロセツサでは共通バスの利
用回数が大きいから、この時間T1′の累積は大き
なものとなり、プロセツサのオーバヘツトの軽減
に役立つものである。
As explained above, according to the present invention, the processor with the highest priority is designated, and control is performed so that the common bus is always assigned to the processor with the highest priority when the other processors are not using the common bus. It is something. As a result, when assigning the common bus to a processor other than the processor with the highest priority, it is necessary to set the strobe time T 1 ', but after the access is completed, the processor with the highest priority is always assigned to the common bus. , the time T 1 ' required for the procedure of immediately outputting the address/data and guaranteeing the address can be omitted. Since the common bus is used a large number of times in a processor with a high priority, the accumulation of this time T 1 ' becomes large, which is useful for reducing the overhead of the processor.
その結果、他のプロセツサの待ち時間も短縮す
ることができる。 As a result, the waiting time of other processors can also be reduced.
第1図は本発明の実施例の構成説明図、第2図
は実施例の動作波形図、第3図は従来例のシステ
ム説明図、第4図は従来例の問題点の説明図であ
り、図中、11はプロセツサ(0)、21はトラン
シーバ、3は共通バス、10は優先判定回路、1
1,12,13,はフリツプフロツプ、14,1
6はOR回路、15はAND回路を示す。
Fig. 1 is an explanatory diagram of the configuration of the embodiment of the present invention, Fig. 2 is an operational waveform diagram of the embodiment, Fig. 3 is an explanatory diagram of the system of the conventional example, and Fig. 4 is an explanatory diagram of problems in the conventional example. , In the figure, 1 1 is a processor (0), 2 1 is a transceiver, 3 is a common bus, 10 is a priority determination circuit, 1
1, 12, 13 are flip-flops, 14, 1
6 shows an OR circuit, and 15 shows an AND circuit.
Claims (1)
スを割当て、バスの割当てられたプロセツサが共
通バスを用いたアクセスを行なうマルチプロセツ
サシステムにおいて、前記複数のプロセツサのう
ち最も多用されるものを最高優先順位のプロセツ
サとして指定する手段を設け、それ以外のプロセ
ツサ共通バスを使用していない時は常に最高優先
順位のプロセツサに共通バスを割当てることを特
徴とするマルチプロセツサ制御方式。1. In a multiprocessor system in which a common bus is assigned with priority given to multiple processors, and the processors to which the bus is assigned perform access using the common bus, the processor that is most frequently used among the multiple processors is given the highest priority. A multiprocessor control method characterized in that a means for designating a processor as a priority processor is provided, and the common bus is always assigned to the highest priority processor when the other processors are not using the common bus.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP13160584A JPS619751A (en) | 1984-06-26 | 1984-06-26 | Multi-processor control system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP13160584A JPS619751A (en) | 1984-06-26 | 1984-06-26 | Multi-processor control system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS619751A JPS619751A (en) | 1986-01-17 |
| JPH0132543B2 true JPH0132543B2 (en) | 1989-07-05 |
Family
ID=15061966
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP13160584A Granted JPS619751A (en) | 1984-06-26 | 1984-06-26 | Multi-processor control system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS619751A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH04137353U (en) * | 1991-06-17 | 1992-12-21 | 富士写真フイルム株式会社 | Film unit with lens |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5627429A (en) * | 1979-08-09 | 1981-03-17 | Toshiba Corp | Bus control system |
-
1984
- 1984-06-26 JP JP13160584A patent/JPS619751A/en active Granted
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH04137353U (en) * | 1991-06-17 | 1992-12-21 | 富士写真フイルム株式会社 | Film unit with lens |
Also Published As
| Publication number | Publication date |
|---|---|
| JPS619751A (en) | 1986-01-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4449183A (en) | Arbitration scheme for a multiported shared functional device for use in multiprocessing systems | |
| US7350004B2 (en) | Resource management device | |
| US4493036A (en) | Priority resolver having dynamically adjustable priority levels | |
| JPH071495B2 (en) | Data processing system | |
| EP0492817A2 (en) | Data processing system and memory controller for lock semaphore operations | |
| KR101050019B1 (en) | Memory interface for systems with multiple processors and one memory system | |
| KR900001120B1 (en) | Distributed priority network logic for allowing a low priority unit to reside in a high priority position | |
| JP2001356961A (en) | Arbitration device | |
| KR100899514B1 (en) | How to Interface a Processor to External Memory That Supports Burst Mode | |
| US5293493A (en) | Preemption control for central processor with cache | |
| JPS594733B2 (en) | Kyoutsuba Seigiyo Cairo | |
| JPH0132543B2 (en) | ||
| JPH0210459A (en) | Bus use right determining system | |
| JPS6242306B2 (en) | ||
| JP3240863B2 (en) | Arbitration circuit | |
| JPS60245063A (en) | Access system for shared memory | |
| JP4024005B2 (en) | DMA controller device | |
| US5799160A (en) | Circuit and method for controlling bus arbitration | |
| JPH0351943A (en) | Sharing system for high/low speed bus lines | |
| JPS6172350A (en) | Data transfer control system | |
| JP2003308289A (en) | Data processing device | |
| JPH0324698B2 (en) | ||
| JPH04250553A (en) | Programmable controller | |
| JPS60246471A (en) | Memory control device | |
| JPS635786B2 (en) |