[go: up one dir, main page]

JP2000047975A - Memory access control circuit - Google Patents

Memory access control circuit

Info

Publication number
JP2000047975A
JP2000047975A JP10218131A JP21813198A JP2000047975A JP 2000047975 A JP2000047975 A JP 2000047975A JP 10218131 A JP10218131 A JP 10218131A JP 21813198 A JP21813198 A JP 21813198A JP 2000047975 A JP2000047975 A JP 2000047975A
Authority
JP
Japan
Prior art keywords
memory
memory access
access
mpu
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.)
Withdrawn
Application number
JP10218131A
Other languages
Japanese (ja)
Inventor
Hidetoshi Nakahara
英利 中原
Shigeru Shinohara
茂 篠原
Kenji Fujizono
賢治 藤園
Yasuhiro Ishikawa
康博 石川
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP10218131A priority Critical patent/JP2000047975A/en
Publication of JP2000047975A publication Critical patent/JP2000047975A/en
Withdrawn legal-status Critical Current

Links

Abstract

(57)【要約】 【課題】システム性能を向上させ、MPU−メモリ間ア
クセスを最小化させることが可能な構造が簡単で汎用性
の高いメモリアクセス制御回路を提供すること 【解決手段】メモリアービタ22は、非MPUからのメ
モリアクセスに対して優先処理を扱う。起動アクセス許
可指示部67は、メモリアービタ22からの非MPUか
らのメモリアクセスに対するアクセス許可を受け、メモ
リバスが使用されているとき又は非MPUからのメモリ
アクセスと該MPUからのメモリアクセスが同時に発生
し場合以外は、直接MPUにメモリアクセス使用権を与
える。また、上記以外は、非MPUからのメモリアクセ
スは、メモリアービタ22の優先処理の内の回転優先度
処理に回される。
[PROBLEMS] To provide a highly versatile memory access control circuit having a simple structure capable of improving system performance and minimizing MPU-memory access. Reference numeral 22 handles priority processing for memory access from a non-MPU. The activation access permission instructing unit 67 receives an access permission for the memory access from the non-MPU from the memory arbiter 22, and when the memory bus is used or when the memory access from the non-MPU and the memory access from the MPU occur simultaneously. Otherwise, the memory access right is directly given to the MPU. In addition to the above, the memory access from the non-MPU is transferred to the rotation priority processing in the priority processing of the memory arbiter 22.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、交換機等を制御す
るプロセッサのメモリアクセス制御に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a memory access control of a processor for controlling an exchange and the like.

【0002】[0002]

【従来の技術】交換機では、図1に示すように、通信回
線を切り替えるスイッチを制御するための回線交換スイ
ッチ用のCPU(Central Processing Unit :中央処
理装置)が交換機全体を制御するシステム制御用CPU
1とバスAを介して接続されている。
2. Description of the Related Art In an exchange, as shown in FIG. 1, a CPU (Central Processing Unit) for a line exchange switch for controlling a switch for switching a communication line is a system control CPU for controlling the entire exchange.
1 via a bus A.

【0003】また、交換機の障害時にも対応できるよう
に、システム制御用CPU1はシステム制御用CPU2
を伴って二重化された構成となっている。このためシス
テム制御用CPU1とシステム制御用CPU2は後で説
明する図2,図3及び図5の構成を有し、図1において
破線で囲んだ領域は実際には図4に示す構成となってい
る。
Further, the system control CPU 1 is provided with a system control CPU 2 so as to cope with a failure of the exchange.
With a duplex configuration. Therefore, the system control CPU 1 and the system control CPU 2 have the configuration shown in FIGS. 2, 3 and 5 described later, and the area surrounded by the broken line in FIG. 1 actually has the configuration shown in FIG. I have.

【0004】図2は、メモリ4をI/Oバス(I/Oが
接続するバス)8上に搭載し、MPU(Micro Proce
ssing Unit :超小型演算処理装置)1は形式変換を行
うバスブリッジ6を介してI/Oバス8に接続した構成
である。一方、図3は、メモリ4をMPUバス(MPU
が接続するバス)10上に搭載し、I/O3は、バスブ
リッジ7を介してMPUバス10に接続した構成であ
る。
In FIG. 2, a memory 4 is mounted on an I / O bus (a bus to which I / O is connected) 8 and an MPU (Micro Processor) is mounted.
The ssing unit (small processing unit) 1 is connected to an I / O bus 8 via a bus bridge 6 for performing format conversion. On the other hand, FIG. 3 shows that the memory 4 is connected to an MPU bus (MPU bus).
The I / O 3 is connected to the MPU bus 10 via the bus bridge 7.

【0005】図2及び図3の構成を、メモリの二重化構
成(例えば、自系をアクト系とし他系をスタンバイ系)
をとる場合に適用すると、図4及び図5の構成が得られ
る。メモリ4、14は、メモリバス(メモリが接続する
バス)9、19を介して、主記憶制御装置2、12の制
御により、書込みと読出しが行われる。自系と他系は、
メモリ交差バス5、15を介して、メモリ4、14間で
の転送が行われる。
[0005] The configuration of FIG. 2 and FIG. 3 is replaced by a duplicated memory configuration (for example, the own system is used as an act system and the other system is used as a standby system).
4 and FIG. 5 are obtained. The memories 4 and 14 are written and read under control of the main storage controllers 2 and 12 via memory buses (buses connected to the memories) 9 and 19. Own system and other system,
Transfer between the memories 4 and 14 is performed via the memory crossing buses 5 and 15.

【0006】このメモリ交差バス5、15を介して、常
時、両者のメモリ内容が一致するように、メモリデータ
の転送が行われる。また、アクト系・スタンドバイ系の
切替時には、旧アクト系から新アクト系へのデータ継承
のためのデータ転送等を行う必要がある。これらのデー
タ転送制御は、主記憶制御装置2、12によって行われ
る。この主記憶制御装置2、12は、各バスとメモリバ
スの橋渡しをするバスブリッジとしての機能、メモリ素
子がDRAMの場合のリフレッシュ回路の機能、エラー
訂正・検出回路の機能を具備している。エラー訂正は、
メモリリード時に行うリアルタイム訂正とある一定期間
毎に自律的にメモリを検査するメモリパトロール機能と
を可能とする。
[0006] The memory data is transferred via the memory crossing buses 5 and 15 so that the contents of the memories always coincide with each other. Further, when switching between the act system and the standby system, it is necessary to perform data transfer or the like for inheriting data from the old act system to the new act system. These data transfer controls are performed by the main storage controllers 2 and 12. The main storage controllers 2 and 12 have a function as a bus bridge for bridging each bus and a memory bus, a function of a refresh circuit when the memory element is a DRAM, and a function of an error correction / detection circuit. Error correction is
A real-time correction performed at the time of memory reading and a memory patrol function for autonomously inspecting the memory at certain fixed periods are enabled.

【0007】また、主記憶制御装置2、12は、MPU
1、I/O3等の外部からのアクセス及び主記憶制御装
置2、12自身からのメモリフレッシュ、メモリパトロ
ール等の内部からのメモリアクセスに対する調停を行
う。図4の構成では、主記憶制御装置2、12に対する
メモリバス9の使用を要求するアクセスは、バスブリッ
ジ6を介したMPU1、I/O3、メモリ交差装置5及
び主記憶制御装置自身(メモリフレッシュ及びメモリパ
トロール等の処理のため)から生じる。
The main storage controllers 2 and 12 are provided with an MPU.
1. Arbitration for external access such as I / O3, memo refresh from the main storage control units 2 and 12 itself, and memory access from inside such as memory patrol. In the configuration of FIG. 4, the access requesting use of the memory bus 9 to the main storage controllers 2 and 12 is performed by the MPU 1, the I / O 3, the memory intersection device 5 and the main storage controller itself (memo refresh) via the bus bridge 6. And for processing such as memory patrol).

【0008】MPU1がメモリアクセスを行う場合、ま
ず、バスブリッジ6を介して、主記憶制御装置2にメモ
リバスの使用を要求する。主記憶制御装置2は、他のメ
モリバスの使用要求とメモリバスの調停を行ってメモリ
アクセスを行う。その結果、その応答をバスブリッジ6
を介して、MPU1へ通知する、というハンドシェイク
制御を行う。
When the MPU 1 performs memory access, it first requests the main storage controller 2 to use the memory bus via the bus bridge 6. The main memory control device 2 performs a memory access by requesting the use of another memory bus and arbitrating the memory bus. As a result, the response is transmitted to the bus bridge 6.
, A handshake control of notifying the MPU 1 is performed.

【0009】[0009]

【発明が解決しようとする課題】しかし、従来のもの
は、次の問題点を有する。 1.図4及び図5に示す従来技術は、プロセッサシステ
ムを構築する上で、既存システムのインタフェースを生
かしつつ構成する手段であって、既存技術を利用できる
点でメリットはあるものの、バスブリッジ6、7のオー
バヘッドが存在し、システムの性能が劣化するという問
題がある。 2.従来のようなMPU等のメモリアクセスマスタとメ
モリ間の一対一構成のメモリアクセス制御を、多(MP
U、I/O、メモリ交差装置、主記憶制御装置等)対一
構成のメモリアクセス制御に適用した場合、主記憶アク
セス制御回路等の回路構成が複雑になる。また、多対一
構成のアーキテクチャを構成する場合はDRAM固有の
リフレッシュ制御(通常はリフレッシュカウンタ、物理
インタフェース制御回路が主記憶制御回路に内蔵されて
いる。)等の固有制御と外部からのメモリアクセスの競
合を回避する制御が困難であるという問題がある。 3.二重化システム構成とした場合、両系のメモリ間交
絡動作がメモリアクセス動作の従属として動作するた
め、メモリ交差の転送量(例えば、アクト系・スタンド
バイ系の切替時の旧アクト側メモリデータの引継)の増
加があると、システムの動作速度が低下するという問題
がある。 4.多対一構成のアーキテクチャの場合、MPUアクセ
スの優先順位がI/O等と同等に制御されるため、シス
テム性能を外部バスアービトレーションのみを改善して
もMPU処理性能に関しては向上しないという問題があ
る。
However, the conventional one has the following problems. 1. The prior art shown in FIGS. 4 and 5 is a means for constructing a processor system while making use of the interface of the existing system. Although there is an advantage in that the existing technology can be used, the bus bridges 6 and 7 are used. However, there is a problem that the performance of the system is deteriorated. 2. Conventional one-to-one memory access control between a memory access master such as an MPU and a memory is performed in a multi
(U, I / O, memory crossing device, main memory control device, etc.) When applied to one-to-one memory access control, the circuit configuration of the main memory access control circuit and the like becomes complicated. In the case of configuring a many-to-one architecture, specific control such as DRAM-specific refresh control (normally, a refresh counter and a physical interface control circuit are built in the main memory control circuit) and external memory access. However, there is a problem that it is difficult to control to avoid the conflict between the two. 3. In the case of a redundant system configuration, since the confounding operation between the memories of both systems operates as a subordinate to the memory access operation, the transfer amount of the memory intersection (for example, the transfer of the old act side memory data at the time of switching between the act system and the standby system) ) Causes a problem that the operation speed of the system decreases. 4. In the case of a many-to-one architecture, the priority of MPU access is controlled to be equal to that of I / O and the like, so that there is a problem that the system performance is not improved even if only the external bus arbitration is improved. .

【0010】本発明は、上記問題に鑑みなされたもので
あり、システム性能を向上させ、MPU−メモリ間アク
セスを最小化させることが可能なメモリアクセス制御回
路であって、構造が簡単で汎用性の高いメモリアクセス
憶制御回路を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and is a memory access control circuit capable of improving system performance and minimizing access between an MPU and a memory. It is an object of the present invention to provide a memory access memory control circuit with high performance.

【0011】[0011]

【課題を解決するための手段】請求項1に記載された発
明は、プロセッサMPUと入出力装置I/Oと主記憶装
置2が接続され、該プロセッサ及び該入出力装置から該
主記憶装置へのメモリアクセス要求に対する調停を行う
メモリアービタ22と、該プロセッサと該入出力装置か
らのメモリアクセス制御する主記憶アクセス回路21か
らなるメモリアクセス制御回路において、該メモリアー
ビタは、該主記憶装置へのアクセス権を固定の優先処理
によりアクセス許可を行う固定優先処理手段50と、ア
クセス権をリクエストの状態により遷移させ処理を行う
回転優先度処理手段51とを有し、該プロセッサと該入
出力装置からのアクセス要求の状態により該固定優先処
理手段と該回転優先度処理手段を切り替えて該主記憶装
置へのアクセス制御を行うことを特徴とするメモリアク
セス制御回路である。
According to the first aspect of the present invention, a processor MPU, an input / output device I / O, and a main storage device 2 are connected, and the processor and the input / output device are connected to the main storage device. A memory arbiter 22 for arbitrating the memory access request of the above and a memory access control circuit comprising a main memory access circuit 21 for controlling memory access from the processor and the input / output device. It has fixed priority processing means 50 for permitting access by fixed priority processing of the access right, and rotation priority processing means 51 for performing processing by shifting the access right according to the state of the request. Switching between the fixed priority processing means and the rotation priority processing means depending on the state of the access request of A memory access control circuit and performing.

【0012】請求項1記載の発明によれば、メモリアー
ビタには主記憶装置へのアクセス権を固定優先処理手段
50と、回転優先度処理手段51とを設け、プロセッサ
と入出力装置からのアクセス要求の状態により固定優先
処理手段と回転優先度処理手段を切り替えて主記憶装置
へのアクセス制御を行うことにより、システム性能を向
上させ、構造が簡単で汎用性の高いメモリアクセス制御
回路を提供することができる。また、リフレッシュ動
作、アクセス中のリセット発生時の保護動作及びメモリ
エラー訂正動作のようなメモリ使用の前提を確保するた
めの動作を固定優先とし、DMA動作、メモリリード・
ライト動作のような通常のメモリの使用動作を回転優先
としたことにより、きめの細かい優先処理を行い確実な
メモリの使用を確保することができる。
According to the first aspect of the present invention, the memory arbiter is provided with the fixed priority processing means 50 and the rotation priority processing means 51 for giving the right of access to the main storage device to access from the processor and the input / output device. By switching between fixed priority processing means and rotation priority processing means according to the state of a request and controlling access to a main storage device, system performance is improved, and a memory access control circuit with a simple structure and high versatility is provided. be able to. Also, operations for ensuring the premise of using the memory, such as a refresh operation, a protection operation in the event of a reset during access, and a memory error correction operation, are given a fixed priority, and DMA operation, memory read /
By setting the normal memory use operation such as the write operation to the rotation priority, fine-grained priority processing can be performed to ensure the use of the memory.

【0013】請求項2に記載された発明は、請求項1記
載のメモリアクセス制御回路において、該プロセッサか
らのアクセス要求が許可された後は固定優先処理50を
行い、該プロセッサと該主記憶装置間でDMA転送を可
能とするように該メモリアービタが該主記憶アクセス回
路21を制御することを特徴とする。請求項2記載の発
明によれば、プロセッサからのアクセス要求が許可され
た後は固定優先処理50を行うことにより、MPU−メ
モリ間アクセスを最小化させ、MPUに対するメモリア
クセスを高速化することが可能なメモリアクセス制御回
路を提供することができる。
According to a second aspect of the present invention, in the memory access control circuit of the first aspect, after the access request from the processor is permitted, the fixed priority process 50 is performed, and the processor and the main storage device are executed. The memory arbiter controls the main memory access circuit 21 so as to enable DMA transfer between them. According to the second aspect of the present invention, after the access request from the processor is permitted, the fixed priority process 50 is performed to minimize the MPU-memory access and to speed up the memory access to the MPU. A possible memory access control circuit can be provided.

【0014】請求項3に記載された発明は、請求項1記
載のメモリアクセス制御回路において、該主記憶装置2
のエラー訂正の機能を該メモリアクセス制御回路に設
け、固定優先処理50により処理することを特徴とす
る。請求項3記載の発明によれば、主記憶装置2のエラ
ー訂正の機能を該メモリアクセス制御回路に設け、固定
優先処理50により処理することにより、エラー訂正動
作を、最優先で、迅速・確実に行うことができる。
According to a third aspect of the present invention, in the memory access control circuit of the first aspect, the main storage device 2
Is provided in the memory access control circuit, and is processed by the fixed priority processing 50. According to the third aspect of the present invention, an error correction function of the main storage device 2 is provided in the memory access control circuit and is processed by the fixed priority processing 50, so that the error correction operation is performed with the highest priority, quickly and reliably. Can be done.

【0015】請求項4に記載された発明は、請求項1記
載のメモリアクセス制御回路において、該入出力装置I
/Oからのメモリアクセスに対しては、前記回転優先処
手段51及び前記固定優先処理手段50により優先処理
を扱い、該プロセッサからのメモリアクセスは既にメモ
リバスが使用されている時又は該入出力装置からのメモ
リアクセスが同時に発生した場合にのみ、該プロセッサ
からのメモリアクセスを前記回転優先度処理手段におい
て処理することを特徴とする。
According to a fourth aspect of the present invention, in the memory access control circuit of the first aspect, the input / output device I
For the memory access from the / O, priority processing is handled by the rotation priority processing means 51 and the fixed priority processing means 50. The memory access from the processor is performed when the memory bus is already used or when the input / output is performed. Only when memory accesses from the device occur at the same time, the memory access from the processor is processed by the rotation priority processing means.

【0016】請求項4記載の発明によれば、入出力装置
I/Oからのメモリアクセスに対しては、回転優先度処
理手段51及び固定優先処理手段50により優先処理を
扱うのに対し、該プロセッサからのメモリアクセスに対
しては、既にメモリバスが使用されている時又は該入出
力装置からのメモリアクセスが同時に発生した場合にの
み、該プロセッサからのメモリアクセスを回転優先度処
理手段において処理することにより、MPUからのメモ
リアクセスは、既にメモリバスが使用されている時又は
入出力装置からのメモリアクセスが同時に発生した場合
以外は、直接メモリアクセスを可能としたことにより、
メモリがMPUに直接接続されているかのような制御を
行い、MPUに対するメモリアクセスを高速に行うこと
ができる。
According to the fourth aspect of the present invention, priority processing is performed by the rotation priority processing means 51 and the fixed priority processing means 50 for memory access from the input / output device I / O. For the memory access from the processor, the memory access from the processor is processed by the rotation priority processing means only when the memory bus is already used or when the memory access from the input / output device occurs at the same time. By doing so, the memory access from the MPU can be made direct memory access except when the memory bus is already in use or when memory access from the input / output device occurs at the same time.
Control is performed as if the memory is directly connected to the MPU, and memory access to the MPU can be performed at high speed.

【0017】[0017]

【発明の実施の形態】図6(C)に本発明の基本構成図
を示す。図6(C)の主記憶アクセス制御回路21及び
メモリアービタ22は、図6(A)(図5の構成に相
当)のバスブリッジ7、主記憶制御回路2及びメモリ交
差装置5を統合した主記憶制御回路及びブリッジ回路2
0を機能的に分割したものである。つまり、主記憶制御
回路及びブリッジ回路20のうちメモリアービタ機能を
メモリアービタ22に持たせ、その他のメモリアクセス
制御機能を主記憶アクセス制御回路21に持たせた。
FIG. 6C shows a basic configuration diagram of the present invention. The main memory access control circuit 21 and the memory arbiter 22 shown in FIG. 6C are a main memory integrated with the bus bridge 7, the main memory control circuit 2 and the memory intersection device 5 shown in FIG. 6A (corresponding to the configuration in FIG. 5). Storage control circuit and bridge circuit 2
0 is functionally divided. That is, of the main memory control circuit and the bridge circuit 20, the memory arbiter function is provided to the memory arbiter 22, and the other memory access control functions are provided to the main memory access control circuit 21.

【0018】本構成の主記憶アクセス制御回路21は、
MPU1、I/O3、他系メモリ14及びファーム23
からのメモリ4に対するメモリバス使用要求に対して、
メモリアービタ22とともに、統一的にアクセス制御を
行う。図7に主記憶アクセス制御回路21の構成例を示
す。主記憶アクセス制御回路21は、マルチプレクサ及
びレジスタ(Multiplexer & Regis
ter)31、32、RAMアクセス制御回路33及び
リードデータ受信及びECC回路34から構成される。
マルチプレクサ及びレジスタ31、32は、タイミング
制御用のレジスタを有し、RAMアクセス制御回路33
により制御され、アクセス権を許可された入力信号の一
つを選択して出力する。マルチプレクサ及びレジスタ3
1は、RAMアクセス制御回路33からアクセス許可さ
れたメモリアクセス情報を受けて、MPU、I/O、他
系メモリ受信回路、他系メモリ送信回路、ファーム(F
irm)、ECCチェック回路及びECC訂正回路から
のメモリ4に対するアクセス要求を同等に扱い、アクセ
ス許可されたアドレスを発生するアドレスセレクタとし
ての機能を有する。マルチプレクサ及びレジスタ32
は、同じように、RAMアクセス制御回路33からアク
セス許可されたメモリアクセス情報を受けて、MPU、
I/O、他系メモリ受信回路、ファーム(Firm)及
び書き戻しデータ書込み回路から、アクセス許可された
メモリ4に対するメモリアクセスのRAMライトデータ
を発生させ、データセレクタとしての機能を有する。な
お、RAMライトデータは、選択後ECC生成を行いE
CCが付与される。メモリ2からのRAMリードデータ
は、リードデータ受信及びECC回路34で受信され、
ECCチェックを行い、誤りが検出されたら書き戻し等
を行う。
The main memory access control circuit 21 of the present configuration
MPU1, I / O3, other system memory 14, and firmware 23
Memory bus use request for the memory 4 from
Together with the memory arbiter 22, it performs unified access control. FIG. 7 shows a configuration example of the main memory access control circuit 21. The main memory access control circuit 21 includes a multiplexer and a register (Multiplexer & Regis).
ter) 31, 32, a RAM access control circuit 33, and a read data reception and ECC circuit 34.
The multiplexers and registers 31 and 32 have registers for timing control, and the RAM access control circuit 33
And selects and outputs one of the input signals to which the access right has been granted. Multiplexer and register 3
1 receives the memory access information permitted to be accessed from the RAM access control circuit 33, and receives an MPU, an I / O, another memory receiving circuit, another memory transmitting circuit, and a firmware (F
irm), the access request from the ECC check circuit and the ECC correction circuit to the memory 4 is treated equally, and has a function as an address selector for generating an access-permitted address. Multiplexer and register 32
Similarly, upon receiving the memory access information permitted to be accessed from the RAM access control circuit 33, the MPU,
The I / O, the other-system memory receiving circuit, the firm (Firm), and the write-back data writing circuit generate RAM write data for memory access to the memory 4 to which access is permitted, and have a function as a data selector. The RAM write data is generated by ECC generation after selection.
CC is given. RAM read data from the memory 2 is received by the read data reception and ECC circuit 34,
An ECC check is performed, and if an error is detected, writing back is performed.

【0019】図8にRAMアクセス制御回路33の構成
例を示す。RAMアクセス制御回路33は、RAMアク
セス起動制御回路36、アドレス選択制御回路37及び
リードデータ制御回路38で構成されている。RAMア
クセス起動制御回路36は、メモリアービタ22よりラ
イトアクセス起動(Write Start)、リード
アクセス起動(Read Start)、リフレッシュ
サイクル起動(Refresh Start)の各アク
セス起動信号及びバスマスタI/Fよりデータサイズ信
号(data size)を受信して、ワードアクセス
・バイトアクセスの各シーケンスを起動する。
FIG. 8 shows a configuration example of the RAM access control circuit 33. The RAM access control circuit 33 includes a RAM access activation control circuit 36, an address selection control circuit 37, and a read data control circuit 38. The RAM access activation control circuit 36 provides the memory arbiter 22 with access activation signals of a write access activation (Write Start), a read access activation (Read Start), a refresh cycle activation (Refresh Start), and a data size signal from the bus master I / F. data size), and activates each sequence of word access and byte access.

【0020】RAMアクセス起動制御回路36は、前記
起動信号を受信すると、アドレス出力位置情報(Row
アドレスサイクル及びColumアドレスサイクル)を
制御するシーケンサが動作し、アドレスストローブ信号
を送出する。また、書込み/読出し種別や実装されてい
るメモリに対するアクセス方向制御(メモリ選択、デー
タパスドライバ制御等)をアクセス期間中に出力する。
Upon receiving the start signal, the RAM access start control circuit 36 receives the address output position information (Row).
The sequencer that controls the address cycle and the column address cycle operates and sends an address strobe signal. In addition, the write / read type and access direction control (memory selection, data path driver control, etc.) for the mounted memory are output during the access period.

【0021】アドレス選択制御回路37は、バス使用を
許可されたバスマスタのアドレスの選択及び起動制御に
よりアドレス位置が決定されるアドレス位置制御でもっ
て、バスマスタアドレスをRow/Columアドレス
の選択指示を行う。ライトデータの選択はバス使用許可
信号をそのまま使用する。リードデータ制御回路38
は、RAMのリーディングタイムに応じたデータ受信位
置をアドレス位置制御により決定し、リードデータ受信
位置及びリードデータ格納バッファ書込み制御を行う。
The address selection control circuit 37 instructs the selection of the bus master address as a Row / Column address under the address position control in which the address position is determined by the selection and activation control of the address of the bus master permitted to use the bus. The selection of the write data uses the bus use permission signal as it is. Read data control circuit 38
Determines the data reception position according to the reading time of the RAM by the address position control, and performs the read data reception position and the write control of the read data storage buffer.

【0022】図9にリードデータ受信及び制御回路34
の構成例を示す。リードデータは、アクセス制御回路の
リードデータ受信位置によりリードデータを格納する受
信レジスタ41と、ECCチェック及び訂正回路40、
ECC回路に付随するシンドロームバッファ42、メモ
リデータ訂正のデータを格納するバーストリードデータ
バッファ43により構成される。
FIG. 9 shows a read data reception and control circuit 34.
An example of the configuration will be described. The read data includes a reception register 41 that stores the read data according to the read data reception position of the access control circuit, an ECC check and correction circuit 40,
It comprises a syndrome buffer 42 attached to the ECC circuit, and a burst read data buffer 43 for storing memory data correction data.

【0023】ECCチェック及び訂正回路40は、リー
ドデータによりECCコードを再生成したECCと比較
し、1ビットエラーであればシンドローム(ECC比較
結果)より訂正個所の算出を行って訂正する。同時に1
ビット/2ビットエラーフラグを送出し、エラー状態の
通知とECC訂正起動を行う。シンドロームバッファ4
2は、1ビットエラーが間欠エラーであるか、固定エラ
ーであるかを判断するためにエラー発生時に格納する。
The ECC check and correction circuit 40 compares the ECC with the regenerated ECC code based on the read data, and if there is a 1-bit error, calculates the correction part from the syndrome (ECC comparison result) and corrects it. 1 at the same time
A bit / 2-bit error flag is sent out to notify an error state and start ECC correction. Syndrome buffer 4
2 is stored when an error occurs in order to determine whether the one-bit error is an intermittent error or a fixed error.

【0024】バーストリードデータバッファ43は、1
ビットエラー時に訂正書込みを行うための訂正データを
一時的に格納する。読み出しはメモリアービタ22のエ
ラー訂正RAMアクセス許可信号により選択される。図
10にメモリアービタ22の構成例を示す。メモリアー
ビタ22は、固定優先処理部50及び回転優先度処理部
51を有する。固定優先処理部50は、回転優先度処理
部51より優先度が高く設定されたメモリアクセスを扱
う。リフレッシュ動作、アクセス中のリセット発生時の
保護動作及びメモリエラー訂正動作のように、固定的に
高い優先度が必要なものは、固定優先方式を採用し、D
MA動作、メモリメンテナンス(メモリパトロール動作
等を含む)を含むメモリの書込み・読出し動作に対して
は回転優先度方式を採用する。MPUは、他のメモリバ
スアクセス要求が無い状態では、自動的にメモリバスの
使用が許可される。しかし、MPUによるメモリアクセ
ス時に、メモリバスが使用されていると、回転優先度方
式にとり込まれる。固定優先処理部50のバス使用許可
信号には、バス使用許可された信号には、リード、ライ
ト及びリフレッシュの何れであるかを示すアクセスタイ
プ情報を含んでいる。
The burst read data buffer 43 has 1
Correction data for performing correction writing at the time of a bit error is temporarily stored. Reading is selected by the error correction RAM access permission signal of the memory arbiter 22. FIG. 10 shows a configuration example of the memory arbiter 22. The memory arbiter 22 includes a fixed priority processing unit 50 and a rotation priority processing unit 51. The fixed priority processing unit 50 handles a memory access set with a higher priority than the rotation priority processing unit 51. For a device that requires a fixed high priority, such as a refresh operation, a protection operation in the event of a reset during access, and a memory error correction operation, a fixed priority system is adopted.
A rotation priority method is adopted for a memory write / read operation including an MA operation and a memory maintenance (including a memory patrol operation and the like). The MPU is automatically permitted to use the memory bus when there is no other memory bus access request. However, if a memory bus is used at the time of memory access by the MPU, the rotation priority method is adopted. The bus use permission signal of the fixed priority processing unit 50 includes access type information indicating any one of read, write, and refresh in the bus use permitted signal.

【0025】図13に回転優先度シーケンスの例を示
す。数字は遷移条件を示す。矢印の方向の順にバスアク
セス使用権が与えられる。例えば、他系リードにバス許
可が与えられ、他系のリードを行った場合(8)は、次
に、他系のライトにバス使用権が与えられる。このよう
に、遷移数字順にシーケンスは進むが、他の優先度の高
いものが無ければ、現在のバスアクセスのうちで、一番
優先度の高いところに飛ぶ。
FIG. 13 shows an example of the rotation priority sequence. The numbers indicate transition conditions. The right to use the bus access is given in the direction of the arrow. For example, when a bus permission is given to another system read and another system read is performed (8), then a bus use right is given to another system write. In this way, the sequence proceeds in the order of the transition numbers, but if there is no other high priority, the current bus access jumps to the highest priority location.

【0026】図13の例では、リセット後は、I/Oの
リードに第1優先でバス使用権が設定されている。な
お、プロセッサシステムの電源投入時は、メモリバス使
用要求をマスクして、一時的に固定優先とし、他のバス
アクセスを処理せずにメモリ初期化、ファーム転送及び
リフレッシュのみを行うようにしても良い。また、図1
3における他系送信は、図1のCPU1とCPU2のア
クト系・スタンドバイ系の切替時の旧系のメモリから新
系のメモリへのDMA転送によるメモリの入れ替えに伴
う他系送信等である。なお、図13は一例であって、各
種回転優先度シーケンスが考えられる。
In the example of FIG. 13, after reset, the right to use the bus is set to the I / O read with the first priority. When the power of the processor system is turned on, the memory bus use request is masked to temporarily give a fixed priority, and only the memory initialization, firmware transfer, and refresh are performed without processing other bus accesses. good. FIG.
The other-system transmission in 3 is the other-system transmission or the like accompanying the exchange of memories by DMA transfer from the old memory to the new memory when the CPU 1 and CPU 2 in FIG. 1 switch between the active system and the standby system. FIG. 13 is an example, and various rotation priority sequences can be considered.

【0027】図11は、MPU1に関するメモリアクセ
ス許可を説明するための図である。メモリアービタ22
は、非MPUからのメモリアクセスに対して優先処理を
扱う。非MPUのアクセス許可は、主記憶アクセス制御
回路21に通知される。MPUアクセス制御部69内に
起動制御部66及びアクセス許可指示部67を有する。
起動アクセス許可指示部67は、メモリアービタ22か
らの非MPUからのメモリアクセスに対するアクセス許
可信号を常時受け、MPUからのメモリアクセス時に、
メモリバスが使用されているとき又は非MPUからのメ
モリアクセスと該MPUからのメモリアクセスが同時に
発生し場合以外は、直接MPUにメモリアクセス使用権
を与えることで、MPUとメモリが直結し、DMA転送
を可能にする。
FIG. 11 is a diagram for explaining a memory access permission for the MPU 1. Memory arbiter 22
Handles priority processing for memory accesses from non-MPUs. The non-MPU access permission is notified to the main memory access control circuit 21. The MPU access control unit 69 includes a start control unit 66 and an access permission instruction unit 67.
The activation access permission instructing unit 67 always receives an access permission signal for memory access from the non-MPU from the memory arbiter 22, and when the memory access from the MPU,
Unless the memory bus is used or the memory access from the non-MPU and the memory access from the MPU occur at the same time, the MPU and the memory are directly connected to each other by directly granting the MPU the right to use the memory. Enable transfer.

【0028】しかし、起動アクセス許可指示部67は、
MPUからのメモリアクセス時に、既にメモリバスが使
用されているとき又は非MPUからのメモリアクセスと
該MPUからのメモリアクセスが同時に発生した場合
は、MPUからのメモリアクセスを優先処理の内の回転
優先度処理に渡す。次に、I/Oからのアクセス制御に
ついて説明する。
However, the activation access permission instructing unit 67
When a memory bus is already in use or when a memory access from a non-MPU and a memory access from the MPU occur at the same time at the time of memory access from the MPU, the memory access from the MPU is given priority for rotation in the priority processing. Delivered to processing. Next, access control from I / O will be described.

【0029】I/Oからの読出しリクエスト時はMPU
とメモリにそれぞれ読出しリクエストを行い、MPU側
にキャッシュミスがある場合は、メモリよりデータを読
み出すように制御し、MPUのキャッシュにデータがあ
る場合は、MPUのキャッシュよりデータを読み出すよ
うに制御する。I/Oからの書込みリクエスト時は、M
PUとメモリにそれぞれ読出しリクエストを行い読出し
時と同じ動作を行う。
At the time of a read request from I / O, MPU
And a read request to the memory. If there is a cache miss on the MPU side, control is performed to read data from the memory. If there is data in the MPU cache, control is performed to read data from the MPU cache. . At the time of a write request from I / O, M
A read request is made to the PU and the memory, respectively, and the same operation as in reading is performed.

【0030】MPUのキャッシュにヒットが有った場合
は、その内容をI/Oからのライトデータと入れ替え、
メモリに書込み処理を行う。MPUのキャッシュにヒッ
トがなかった場合は、対応する内容をメモリから読み出
し、その内容をI/Oからのライトデータと入れ替え、
メモリに書き込み処理を行う。
If there is a hit in the MPU cache, the contents are replaced with write data from I / O,
Write processing to the memory. If there is no hit in the MPU cache, the corresponding content is read from the memory, and the content is replaced with the write data from the I / O,
Perform write processing to the memory.

【0031】図12は、アービタコア68とMPUメモ
リアクセス制御部69を説明するための図である。アー
ビタ本体(アービタコア)68とMPUI/Fに内蔵し
たMPUメモリアクセス制御部69により、メモリアク
セスの制御が行われる。アービタコア68は、リクエス
ト受信及びマスク処理部61、62、バス権許可先判定
部63、アクセスタイプ判定及び起動指示部65で構成
されている。
FIG. 12 is a diagram for explaining the arbiter core 68 and the MPU memory access control unit 69. Memory access is controlled by an arbiter body (arbiter core) 68 and an MPU memory access control unit 69 built in the MPU I / F. The arbiter core 68 includes a request reception and mask processing unit 61, 62, a bus right destination determination unit 63, an access type determination and activation instruction unit 65.

【0032】リクエスト受信及びマスク処理部61、6
2は、MPU(MPU受信判定部より送信されるメモリ
アクセス要求)及び非MPUバスリクエスト(リフレッ
シュ、ECC訂正要求、I/Oバスアクセス、他系メモ
リ送信要求、ファーム転送要求、他系メモリ受信要求及
びECCチェック要求等)を受信し、システムの状態に
よりマスク処理を行う。マスク処理の例を次に示す。
Request reception and mask processing units 61 and 6
Reference numeral 2 denotes an MPU (memory access request transmitted from the MPU reception determination unit) and a non-MPU bus request (refresh, ECC correction request, I / O bus access, other system memory transmission request, firmware transfer request, other system memory reception request And an ECC check request), and performs a mask process according to the state of the system. An example of the mask processing is shown below.

【0033】 MPU要求 :システム初期化時、二重化運転時
でメモリ交差送信バッファが満杯の時 リフレッシュ :なし ECC訂正 :なし I/Oバスアクセス:システム初期化時、二重化運転時
でメモリ交差送信バッファが満杯の時 他系メモリ送信 :システム初期化時、二重化運転時
でメモリ交差送信バッファが満杯の時 ファーム転送 :なし 他系メモリ受信 :システム初期化時、非二重化運転
時 ECCチェック :システム非初期化時でECCチェ
ックディゼーブルの時リクエスト受信及びマスク処理部
61、62における論理出力Cは、リクエストAに対し
てマスク条件をマスクBとすると、 C=リクエストA×[(マスクB)の否定] である。
MPU request: When the memory crossing transmission buffer is full during system initialization and duplex operation Refresh: None ECC correction: None I / O bus access: Memory initialization transmission buffer during system initialization and duplex operation When full Other system memory transmission: When system initialization, duplex operation, and memory crossing transmission buffer is full Farm transfer: None Other system memory reception: During system initialization, non-redundant operation ECC check: System non-initialization When the ECC check is disabled, the logical output C of the request reception and mask processing units 61 and 62 is as follows: C = Request A × [Negation of (Mask B)], where Mask condition is Mask B for Request A. .

【0034】なお、電源投入時等におけるシステム初期
化時のメモリ初期化のアドレッシングとシステム稼働中
のメモリECCチェック制御のアドレッシングを共用さ
せている。共用することにより、初期化モードの有無に
よらずリクエスト信号を削除し、調停本数を削減するこ
とが可能となる。バス権許可先判定部63は、マスク処
理されたリクエスト信号とタイミング制御部68より送
信される調停タイミングによりバス権許可先を決定す
る。バス権の判定は、固定優先が回転優先に優先する。
固定優先は例えば、次の優先順位により決定する。固定
優先順序と()内にアクセスタイプを示す。
It should be noted that the addressing for memory initialization at the time of system initialization when the power is turned on and the addressing for memory ECC check control during system operation are shared. By sharing, the request signal can be deleted regardless of the presence or absence of the initialization mode, and the number of arbitrations can be reduced. The bus right destination determination unit 63 determines the bus right destination based on the masked request signal and the arbitration timing transmitted from the timing control unit 68. In the determination of the bus right, the fixed priority has priority over the rotation priority.
The fixed priority is determined, for example, by the following priority. The fixed priority order and the access type are shown in parentheses.

【0035】1.偶数バンクリフレッシュ(リフレッシ
ュ) 2.奇数バンクリフレッシュ(リフレッシュ) 3.ECCエラー訂正1ワード目(ライト) 4.ECCエラー訂正後再確認1ワード目(リード) 5.ECCエラー訂正2ワード目(ライト) 6.ECCエラー訂正後再確認2ワード目(リード) 7.ECCエラー訂正3ワード目(ライト) 8.ECCエラー訂正後再確認3ワード目(リード) 9.ECCエラー訂正4ワード目(ライト) 10.ECCエラー訂正後再確認4ワード目(リード) 11.回転優先アクセス(リード又はライト) リフレッシュを一斉に動作させた場合の電流消費を考慮
し、偶数及び奇数バンクの二つのリフレッシュサイクル
を有し、インタリーブ動作によりピーク電流消費を低減
させるように構成している。また、ECCは4ワードバ
ーストリードまで対応している。これらの条件は、任意
に設定可能である。
1. 1. Even bank refresh (refresh) 2. Odd-numbered bank refresh (refresh) 3. ECC error correction first word (write) 4. ECC error correction and reconfirmation first word (read) 5. ECC error correction second word (write) 6. ECC error correction and reconfirmation 2nd word (read) 7. Third word of ECC error correction (write) 8. Third word of ECC error correction and reconfirmation (read) 9. ECC error correction 4th word (write) Fourth word (read) for reconfirmation after ECC error correction Rotation priority access (read or write) In consideration of current consumption when refresh is operated simultaneously, it has two refresh cycles of even and odd banks, and is configured to reduce peak current consumption by interleaving operation. I have. ECC supports up to 4-word burst read. These conditions can be set arbitrarily.

【0036】タイミング制御部68は、メモリアクセス
状態を監視し、バスアクセス許可判定を行う位相(アー
ビトレーションタイミングに相当)を検出する。次の条
件によりアービトレーションタイミングを判定する。 1.メモリアクセス回路からのメモリバスアクセス終了
通知受信時(このときに、次のアクセス許可判定を行う
ことにより、アービトレーションサイクルを遮蔽し、複
数のバスマスタがアクセスしている場合にアービトレー
ションによるスループット低下を抑えている。) 2.非MPUアクセス許可が全てネゲート状態でMPU
I/Fからのアクセスが保留されていない状態(リード
モディファイライト時や連続ライト時等)でメモリアク
セスが存在しない状態 これを論理式で表すと、 アービトレーションタイミング=(メモリアクセス完了
通知)or(非MPUアクセス許可が全てネゲート状
態)AND(MPUI/Fからのアクセスが保留されて
いない状態) となる。
The timing control section 68 monitors the memory access state and detects a phase (corresponding to arbitration timing) at which bus access permission is determined. The arbitration timing is determined based on the following conditions. 1. When a memory bus access end notification is received from the memory access circuit (at this time, the next access permission determination is made to block the arbitration cycle, and to suppress a decrease in throughput due to arbitration when a plurality of bus masters are accessing. 1.) MPU with all non-MPU access permissions negated
A state in which access from the I / F is not suspended (such as at the time of read-modify-write or continuous write) and a state in which no memory access exists. When this is expressed by a logical expression, arbitration timing = (memory access completion notification) or (not All MPU access permissions are negated) and (access from the MPU I / F is not suspended).

【0037】回転優先度判定部64は、図13に示すよ
うな回転優先度を設定する。優先度が低くても、その上
位の優先権を持つメモリアクセス要求が無ければアクセ
ス権は許可される。アクセスタイプ判定及び起動指示部
65は、許可されたバスアクセスのタイプ(リフレッシ
ュ、リード、ライト)を判定し、それぞれ固有の起動信
号(リフレッシュ起動、リード起動、ライト起動)を生
成する。これにより、主記憶アクセス制御回路はシーケ
ンスの判定回路を単純化でき、ハードウェア負荷を低減
することができる。なお、起動指示信号はアクセス許可
信号の立ち上がりと同時に送信する微分回路で構成され
る。
The rotation priority determining section 64 sets a rotation priority as shown in FIG. Even if the priority is low, the access right is granted if there is no memory access request having a higher priority. The access type determination and activation instructing unit 65 determines the type of the permitted bus access (refresh, read, write), and generates a unique activation signal (refresh activation, read activation, write activation). Thus, the main memory access control circuit can simplify the sequence determination circuit and reduce the hardware load. Note that the activation instruction signal is constituted by a differentiating circuit that transmits at the same time as the rise of the access permission signal.

【0038】一方、MPU内蔵のMPUメモリアクセス
制御部69は、アクセス許可指示部67及び起動制御部
66から構成される。起動制御部66は、アービタコア
68本体からの起動指示信号(ライト開始指示、リード
開始指示、なお、リフレッシュはメモリ動作保証機能の
ために関係なし)とMPUI/F自律起動のアクセス起
動信号をマージして主記憶アクセス制御回路21へ送信
する。また、主記憶アクセス制御回路21からの終了通
知を受信して、アービタコア68へ送信すると共にアク
セス許可信号をクリアする。
On the other hand, the MPU memory access control section 69 having a built-in MPU includes an access permission instructing section 67 and an activation control section 66. The start control unit 66 merges a start instruction signal from the arbiter core 68 (a write start instruction, a read start instruction, and refresh is irrelevant for the memory operation assurance function) and an access start signal for MPUI / F autonomous start. To the main memory access control circuit 21. Further, it receives the end notification from the main memory access control circuit 21 and transmits it to the arbiter core 68 and clears the access permission signal.

【0039】アクセス許可指示部67は、アービタコア
68からのMPUアクセス許可状態をみて、MPUから
のアクセス受信時にMPUアクセス許可状態であれば、
アービタコア68を介さずに直ちにメモリアクセスを起
動する。つまり、メモリアービタから、MPUアクセス
イネーブル信号を受信し、アービタの許可状態(MPU
に対してアクセス許可状態であるか、または別マスタか
らのリクエストの受信状態かつ別マスタのメモリアクセ
ス状態)をメモリアービタのステータスとして認識す
る。本信号がアサートされている場合は、メモリアクセ
ス許可をMPUI/Fで判定可能であるように構成され
ている。本許可信号は、メモリアクセス単位とは非同期
にネゲートされ、本信号がネゲートされるまで待ち状態
となる。待ち状態は、他のバスマスタと同様にリクエス
ト/アクセス許可のハンドシェイクモードになる。その
アクセスリクエストは、次の論理式で表せる。
The access permission instructing unit 67 checks the MPU access permission state from the arbiter core 68, and if the MPU access permission state is received at the time of receiving the access from the MPU,
The memory access is immediately started without going through the arbiter core 68. That is, the MPU access enable signal is received from the memory arbiter, and the arbiter is enabled (MPU
Is recognized as the status of the memory arbiter. When this signal is asserted, the configuration is such that the memory access permission can be determined by the MPU I / F. This permission signal is negated asynchronously with the memory access unit, and waits until this signal is negated. The wait state is a handshake mode of request / access permission as in the other bus masters. The access request can be expressed by the following logical expression.

【0040】MPUリクエスト=[(アクセスイネーブ
ル信号)の否定]ANDメモリアクセス受信OR(リー
ドモディファイライトのリード中) アクセス許可状態及びリードモディファイライト受信時
はアービタコア68にリクエスト信号を送信し、回転優
先によるバス権許可判定を待つ。図14に、上記したア
ービタコアとMPUメモリアクセス制御部の動作のフロ
ーチャート例を示す。
MPU request = [negation of (access enable signal)] AND memory access reception OR (during read-modify-write) When access is permitted and read-modify-write is received, a request signal is transmitted to arbiter core 68, and rotation priority is given. Wait for the bus right permission judgment. FIG. 14 shows a flowchart example of the operation of the arbiter core and the MPU memory access control unit described above.

【0041】[0041]

【発明の効果】上述の如く本発明によれば、次に述べる
種々の効果を実現することができる。請求項1記載の発
明によれば、メモリアービタには主記憶装置へのアクセ
ス権を固定優先処理手段50と、回転優先度処理手段5
1とを設け、プロセッサと入出力装置からのアクセス要
求の状態により固定優先処理手段と回転優先度処理手段
を切り替えて主記憶装置へのアクセス制御を行うことに
より、システム性能を向上させ、構造が簡単で汎用性の
高いメモリアクセス制御回路を提供することができる。
また、リフレッシュ動作、アクセス中のリセット発生時
の保護動作及びメモリエラー訂正動作のようなメモリ使
用の前提を確保するための動作を固定優先とし、DMA
動作、メモリリード・ライト動作のような通常のメモリ
の使用動作を回転優先としたことにより、きめの細かい
優先処理を行い確実なメモリの使用を確保することがで
きる。
According to the present invention as described above, the following various effects can be realized. According to the first aspect of the present invention, the memory arbiter gives the access right to the main storage device the fixed priority processing means 50 and the rotation priority processing means 5
1 to control the access to the main storage device by switching between the fixed priority processing means and the rotation priority processing means according to the state of the access request from the processor and the input / output device, thereby improving the system performance and improving the structure. A simple and versatile memory access control circuit can be provided.
Also, operations for ensuring the premise of memory use, such as a refresh operation, a protection operation in the event of a reset during access, and a memory error correction operation, are given fixed priority, and DMA
Since the rotation and the normal memory use operation such as the operation and the memory read / write operation are prioritized for rotation, fine-grained priority processing can be performed to ensure the use of the memory.

【0042】請求項2記載の発明によれば、プロセッサ
からのアクセス要求が許可された後は固定優先処理50
を行うことにより、MPU−メモリ間アクセスを最小化
させ、MPUに対するメモリアクセスを高速化すること
が可能なメモリアクセス制御回路を提供することができ
る。請求項3記載の発明によれば、主記憶装置2のエラ
ー訂正の機能を該メモリアクセス制御回路に設け、固定
優先処理50により処理することにより、エラー訂正動
作を、最優先で、迅速・確実に行うことができる。
According to the second aspect of the present invention, after the access request from the processor is granted, the fixed priority processing 50
By doing so, it is possible to provide a memory access control circuit capable of minimizing MPU-memory access and increasing the speed of memory access to the MPU. According to the third aspect of the present invention, an error correction function of the main storage device 2 is provided in the memory access control circuit and is processed by the fixed priority processing 50, so that the error correction operation is performed with the highest priority, quickly and reliably. Can be done.

【0043】請求項4記載の発明によれば、入出力装置
I/Oからのメモリアクセスに対しては、回転優先処手
段51及び固定優先処理手段50により優先処理を扱う
のに対し、プロセッサからのメモリアクセスに対して
は、既にメモリバスが使用されている時又は入出力装置
からのメモリアクセスが同時に発生した場合にのみ、プ
ロセッサからのメモリアクセスを回転優先度処理手段に
おいて処理することにより、MPUからのメモリアクセ
スは、既にメモリバスが使用されている時又は入出力装
置からのメモリアクセスが同時に発生した場合以外は、
直接メモリアクセスを可能としたことにより、メモリが
MPUに直接接続されているかのような制御を行い、M
PUに対するメモリアクセスを高速に行うことができ
る。
According to the fourth aspect of the present invention, priority processing is performed by the rotation priority processing means 51 and the fixed priority processing means 50 for memory access from the input / output device I / O. For the memory access, the memory access from the processor is processed by the rotation priority processing means only when the memory bus is already used or when the memory access from the input / output device occurs at the same time. Memory access from the MPU is performed unless the memory bus is already in use or memory access from the input / output device occurs at the same time.
By enabling direct memory access, control is performed as if the memory were directly connected to the MPU.
Memory access to the PU can be performed at high speed.

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

【図1】交換機の基本構成を説明するための図である。FIG. 1 is a diagram for explaining a basic configuration of an exchange.

【図2】従来のプロセッサ装置の構成例(その1)を説
明するための図である。
FIG. 2 is a diagram illustrating a configuration example (part 1) of a conventional processor device.

【図3】従来のプロセッサ装置の構成例(その2)を説
明するための図である。
FIG. 3 is a diagram illustrating a configuration example (part 2) of a conventional processor device.

【図4】従来のプロセッサ装置の構成例(その3)を説
明するための図である。
FIG. 4 is a diagram illustrating a configuration example (part 3) of a conventional processor device.

【図5】従来のプロセッサ装置の構成例(その4)を説
明するための図である。
FIG. 5 is a diagram for describing a configuration example (part 4) of a conventional processor device.

【図6】本発明の基本構成図である。FIG. 6 is a basic configuration diagram of the present invention.

【図7】主記憶アクセス制御回路の構成例を説明するた
めの図である。
FIG. 7 is a diagram illustrating a configuration example of a main memory access control circuit.

【図8】RAMアクセス制御回路の構成例を説明するた
めの図である。
FIG. 8 is a diagram illustrating a configuration example of a RAM access control circuit.

【図9】リードデータ受信及びECC回路の構成例を説
明するための図である。
FIG. 9 is a diagram for describing a configuration example of a read data reception and ECC circuit.

【図10】メモリアービタの構成例を説明するための図
である。
FIG. 10 is a diagram for describing a configuration example of a memory arbiter.

【図11】MPUに関するメモリアクセス許可を説明す
るための図である。
FIG. 11 is a diagram for explaining memory access permission for an MPU.

【図12】アービタコアとMPUメモリアクセス制御部
を説明するための図である。
FIG. 12 is a diagram for explaining an arbiter core and an MPU memory access control unit.

【図13】回転優先度シーケンスの例を説明するための
図である。
FIG. 13 is a diagram for describing an example of a rotation priority sequence.

【図14】アービタコアとMPUメモリアクセス制御部
の動作のフローチャートの例である。
FIG. 14 is an example of a flowchart of an operation of an arbiter core and an MPU memory access control unit.

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

1 MPU 3 I/O 4 メモリ 5 メモリ交差装置 21 主記憶アクセス制御回路 22 メモリアービタ 69 MPUメモリアクセス制御部 Reference Signs List 1 MPU 3 I / O 4 memory 5 memory intersection device 21 main memory access control circuit 22 memory arbiter 69 MPU memory access control unit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 篠原 茂 神奈川県横浜市港北区新横浜2丁目3番9 号 富士通ディジタル・テクノロジ株式会 社内 (72)発明者 藤園 賢治 福岡県福岡市早良区百道浜2丁目2番1号 富士通九州通信システム株式会社内 (72)発明者 石川 康博 神奈川県川崎市中原区上小田中4丁目1番 1号 富士通株式会社内 Fターム(参考) 5B060 CD12 KA03 KA04  ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Shigeru Shinohara 2-3-9 Shin-Yokohama, Kohoku-ku, Yokohama-shi, Kanagawa Prefecture Fujitsu Digital Technology Co., Ltd. In-house (72) Kenji Fujizono 2 Momochihama, Sawara-ku, Fukuoka-shi, Fukuoka No.2-1, Fujitsu Kyushu Communication System Co., Ltd. (72) Inventor Yasuhiro Ishikawa 4-1-1, Kamiodanaka, Nakahara-ku, Kawasaki-shi, Kanagawa Prefecture F-term in Fujitsu Limited 5B060 CD12 KA03 KA04

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 プロセッサと入出力装置と主記憶装置が
接続され、 該プロセッサ及び該入出力装置から該主記憶装置へのメ
モリアクセス要求に対する調停を行うメモリアービタ
と、該プロセッサと該入出力装置からのメモリアクセス
制御する主記憶アクセス回路からなるメモリアクセス制
御回路において、該メモリアービタは、該主記憶装置へ
のアクセス権を固定の優先処理によりアクセス許可を行
う固定優先処理手段と、アクセス権をリクエストの状態
により遷移させ処理を行う回転優先度処理手段とを有
し、 該プロセッサと該入出力装置からのアクセス要求の状態
により該固定優先処理手段と該回転優先度処理手段を切
り替えて該主記憶装置へのアクセス制御を行うことを特
徴とするメモリアクセス制御回路。
1. A processor, an input / output device, and a main storage device are connected, and a memory arbiter for arbitrating a memory access request from the processor and the input / output device to the main storage device, and the processor and the input / output device A memory access control circuit comprising a main memory access circuit for controlling memory access from the memory access control circuit, wherein the memory arbiter includes a fixed priority processing means for granting an access right to the main storage device by a fixed priority process; A rotation priority processing unit for performing a process by making a transition according to a request state, and switching between the fixed priority processing unit and the rotation priority processing unit according to the state of the access request from the processor and the input / output device; A memory access control circuit for controlling access to a storage device.
【請求項2】 該プロセッサからのアクセス要求が許可
された後は固定優先処理を行い、該プロセッサと該主記
憶装置間でDMA転送を可能とするように該メモリアー
ビタが該主記憶アクセス回路を制御することを特徴とす
る請求項1記載のメモリアクセス制御回路。
2. After the access request from the processor is granted, fixed priority processing is performed, and the memory arbiter controls the main memory access circuit so as to enable DMA transfer between the processor and the main storage device. 2. The memory access control circuit according to claim 1, wherein the control is performed.
【請求項3】 該主記憶装置のエラー訂正の機能を該メ
モリアクセス制御回路に設け、固定優先処理により処理
することを特徴とする請求項1記載のメモリアクセス制
御回路。
3. The memory access control circuit according to claim 1, wherein an error correction function of said main storage device is provided in said memory access control circuit, and processing is performed by fixed priority processing.
【請求項4】 該入出力装置からのメモリアクセスに対
しては、前記回転優先度処理手段及び前記固定優先処理
手段により優先処理を扱い、該プロセッサからのメモリ
アクセスは既にメモリバスが使用されている時又は該入
出力装置からのメモリアクセスが同時に発生した場合に
のみ、該プロセッサからのメモリアクセスを前記回転優
先度処理手段において処理することを特徴とする請求項
1記載のメモリアクセス制御回路。
4. A priority process is handled by the rotation priority processing means and the fixed priority processing means for a memory access from the input / output device, and a memory access from the processor is already performed using a memory bus. 2. The memory access control circuit according to claim 1, wherein the memory access from the processor is processed by the rotation priority processing means only when the memory access is performed or when the memory access from the input / output device occurs simultaneously.
JP10218131A 1998-07-31 1998-07-31 Memory access control circuit Withdrawn JP2000047975A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10218131A JP2000047975A (en) 1998-07-31 1998-07-31 Memory access control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10218131A JP2000047975A (en) 1998-07-31 1998-07-31 Memory access control circuit

Publications (1)

Publication Number Publication Date
JP2000047975A true JP2000047975A (en) 2000-02-18

Family

ID=16715133

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10218131A Withdrawn JP2000047975A (en) 1998-07-31 1998-07-31 Memory access control circuit

Country Status (1)

Country Link
JP (1) JP2000047975A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007501477A (en) * 2003-05-29 2007-01-25 フリースケール セミコンダクター インコーポレイテッド Method and apparatus for determining access permissions

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007501477A (en) * 2003-05-29 2007-01-25 フリースケール セミコンダクター インコーポレイテッド Method and apparatus for determining access permissions

Similar Documents

Publication Publication Date Title
KR100248902B1 (en) Microprocessor architecture that can support multiple heterogeneous processors
US6026464A (en) Memory control system and method utilizing distributed memory controllers for multibank memory
JP2642027B2 (en) Computer system, arbitration method and arbitration device
US4449183A (en) Arbitration scheme for a multiported shared functional device for use in multiprocessing systems
US5611058A (en) System and method for transferring information between multiple buses
KR100286962B1 (en) Cache controller
US5925118A (en) Methods and architectures for overlapped read and write operations
US9003091B2 (en) Flow control for a Serial Peripheral Interface bus
US6636927B1 (en) Bridge device for transferring data using master-specific prefetch sizes
JPH0661075B2 (en) Data transfer method within the computer system
JPH06231075A (en) Method and apparatus for zero-hiding loop arbitration
JP3769413B2 (en) Disk array controller
WO1996013774A1 (en) Multiprocessor system bus protocol for optimized accessing of interleaved storage modules
KR20020009823A (en) Bus system and bus arbitration method thereof
JP4408263B2 (en) Data transfer system and data transfer method
JPH06324988A (en) Data processing system using asynchronous multiplexed address / data bus system
CN110795370B (en) Semiconductor memory module including nonvolatile memory device
US8359419B2 (en) System LSI having plural buses
JPS621057A (en) Transfer controller
JPH07244634A (en) External storage controller and bus switching control method
US5627968A (en) Data transfer apparatus which allows data to be transferred between data devices without accessing a shared memory
JP2000047975A (en) Memory access control circuit
JP2005165592A (en) Data transfer device
JPH09223103A (en) Information processing system
US20060248247A1 (en) Apparatus and method for controlling access to a memory

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20051004