JPH07114496A - Shared memory control circuit - Google Patents

Shared memory control circuit

Info

Publication number
JPH07114496A
JPH07114496A JP26144393A JP26144393A JPH07114496A JP H07114496 A JPH07114496 A JP H07114496A JP 26144393 A JP26144393 A JP 26144393A JP 26144393 A JP26144393 A JP 26144393A JP H07114496 A JPH07114496 A JP H07114496A
Authority
JP
Japan
Prior art keywords
memory
request
memory use
response signal
control circuit
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
JP26144393A
Other languages
Japanese (ja)
Inventor
Koichi Matsumoto
孝一 松本
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP26144393A priority Critical patent/JPH07114496A/en
Publication of JPH07114496A publication Critical patent/JPH07114496A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PURPOSE:To allocate a memory using right with high efficiency by providing a memory use permission decision circuit which inputs a memory use request and a response signal and supplies the memory using right to a specific request origin when no memory use request in accordance with the response signal exists. CONSTITUTION:The memory use permission decision circuit 43 which inputs the output of a decoder 42 and the memory use requests 2r, 3r from the request origin is provided. The memory use permission decision circuit 43 generates new response signals 20a, 30a by detecting the superposition of two signals from the response signal 2a and the memory use requests 2r, 3r, and sets a period other than that of the response signals 20a, 30a as the response signal 10a. In this way, since more response time can be allocated to the request origin with a high memory use frequency with a simple constitution, memory working efficiency can be improved.

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 control circuit used in a microcomputer device or the like.

【0002】[0002]

【従来の技術】従来の共有メモリ制御回路を図6から図
10を参照して説明する。図6は、従来の時分割方式の共
有メモリを制御するマイコン等の装置のブロック構成図
である。
2. Description of the Related Art A conventional shared memory control circuit is shown in FIGS.
This will be described with reference to 10. FIG. 6 is a block diagram of a device such as a microcomputer that controls a conventional time-shared shared memory.

【0003】1はメモリ使用要求権を発生する要求元
(例えばマイクロプロセッサ)、2,3も同様な機能を
もつ要求元(例えば伝送制御回路や外部記憶装置の制御
回路)、4は要求元1〜3のメモリ使用要求権の調停を
とる共有メモリ制御回路、5はメモリである。ここで
は、要求元を3つとして説明する。
Reference numeral 1 is a request source (for example, a microprocessor) that generates a memory use request right, 2 and 3 are request sources having similar functions (for example, a transmission control circuit and a control circuit of an external storage device), and 4 is a request source 1 Shared memory control circuits 5 for arbitrating the memory use request rights 3 to 5 are memories. Here, three request sources will be described.

【0004】図7は、共有メモリ制御回路4のブロック
構成図である。41はカウンタ、42はデコーダであり、デ
コーダ42の出力が要求元1〜3への応答信号1a〜3a
となる。このタイミングを図8に示す。
FIG. 7 is a block diagram of the shared memory control circuit 4. Reference numeral 41 is a counter, and 42 is a decoder. The output of the decoder 42 is response signals 1a to 3a to the request sources 1 to 3.
Becomes This timing is shown in FIG.

【0005】図9で要求元1と要求元3からメモリ使用
要求1rと3rが発生した場合の動作を説明する。要求
元1は、自己のメモリ使用要求1rと応答信号1aの重
なる部分で要求元1がメモリ4を使用してよい使用権1
pを生成し、1pの期間でメモリ4へアクセスする。同
様に要求元3もメモリ使用要求3rと応答信号3aより
使用権3pを生成し、3pの期間でメモリ4へアクセス
する。
The operation when the memory use requests 1r and 3r are generated from the request sources 1 and 3 will be described with reference to FIG. The request source 1 is a right of use 1 in which the request source 1 may use the memory 4 in the overlapping portion of the own memory use request 1r and the response signal 1a.
p is generated, and the memory 4 is accessed in the period of 1p. Similarly, the request source 3 also generates a usage right 3p from the memory usage request 3r and the response signal 3a, and accesses the memory 4 during the period of 3p.

【0006】共有メモリ制御回路の他の例として図10に
示す要求調停方式がある。これは共有メモリ制御回路4
に各要求元1〜3までのメモリ使用要求1r〜3rを取
り込み、あらかじめ定められている優先順位に従い、応
答信号1a〜3aを生成する。要求元1〜3は、これを
そのまま使用権1p〜3pとして使用する。代表的な回
路構成としてデイジィーチェィン方式がある。
As another example of the shared memory control circuit, there is a request arbitration system shown in FIG. This is the shared memory control circuit 4
The memory use requests 1r to 3r of the respective request sources 1 to 3 are fetched into and the response signals 1a to 3a are generated in accordance with a predetermined priority order. The request sources 1 to 3 use the same as the usage rights 1p to 3p as they are. There is a daisy chain system as a typical circuit configuration.

【0007】[0007]

【発明が解決しようとする課題】図6に示した時分割方
式の共有メモリ制御回路においては、図9に示す時間t
1 は、要求元2に割り当てられているため、要求元1又
は要求元3がメモリ使用要求を出しても時間t1 の期間
はメモリ4を使用することができない。したがって、要
求元1又は3の動作が待たされることになり、性能低下
の要因になっていた。
In the shared memory control circuit of the time division system shown in FIG. 6, time t shown in FIG.
Since 1 is assigned to the request source 2, even if the request source 1 or the request source 3 issues a memory use request, the memory 4 cannot be used during the period of time t 1 . Therefore, the operation of the request source 1 or 3 is delayed, which is a factor of performance degradation.

【0008】又、図10に示した要求調停方式の共有メモ
リ制御回路においては、メモリ使用要求1r〜3rが発
生した時点で応答信号1a〜3aを生成するので、上記
時分割方式のような空白時間による性能低下はないが、
任意のタイミングで発生する要求に応じて応答信号を生
成する必要により以下の課題がある。
Further, in the shared memory control circuit of the request arbitration system shown in FIG. 10, since the response signals 1a to 3a are generated at the time when the memory use requests 1r to 3r are generated, there is no blank as in the time division system. There is no performance degradation due to time,
The following problems arise due to the need to generate a response signal in response to a request generated at an arbitrary timing.

【0009】1 特定の要求元がメモリを専有しない様
な調停が必要になるので、回路構成が複雑になる。 2 任意のタイミングで発生する要求に対して、回路検
証を行なう必要があるので、多くの組合せを考慮する必
要がある。特にゲートアレイを用いる場合、テストデー
タが多くなり検証時間が長くなったり検証精度の低下に
つながる。本発明の目的は、メモリ使用権を効率よく、
割り当てることのできる共有メモリ制御回路を得ること
にある。
1 Since arbitration is required so that a specific request source does not monopolize a memory, the circuit configuration becomes complicated. 2 Since it is necessary to perform circuit verification for a request generated at an arbitrary timing, it is necessary to consider many combinations. In particular, when a gate array is used, the amount of test data increases, the verification time becomes longer, and the verification accuracy decreases. The object of the present invention is to efficiently use the memory usage right,
To obtain a shared memory control circuit that can be assigned.

【0010】[0010]

【課題を解決するための手段】上記目的を達成するため
に、本発明においては、複数の要求元からのメモリ要求
に対し、自己のタイミングで生成した応答信号を前記要
求元に割り当ててメモリ使用権を決定する共有メモリ制
御回路において、前記メモリ使用要求と前記応答信号を
入力し、前記応答信号に対応する前記メモリ使用要求が
ない時は、特定の要求元にメモリ使用権を与えるメモリ
使用許可決定回路を備えたことを特徴とする共有メモリ
制御回路を提供する。
In order to achieve the above object, in the present invention, in response to a memory request from a plurality of request sources, a response signal generated at its own timing is assigned to the request source and the memory is used. In the shared memory control circuit for determining the right, the memory use request and the response signal are input, and when there is no memory use request corresponding to the response signal, the memory use permission is given to the specific request source. Provided is a shared memory control circuit having a decision circuit.

【0011】[0011]

【作用】このように構成された回路においては、メモリ
使用頻度が高い特定の要求元により多くの応答時間を割
り当てることができる。
In the circuit thus constructed, more response time can be allocated to a specific requester having a high memory usage frequency.

【0012】[0012]

【実施例】以下、本発明の一実施例を図1から図5を参
照して説明する。ここでは、図6に示した要求元1〜3
の内、要求元1のメモリ使用頻度が他の2つに比べ高い
ものと仮定する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to FIGS. Here, the request sources 1 to 3 shown in FIG.
It is assumed that the memory usage frequency of the request source 1 is higher than those of the other two.

【0013】図1においては、図7で説明した構成に加
えデコーダ42の出力と要求元2,3からのメモリ使用要
求2r,3rを入力するメモリ使用許可決定回路43を具
備する。
In FIG. 1, in addition to the configuration described with reference to FIG. 7, a memory use permission decision circuit 43 for inputting the output of the decoder 42 and the memory use requests 2r, 3r from the request sources 2, 3 is provided.

【0014】図2〜図5により、実施例の作用を説明す
る。メモリ使用許可決定回路43は、図2に示すように、
応答信号2aとメモリ使用要求2r、及び3aと3rか
ら、2つの信号が重なった時を検出して新たな応答信号
20a,30aを生成し、20a,30a以外の期間を10aとし
ている。
The operation of the embodiment will be described with reference to FIGS. The memory use permission decision circuit 43, as shown in FIG.
A new response signal is detected from the response signal 2a and the memory use request 2r, and 3a and 3r when the two signals overlap.
20a and 30a are generated, and the period other than 20a and 30a is set to 10a.

【0015】今、従来技術の図9と同様、要求元1と3
からメモリ使用要求1rと3rが発生した場合の動作を
考える。この時の応答信号10a〜30aは、図3のように
なり、メモリ使用要求2rがない時(t1 の期間)の応
答信号は、メモリ使用頻度が高い要求元1への応答信号
10aに割り当てられている。この時のメモリ使用権は、
図4のようになり、t1 の期間中にメモリ使用権1pに
より要求元1がメモリ4を使用しており空白時間をなく
しているため、メモリ使用効率が向上されている。
Now, as in FIG. 9 of the prior art, request sources 1 and 3
Consider the operation when the memory use requests 1r and 3r are generated. The response signals 10a to 30a at this time are as shown in FIG. 3, and the response signal when there is no memory use request 2r (period of t 1 ) is the response signal to the request source 1 having a high memory use frequency.
It is assigned to 10a. The memory usage right at this time is
As shown in FIG. 4, since the request source 1 uses the memory 4 by the memory usage right 1p during the period of t 1 and the blank time is eliminated, the memory usage efficiency is improved.

【0016】図5は、メモリ使用許可決定回路43の回路
構成例である。尚、要求元2,3がメモリにアクセスす
るタイミングは応答信号2a,3aを基準に定まった時
刻で許可されるので、図10で示した調停方式のような非
同期要因がない。したがって、回路検証のための各種組
合せの配慮も不要となる。
FIG. 5 is a circuit configuration example of the memory use permission decision circuit 43. Since the request sources 2 and 3 are permitted to access the memory at a fixed time based on the response signals 2a and 3a, there is no asynchronous factor such as the arbitration method shown in FIG. Therefore, it is not necessary to consider various combinations for circuit verification.

【0017】[0017]

【発明の効果】本発明によれば、簡単な回路構成により
メモリ使用頻度が高い要求元により多くの応答時間を割
り当てることができるので、メモリ使用効率が改善でき
る。
As described above, according to the present invention, a large amount of response time can be allocated to a requester having a high memory usage frequency with a simple circuit configuration, so that the memory usage efficiency can be improved.

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

【図1】本発明の共有メモリ制御回路の一実施例のブロ
ック構成図である。
FIG. 1 is a block configuration diagram of an embodiment of a shared memory control circuit of the present invention.

【図2】一実施例の動作を説明するタイミングチャート
である。
FIG. 2 is a timing chart illustrating the operation of the embodiment.

【図3】一実施例の動作を説明するタイミングチャート
である。
FIG. 3 is a timing chart illustrating the operation of the embodiment.

【図4】一実施例の動作を説明するタイミングチャート
である。
FIG. 4 is a timing chart illustrating the operation of the embodiment.

【図5】一実施例のメモリ使用許可決定回路の構成図で
ある。
FIG. 5 is a configuration diagram of a memory use permission decision circuit according to an embodiment.

【図6】従来の共有メモリ制御回路を含むマイコン等の
ブロック構成図である。
FIG. 6 is a block configuration diagram of a microcomputer or the like including a conventional shared memory control circuit.

【図7】従来の共有メモリ制御回路のブロック構成図で
ある。
FIG. 7 is a block configuration diagram of a conventional shared memory control circuit.

【図8】従来の共有メモリ回路の動作を説明するタイミ
ングチャートである。
FIG. 8 is a timing chart illustrating an operation of a conventional shared memory circuit.

【図9】従来の共有メモリ回路の動作を説明するタイミ
ングチャートである。
FIG. 9 is a timing chart for explaining the operation of the conventional shared memory circuit.

【図10】従来の共有メモリ制御回路を含むマイコン等
のブロック構成図である。
FIG. 10 is a block diagram of a microcomputer or the like including a conventional shared memory control circuit.

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

1,2,3…要求元、4…共有メモリ制御回路、5…メ
モリ、41…カウンタ、42…デコーダ、43…メモリ使用許
可決定回路、1a〜3a…応答信号、1p〜3p…使用
権(信号)、1r〜3r…メモリ使用要求(信号)、10
a〜30a…応答信号。
1, 2, 3 ... Request source, 4 ... Shared memory control circuit, 5 ... Memory, 41 ... Counter, 42 ... Decoder, 43 ... Memory use permission decision circuit, 1a to 3a ... Response signal, 1p to 3p ... Use right ( Signal), 1r to 3r ... memory use request (signal), 10
a to 30a ... Response signal.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 複数の要求元からのメモリ要求に対し、
自己のタイミングで生成した応答信号を前記要求元に割
り当ててメモリ使用権を決定する共有メモリ制御回路に
おいて、前記メモリ使用要求と前記応答信号を入力し、
前記応答信号に対応する前記メモリ使用要求がない時
は、特定の要求元にメモリ使用権を与えるメモリ使用許
可決定回路を備えたことを特徴とする共有メモリ制御回
路。
1. A memory request from a plurality of request sources,
In a shared memory control circuit that allocates a response signal generated at its own timing to the request source and determines a memory use right, inputs the memory use request and the response signal,
A shared memory control circuit comprising a memory use permission decision circuit which gives a memory use right to a specific request source when there is no memory use request corresponding to the response signal.
JP26144393A 1993-10-20 1993-10-20 Shared memory control circuit Pending JPH07114496A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26144393A JPH07114496A (en) 1993-10-20 1993-10-20 Shared memory control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26144393A JPH07114496A (en) 1993-10-20 1993-10-20 Shared memory control circuit

Publications (1)

Publication Number Publication Date
JPH07114496A true JPH07114496A (en) 1995-05-02

Family

ID=17361970

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26144393A Pending JPH07114496A (en) 1993-10-20 1993-10-20 Shared memory control circuit

Country Status (1)

Country Link
JP (1) JPH07114496A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7843459B2 (en) 1998-08-24 2010-11-30 Microunity Systems Engineering, Inc. Processor for executing multiply matrix instructions requiring wide operands
US7889204B2 (en) 1998-08-24 2011-02-15 Microunity Systems Engineering, Inc. Processor architecture for executing wide transform slice instructions
US7932911B2 (en) 1998-08-24 2011-04-26 Microunity Systems Engineering, Inc. Processor for executing switch and translate instructions requiring wide operands
US9785565B2 (en) 2014-06-30 2017-10-10 Microunity Systems Engineering, Inc. System and methods for expandably wide processor instructions

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7932910B2 (en) 1995-08-16 2011-04-26 Microunity Systems Engineering, Inc. System and software for performing matrix multiply extract operations
US7843459B2 (en) 1998-08-24 2010-11-30 Microunity Systems Engineering, Inc. Processor for executing multiply matrix instructions requiring wide operands
US7889204B2 (en) 1998-08-24 2011-02-15 Microunity Systems Engineering, Inc. Processor architecture for executing wide transform slice instructions
US7932911B2 (en) 1998-08-24 2011-04-26 Microunity Systems Engineering, Inc. Processor for executing switch and translate instructions requiring wide operands
US7940277B2 (en) 1998-08-24 2011-05-10 Microunity Systems Engineering, Inc. Processor for executing extract controlled by a register instruction
US7952587B2 (en) 1998-08-24 2011-05-31 Microunity Systems Engineering, Inc. Processor and method for executing instructions requiring wide operands for multiply matrix operations
US9229713B2 (en) 1998-08-24 2016-01-05 Microunity Systems Engineering, Inc. Processor for executing wide operand operations using a control register and a results register
US9378018B2 (en) 1998-08-24 2016-06-28 Microunity Systems Engineering, Inc. Processor for executing wide operand operations using a control register and a results register
US10365926B2 (en) 1998-08-24 2019-07-30 Microunity Systems Engineering, Inc. Processor and method for executing wide operand multiply matrix operations
US9785565B2 (en) 2014-06-30 2017-10-10 Microunity Systems Engineering, Inc. System and methods for expandably wide processor instructions
US10204055B2 (en) 2014-06-30 2019-02-12 Microunity Systems Engineering, Inc. System and methods for expandably wide processor instructions

Similar Documents

Publication Publication Date Title
US7032046B2 (en) Resource management device for managing access from bus masters to shared resources
KR100291121B1 (en) Method and system for controlling access to a shared resource in a data processing system utilizing pseudo-random priorities
EP0901080A1 (en) Arbitration system
US6279066B1 (en) System for negotiating access to a shared resource by arbitration logic in a shared resource negotiator
JPH07114496A (en) Shared memory control circuit
KR101022473B1 (en) Memory bank interleaving method and apparatus in the multi-layer bus system
JPS594733B2 (en) Kyoutsuba Seigiyo Cairo
JP2587586B2 (en) Data transfer method
JPH07281942A (en) Arbitration method for shared resources
US6499087B1 (en) Synchronous memory sharing based on cycle stealing
JPS63191397A (en) Information processor
US6959371B2 (en) Dynamic access control of a function to a collective resource
KR100188004B1 (en) Bus arbitrating method of system having dynamic memory apparatus and its circuit
KR930004901B1 (en) Memory control unit of computer system by using dynamic ram
JPH07153268A (en) Information recorder
JP3353368B2 (en) Bus relay device
JPS62259295A (en) Refresh control system
JPS63191398A (en) Information processor
JPH06325570A (en) Dynamic memory refresh circuit
JPH07146814A (en) Memory device
JP2004220309A (en) Multiprocessor system
JPH08249289A (en) Memory controller and its control method
JPH06314231A (en) Shared memory access control method
JPH09297990A (en) Memory refresh control method and memory refresh controller
JPH0142017B2 (en)