JPH02288922A - Memory access control circuit - Google Patents

Memory access control circuit

Info

Publication number
JPH02288922A
JPH02288922A JP3652289A JP3652289A JPH02288922A JP H02288922 A JPH02288922 A JP H02288922A JP 3652289 A JP3652289 A JP 3652289A JP 3652289 A JP3652289 A JP 3652289A JP H02288922 A JPH02288922 A JP H02288922A
Authority
JP
Japan
Prior art keywords
control circuit
service
memory access
signal
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.)
Pending
Application number
JP3652289A
Other languages
Japanese (ja)
Inventor
Yuichi Noda
雄一 野田
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP3652289A priority Critical patent/JPH02288922A/en
Publication of JPH02288922A publication Critical patent/JPH02288922A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To resolve the access contention at the time of outputting a request signal at an arbitrary timing by a request source, which requests the access to a memory, by providing plural service control circuits, a data holding circuit, and a cycle control circuit. CONSTITUTION:When the CPU service from a request input terminal 1 having a high priority level is executed, an AND 21 of a service control circuit 11 is operated with AND between a continue input signal and the input signal from an input terminal 11A. This AND is sent to a priority control circuit 7 through a output terminal 11B, and execution of the CPU service from the request input terminal 1 is registered in a data holding circuit 14. This register data is sent to a service control circuit 12, and a holding signal is outputted from a wait output terminal 5 by AND of an AND 20. Service control circuits 11 to 13 are arranged correspondingly to respective request sources and continuation of the service of an arbitrary request source is reported by the data holding circuit 14, thereby continuing the service of the CPU which preferentially uses the memory.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はメモリアクセス制御回路に関し、特に複数のメ
モリアクセス制御回路に関し、特に複数のメモリアクセ
スの要求に対する優先順位を定めるための改良されたプ
ライオリティ制御回路を有するメモリアクセス制御回路
に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to memory access control circuits, and more particularly to multiple memory access control circuits, and more particularly to improved priorities for prioritizing multiple memory access requests. The present invention relates to a memory access control circuit having a control circuit.

〔従来の技術〕[Conventional technology]

従来のメモリアクセス制御回路に設けられているプライ
オリティ制御回路は、第3図ブロック図に示すように、
例えは3個のCPUからメモリアクセス要求があった場
合のアクセス要求信号を入力するりクエスト入力端子1
.2.3と、3個のアクセス要求信号に先着優先等の優
先順位をつけるプライオリティ制御回路7と、優先の序
列にしたがって3個のCPUのうちの1つにアクセス開
始信号を送るゴー出力端子4′と、ほかの2つのCPU
のそれぞれにアクセス保留信号を送るウェイト出力端子
5.6とから構成されている。したがって、ゴー出力端
子4が1つのために第1優先のCPUが例えば読み出し
開始し、終了してから第2優先のCPUのアクセス保留
信号が解除されて、改めてゴー出力端子から第2優先の
CP Uにアクセス開始信号を送る方式であった。
The priority control circuit provided in the conventional memory access control circuit is as shown in the block diagram of FIG.
For example, input the access request signal when there is a memory access request from three CPUs, or Quest input terminal 1.
.. 2.3, a priority control circuit 7 that prioritizes the three access request signals such as first come, first served, and a go output terminal 4 that sends an access start signal to one of the three CPUs according to the priority order. ' and two other CPUs
and a wait output terminal 5.6 for sending an access hold signal to each of the terminals. Therefore, since there is only one go output terminal 4, the first priority CPU starts reading, for example, and after the read is finished, the access hold signal of the second priority CPU is released, and the second priority CPU is read from the go output terminal again. The method was to send an access start signal to U.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のメモリアクセス制御回路に設けられたプ
ライオリティ制御回路は、1つのゴー出力端子と、ウェ
イ1〜出力端子とがあるのみなのでリクエストがサービ
ス中には、他のリクエストは保留の情報以外の優先順位
の情報がなく、したがってリフニス1〜を任意のタイミ
ングて発生させることができない欠点かある。また、優
先度のより高いリフニス1へか連続しである場合、例え
は、現在サービス中のリクエストのタスクが終了した後
、引き続き第1優先とj−で継続サービスしたい場合で
も、サービスを終了したリフニス1〜は次のサイクルで
はサービスを受イ」られないという欠点がある。
The priority control circuit provided in the conventional memory access control circuit described above only has one go output terminal and way 1~ output terminals, so while a request is being serviced, other requests are processed with information other than pending information. The disadvantage is that there is no priority information, and therefore it is not possible to generate refresh 1~ at an arbitrary timing. In addition, if the request continues to Rifnis 1, which has a higher priority, for example, after the task of the request currently being serviced has finished, even if you want to continue servicing with the 1st priority and j-, if the service is terminated. Rifnis 1~ has the disadvantage that it cannot receive service in the next cycle.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の複数のメモリアクセス要求元から出力されるア
クセスリクエスト信号に優先アクセス順位を付けるメモ
リアクセス制御回路において、各メモリアクセス要求元
のそれぞれと前記アクセスリクエスト信号の入力および
、メモリアクセスの継続信号の入力およびメモリアクセ
スの保留信号の出力を行う端子と論理回路とを有する複
数のサービス制御回路と、前記複数のサービス制御回路
のそれぞれのアクセスリフニス1へ信号に優先順位を付
与するプライオリティ制御回路と、前記プライオリティ
制御回路で決められた優先順位情報を保持するデータ保
持回路と、メモリアクセスサービス中のアクセスサービ
ス開始と終了をと検出して前記データ保持回路に情報の
保持タイミング信号を出力するサイクル制御回路とを備
え、前記サービス制御回路のいずれか一つがメモリアク
セスを継続している期間は前記プライオリティ制御回路
で決定されている優先順位の情報を一時保留して他のサ
ービス制御回路のそれぞれからメモリアクセス保留信号
を出力する。
In the memory access control circuit of the present invention, which prioritizes the access request signals output from a plurality of memory access request sources, the input of each memory access request source and the access request signal, and the input of the memory access continuation signal are provided. a plurality of service control circuits having terminals and logic circuits for outputting input and memory access suspension signals; and a priority control circuit for assigning priorities to signals to access refniss 1 of each of the plurality of service control circuits. , a data holding circuit that holds priority information determined by the priority control circuit, and a cycle control that detects the start and end of an access service during a memory access service and outputs an information holding timing signal to the data holding circuit. circuit, and during a period when any one of the service control circuits continues to access the memory, the priority information determined by the priority control circuit is temporarily suspended and the information is accessed from the memory from each of the other service control circuits. Outputs access pending signal.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の−・実施例のブロック図、第2国はサ
ービス制御回路11〜13の論理回路図である。第1図
の実施例はりクエス1へを出力する例えは3個のcpu
とのインタフェースどなるサービス制御回路11〜13
、従来例と同じブライオリデイ制御回路7、プライオリ
ティ制御回路7で定められた優先峻位を−たん情報とし
て保持する優先順位のデータ保持回路14、メモリ(図
示ぜず)アクセスサイクルの開始/終了を検出しデータ
保持回路14の保持タイミングの借りを発生ずるサイク
ル制御回路15から構成される。各→ノ゛−ビ制御回路
11へ−13は、第2図に示すようにリクエスト要求元
のC2I) IJ (図示せず)からのリフニス1−信
号を入力するりクエス1〜入力端子1−〜3、後述の動
作で説明する優先順位か設定さilてかい当するCPt
Jにザーヒス開始からザーヒス終了よでそのリフニス1
〜要求元ザーヒスの継続信号を入力するコンティニュ入
力端子8−1.0、他方、優先順位の関係で保留信号を
送るウェイト出力端子4へ−6の3つのインタフェース
端子かそれぞれに設けられている。
FIG. 1 is a block diagram of an embodiment of the present invention, and FIG. 2 is a logic circuit diagram of service control circuits 11 to 13. The example of the embodiment shown in Figure 1 outputs to the question 1 using three CPUs.
Interface with service control circuits 11 to 13
, the same Brioli day control circuit 7 as in the conventional example, a priority data holding circuit 14 that holds the priority determined by the priority control circuit 7 as temporary information, and detects the start/end of a memory (not shown) access cycle. The data holding circuit 14 has a cycle control circuit 15 that generates the holding timing of the data holding circuit 14. As shown in FIG. 2, each →Navi control circuit 11-13 inputs a refresh 1- signal from a request source C2I) IJ (not shown) or a query 1-input terminal 1-. ~3. CPt that determines the priority order explained in the operation described below.
From the beginning of Zahis to the end of Zahis to J, that rifnis 1
-Continue input terminal 8-1.0 which inputs the continuation signal of the request source Zahis, and wait output terminal 4-6 which sends the hold signal due to priority order, are provided respectively. .

次に本実施例の動作を説明する。リフニス1〜信号がり
クエス1〜入力端子2に入力された場合を濱える。これ
より、優先度の高いリクエストがなく、かつ、他のリク
エストかサービス中でない場合には、サービス制御回路
12の0R22の論理和で出力端子12Bからプライオ
リデイ制御回路7に出力きねる。プライオリティ制御回
路7はほかの優先リフニス1〜がないので、データ保持
回路14を経由1.2で入力端子]、2Aに許可信号を
送る。この許i]’信号によりザーヒス開始信号をがい
当するCPUに送る。一方、優先度の高いリクエスト入
力端子1からのCPUかサービス中とすると、サービス
制御回路11のAND21がコンティニュ入力信号と入
力端子11Aからの入力信号とで論理積で動作する。し
たがって、この論理積が出力端子11B経由プラオリテ
ィ制御回路7に送られ、さらにデータ保持回路14にリ
クエスト入力端子]のCPUかサービス中であることを
登録する。
Next, the operation of this embodiment will be explained. The cases where the signal is input to the input terminal 1 to input terminal 2 are summarized. From this, if there is no request with a high priority and no other request is being serviced, the output from the output terminal 12B to the priority control circuit 7 is disabled by the logical sum of 0R22 of the service control circuit 12. The priority control circuit 7 sends a permission signal to the input terminals 1.2 and 2A via the data holding circuit 14, since there are no other priority riffs 1 to 1. This permission i]' signal sends a start signal to the corresponding CPU. On the other hand, if the CPU from the request input terminal 1 with a high priority is in service, the AND21 of the service control circuit 11 operates by logical product of the continue input signal and the input signal from the input terminal 11A. Therefore, this AND is sent to the priority control circuit 7 via the output terminal 11B, and furthermore, it is registered in the data holding circuit 14 that the CPU at the request input terminal is in service.

ここて、コンティニュ信号がリクエスト入力信号に先行
して入力されていれは、次のサイクルに対するリクエス
トを先どりしてプライオリティ制御回路7に通知するこ
とができ、優先順位が次のサイクルも一番高ければサー
ビスを続けられる。このような登録テークがサービス制
御回路12に送られて、AND20の論理積でウェイト
出力端子5から保留信号が出力される。サイクル制御回
路15はリクエスト人力1のサービスが終了するまてリ
クエスト人力1のサービスを解除しない信号をデータ保
持回#r14に送り、ほかのリクエストの保留を継続さ
せる。このように従来例ではあらかしめ定められた複数
のリクエストの優先順序でサービスが切替えられて行く
が、サービス制御回路11〜13を各リクエスト元に対
応して配置し、データ保持回路14で任意のリクエスト
元のサービス継続中を通報することにより、優先使用中
のCPUがサービスを持続することができる。
Here, if the continue signal is input prior to the request input signal, the request for the next cycle can be forwarded and notified to the priority control circuit 7, and the priority control circuit 7 can be notified of the request for the next cycle as well. If the price is high, the service can be continued. Such a registered take is sent to the service control circuit 12, and a hold signal is output from the wait output terminal 5 based on the logical product of AND20. The cycle control circuit 15 sends a signal not to cancel the service of the requester 1 until the service of the requester 1 is completed to the data holding circuit #r14, thereby continuing to hold other requests. In this way, in the conventional example, services are switched according to a predetermined priority order of multiple requests, but the service control circuits 11 to 13 are arranged corresponding to each request source, and the data holding circuit 14 is used to switch services according to the priority order of multiple requests. By reporting that the request source's service is continuing, the CPU that is being used preferentially can continue the service.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、複数のサービス制御回路
とデータ保持回路およびサイクル制御回路を設けること
により、メモリに対するアクセス要求をするリクエスト
要求元が、任意のタイミングでリクエスト信号を出力し
た場合でもアクセスの競合お解消することでき、また、
リクエストを連続して受は付け、アクセフ権を得たリク
エスト元の処理を優先的に処理するような優先順位をつ
けることが可能となり、全体的なスループットが向上す
るメモリアクセス制御回路を提供できる効果がある。
As explained above, by providing a plurality of service control circuits, data holding circuits, and cycle control circuits, the present invention provides access even when a request source that requests access to memory outputs a request signal at any timing. You can resolve conflicts and also
It is possible to provide a memory access control circuit that accepts requests in succession and prioritizes processing of requests that have gained access rights, thereby improving overall throughput. There is.

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

第1図は本発明の一実施例を示すブロック図、第2図は
本実施例の要部の回路図、第3図は従来のメモリアクセ
ス制御回路のフロック図である。 1〜3・・・リクエスト入力端子、4〜6・・・ウェイ
ト出力端子、7・・・プライオリティ制御回路、8〜1
0・・・コンティニュ入力端子、11〜13・・・サー
ビス制御回路、14・・データ保持回路、15・・・サ
イクル制御回路、20.21・・・AND、22・・・
0R1IIA、12A、13A・・・入力端子、11B
。 12B、13B・・・出力端子、4′・・・ゴー出力端
子。
FIG. 1 is a block diagram showing one embodiment of the present invention, FIG. 2 is a circuit diagram of the main part of this embodiment, and FIG. 3 is a block diagram of a conventional memory access control circuit. 1-3...Request input terminal, 4-6...Wait output terminal, 7...Priority control circuit, 8-1
0...Continue input terminal, 11-13...Service control circuit, 14...Data holding circuit, 15...Cycle control circuit, 20.21...AND, 22...
0R1IIA, 12A, 13A...Input terminal, 11B
. 12B, 13B...output terminal, 4'...go output terminal.

Claims (1)

【特許請求の範囲】[Claims] 複数のメモリアクセス要求元から出力されるアクセスリ
クエスト信号に優先アクセス順位を付けるメモリアクセ
ス制御回路において、各メモリアクセス要求元のそれぞ
れと前記アクセスリクエスト信号の入力および、メモリ
アクセスの継続信号の入力およびメモリアクセスの保留
信号の出力を行う端子と論理回路とを有する複数のサー
ビス制御回路と、前記複数のサービス制御回路のそれぞ
れのアクセスリクエスト信号に優先順位を付与するプラ
イオリティ制御回路と、前記プライオリティ制御回路で
決められた優先順位情報を保持するデータ保持回路と、
メモリアクセスサービス中のアクセスサービス開始と終
了とを検出して前記データ保持回路に情報の保持タイミ
ング信号を出力するサイクル制御回路とを備え、前記サ
ービス制御回路のいずれか一つがメモリアクセスを継続
している期間は前記プライオリティ制御回路で決定され
ている優先順位の情報を一時保留して他のサービス制御
回路のそれぞれからメモリアクセス保留信号を出力する
ことを特徴とするメモリアクセス制御回路。
In a memory access control circuit that prioritizes access request signals output from a plurality of memory access request sources, each memory access request source receives an input of the access request signal, an input of a memory access continuation signal, and a memory access control circuit. a plurality of service control circuits each having a terminal and a logic circuit for outputting an access suspension signal; a priority control circuit that assigns a priority to each access request signal of the plurality of service control circuits; a data holding circuit that holds determined priority information;
a cycle control circuit that detects the start and end of an access service during a memory access service and outputs an information retention timing signal to the data retention circuit, and one of the service control circuits continues the memory access. The memory access control circuit is characterized in that during a period in which the priority information determined by the priority control circuit is temporarily suspended, each of the other service control circuits outputs a memory access suspension signal.
JP3652289A 1989-02-15 1989-02-15 Memory access control circuit Pending JPH02288922A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3652289A JPH02288922A (en) 1989-02-15 1989-02-15 Memory access control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3652289A JPH02288922A (en) 1989-02-15 1989-02-15 Memory access control circuit

Publications (1)

Publication Number Publication Date
JPH02288922A true JPH02288922A (en) 1990-11-28

Family

ID=12472145

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3652289A Pending JPH02288922A (en) 1989-02-15 1989-02-15 Memory access control circuit

Country Status (1)

Country Link
JP (1) JPH02288922A (en)

Similar Documents

Publication Publication Date Title
KR100380197B1 (en) Transactions supporting interrupt destination redirection and level triggered interrupt semantics
JPH0650493B2 (en) Data processing device
US5083258A (en) Priority control system
US5142682A (en) Two-level priority arbiter generating a request to the second level before first-level arbitration is completed
JPH0728758A (en) And device for dynamic time loop arbitration
US6023740A (en) Handling interrupts in a synchronous environment
JPH02288922A (en) Memory access control circuit
US5446847A (en) Programmable system bus priority network
US6105082A (en) Data processor used in a data transfer system which includes a detection circuit for detecting whether processor uses bus in a forthcoming cycle
US5826045A (en) Arbitration parking apparatus and method for a split transaction bus in a multiprocessor computer system
JPH0728748A (en) Bus control mechanism and computer system
EP0284094B1 (en) Tandem priority resolver
JPH04346140A (en) Access controller for shared memory
JPS60168240A (en) Interrupt processing circuit
JP2555580B2 (en) Storage device control system
JPH04250553A (en) Programmable controller
JP3200821B2 (en) Semiconductor integrated circuit system
JPS58217071A (en) Information processing system
JPH0520261A (en) Priority control cirucit
JPH09179609A (en) Controller
JPH03137754A (en) Access control system for shared memory
JPS62160560A (en) Bus control system
JPS63300346A (en) Dma control system
JPH0338761A (en) Bus conflict arrangement system
JPS61264463A (en) Bus controlling system