JPH1165994A - Bus control circuit - Google Patents

Bus control circuit

Info

Publication number
JPH1165994A
JPH1165994A JP22805197A JP22805197A JPH1165994A JP H1165994 A JPH1165994 A JP H1165994A JP 22805197 A JP22805197 A JP 22805197A JP 22805197 A JP22805197 A JP 22805197A JP H1165994 A JPH1165994 A JP H1165994A
Authority
JP
Japan
Prior art keywords
bus
bus access
access
request
executed
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
JP22805197A
Other languages
Japanese (ja)
Inventor
Shinko Yamada
眞弘 山田
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP22805197A priority Critical patent/JPH1165994A/en
Publication of JPH1165994A publication Critical patent/JPH1165994A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To first execute bus access based on a bus access request having the higher priority than a bus request, with which the bus access under execution at present is executed, when such a bus access request is issued. SOLUTION: When the bus access request having the higher priority than the bus access request, with which the bus access under execution at present is executed, is issued, a bus access interrupting means A interrupts the bus access under execution at present and after that bus access is interrupted, the bus access based on the said issued bus access request is first executed by a first bus access executing means B and after that bus access is finished, the said interrupted bus access is executed again by a bus access re-executing means C.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、バス制御回路に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a bus control circuit.

【0002】[0002]

【従来の技術】従来、CPU(中央処理装置)等からの
バス・アクセス要求を受け、バス調停及びバス・アクセ
ス制御を行なうバス制御回路においては、バス・アクセ
スが可能かどうかを判断し、可能であれば設定されてい
る優先順位に従って、バス・アクセス要求を発行してい
る要求元のうち、最も高い優先順位のもののバス・アク
セスを実行している。
2. Description of the Related Art Conventionally, a bus control circuit which receives a bus access request from a CPU (Central Processing Unit) or the like and performs bus arbitration and bus access control judges whether or not bus access is possible. If it is, according to the set priority, the bus access requester having issued the bus access request has the highest priority and executes the bus access.

【0003】ところで、あるバス・アクセス要求より実
行中のバス・アクセスを一時中断して、他の(緊急度の
高い)バス・アクセス要求によるバス・アクセスを先行
して実行させたい場合があるが、従来は他のバス・アク
セス要求が発行されても、現在実行中のバス・アクセス
が終了するまで待たなければ、そのバス・アクセス要求
によるバス・アクセスを実行させることができなかっ
た。
There is a case where it is desired to temporarily suspend a bus access being executed from a certain bus access request and execute a bus access by another (highly urgent) bus access request in advance. Conventionally, even if another bus access request is issued, it is not possible to execute the bus access by the bus access request unless the user waits until the currently executed bus access ends.

【0004】そこで、例えば特公平1−42017号公
報に見られるようなものが提案されている。これは、複
数のプロセッサが1つのバスを共有するマルチ・プロセ
ッサに関するもので、優先順位の低いプロセッサに対す
るバス取得承認を仮という形で発行し、そのバス取得承
認により上記プロセッサが実際にアクセスを開始するま
での間に優先順位の高いプロセッサがバス取得要求を発
行した場合、その優先順位の高いプロセッサにバスを使
用させるようにするものである。
[0004] For this reason, for example, one disclosed in Japanese Patent Publication No. 1-402017 has been proposed. This relates to a multi-processor in which a plurality of processors share one bus, and issues a bus acquisition acknowledgment to a processor with a lower priority in a provisional manner, and the processor actually starts access by the bus acquisition acknowledgment. If a processor with a higher priority issues a bus acquisition request before this, the processor with a higher priority is made to use the bus.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、特公平
1−42017号公報に記載されたものでは、優先順位
の低いプロセッサに対するバスの取得が承認(バスの使
用が許可)されてから実際にそのプロセッサがバスの使
用を開始するまでの短い時間内しか、そのバス取得承認
を取り消すことができない。つまり、優先順位の低いプ
ロセッサでも一旦バスの使用を開始してしまえば、それ
が終了するまで優先順位の高いプロセッサはバスを使用
することができない。
However, in the device described in Japanese Patent Publication No. 1-4017, the acquisition of a bus for a processor having a lower priority is approved (the use of the bus is permitted) and then the processor is actually executed. Only within a short time before the user starts using the bus can the bus acquisition approval be revoked. In other words, once a low-priority processor starts using the bus, a high-priority processor cannot use the bus until the use ends.

【0006】この発明は、バス制御回路において、現在
実行中のバス・アクセスを実行させたバス・アクセス要
求より優先順位の高いバス・アクセス要求が発行された
とき、そのバス・アクセス要求によるバス・アクセスを
先行して実行できるようにすることを目的とする。
According to the present invention, when a bus access request issued with a higher priority than a bus access request that has caused a currently executed bus access is issued, the bus access request by the bus access request is issued. The purpose is to enable access to be performed in advance.

【0007】[0007]

【課題を解決するための手段】この発明は上記の目的を
達成するため、バス・アクセス要求を受け、バス調停及
びバス・アクセス制御を行なうバス制御回路において、
図1の機能ブロック図に示すように、現在実行中のバス
・アクセスを実行させたバス・アクセス要求より優先順
位の高いバス・アクセス要求が発行されたとき、現在実
行中のバス・アクセスを中断させるバス・アクセス中断
手段Aと、該手段Aによるバス・アクセス中断後、上記
発行されたバス・アクセス要求によるバス・アクセスを
先行して実行させるバス・アクセス先行実行手段Bと、
該手段Bによって実行されたバス・アクセスが終了した
後、上記中断されたバス・アクセスを再実行させるバス
・アクセス再実行手段Cとを設けたものである。
According to the present invention, there is provided a bus control circuit for receiving a bus access request and performing bus arbitration and bus access control.
As shown in the functional block diagram of FIG. 1, when a bus access request having a higher priority than the bus access request that caused the currently executing bus access to be executed is issued, the currently executing bus access is interrupted. Bus access suspending means A for causing the bus access to be executed in advance of the bus access request issued after the bus access is interrupted by the means A;
A bus access re-executing means C for re-executing the interrupted bus access after the bus access executed by the means B is completed.

【0008】さらに、バス・アクセス中断手段Aによっ
てバス・アクセスを中断させるとき、デバイス固有のタ
イミング規定を守るためにダミー・アクセスを行なうダ
ミー・アクセス実行手段を設けるとよい。あるいは、現
在実行中のバス・アクセスが中断可能な状態にあるかど
うかを判定する状態判定手段を設けるとよい。
Further, when the bus access is interrupted by the bus access interrupting means A, it is preferable to provide a dummy access executing means for performing a dummy access in order to keep the device-specific timing regulation. Alternatively, it is preferable to provide a state determination unit that determines whether the currently executed bus access is in a state in which the bus access can be interrupted.

【0009】この発明によるバス制御回路では、現在実
行中のバス・アクセスを実行させたバス・アクセス要求
より優先順位の高いバス・アクセス要求が発行されたと
き、図1のバス・アクセス中断手段Aが現在実行中のバ
ス・アクセスを中断させ、そのバス・アクセス中断後、
上記発行されたバス・アクセス要求によるバス・アクセ
スをバス・アクセス先行実行手段Bが先行して実行さ
せ、そのバス・アクセスが終了した後、上記中断された
バス・アクセスをバス・アクセス再実行手段Cが再実行
させるので、システム性能の向上、及びハードウェア資
源の簡素化を図ることができる。
In the bus control circuit according to the present invention, when a bus access request having a higher priority than the bus access request that has executed the currently executed bus access is issued, the bus access suspending means A of FIG. Interrupts the currently executing bus access, and after the bus access is interrupted,
The bus access preceding execution means B executes the bus access according to the issued bus access request in advance, and after the bus access is completed, the interrupted bus access is executed by the bus access re-execution means. Since C is re-executed, system performance can be improved and hardware resources can be simplified.

【0010】例えば、メイン・メモリへのリード・アク
セスとライト・アクセスを比較した場合、一般的に次の
動作との関連性はリード・アクセスの方が高い。すなわ
ち、メイン・メモリへのリード・アクセスは、そのリー
ド・アクセスによって得られたデータをすぐ後のデータ
処理で使用するために行なうので、このデータが得られ
るまで後続の処理が停止してしまうということが多い。
[0010] For example, when comparing read access and write access to the main memory, the relevance to the next operation is generally higher in read access. That is, the read access to the main memory is performed to use the data obtained by the read access in the immediately subsequent data processing, so that the subsequent processing stops until this data is obtained. Often.

【0011】一方、メイン・メモリへのライト・アクセ
スに関しては、このライト・データをすぐ後の処理で使
用するということはあまりなく、このためメイン・メモ
リ・ライトの代わりに、ライト・バッファに入れてお
き、後でメイン・メモリに対するライトを実行するとい
うことが処理性能低下を伴わずに実現できる。このた
め、現在実行しているライト・アクセスを中断させてリ
ード・アクセスを先行して実行させることで、性能向上
が可能となる。
On the other hand, with regard to write access to the main memory, this write data is not often used in the immediately subsequent processing, and is therefore stored in a write buffer instead of the main memory write. In advance, it is possible to execute the write to the main memory later without deteriorating the processing performance. Therefore, the performance can be improved by interrupting the currently executed write access and executing the read access first.

【0012】また、別の例としては、メイン・メモリか
らデータを読み出し、一定の周期でそのデータを外部に
出力するDMAコントローラにおいては、リード・アク
セス要求からリード・データが得られるまでの時間の最
悪ケースを元に緩衝器としてのFIFO(先入れ先出
し)メモリの容量が決まってくるので、この最悪ケース
の時間を短くできれば、FIFOメモリの容量を減少さ
せることができ、ハードウェア資源の簡素化を図れる。
As another example, in a DMA controller that reads data from a main memory and outputs the data to the outside at a fixed cycle, the time from when a read access request is obtained until read data is obtained is obtained. Since the capacity of a FIFO (first in first out) memory as a buffer is determined based on the worst case, if the time of the worst case can be shortened, the capacity of the FIFO memory can be reduced and hardware resources can be simplified. .

【0013】また、バス・アクセス中断手段Aによって
バス・アクセスを中断させるとき、デバイス固有のタイ
ミング規定を守るためにダミー・アクセスを行なうよう
にすれば、最小パルス幅等のタイミング規定のあるデバ
イスに対しても、中断による悪影響を発生させずに済
む。あるいは、現在実行中のバス・アクセスが中断可能
な状態にあるかどうかを判定可能にすれば、バス・アク
セス対象の仕様に最適化したアクセスが可能となり、ま
た回路設計の設計制約を緩和することができる。
Further, when the bus access is interrupted by the bus access interrupting means A, if a dummy access is performed in order to observe the timing regulation specific to the device, a device having a timing regulation such as a minimum pulse width can be used. On the other hand, the adverse effects of the interruption do not occur. Alternatively, if it is possible to determine whether or not the currently executed bus access is in a state in which the bus access can be interrupted, it is possible to perform an access optimized for the specification of the bus access target, and to ease design constraints in circuit design. Can be.

【0014】[0014]

【発明の実施の形態】以下、この発明の実施形態を図面
に基づいて具体的に説明する。図2は、この発明を実施
したバス制御回路を含む電子装置における制御系の構成
例を示すブロック図である。
Embodiments of the present invention will be specifically described below with reference to the drawings. FIG. 2 is a block diagram showing a configuration example of a control system in an electronic device including a bus control circuit embodying the present invention.

【0015】図2において、1はCPU(中央処理装
置)であり、内部にキャッシュ・メモリを持っている。
このため、外部に対するアクセスは、内部のキャッシュ
・メモリからインストラクションもしくはデータを供給
できない場合にのみ発生する。2はバス制御回路であ
り、CPU1からのバス・アクセス要求を受け、バス調
停及びバス・アクセス制御を行なう。3はROM、4は
DRAM、5はSRAMである。
In FIG. 2, reference numeral 1 denotes a CPU (Central Processing Unit), which has a cache memory therein.
Therefore, access to the outside occurs only when instructions or data cannot be supplied from the internal cache memory. A bus control circuit 2 receives a bus access request from the CPU 1 and performs bus arbitration and bus access control. Reference numeral 3 denotes a ROM, 4 denotes a DRAM, and 5 denotes an SRAM.

【0016】106は拡張基板(拡張ボード)であり、
図示しない汎用拡張コネクタを介して接続される。これ
は、常に同一の拡張基板が接続されるのではなく、用途
に応じてさまざまな拡張基板のなかから任意のものが選
択され、接続できるようになっている。別の言い方をす
れば、さまざまな仕様のものが接続されることになる。
7はCPU・バス、8はローカル・バスである。
Reference numeral 106 denotes an extension board (extension board).
It is connected via a general-purpose expansion connector (not shown). In this case, the same expansion board is not always connected, but an arbitrary one is selected from various expansion boards depending on the application and can be connected. In other words, various specifications will be connected.
7 is a CPU bus, and 8 is a local bus.

【0017】図3は、バス制御回路2の外部インタフェ
ース信号の詳細例を示す図である。図3において、SA
D,CMD,CACK_,EVAL_は、CPU・バス
7の信号であり、CPU1とインタフェースするための
信号である。これらの信号の個々の特性についての説明
は繁雑になり、またこの発明と直接関連しないので省略
する。
FIG. 3 is a diagram showing a detailed example of an external interface signal of the bus control circuit 2. In FIG. 3, SA
D, CMD, CACK_, and EVAL_ are signals of the CPU bus 7 and signals for interfacing with the CPU 1. The description of the individual characteristics of these signals will be complicated and will not be described because they are not directly related to the present invention.

【0018】他の信号については、次のようになってい
る。まず、LAddr はSRAM5,ROM3,拡張基板
6に対するアドレス・バス信号、SRAMCS_はSR
AM5に対するチップセレクト信号、ROMCS_はR
OM3に対するチップセレクト信号、EXTCS_は拡
張基板6に対するチップセレクト信号である。
The other signals are as follows. First, LAAddr is an address bus signal for SRAM5, ROM3, and expansion board 6, and SRAMCS_ is SR
The chip select signal for AM5, ROMCS_ is R
A chip select signal EXTCS_ for the OM3 is a chip select signal for the extension board 6.

【0019】また、OE_,WE_はそれぞれSRAM
5及び拡張基板6で共通に使用するアウトプット・イネ
ーブル信号,ライト・イネーブル信号である。RA,R
AS_,CAS_,RWE_はDRAM4に対する制御
信号で、RAはアドレス・バス信号、RAS_はロー・
アドレス・ストローブ信号、CAS_はカラム・アドレ
ス・ストローブ信号、RWE_はライト・イネーブル信
号である。
OE_ and WE_ are SRAMs, respectively.
5 are an output enable signal and a write enable signal commonly used in the extension board 5 and the extension board 6. RA, R
AS_, CAS_, and RWE_ are control signals for the DRAM 4, RA is an address bus signal, and RAS_ is a low signal.
An address strobe signal, CAS_ is a column address strobe signal, and RWE_ is a write enable signal.

【0020】EXACK_は、拡張基板6のアクセス時
に拡張基板6がアサートする信号で、この信号のアサー
トにより、現在のバス・アクセスを終了してよいことを
示す。これは、拡張基板6のアクセス・タイムに柔軟性
を持たせるためのものである。EXENABLE_は、
拡張基板6が中断可能な状態にあるかどうかを示すもの
であり、拡張基板6がドライブする。
EXACK_ is a signal asserted by the extension board 6 when the extension board 6 is accessed, and indicates that the current bus access may be terminated by assertion of this signal. This is to make the access time of the extension board 6 flexible. EXENABLE_ is
This indicates whether or not the extension board 6 is in a state in which interruption is possible, and the extension board 6 drives.

【0021】なお、信号名の最後に付いているアンダバ
ー(_)は、アクティブ・ローであることを示すもので
ある。また、このバス制御回路は、図1に示した請求項
1〜3のバス・アクセス中断手段A,バス・アクセス先
行実行手段B,バス・アクセス再実行手段Cとしての機
能を果たす。また、請求項2のダミー・アクセス実行手
段あるいは請求項3の状態判定手段としての機能も果た
す。
An underbar (_) at the end of a signal name indicates that the signal is active low. Further, this bus control circuit functions as the bus access suspending means A, the bus access preceding execution means B, and the bus access re-execution means C of claims 1 to 3 shown in FIG. Further, it also functions as the dummy access execution means of claim 2 or the state determination means of claim 3.

【0022】図4は、バス制御回路2における拡張基板
ライト要求(拡張基板6に対するライト要求)及びDR
AMリード要求(DRAM4に対するリード要求)が発
生した場合の動作を示す図である。
FIG. 4 shows an extension board write request (write request to the extension board 6) and the DR in the bus control circuit 2.
FIG. 9 is a diagram illustrating an operation when an AM read request (a read request to the DRAM 4) occurs.

【0023】図4では、最初の時点では一番左にいて、
時間の経過と共に右に移動して行く。そして、CPU要
求と書かれている場所には、その時点でCPU1が発行
している要求の内容を示し、拡張基板,DRAMと書か
れている部分には、それぞれ拡張基板6,DRAM4の
制御信号(データ・バスは除く)のその時点での動作の
内容を示している。
In FIG. 4, at the beginning, it is on the far left,
Move to the right over time. The location where the CPU request is written indicates the content of the request issued by the CPU 1 at that time, and the portions where the extension board and DRAM are written are control signals for the extension board 6 and DRAM 4 respectively. (Excluding the data bus) shows the contents of the operation at that time.

【0024】LDは、データ・バスがその時点で何に使
用されているかを示している。EXENABLE_は、
拡張基板6が中断可能な状態にあるかどうかを示す拡張
基板6がドライブする信号である。STOPは現在実行
しているアクセスを中断要求するためのバス制御回路2
の内部信号、PENDINGは中断していることを示す
バス制御回路2の内部信号である。
LD indicates what the data bus is currently using. EXENABLE_ is
This is a signal driven by the extension board 6 indicating whether or not the extension board 6 is in a state in which it can be interrupted. STOP is a bus control circuit 2 for interrupting the currently executed access.
The internal signal PENDING is an internal signal of the bus control circuit 2 indicating that the operation is suspended.

【0025】まず、左から順番に見て行くと、CPU1
から拡張基板6へのライト要求(バス・アクセス要求)
が発行されている。そして、この要求が許可され、拡張
基板6へのライト・アクセス(バス・アクセス)が実行
される。ライト・アクセス実行中に、CPU1から新た
な要求としてDRAM4に対するリード要求(他のバス
・アクセス要求)が発行される。
First, when viewed from the left, the CPU 1
Request to the expansion board 6 from the server (bus access request)
Has been issued. Then, this request is permitted, and write access (bus access) to the extension board 6 is executed. During execution of the write access, a read request (another bus access request) to the DRAM 4 is issued from the CPU 1 as a new request.

【0026】この実施形態では、拡張基板6へのライト
要求よりDRAM4からのリード要求の方が優先順位が
高く設定され、更に拡張基板6から信号EXENABL
E_を通して中断可能と示されているので、バス制御回
路2は、現在実行中の拡張基板6へのライト(バス・ア
クセス)が中断可能な状態にあると判定して(中断可能
と示されていなければ中断可能な状態にないと判定す
る)内部的に中断要求を発行し、中断中であることを示
すステータスを立てた状態でDRAM4からのリード・
アクセス(バス・アクセス)をスタートさせる。そし
て、このリード・アクセスが終了した後、中断された拡
張基板6へのライト・アクセス(バス・アクセス)を再
実行する。
In this embodiment, the read request from the DRAM 4 is set higher in priority than the write request to the extension board 6, and the signal EXENABLE
Since it is indicated that interruption is possible through E_, the bus control circuit 2 determines that the currently executed write (bus access) to the extension board 6 is in an interruptable state (indicated as interruptable). If not, it is determined that the interrupt is not possible.) An interrupt request is issued internally, and a read from the DRAM 4 is performed with the status indicating that the interrupt is being set.
Start access (bus access). Then, after the read access is completed, the interrupted write access (bus access) to the extension board 6 is executed again.

【0027】図5は、バス制御回路2におけるSRAM
ライト要求(SRAM5に対するライト要求)及びDR
AMリード要求(DRAM4に対するリード要求)が発
生した場合の動作を示す図である。ここでは、まず最初
に、SRAM5へのライト要求(バス・アクセス要求)
が発行され、これに対するライト・アクセス(バス・ア
クセス)が開始される。
FIG. 5 shows an SRAM in the bus control circuit 2.
Write request (write request to SRAM5) and DR
FIG. 9 is a diagram illustrating an operation when an AM read request (a read request to the DRAM 4) occurs. Here, first, a write request to the SRAM 5 (a bus access request)
Is issued, and a write access (bus access) to this is started.

【0028】その後、DRAM4に対するリード要求
(他のバス・アクセス要求)が発行され、その時点で実
行中のSRAM5へのライト・アクセスを実行させたラ
イト要求よりDRAM4に対するリード要求の方が、こ
の実施形態では優先順位が高いので、SRAM5へのラ
イト・アクセスを中断させ、DRAM4からのリード・
アクセスを開始させる。
Thereafter, a read request (another bus access request) to the DRAM 4 is issued, and the read request to the DRAM 4 is more effective than the write request for executing the write access to the SRAM 5 being executed at that time. In this embodiment, since the priority is high, the write access to the SRAM 5 is interrupted, and the read access from the DRAM 4 is stopped.
Start access.

【0029】なお、SRAM5へのライト・アクセスは
ダミー・アクセスという形で継続実行される。これは、
SRAM5のタイミング規定の最小パルス幅等の規定を
守るために実行される。但し、データ・バス(LD)
は、DRAM4と共有しており、DRAM4からのリー
ド・アクセスのために使われる。
The write access to the SRAM 5 is continuously executed in the form of a dummy access. this is,
This is executed to keep the minimum pulse width and the like of the timing regulation of the SRAM 5. However, data bus (LD)
Are shared with the DRAM 4 and are used for read access from the DRAM 4.

【0030】したがって、ここでSRAM5に書かれる
データは不定となる。但し、SRAM5に対する最低限
のタイミング仕様を満足するようにダミー・ライト(ダ
ミー・アクセス)を行なうので、DRAM5からのリー
ド・アクセスが終了した後、SRAM5に対するライト
・アクセスを再実行することにより、SRAM5のデー
タは正しいものとなる。
Therefore, the data written in the SRAM 5 is undefined. However, since the dummy write (dummy access) is performed so as to satisfy the minimum timing specification for the SRAM 5, after the read access from the DRAM 5 is completed, the write access to the SRAM 5 is re-executed. Data will be correct.

【0031】[0031]

【発明の効果】以上説明したように、この発明のバス制
御回路によれば、現在実行中のバス・アクセスを実行さ
せたバス・アクセス要求より優先順位の高いバス・アク
セス要求が発行されたとき、現在実行中のバス・アクセ
スを中断させ、そのバス・アクセス中断後、上記発行さ
れたバス・アクセス要求によるバス・アクセスを先行し
て実行させ、そのバス・アクセスが終了した後、上記中
断されたバス・アクセスを再実行させるので、システム
性能の向上、及びハードウェア資源の簡素化を図ること
ができる。
As described above, according to the bus control circuit of the present invention, when a bus access request having a higher priority than the bus access request that has executed the currently executed bus access is issued. Suspending the currently executed bus access, suspending the bus access, executing the bus access according to the issued bus access request in advance, and terminating the bus access after the bus access ends. Since the re-executed bus access is performed, system performance can be improved and hardware resources can be simplified.

【0032】さらに、請求項2の発明のバス制御回路に
よれば、バス・アクセスを中断させるとき、デバイス固
有のタイミング規定を守るためにダミー・アクセスを行
なうので、最小パルス幅等のタイミング規定のあるデバ
イスに対しても、中断による悪影響を発生させないとい
う効果がある。また、請求項3の発明のバス制御回路に
よれば、現在実行中のバス・アクセスが中断可能な状態
にあるかどうかを判定するので、バス・アクセス対象の
仕様に最適化したアクセスができ、また回路設計の設計
制約を緩和することができる。
Further, according to the bus control circuit of the present invention, when the bus access is interrupted, the dummy access is performed in order to observe the timing regulation unique to the device. Even for a certain device, there is an effect that the adverse effect of the interruption is not generated. According to the bus control circuit of the third aspect of the present invention, it is determined whether or not the currently executed bus access is in a state in which the bus access can be interrupted. In addition, it is possible to relax design constraints in circuit design.

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

【図1】この発明の基本構成を示す機能ブロック図であ
る。
FIG. 1 is a functional block diagram showing a basic configuration of the present invention.

【図2】この発明を実施したバス制御回路を含む電子装
置における制御系の構成例を示すブロック図である。
FIG. 2 is a block diagram illustrating a configuration example of a control system in an electronic device including a bus control circuit embodying the present invention.

【図3】図2のバス制御回路2の外部インタフェース信
号の詳細例に示す図である。
FIG. 3 is a diagram showing a detailed example of an external interface signal of the bus control circuit 2 of FIG. 2;

【図4】図2のバス制御回路2における拡張基板ライト
要求及びDRAMリード要求が発生した場合の動作を示
す図である。
FIG. 4 is a diagram showing an operation when an extended board write request and a DRAM read request occur in the bus control circuit 2 of FIG. 2;

【図5】同じくSRAMライト要求及びDRAMリード
要求が発生した場合の動作を示す図である。
FIG. 5 is a diagram showing an operation when an SRAM write request and a DRAM read request are generated.

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

1:CPU(中央処理装置) 2:バス制御回路 3:ROM 4:DRAM 5:SRAM 6:拡張基板 7:CPU・バス 8:ローカル・バス 1: CPU (Central Processing Unit) 2: Bus control circuit 3: ROM 4: DRAM 5: SRAM 6: Expansion board 7: CPU bus 8: Local bus

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 バス・アクセス要求を受け、バス調停及
びバス・アクセス制御を行なうバス制御回路において、 現在実行中のバス・アクセスを実行させたバス・アクセ
ス要求より優先順位の高いバス・アクセス要求が発行さ
れたとき、現在実行中のバス・アクセスを中断させるバ
ス・アクセス中断手段と、該手段によるバス・アクセス
中断後、前記発行されたバス・アクセス要求によるバス
・アクセスを先行して実行させるバス・アクセス先行実
行手段と、該手段によって実行されたバス・アクセスが
終了した後、前記中断されたバス・アクセスを再実行さ
せるバス・アクセス再実行手段とを設けたことを特徴と
するバス制御回路。
1. A bus control circuit for receiving a bus access request and performing bus arbitration and bus access control, wherein the bus access request has a higher priority than the bus access request that has executed the currently executed bus access. Is issued, a bus access suspending means for suspending the bus access currently being executed, and after the bus access is suspended by the means, the bus access by the issued bus access request is executed in advance. A bus control comprising: a bus access preceding execution means; and a bus access re-execution means for re-executing the interrupted bus access after the bus access executed by the means is completed. circuit.
【請求項2】 請求項1記載のバス制御回路において、
前記バス・アクセス中断手段によってバス・アクセスを
中断させるとき、デバイス固有のタイミング規定を守る
ためにダミー・アクセスを行なうダミー・アクセス実行
手段を設けたことを特徴とするバス制御回路。
2. The bus control circuit according to claim 1, wherein
A bus control circuit, comprising: a dummy access execution unit for performing a dummy access in order to observe a timing regulation specific to a device when the bus access is interrupted by the bus access interruption unit.
【請求項3】 請求項1記載のバス制御回路において、
現在実行中のバス・アクセスが中断可能な状態にあるか
どうかを判定する状態判定手段を設けたことを特徴とす
るバス制御回路。
3. The bus control circuit according to claim 1, wherein
A bus control circuit, comprising: status determination means for determining whether a currently executed bus access is in a state in which it can be interrupted.
JP22805197A 1997-08-25 1997-08-25 Bus control circuit Pending JPH1165994A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22805197A JPH1165994A (en) 1997-08-25 1997-08-25 Bus control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22805197A JPH1165994A (en) 1997-08-25 1997-08-25 Bus control circuit

Publications (1)

Publication Number Publication Date
JPH1165994A true JPH1165994A (en) 1999-03-09

Family

ID=16870440

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22805197A Pending JPH1165994A (en) 1997-08-25 1997-08-25 Bus control circuit

Country Status (1)

Country Link
JP (1) JPH1165994A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003014947A1 (en) * 2001-08-02 2003-02-20 Matsushita Electric Industrial Co., Ltd. Host apparatus, electronic device, and transmission system control method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003014947A1 (en) * 2001-08-02 2003-02-20 Matsushita Electric Industrial Co., Ltd. Host apparatus, electronic device, and transmission system control method
US7058741B2 (en) 2001-08-02 2006-06-06 Matsushita Electric Industrial Co., Ltd. System for suspending processing by a first electronic device on a data line to allow a second electronic device to use the data line, with subsequent resumption of the processing of the first electronic device

Similar Documents

Publication Publication Date Title
US5619726A (en) Apparatus and method for performing arbitration and data transfer over multiple buses
US5041962A (en) Computer system with means for regulating effective processing rates
JP3226055B2 (en) Information processing device
JP2012008919A (en) Information processing device
US7120708B2 (en) Readdressable virtual DMA control and status registers
JPH10187642A (en) Microprocessor and multiprocessor system
US20030070049A1 (en) Memory control method, memory control circuit using the control method, and integrated circuit device with the memory control circuit
JP2004078683A (en) Computer system and shared memory controlling method
JPH1165994A (en) Bus control circuit
JPH04192056A (en) Arbitration system
US6085271A (en) System bus arbitrator for facilitating multiple transactions in a computer system
JP2002342266A (en) Data processor
JP3077807B2 (en) Microcomputer system
JP3323341B2 (en) Emulation processor and emulator equipped with it
JP2008021040A (en) Bus master circuit, bus control method and computer program
JP2002189695A (en) Cpu interface circuit
JP3516835B2 (en) Information processing system
JP2004062319A (en) Data processor
JPS6054065A (en) Synchronous controller
JP3187117B2 (en) One-chip microcomputer with built-in multiprocessor
JP2806405B2 (en) Microprocessor
JP4322284B2 (en) Single chip microcomputer
JP2560968B2 (en) Computer system
JP2001084143A (en) Information processor
JPH02224048A (en) Information processor