JPH04346140A - Access controller for shared memory - Google Patents
Access controller for shared memoryInfo
- Publication number
- JPH04346140A JPH04346140A JP11892691A JP11892691A JPH04346140A JP H04346140 A JPH04346140 A JP H04346140A JP 11892691 A JP11892691 A JP 11892691A JP 11892691 A JP11892691 A JP 11892691A JP H04346140 A JPH04346140 A JP H04346140A
- Authority
- JP
- Japan
- Prior art keywords
- priority
- priority order
- access
- circuit
- port
- 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
Landscapes
- Multi Processors (AREA)
Abstract
Description
【0001】0001
【産業上の利用分野】本発明は、複数のプロセッサ等が
共有メモリを直接アクセスする場合に利用される共有メ
モリのアクセス制御装置に係わり、特に優先順位および
高速処理等の要求に十分対処できる共有メモリのアクセ
ス制御装置に関する。[Field of Industrial Application] The present invention relates to a shared memory access control device used when a plurality of processors etc. directly access a shared memory, and in particular, the present invention relates to a shared memory access control device that is used when a plurality of processors etc. directly access a shared memory. The present invention relates to an access control device.
【0002】0002
【従来の技術】複数のプロセッサが共有メモリを直接ア
クセスする場合の共有メモリの優先順位に関し、従来、
固定優先順位方式と回転優先順位方式とがある。[Prior Art] Conventionally, regarding the priority order of shared memory when multiple processors directly access shared memory,
There are fixed priority methods and rotating priority methods.
【0003】前者の固定優先順位方式は、図4(a)に
示す如く各プロセッサ相互間における優先順位を予め固
定的に定める方式である。因みに、図4(a)の例では
、4台のプロセッサch0〜ch3の中でch0が最も
高い優先順位を持ち、ch1,ch2,ch3の順に優
先順位が低くなっている。すなわち、ある1つのチャン
ネルのアクセス要求が受け付けられると、その処理が終
了するまで他のチャンネルのアクセス要求は受け付けら
れない。[0003] The former fixed priority system is a system in which the priorities among the processors are fixedly determined in advance, as shown in FIG. 4(a). Incidentally, in the example of FIG. 4A, ch0 has the highest priority among the four processors ch0 to ch3, and the priorities descend in the order of ch1, ch2, and ch3. That is, once an access request for one channel is accepted, access requests for other channels are not accepted until the process for that channel is completed.
【0004】一方、後者の回転優先順位方式は、図4(
b)に示す如くあるチャンネルのアクセス要求を処理す
る毎に優先順位が回転し、最初に処理されたチャンネル
が最低順位となり、それに伴って他のチャンネルの優先
順位も変わる方式である。図4(b)の例では、初期状
態においては4台のプロセッサch0〜ch3の中でc
h0が最も高い優先順位を持ち、ch1,ch2,ch
3の順に優先順位が低くなっている。今、仮にチャンネ
ルch2のアクセス要求を処理したとき、今度は優先順
位がch3、ch0、ch1、ch2と変わる。次に、
チャンネルch0のアクセスのアクセス要求を処理する
と、優先順位がch1,ch2,ch3,ch0と変わ
り、さらにチャンネルch1のアクセス要求を処理する
と、優先順位がch2,ch3,ch0,ch1と変わ
るものである。On the other hand, the latter rotation priority system is shown in FIG.
As shown in b), the priority order is rotated every time an access request for a certain channel is processed, the first channel processed becomes the lowest order, and the priority orders of other channels change accordingly. In the example of FIG. 4(b), in the initial state, among the four processors ch0 to ch3, c
h0 has the highest priority, ch1, ch2, ch
The priority order decreases in order of 3. Now, if an access request for channel ch2 is processed, the priority changes to ch3, ch0, ch1, and ch2. next,
When an access request for channel ch0 is processed, the priority changes to ch1, ch2, ch3, ch0, and when an access request for channel ch1 is processed, the priority changes to ch2, ch3, ch0, ch1.
【0005】[0005]
【発明が解決しようとする課題】しかしながら、以上の
ような固定優先順位方式および回転優先順位方式には、
それぞれ次のような問題がある。先ず、固定優先順位方
式では、共有メモリに対するアクセス要求が複数のプロ
セッサから同時に発生すると、常に優先順位の高いプロ
セッサがアクセス処理を行い、優先順位の低いプロセッ
サのアクセス頻度が著しく低下する問題がある。[Problem to be Solved by the Invention] However, the above-mentioned fixed priority system and rotating priority system have
Each has the following problems. First, in the fixed priority system, when access requests to the shared memory are generated simultaneously from multiple processors, the processor with the higher priority always performs the access processing, and the access frequency of the processor with the lower priority decreases significantly.
【0006】一方、回転優先順位方式では、共有メモリ
に対するアクセス頻度が各プロセッサについて平均化さ
れるので、一部の高速処理が必要なプロセッサであって
も、一度共有メモリをアクセスした後はその優先順位が
最低になので、処理速度を高速化できない問題がある。On the other hand, in the rotating priority system, the frequency of access to the shared memory is averaged for each processor, so even if some processors require high-speed processing, once the shared memory is accessed, the priority Since the ranking is the lowest, there is a problem that the processing speed cannot be increased.
【0007】このように従来の共有メモリにおける優先
順位の判定は、優先順位の高いプロセッサと優先順位の
低いプロセッサとが混在すると、優先順位の低いプロセ
ッサのアクセス頻度が低下したり、或いは高速処理の必
要なプロセッサの場合には処理速度を上げられない問題
がある。[0007] In this way, in conventional shared memory priority determination, when high-priority processors and low-priority processors coexist, the access frequency of the low-priority processor decreases, or high-speed processing is delayed. There is a problem in that the processing speed cannot be increased if the required processor is used.
【0008】本発明は上記実情にかんがみてなされたも
ので、優先順位の高い機器と優先順位の低い機器とが混
在していても、高速処理が必要な機器に対しては高い優
先順位を与えて応答性を良好とし、また優先順位が低い
機器に対してもある程度以上のアクセス頻度を可能とし
、しかも簡単なハードウェア構成で実現する共有メモリ
のアクセス制御装置を提供することを目的とする。The present invention was made in view of the above-mentioned circumstances, and even if there are devices with high priority and devices with low priority, high priority is given to devices that require high-speed processing. The present invention aims to provide a shared memory access control device that achieves good responsiveness, allows access frequency to a certain level even for devices with low priority, and is realized with a simple hardware configuration.
【0009】[0009]
【課題を解決するための手段】本発明は上記課題を解決
するために、複数の機器が共有メモリを共通、かつ、選
択的にアクセスするときの共有メモリのアクセス制御装
置において、[Means for Solving the Problems] In order to solve the above problems, the present invention provides a shared memory access control device when a plurality of devices commonly and selectively access the shared memory.
【0010】予め固定的に優先度の高いグループの機器
と回転優先順位回路による回転優先順位に従う優先度の
低い機器とに振分けして各機器からのアクセス要求の処
理を行う構成とし、かつ、前記回転優先順位回路は、前
回の優先順位に基づいて次の優先順位の機器を決定する
次優先順位決定回路と、前記回転優先順位に従う1つ以
上の機器からアクセス要求があったとき、前記次優先順
位決定回路の次の優先順位に従って機器のアクセス要求
を受け付けるとともに、次の優先順位に相当する機器か
らアクセス要求がないとき前記回転優先順位に従って更
に次の優先順位の機器のアクセス要求を受け付けるポー
ト選択回路とを備えた構成である。[0010]According to the present invention, the access request from each device is processed by pre-distributing devices into a fixed group of high priority groups and devices with low priority according to the rotation priority order by a rotation priority circuit; The rotation priority order circuit includes a next priority order determination circuit that determines the next priority device based on the previous priority order, and a next priority order determination circuit that determines the next priority device based on the previous priority order, and a Selecting a port that accepts an access request from a device according to the next priority of the ranking determining circuit, and also accepts an access request from a device with the next priority according to the rotating priority when there is no access request from a device corresponding to the next priority. The configuration includes a circuit.
【0011】[0011]
【作用】従って、本発明は以上のような手段を講じたこ
とにより、優先度の高いグループに高速処理の必要な機
器を割当てることにより適正な処理速度でフアクセス処
理を実施でき、一方、優先度の低い機器の場合には回転
優先順位に従うが、このとき回転優先順位に従う次の優
先順位の機器以外の機器からアクセス要求が到来したと
き、次の優先順位の機器からアクセス要求が到来しない
限り、前記以外の機器を優先させてアクセス処理を可能
とし、よって優先度の低い機器でもアクセス頻度を低下
させずにアクセス処理を行うことができる。[Operation] Therefore, by taking the above-mentioned measures, the present invention can perform access processing at an appropriate processing speed by assigning devices that require high-speed processing to groups with high priority. In the case of a device with a low rotational priority, the rotational priority is followed, but if an access request arrives from a device other than the device with the next priority according to the rotational priority, unless an access request arrives from a device with the next priority. , it is possible to perform access processing by giving priority to devices other than those listed above, so that even devices with low priority can perform access processing without reducing access frequency.
【0012】0012
【実施例】以下、本発明の一実施例について図面を参照
して説明する。図1は本発明に係わる共有メモリのアク
セス制御装置の概略構成を示すブロック図である。なお
、ここではマスタ1(ポート0)とマスタ2(ポート1
,ポート2,ポート3)との2つのグループに振分けし
た4台の機器(例えばプロセッサ)が共通に共有メモリ
をアクセスする場合を例に上げて説明する。DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a schematic configuration of a shared memory access control device according to the present invention. Note that master 1 (port 0) and master 2 (port 1) are
, port 2, and port 3), and four devices (for example, processors) access the shared memory in common.
【0013】すなわち、この装置は、マスタ1(ポート
0)とマスタ2(ポート1,ポート2,ポート3)の4
台の機器との間で図示しないインタフェースを介して信
号REQ,つまり共有メモリに対するアクセス要求RE
Qを受けて優先順位を判定し、かつ、この判定結果の信
号ACKを機器に返送する優先順位判定回路10と、タ
イミング制御手段21と、共有メモリ22とによって構
成されている。In other words, this device has four ports: master 1 (port 0) and master 2 (port 1, port 2, port 3).
A signal REQ, that is, an access request RE to the shared memory, is sent to the other device via an interface (not shown).
It is comprised of a priority order determination circuit 10 that receives Q and determines the priority order and returns a signal ACK representing the determination result to the device, a timing control means 21, and a shared memory 22.
【0014】この優先順位判定回路11は、共有メモリ
22に対するアクセス要求REQが互いに異なるグルー
プ,つまりマスタ1とマスタ2のポート0とポート1,
2,3から同時に発生したとき、予め固定的に定めた優
先順位の高いグループ(例えばマスタ1)の機器(ポー
ト0)からのアクセス要求REQを優先的に受付けてア
クセス処理を行い、また共有メモリ13に対するアクセ
ス要求REQが同一グループ(ここではマスタ2)内の
機器(ポート1,2,3)から同時に発生したとき、各
機器ごとのアクセス要求REQを処理する毎に優先順位
を回転させる回転優先順位方式に従って共有メモリ22
をアクセスする機能をもっている。[0014] This priority order determination circuit 11 has access requests REQ to the shared memory 22 for different groups, that is, port 0 and port 1 of master 1 and master 2,
2 and 3 at the same time, the access request REQ from the device (port 0) of a predetermined high priority group (for example, master 1) will be accepted with priority and access processing will be performed, and the shared memory When access requests REQ for 13 are generated simultaneously from devices (ports 1, 2, and 3) in the same group (master 2 in this case), rotating priority is used to rotate the priority every time the access request REQ for each device is processed. Shared memory 22 according to the ranking method
It has the ability to access.
【0015】前記タイミング制御手段21は、優先順位
判定回路11からのアクセスに従ってクロック信号CL
Kに基づいて共有メモリ22に必要に制御,例えばリー
ド、ライトその他の制御を行う機能をもっている。The timing control means 21 controls the clock signal CL according to the access from the priority determination circuit 11.
It has a function to perform necessary control on the shared memory 22 based on K, such as read, write, and other controls.
【0016】次に、図2は優先順位判定回路10の具体
的構成を示す図である。同図において11はエンコーダ
の役割をもった次優先順位決定回路であって、これは同
一グループ(マスタ2)内の1つのポートに係わるアク
セス制御信号Y1またはY2,Y3を受けたとき、前回
優先順位から次の優先順位のポートを決定して2ビット
からなる順位決定信号S1をセレクト信号発生回路12
に送出する。このセレクト信号発生回路12には、例え
ばレジスタ等が用いられ、順位決定信号S1から同じく
2ビットよりなるポートセレクト信号S2を出力する。Next, FIG. 2 is a diagram showing a specific configuration of the priority order determining circuit 10. As shown in FIG. In the same figure, reference numeral 11 is a next priority determining circuit which has the role of an encoder, and when it receives the access control signal Y1, Y2, Y3 related to one port in the same group (master 2), it determines the previous priority order. The select signal generation circuit 12 determines the port with the next priority based on the ranking and generates the ranking determination signal S1 consisting of 2 bits.
Send to. This select signal generation circuit 12 uses, for example, a register, and outputs a port select signal S2, which also consists of 2 bits, from the ranking determination signal S1.
【0017】131 ,132 ,133 は同一グル
ープ(マスタ2)の各ポート1,2,3からのアクセス
要求REQに対し、2ビットよりなるセククト信号S2
の内容を判断して1つのポートのアクセス要求REQを
受付けるポート選択回路、140 ,141 ,142
,143 はインヒビット回路その他の論理回路で構
成されたラッチ回路であって、これらのラッチ回路14
0 〜143 はマスタ1のポート0、ポート選択回路
131 ,132 ,133 等からのアクセス要求R
EQ(S3)をストローブ信号Ssによって保持する。131, 132, 133 are sect signals S2 consisting of 2 bits in response to access requests REQ from each port 1, 2, 3 of the same group (master 2).
a port selection circuit that judges the contents of and accepts an access request REQ for one port; 140, 141, 142;
, 143 are latch circuits composed of inhibit circuits and other logic circuits, and these latch circuits 14
0 to 143 are access requests R from port 0 of master 1, port selection circuits 131, 132, 133, etc.
EQ (S3) is held by strobe signal Ss.
【0018】151 ,152 ,153 は同一グル
ープ(マスタ2)内の各ポートに対応するラッチ回路1
41 ,142 ,143 に保持されているラッチデ
ータをポート選択回路131 ,132 ,133 か
らの2ビットよりなるポート選択信号S4の内容に基づ
いて受け付けて“1”なる信号を出力する同一グループ
ポート選択回路である。160 ,161 ,162
,163 は、“1”なるゲート信号Sgが入力されて
いるとき、各回路140 または151 ,152 ,
153 からの“1”信号を取り込んでアクセス制御信
号Y0またはY1,Y2,Y3を出力するゲート回路で
ある。151, 152, 153 are latch circuits 1 corresponding to each port in the same group (master 2)
Same group port selection which accepts the latch data held in 41, 142, 143 based on the contents of the 2-bit port selection signal S4 from the port selection circuits 131, 132, 133 and outputs a signal of "1". It is a circuit. 160 , 161 , 162
, 163 are connected to each circuit 140 or 151 , 152 , when the gate signal Sg of "1" is input.
This is a gate circuit that takes in a "1" signal from 153 and outputs an access control signal Y0 or Y1, Y2, Y3.
【0019】なお、ゲート回路160 ,161 ,1
62 ,163 から出力されるたアクセス制御信号Y
0またはY1,Y2,Y3は次の優先順位を定める次優
先順位決定回路11に送られ、またアクセス制御信号Y
0またはY1,Y2,Y3はそれぞれ対応するラッチ回
路(図示せず)を介してタイミング制御手段21や各マ
スタ1,2或いは各マスタ1,2の共通装置等に送られ
、何れのポートがアクセス可能か、またあるポートのア
クセス時に例えば優先順位の高いマスタ1に相当するス
トローブ信号を阻止するための信号として用いられる。Note that the gate circuits 160, 161, 1
Access control signal Y output from 62, 163
0 or Y1, Y2, Y3 are sent to the next priority determination circuit 11 which determines the next priority, and the access control signal Y
0 or Y1, Y2, and Y3 are sent to the timing control means 21, each master 1, 2, or a common device of each master 1, 2, etc. through corresponding latch circuits (not shown), and which port is accessed. It is also used as a signal to block a strobe signal corresponding to master 1, which has a high priority, when accessing a certain port.
【0020】次に、以上のように構成された装置の動作
を説明する。先ず、マスタ1のポート0或いはマスタ2
のポート1,2,3のアクセス時、これらマスタ1,2
或いは各マスタ1,2の共通装置からゲート開とするゲ
ート信号11gが各ゲート回路160 〜163 に導
入される。この状態において各ポートの初期値の優先順
位は図3に示すようにポート0,ポート1,ポート2,
ポート3の順序となっているが、そのうちマスタ1のポ
ート0に関しては固定優先、マスタ2の各ポート1,2
,3に関しては回転優先となっている。Next, the operation of the apparatus configured as above will be explained. First, port 0 of master 1 or master 2
When accessing ports 1, 2, and 3, these masters 1, 2
Alternatively, a gate signal 11g for opening the gate is introduced from a common device of each master 1, 2 to each gate circuit 160-163. In this state, the initial value priority of each port is port 0, port 1, port 2,
The order is port 3, but port 0 of master 1 has a fixed priority, and ports 1 and 2 of master 2 have fixed priority.
, 3, rotation is given priority.
【0021】従って、異なるグループ(マスタ1とマス
タ2)の各機器(ポート0とポート1,2,3)からア
クセス要求REQが同時に発生すると、先ず最初にポー
ト0のアクセス要求REQがラッチ回路140 でラッ
チされた後、このラッチ回路140 からゲート回路1
61 を通ってアクセス制御信号Y0が出力される。Therefore, when access requests REQ are generated simultaneously from devices (port 0 and ports 1, 2, and 3) of different groups (master 1 and master 2), the access request REQ of port 0 is first sent to the latch circuit 140. After being latched by the latch circuit 140, the gate circuit 1
61, the access control signal Y0 is output.
【0022】一方、マスタ2のあるポートからのアクセ
ス要求REQは各ポート選択回路131 ,132 ,
133 のそれぞれ異なる端子にそれぞれ入力される。
このとき、次優先順位決定回路11から回転順位に従っ
た次の優先順位に相当する順位決定信号S1、セレクト
信号S2が各ポート選択回路131 ,132 ,13
3 に入ってくる。ここで、これらポート選択回路13
1 ,132 ,133 は次の優先順位を判断するが
、その次の優先順位に相当するポートからアクセス要求
REQが来ていないとき、回転順位に従って更に次のポ
ートからアクセス要求REQが来ている場合には当該ポ
ートに対応するポート選択回路131 または132
,133からアクセス要求S3およびポート選択信号S
4を出力する。従って、固定優先のホート0が共有メモ
リ21をアクセスした後、順位変更後のポートが共有メ
モリ22をアクセスすることになる。On the other hand, an access request REQ from a certain port of the master 2 is received by each port selection circuit 131 , 132 ,
133, respectively, are input to different terminals. At this time, the next priority order determination circuit 11 sends a rank determination signal S1 and a select signal S2 corresponding to the next priority according to the rotation order to each port selection circuit 131, 132, 13.
It comes in at 3. Here, these port selection circuits 13
1, 132, and 133 determine the next priority, but when the access request REQ is not coming from the port corresponding to the next priority, if the access request REQ is coming from the next port according to the rotation order. is a port selection circuit 131 or 132 corresponding to the relevant port.
, 133 to access request S3 and port selection signal S
Outputs 4. Therefore, after the fixed priority host 0 accesses the shared memory 21, the port after the order change accesses the shared memory 22.
【0023】一方、同一グループ(マスタ2)の機器(
ポート1,2,3)からアクセス要求REQがあったと
き、同様に次優先順位決定回路11に従ってポート選択
回路131 ,132 ,133 は次優先順位のポー
トのアクセス要求REQを受け付けてラッチ回路にラッ
チするとともに、同一グループポート選択回路を通って
ゲート回路からアクセス制御信号を出力する。このとき
、例えばゲート回路162 からアクセス制御信号Y2
を送出しているとき、このアクセス制御信号Y2を次優
先順位決定回路11の該当端子に入力すれば、図3に示
す回転順位に従って次の優先順位であるポート3の順位
決定信号S1が出力する。On the other hand, the device (of the same group (master 2)
Similarly, when there is an access request REQ from ports 1, 2, 3), the port selection circuits 131, 132, 133 accept the access request REQ of the next priority port according to the next priority order determining circuit 11, and latch it in the latch circuit. At the same time, an access control signal is output from the gate circuit through the same group port selection circuit. At this time, for example, the access control signal Y2 is sent from the gate circuit 162.
When the access control signal Y2 is input to the corresponding terminal of the next priority order determining circuit 11, the order determining signal S1 for port 3, which is the next priority, is output according to the rotation order shown in FIG. .
【0024】従って、以上のような実施例の構成によれ
ば、共有メモリ22に対して異なったグループの各機器
から同時にアクセス要求を発生したとき、予め固定的に
定めた優先度の高いグループの機器のアクセス要求RE
Qを優先してアクセス処理を行い、また同一グループの
各機器からアクセス要求REQが同時に発生したとき、
アクセス要求REQを処理するごとに回転優先順位方式
に従ってアクセス処理するので、優先順位の低い機器で
あってもアクセス頻度を落とすことなくアクセス処理で
きる。Therefore, according to the configuration of the embodiment as described above, when access requests are issued to the shared memory 22 from devices in different groups at the same time, access requests are made to the shared memory 22 from devices of a fixedly determined high priority group. Device access request RE
When access processing is performed with priority given to Q, and access requests REQ are generated simultaneously from devices in the same group,
Each time an access request REQ is processed, access processing is performed according to the rotating priority system, so that even devices with low priority can be accessed without reducing access frequency.
【0025】また、同一グループのある機器からアクセ
ス要求REQがあったとき、次の優先順位に従っていな
くても、ポート選択回路131 ,132 ,133
では次の優先順位のポートのアクセス要求REQがない
ことを確認した後、更に次の優先順位のポートのアクセ
ス要求REQを受け付けて処理するので、十分にアクセ
ス頻度を確保できる。さらに、高速処理が必要な機器の
場合には予め高い優先順位を与えておけば、十分に応答
性を上げることができる。さらに、優先順位判定回路1
0はその殆んどを論理回路を用いて簡単に実現すること
ができる。Furthermore, when an access request REQ is received from a certain device in the same group, the port selection circuits 131 , 132 , 133
After confirming that there is no access request REQ for the next priority port, the access request REQ for the next priority port is further accepted and processed, so that a sufficient access frequency can be ensured. Furthermore, in the case of devices that require high-speed processing, responsiveness can be sufficiently improved by giving them a high priority in advance. Furthermore, the priority determination circuit 1
0 can be easily realized using logic circuits.
【0026】なお、上記実施例では、各ポート0〜3と
してプロセッサを想定したが、特に各ポート0〜3の機
器は問わないものである。また、固定的な優先度の高い
機器を1つとし、また同一グループの機器を3つとした
が、これら数には限定されるものではない。その他、本
発明はその要旨を逸脱しない範囲で種々変形して実施で
きる。In the above embodiment, each port 0 to 3 is assumed to be a processor, but the device for each port 0 to 3 is not particularly limited. In addition, although one device has a fixed high priority and three devices belong to the same group, the number is not limited to these. In addition, the present invention can be implemented with various modifications without departing from the gist thereof.
【0027】[0027]
【発明の効果】以上説明したように本発明によれば、優
先順位の高い機器と優先順位の低い機器とが混在してい
ても、高速処理が必要な機器に対しては高い優先順位を
与えて応答性を良好とし、また優先順位が低い機器に対
してもある程度以上のアクセス頻度を可能とし、しかも
簡単なハードウェア構成で実現できる共有メモリのアク
セス制御装置を提供できる。[Effects of the Invention] As explained above, according to the present invention, even if high priority devices and low priority devices coexist, high priority is given to devices that require high-speed processing. Therefore, it is possible to provide a shared memory access control device that has good responsiveness, allows access frequency to a certain level even for devices with low priority, and can be realized with a simple hardware configuration.
【図1】 本発明に係わる共有メモリのアクセス制御
装置の一実施例を示すの概略ブロック図。FIG. 1 is a schematic block diagram showing an embodiment of a shared memory access control device according to the present invention.
【図2】 図1に示す優先順位判定回路10の具体的
構成図。FIG. 2 is a specific configuration diagram of the priority determination circuit 10 shown in FIG. 1.
【図3】 共有メモリの回転優先順位の変化を表した
図。FIG. 3 is a diagram showing changes in shared memory rotation priority.
【図4】 従来の共有メモリのフ優先順位を説明する
図。FIG. 4 is a diagram illustrating the priority order of conventional shared memory.
10…優先順位判定回路、11…次優先順位決定回路、
12…セレクト信号発生回路、131 ,132 ,1
33 …ポート選択回路、140 ,141 ,142
,143 …ラッチ回路、151 ,152 ,15
3 …同一グループポート選択回路、160 ,161
,162 ,163 …ゲート回路、22…共有メモ
リ。10... Priority order determination circuit, 11... Next priority order determination circuit,
12...Select signal generation circuit, 131, 132, 1
33...Port selection circuit, 140, 141, 142
, 143 ... latch circuit, 151 , 152 , 15
3...Same group port selection circuit, 160, 161
, 162, 163...Gate circuit, 22...Shared memory.
Claims (1)
、選択的にアクセスするときの共有メモリのアクセス制
御装置において、予め固定的に優先度の高いグループの
機器と回転優先順位回路による回転優先順位に従う優先
度の低い機器とに振分けして各機器からのアクセス要求
の処理を行う構成とし、かつ、前記回転優先順位回路は
、前回の優先順位に基づいて次の優先順位の機器を決定
する次優先順位決定回路と、前記回転優先順位に従う1
つ以上の機器からアクセス要求があったとき、前記次優
先順位決定回路の次の優先順位に従って機器のアクセス
要求を受け付けるとともに、次の優先順位に相当する機
器からアクセス要求がないとき前記回転優先順位に従っ
て更に次の優先順位の機器のアクセス要求を受け付ける
ポート選択回路とを備えたことを特徴とする共有メモリ
のアクセス制御装置。Claim 1: A shared memory access control device when a plurality of devices commonly and selectively access the shared memory, in which devices of a fixed high priority group are set in advance and rotation priority is given by a rotation priority circuit. The configuration is such that access requests from each device are processed by sorting them into devices with low priority according to the order, and the rotating priority circuit determines the device with the next priority based on the previous priority. a next priority order determining circuit and one according to the rotational priority order;
When there is an access request from more than one device, the access request of the device is accepted according to the next priority of the next priority determining circuit, and when there is no access request from the device corresponding to the next priority, the rotation priority is 1. A shared memory access control device, comprising: a port selection circuit that accepts an access request from a device with the next highest priority.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP11892691A JPH04346140A (en) | 1991-05-23 | 1991-05-23 | Access controller for shared memory |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP11892691A JPH04346140A (en) | 1991-05-23 | 1991-05-23 | Access controller for shared memory |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH04346140A true JPH04346140A (en) | 1992-12-02 |
Family
ID=14748622
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP11892691A Pending JPH04346140A (en) | 1991-05-23 | 1991-05-23 | Access controller for shared memory |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH04346140A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2001125827A (en) * | 1999-08-31 | 2001-05-11 | Koninkl Philips Electronics Nv | Method for accessing shared resource |
| JP2006244253A (en) * | 2005-03-04 | 2006-09-14 | Yamaha Corp | Electronic apparatus |
| JP2007334692A (en) * | 2006-06-15 | 2007-12-27 | Canon Inc | Data processing apparatus and method |
-
1991
- 1991-05-23 JP JP11892691A patent/JPH04346140A/en active Pending
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2001125827A (en) * | 1999-08-31 | 2001-05-11 | Koninkl Philips Electronics Nv | Method for accessing shared resource |
| JP2006244253A (en) * | 2005-03-04 | 2006-09-14 | Yamaha Corp | Electronic apparatus |
| JP2007334692A (en) * | 2006-06-15 | 2007-12-27 | Canon Inc | Data processing apparatus and method |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4733346A (en) | Data processor with multiple register blocks | |
| US4412286A (en) | Tightly coupled multiple instruction multiple data computer system | |
| JPH0650493B2 (en) | Data processing device | |
| US5253346A (en) | Method and apparatus for data transfer between processor elements | |
| KR920008448B1 (en) | Data processor | |
| US5142682A (en) | Two-level priority arbiter generating a request to the second level before first-level arbitration is completed | |
| US5828891A (en) | Multilevel interrupt device | |
| US5627968A (en) | Data transfer apparatus which allows data to be transferred between data devices without accessing a shared memory | |
| JPH04346140A (en) | Access controller for shared memory | |
| US5692136A (en) | Multi-processor system including priority arbitrator for arbitrating request issued from processors | |
| JPS594733B2 (en) | Kyoutsuba Seigiyo Cairo | |
| US5278965A (en) | Direct memory access controller | |
| EP0269370B1 (en) | Memory access controller | |
| JPH07281942A (en) | Arbitration method for shared resources | |
| JP2538874B2 (en) | Common bus arbitration method | |
| JPH10149311A (en) | Memory controller | |
| JP2861258B2 (en) | Memory access control device | |
| JPH05120206A (en) | Dma controller | |
| EP0284094B1 (en) | Tandem priority resolver | |
| JPS61150056A (en) | Direct memory access controller | |
| JP2912090B2 (en) | Time slot interchange circuit | |
| JPH0443302B2 (en) | ||
| JPH02143361A (en) | Processing sequence deciding circuit | |
| JP2913702B2 (en) | Access reception control method of multiprocessor system | |
| JPH04303247A (en) | Microcomputer device |