JP4062478B2 - Device access method - Google Patents

Device access method Download PDF

Info

Publication number
JP4062478B2
JP4062478B2 JP2001029671A JP2001029671A JP4062478B2 JP 4062478 B2 JP4062478 B2 JP 4062478B2 JP 2001029671 A JP2001029671 A JP 2001029671A JP 2001029671 A JP2001029671 A JP 2001029671A JP 4062478 B2 JP4062478 B2 JP 4062478B2
Authority
JP
Japan
Prior art keywords
bus
circuit
access
isa bus
address
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.)
Expired - Fee Related
Application number
JP2001029671A
Other languages
Japanese (ja)
Other versions
JP2002229935A (en
Inventor
一利 河野
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.)
Iwatsu Electric Co Ltd
Original Assignee
Iwatsu Electric 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 Iwatsu Electric Co Ltd filed Critical Iwatsu Electric Co Ltd
Priority to JP2001029671A priority Critical patent/JP4062478B2/en
Publication of JP2002229935A publication Critical patent/JP2002229935A/en
Application granted granted Critical
Publication of JP4062478B2 publication Critical patent/JP4062478B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
この発明は、例えば、CPU(Central Processing Unit)からチップセットを用いてISAバス(Industry Standard Architecture Bus)に接続されるデバイスをアクセスする際に適用して好適なデバイスアクセス方法に関する。
【0002】
【従来の技術】
パーソナルコンピュータの拡張バスとしてISAバスが知られている。このISAバスに接続されたデバイスをCPUからアクセスする場合には、CPUが接続されるローカルバスと、ISAバスとの間のブリッジ回路としてのチップセット経由で行われる。
【0003】
このISAバスに接続されたデバイスのCPUからのアクセスの際、CPUは、ISAバスを意識せずに、1デバイスとしてアクセスサイクルを開始・終了する。このCPUからのアクセスデータを受けたチップセットは、CPUからアクセスされるデバイスのアドレスを、ISAバスに出力する。このとき、チップセットは、次のISAバス上のデバイスのアクセスがあるまで、そのアドレスを出力し続ける状態を保持する。
【0004】
ISAバスとデバイスとの間に接続されるチップセレクト回路は、前記チップセットからのアドレスデータを監視して、そのアドレスデータが自分が接続されるデバイスのアドレスであると検知すると、チップセレクト信号をアクティブにする。これにより、当該チップセレクト回路に接続されるデバイスが、CPUからアクセスされることになる。
【0005】
【発明が解決しようとする課題】
上述したように、チップセットはISAバス上のデバイスのアドレスを、次のISAバス上のデバイスのアクセスがあるまでドライブし続ける。したがって、ISAバスに接続されるデバイスは、アクセスされて所定のジョブが終了した後にも、そのアドレスをドライブし続けられることになる。このような状態においては、次のような問題が生じることがある。
【0006】
例えばデュアルポートRAM(Random Access Memory)の一つのポートがISAバスに接続され、他方のポートが他のCPUバスに接続されている場合において、このデュアルポートRAMに対して、ISAバスと他のCPUバスとからアクセスがあったときに、ISAバスからのアクセスが早いと、ISAバスでの次のアクセスがあるまで、他のCPUバスからのアクセスは待たされてしまうことになる。このため、全体としての動作速度が低下してしまう。
【0007】
また、ジョブの終了したデバイスを選択するアドレスがドライブされ続けられることにより、そのアドレス継続ドライブ中にノイズが発生すると、そのノイズの影響を前記デバイスが受けてしまうという耐ノイズ性の問題が生じる。
【0008】
この発明は、以上の問題点を改善することを目的とする。
【0009】
【課題を解決するための手段】
上記課題を解決するため、請求項1の発明は、
CPU(Central Processing Unit)によるアクセス対象のデバイスのバス上のアドレスのドライブが、前記CPUからの次のアクセスの発生まで保持されるバスに接続されたデバイスのアクセス方法であって、
前記CPUは、アクセス対象の前記デバイスが、予め定められた所定のデバイスであるかどうか判別し、前記所定のデバイスであると判別したときには、前記所定のデバイスのアクセスサイクルの終了後、前記所定のデバイス以外をダミーとしてアクセスすることを特徴とするデバイスアクセス方法を提供する。
【0011】
【作用】
上述の構成の請求項1の発明によるデバイスアクセス方法によれば、例えばデュアルポートRAMを所定のデバイスとして予め定めておくと、そのデュアルポートRAMへのアクセスの際には、そのアクセスサイクルの終了後には、他のデバイスがアクセスされる状態になる。したがって、バスがISAバスであっても、デュアルポートRAMはアクセス終了後には、ISAバスからのドライブから開放され、他のCPUバスからのアクセスを即座に受け付けることができるようになる。
【0014】
【発明の実施の形態】
以下、この発明によるデバイスアクセス方法の実施の形態を図を参照しながら説明する。
【0015】
[第1の実施の形態
図1は、この発明の第1の実施の形態が適用されたパーソナルコンピュータシステムの構成を示す図である。この図1において、1はCPU、2はCPUが直接的に接続されるローカルバスである。ローカルバス2には、図示を省略したがプログラムROM(Read Only Memory)やワークエリア用のRAMなどが接続されている。3はISAバスであり、2個のチップセット4および5を介してローカルバス2と接続されている。
【0016】
2個のチップセット4および5は、CPU1のコマンドを、規格化されたバスであるISAバス3に対するものに変換する。そして、システムの電源の立ち上げ時に、CPU1からのアクセスに対して、ISAバス3上の各デバイスの1アクセスサイクルにどのくらいの時間を要するかを、チップセット4および5は、記憶して管理する。したがって、CPU1が、ISAバス3を意識せずに、1デバイスとしてアクセスサイクルを開始・終了し、続いて次のアクセスサイクルを開始しても、チップセット4および5により、ISAバス3上の各デバイスでのジョブ処理のためのアクセスサイクルに必要な時間は保持される。
【0017】
ISAバス3には、この例の場合には、デュアルポートRAM6の一方のポートP1が接続されると共に、他のデバイス7も接続される。また、デュアルポートRAM6の他方のポートP2は、他のCPUバス10に接続される。この場合、前述もしたように、デュアルポートRAM6は、ISAバス3からのアクセスによりチップセレクトされ続けると、他のCPUバス10からのアクセスを受け付けられないという問題が生じるデバイスの一例である。また、他のデバイス7は、ISAバス3からのアクセスによりチップセレクトされ続けても、支障の生じないデバイスの一例としている。
【0018】
ISAバス3とデュアルポートRAM6との間にはチップセレクト回路8が接続され、ISAバス3と他のデバイス7との間にはチップセレクト回路9が接続されている。他のCPUバス10とデュアルポートRAM6との間にもチップセレクト回路11が接続される。
【0019】
チップセレクト回路8は、デュアルポートRAM6の一方のポートP1用のチップセレクト端子S1にチップセレクト信号CS1を供給するもので、ISAバス3上のデバイスのアドレスを指定するアドレス情報を監視し、そのアドレス情報が変化したときに、その変化後のアドレス情報がデュアルポートRAM6を指定するものであるときには、次のアクセスによりISAバス3上のデバイスのアドレス情報が変更されるまでの間、チップセレクト信号CS1をアクティブにする。
【0020】
チップセレクト回路11は、デュアルポートRAM6の他方のポートP2用のチップセレクト端子S2にチップセレクト信号CS2を供給するもので、他のCPUバス10上のデバイスのアドレスを指定するアドレス情報を監視し、そのアドレス情報が変化したときに、その変化後のアドレス情報がデュアルポートRAM6を指定するものであるときには、チップセレクト信号CS2をアクティブにする。なお、この例の場合、バス10からのアクセスは、クロックに同期して行われて、アクセスが終了するとバス10からデュアルポートRAM6は開放される。
【0021】
また、チップセレクト回路9は、他のデバイス7のチップセレクト端子S1にチップセレクト信号CS1を供給するもので、ISAバス3上のアドレスを指定するアドレス情報を監視し、そのアドレス情報が変化したときに、そのアドレス情報が他のデバイス7を指定するものであるときには、次のアクセスによりISAバス3上のデバイスのアドレス情報が変更されるまでの間、チップセレクト信号CS1をアクティブにする。
【0022】
この第1の実施の形態においては、デュアルポートRAM6がCPU1からアクセスされたときに、CPU1によるソフトウエア処理により、ISAバス10から速やかに開放されるようにしている。
【0023】
すなわち、この第1の実施の形態では、CPU1からISAバス3上のデュアルポートRAM6をアクセスする際には、CPU1は、デュアルポートRAM6のアクセスに続いて、ダミーのアクセスを行ない、そのダミーのアクセスによりISAバス3を通じてアクセスされ続けても支障のない他のデバイス7をアクセスするようにする。
【0024】
図2は、このときのCPU1のアクセスを説明するためのフローチャートである。
【0025】
すなわち、CPU1は、アクセスコマンドの発生であると判別すると(ステップS1)、そのアクセスコマンドは、デュアルポートRAM6へのものであるか否か判別し(ステップS2)、デュアルポートRAM6へのコマンドでなければ、そのアクセスコマンドを発生し(ステップS3)、そのまま次のステップに移行する。
【0026】
ステップS2でデュアルポートRAM6へのコマンドであると判別したときには、そのアクセスコマンドを発生し(ステップS4)、引き続いて他のデバイス7へのダミーアクセスコマンドを発生する(ステップS5)。そして、その後、次のステップに移行する。
【0027】
以上説明した第1の実施の形態によれば、CPU1は、デュアルポートRAM6をアクセスする際には、そのアクセスが終了した後には、即座に他のデバイス7をダミーアクセスするようにするので、デュアルポートRAM6は、CPU1からのアクセスによるジョブの終了後、即座にISAバス3から開放されるようにされる。したがって、デュアルポートRAM6の他方のポートP2が接続される他のCPUバス10からのアクセスについての待ち時間を最小にすることができる。
【0028】
[第2の実施の形態(参考例)]
この第2の実施の形態は、この出願の発明の実施の形態ではなく、参考例であって、ハードウエア構成は、図1と全く同様である。しかし、この第2の実施の形態では、前述の第1の実施の形態の場合のCPU1のソフトウエア処理は行わず、デュアルポートRAM6をアクセスする場合であっても、ダミーアクセスは行わない。その代わりに、この第2の実施の形態では、チップセレクト回路のうち、少なくとも、デュアルポートRAM6とISAバス3との間に接続されるチップセレクト回路が、図3に示すような内部構成を備えるチップセレクト回路80とされている。
【0029】
すなわち、チップセレクト回路80は、この実施の形態では、チップセレクト信号生成回路81と、ゲート回路82と、タイマー回路83と、プリセット値保持回路84とを備えている。
【0030】
チップセレクト信号生成回路81は、この例では、図3に示すように、アドレスデコーダ811と、アドレスラッチ回路812および813と、比較回路814とで構成される。
【0031】
そして、ISAバス3上のアドレス情報のうちのデバイス選択用のアドレス信号ADR(図4(A)参照)がアドレスデコーダ811に供給される。また、ISAバス3上の全てのアドレス情報がアドレスラッチ回路812に供給され、アドレスラッチ回路812の出力がアドレスラッチ回路813に供給される。アドレスデコーダ811、アドレスラッチ回路812および813には、ISAバス3用のクロックCK(図4(E)参照)が供給される。
【0032】
なお、ISAバス3上の全てのアドレス情報を見た場合、アドレス信号ADRが同じであっても、アクセス毎に異なる。つまり、連続して同じデバイスをCPU1がアクセスしたときには、アドレス信号ADRは同一であっても、ISAバス3上の全てのアドレス情報をみたときには、変化があり、アクセスごとに変化がそのアドレス情報に現れるものである。
【0033】
アドレスラッチ回路812とアドレスラッチ回路813の出力は比較回路814に供給されて比較される。そして、比較回路814の比較出力CMがアドレスデコーダ811に供給されると共に、アドレスラッチ回路813のイネーブル端子ENに供給される。さらに、比較回路814の比較出力CMは、タイマー回路83のロード端子LDに供給される。
【0034】
アドレスラッチ回路812は、ISAバス3上のアドレス情報をISAバス3用のクロックCKに同期してラッチする。アドレスラッチ回路813は、比較回路814の出力がハイレベルのときに、イネーブルとなって、クロックCKに同期して、アドレスラッチ回路812のアドレス情報よりは1クロック分前のISAバス3上のアドレス情報をラッチする。
【0035】
比較回路814では、これら2つのアドレスラッチ回路812および813のアドレス情報がクロックCKに同期して比較され、両アドレス情報が同一であるときには、その出力CMがローレベルとなり、異なるときにはその出力CMはハイレベルとなる。
【0036】
したがって、比較回路814の出力CMは、図4(B)に示すように、ISAバス3上のアドレス情報が変化したときにハイレベルとなる。つまり、比較回路14の出力CMは、ISAバス3上のアドレス情報が変化したことを示す情報となる。アドレスラッチ回路813には、比較回路CMの出力がハイレベルのときに、アドレスラッチ回路812のアドレス情報がラッチされるので、アドレスラッチ回路813には、ISAバス3上のアドレス情報が変化したとき、その変化後のアドレス情報がラッチされ、次に、比較回路814の出力CMがハイレベルとなるまで保持される。
【0037】
アドレスデコーダ811は、比較回路814の出力CMに基づき、アドレス信号ADRが変化したときに、ISAバス3を通じて送られてくるアドレス信号ADRをデコードして監視し、その変化後のアドレス情報が自分が接続されているデバイスのISAバス上のアドレスを指定するものであるときに、その出力信号であるチップセレクト信号CS1(図4(C)参照)を、インアクティブの状態からアクティブの状態に変更する。このチップセレクト信号CS1は、ゲート回路82を通じてデュアルポートRAM6に出力される。
【0038】
この実施の形態では、タイマー回路83は、例えばダウンカウンタで構成されるもので、ISAバス3用のクロックCKがそのクロック端子に供給されている。そして、タイマー回路83は、比較回路814の出力CMを受けて、プリセット値保持回路84に保持されているタイマー時間に対応するプリセット値をロードする。
【0039】
すなわち、比較回路814の出力CMがローレベルからハイレベルに変化した時点でプリセット値保持回路84のプリセットカウント値がタイマー回路83にロードされ、そのプリセットカウント値から、タイマー回路83はクロックCKのダウンカウントを開始する。
【0040】
そして、タイマー回路83において、ISAバス3上のアドレス信号ADRが変化した時点からプリセット値分だけダウンカウントされると、タイマー回路83のカウント値が0になって、タイムアウトが検知され、ゲート信号GTは、図4(D)に示すように、ゲート回路82をオフにする状態になる。
【0041】
以上のように、タイマー回路83は、ISAバス3上のアドレス情報が変化した時点から、プリセット値保持回路84に保持されているタイマー時間に対応するプリセット値の分の時間を計測し、そのタイマー時間経過したときに、ゲート回路82をオフすることにより、チップセレクト信号CS1を強制的にインアクティブにするようにするためのゲート信号GT(図4(D)参照)を形成して、そのゲート信号GTをゲート回路82に供給する。
【0042】
ここで、プリセット値保持回路84に保持されるタイマー時間のプリセット値は、チップセレクト回路80が接続されるデバイスでの1アクセスが完了する時間を考慮して、その時間よりも大きく、かつ、そのデバイスがISAバス3からできるだけ早く開放されるような時間に相当する値に設定される。この例では、デュアルポートRAM6での1アクセスが終了するまでの最長時間よりも若干長い時間分に対応するカウント値であって、そのタイマー時間分に対応するクロックCKのクロック数とされる。
【0043】
以上のようにして、デュアルポートRAM6のチップセレクト信号CS1は、アクティブになったとしても、図4(C)に示すように、タイマー回路83でタイムアウトが検出された時点からインアクティブの状態となり、デュアルポートRAM6は、ISAバス3から開放される。
【0044】
以上説明した第2の実施の形態によれば、ISAバス3には、チップセット4、5を通じてデュアルポートRAM6を指定するアドレスがドライブされ続けても、チップセレクト回路80からのチップセレクト信号CS1が、デュアルポートRAM6でのアクセスが終了した後には、速やかにインアクティブにされるので、デュアルポートRAM6は、ISAバス3から開放されて、他のCPUバス10からのアクセスを受け付けることができるようになる。
【0045】
なお、図3の構成は、一例であって、これに限られるものではない。例えば、タイマー回路83の出力GTにより、チップセレクト回路81をリセットして、チップセレクト信号CS1をインアクティブにするように構成することもできる。また、アドレスデコーダ811には、クロックCKを供給しなくてもよい。
【0046】
また、バス10も、ISAバスである場合には、チップセレクト回路11も、チップセレクト回路80と同様に構成される。また、チップセレクト回路9は、チップセレクト回路80と同様の構成のチップセレクト回路を用いてもよいし、従来の構成のチップセレクト回路を用いてもよい。
【0047】
なお、チップセレクト回路8をチップセレクト回路80の構成に変更するのではなく、ISAバスにアクセスされ続けると支障が生じるデバイスに、チップセレクト回路80のうちの、ゲート回路82、タイマー回路83、プリセット値保持回路84の部分を、内蔵するように構成することもできる。また、チップセレクト回路80をそのデバイス内に全て内蔵するようにしてもよい。
【0048】
上述の第1および第2の実施の形態において、ISAバスにアクセスされ続けると支障が生じるデバイスとしては、デュアルポートRAMに限らず、複数ポートを備え、各ポートがそれぞれ独立に異なるバスからのアクセスを受け付けることができるようなデバイスであれば、対象となる。
【0049】
また、ノイズ対策を考えた場合には、ISAバスにアクセスされ続けると支障が生じるデバイスは、複数ポートを備えるデバイスに限らず、一般のデバイスであっても、ノイズ対策が必要な場合には、対象となるものである。
【0050】
さらに、この発明が適用されるバスも、ISAバスに限らず、アクセスとアクセスとの間では、前にアクセスされていたデバイスがバスからドライブされる続けるようなバスであれば、どのようなバスであっても適用可能である。
【0051】
【発明の効果】
以上説明したように、この発明によれば、アクセスとアクセスとの間では、前にアクセスされていたデバイスがバスからドライブされる続けるようなバスに接続されたデバイスであっても、1アクセスが終了した後は、バスから開放することができるようになる。
【図面の簡単な説明】
【図1】この発明の実施の形態が適用されるコンピュータシステムの構成例を示すブロック図である。
【図2】この発明の第1の実施の形態を説明するためのフローチャートである。
【図3】 参考例としての第2の実施の形態を説明するためのブロック図である。
【図4】図3の実施の形態の説明に用いるタイミングチャートである。
【符号の説明】
1 CPU
2 ローカルバス
3 ISAバス
4、5 チップセット
6 デュアルポートRAM
7 他のデバイス
8、9、11、80 チップセレクト回路
81 チップセレクト信号生成回路
82 ゲート回路
83 タイマー回路
[0001]
BACKGROUND OF THE INVENTION
The present invention, for example, relates to a suitable device access method is applied when accessing a device connected to ISA bus (Industry Standard Architecture Bus) with a chipset from CPU (Central Processing Unit).
[0002]
[Prior art]
An ISA bus is known as an expansion bus for personal computers. When a device connected to the ISA bus is accessed from the CPU, it is performed via a chip set as a bridge circuit between the local bus to which the CPU is connected and the ISA bus.
[0003]
When accessing the device connected to the ISA bus from the CPU, the CPU starts and ends the access cycle as one device without being aware of the ISA bus. The chip set that has received the access data from the CPU outputs the address of the device accessed from the CPU to the ISA bus. At this time, the chip set keeps outputting the address until the device on the next ISA bus is accessed.
[0004]
The chip select circuit connected between the ISA bus and the device monitors the address data from the chip set, and if it detects that the address data is the address of the device to which it is connected, it outputs a chip select signal. Activate. As a result, a device connected to the chip select circuit is accessed from the CPU.
[0005]
[Problems to be solved by the invention]
As mentioned above, the chipset continues to drive the address of the device on the ISA bus until the next device access on the ISA bus. Therefore, a device connected to the ISA bus can continue to drive its address even after being accessed and a predetermined job is completed. In such a state, the following problems may occur.
[0006]
For example, when one port of a dual port RAM (Random Access Memory) is connected to the ISA bus and the other port is connected to another CPU bus, the ISA bus and another CPU are connected to the dual port RAM. If an access from the ISA bus is early when there is an access from the bus, an access from another CPU bus is kept waiting until the next access from the ISA bus. For this reason, the operation speed as a whole decreases.
[0007]
Further, since an address for selecting a device for which a job has been completed is continuously driven, if noise occurs during the address continuation drive, a problem of noise resistance occurs that the device is affected by the noise.
[0008]
An object of the present invention is to improve the above problems.
[0009]
[Means for Solving the Problems]
In order to solve the above problems, the invention of claim 1
A method of accessing a device in which a drive at an address on a bus of a device to be accessed by a CPU (Central Processing Unit) is connected to the bus held until the next access from the CPU,
Wherein the CPU, the device to be accessed, it is determined whether the predetermined device a predetermined, when it is determined that the a predetermined device after completion of the access cycle of the predetermined device, the predetermined Provided is a device access method characterized by accessing a device other than a device as a dummy.
[0011]
[Action]
According to the device access method of the invention having the above-described configuration, for example, if the dual port RAM is predetermined as a predetermined device, the access to the dual port RAM is performed after the end of the access cycle. Is in a state where another device is accessed. Therefore, even if the bus is an ISA bus, the dual port RAM is released from the drive from the ISA bus after the access is completed, and can immediately accept an access from another CPU bus.
[0014]
DETAILED DESCRIPTION OF THE INVENTION
It will be described below with reference to FIG embodiments of the device access methods according to the present invention.
[0015]
[First Embodiment ]
FIG. 1 is a diagram showing the configuration of a personal computer system to which the first embodiment of the present invention is applied. In FIG. 1, 1 is a CPU and 2 is a local bus to which a CPU is directly connected. Although not shown, the local bus 2 is connected to a program ROM (Read Only Memory), a RAM for a work area, and the like. An ISA bus 3 is connected to the local bus 2 through two chip sets 4 and 5.
[0016]
The two chipsets 4 and 5 convert the commands of the CPU 1 into those for the ISA bus 3, which is a standardized bus. The chip sets 4 and 5 store and manage how much time is required for one access cycle of each device on the ISA bus 3 for the access from the CPU 1 when the system power is turned on. . Therefore, even if the CPU 1 starts and ends the access cycle as one device without being aware of the ISA bus 3, and subsequently starts the next access cycle, each chip set 4 and 5 causes each of the ISA bus 3 The time required for the access cycle for job processing in the device is retained.
[0017]
In this example, one port P1 of the dual port RAM 6 is connected to the ISA bus 3, and the other device 7 is also connected. The other port P2 of the dual port RAM 6 is connected to another CPU bus 10. In this case, as described above, the dual port RAM 6 is an example of a device that causes a problem that access from another CPU bus 10 cannot be accepted if chip selection is continued by access from the ISA bus 3. The other device 7 is an example of a device that does not cause a problem even if the chip selection is continued by accessing from the ISA bus 3.
[0018]
A chip select circuit 8 is connected between the ISA bus 3 and the dual port RAM 6, and a chip select circuit 9 is connected between the ISA bus 3 and other devices 7. A chip select circuit 11 is also connected between the other CPU bus 10 and the dual port RAM 6.
[0019]
The chip select circuit 8 supplies a chip select signal CS1 to the chip select terminal S1 for one port P1 of the dual port RAM 6. The chip select circuit 8 monitors address information specifying the address of the device on the ISA bus 3, and the address When the information changes, if the changed address information designates the dual port RAM 6, the chip select signal CS1 until the address information of the device on the ISA bus 3 is changed by the next access. Activate
[0020]
The chip select circuit 11 supplies a chip select signal CS2 to the chip select terminal S2 for the other port P2 of the dual port RAM 6, and monitors address information specifying the address of a device on another CPU bus 10, When the address information changes, if the changed address information designates the dual port RAM 6, the chip select signal CS2 is activated. In this example, the access from the bus 10 is performed in synchronization with the clock, and when the access is completed, the dual port RAM 6 is released from the bus 10.
[0021]
The chip select circuit 9 supplies a chip select signal CS1 to the chip select terminal S1 of the other device 7. The chip select circuit 9 monitors address information specifying an address on the ISA bus 3, and changes the address information. If the address information designates another device 7, the chip select signal CS1 is activated until the address information of the device on the ISA bus 3 is changed by the next access.
[0022]
In the first embodiment, when the dual port RAM 6 is accessed from the CPU 1, it is quickly released from the ISA bus 10 by software processing by the CPU 1.
[0023]
In other words, in the first embodiment, when the CPU 1 accesses the dual port RAM 6 on the ISA bus 3, the CPU 1 performs a dummy access following the access to the dual port RAM 6, and the dummy access. Thus, another device 7 that does not have any trouble even if it is continuously accessed through the ISA bus 3 is accessed.
[0024]
FIG. 2 is a flowchart for explaining the access of the CPU 1 at this time.
[0025]
That is, when the CPU 1 determines that an access command is generated (step S1), the CPU 1 determines whether or not the access command is for the dual port RAM 6 (step S2) and must be a command for the dual port RAM 6. If so, the access command is generated (step S3), and the process proceeds to the next step as it is.
[0026]
If it is determined in step S2 that the command is for the dual port RAM 6, the access command is generated (step S4), and then a dummy access command for another device 7 is generated (step S5). Then, the process proceeds to the next step.
[0027]
According to the first embodiment described above, when the CPU 1 accesses the dual port RAM 6, the other device 7 is immediately dummy-accessed after the access is completed. The port RAM 6 is released from the ISA bus 3 immediately after the end of the job by the access from the CPU 1. Therefore, the waiting time for access from the other CPU bus 10 to which the other port P2 of the dual port RAM 6 is connected can be minimized.
[0028]
[Second Embodiment ( Reference Example )]
This second embodiment is not an embodiment of the invention of this application, but a reference example, and the hardware configuration is exactly the same as in FIG. However, in the second embodiment, the software processing of the CPU 1 in the first embodiment is not performed, and no dummy access is performed even when the dual port RAM 6 is accessed. Instead, in the second embodiment, at least a chip select circuit connected between the dual port RAM 6 and the ISA bus 3 in the chip select circuit has an internal configuration as shown in FIG. A chip select circuit 80 is provided.
[0029]
That is, the chip select circuit 80 includes a chip select signal generation circuit 81, a gate circuit 82, a timer circuit 83, and a preset value holding circuit 84 in this embodiment.
[0030]
In this example, the chip select signal generation circuit 81 includes an address decoder 811, address latch circuits 812 and 813, and a comparison circuit 814 as shown in FIG.
[0031]
The address signal ADR for device selection (see FIG. 4A) in the address information on the ISA bus 3 is supplied to the address decoder 811. All the address information on the ISA bus 3 is supplied to the address latch circuit 812, and the output of the address latch circuit 812 is supplied to the address latch circuit 813. The address decoder 811 and the address latch circuits 812 and 813 are supplied with the clock CK for the ISA bus 3 (see FIG. 4E).
[0032]
When all the address information on the ISA bus 3 is viewed, even if the address signal ADR is the same, it differs for each access. That is, when the CPU 1 accesses the same device in succession, even if the address signal ADR is the same, there is a change when all the address information on the ISA bus 3 is viewed. It is what appears.
[0033]
Outputs of the address latch circuit 812 and the address latch circuit 813 are supplied to the comparison circuit 814 for comparison. The comparison output CM of the comparison circuit 814 is supplied to the address decoder 811 and to the enable terminal EN of the address latch circuit 813. Further, the comparison output CM of the comparison circuit 814 is supplied to the load terminal LD of the timer circuit 83.
[0034]
The address latch circuit 812 latches the address information on the ISA bus 3 in synchronization with the clock CK for the ISA bus 3. The address latch circuit 813 is enabled when the output of the comparison circuit 814 is at a high level, and in synchronization with the clock CK, the address on the ISA bus 3 one clock before the address information of the address latch circuit 812. Latch information.
[0035]
In the comparison circuit 814, the address information of these two address latch circuits 812 and 813 is compared in synchronization with the clock CK. When the address information is the same, the output CM is at a low level, and when the address information is different, the output CM is Become high level.
[0036]
Therefore, the output CM of the comparison circuit 814 becomes high when the address information on the ISA bus 3 changes, as shown in FIG. That is, the output CM of the comparison circuit 14 is information indicating that the address information on the ISA bus 3 has changed. The address latch circuit 813 latches the address information of the address latch circuit 812 when the output of the comparison circuit CM is at a high level. Therefore, when the address information on the ISA bus 3 changes in the address latch circuit 813. The address information after the change is latched and then held until the output CM of the comparison circuit 814 becomes high level.
[0037]
Based on the output CM of the comparison circuit 814, the address decoder 811 decodes and monitors the address signal ADR sent through the ISA bus 3 when the address signal ADR changes. When the address on the ISA bus of the connected device is designated, the chip select signal CS1 (see FIG. 4C) as the output signal is changed from the inactive state to the active state. . The chip select signal CS1 is output to the dual port RAM 6 through the gate circuit 82.
[0038]
In this embodiment, the timer circuit 83 is constituted by a down counter, for example, and the clock CK for the ISA bus 3 is supplied to its clock terminal. The timer circuit 83 receives the output CM of the comparison circuit 814 and loads a preset value corresponding to the timer time held in the preset value holding circuit 84.
[0039]
That is, when the output CM of the comparison circuit 814 changes from low level to high level, the preset count value of the preset value holding circuit 84 is loaded into the timer circuit 83, and from the preset count value, the timer circuit 83 reduces the clock CK. Start counting.
[0040]
When the timer circuit 83 counts down by a preset value from the time when the address signal ADR on the ISA bus 3 changes, the count value of the timer circuit 83 becomes 0, a timeout is detected, and the gate signal GT As shown in FIG. 4D, the gate circuit 82 is turned off.
[0041]
As described above, the timer circuit 83 measures the time of the preset value corresponding to the timer time held in the preset value holding circuit 84 from the time when the address information on the ISA bus 3 changes, and the timer When the time elapses, the gate circuit 82 is turned off to form a gate signal GT (see FIG. 4D) for forcibly inactivating the chip select signal CS1. The signal GT is supplied to the gate circuit 82.
[0042]
Here, the preset value of the timer time held in the preset value holding circuit 84 is larger than that time in consideration of the time for completing one access in the device to which the chip select circuit 80 is connected, and It is set to a value corresponding to a time when the device is released from the ISA bus 3 as soon as possible. In this example, the count value corresponds to the time slightly longer than the longest time until one access in the dual port RAM 6 is completed, and is the number of clocks CK corresponding to the timer time.
[0043]
As described above, even if the chip select signal CS1 of the dual-port RAM 6 becomes active, as shown in FIG. 4C, it becomes inactive after the time-out is detected by the timer circuit 83, The dual port RAM 6 is released from the ISA bus 3.
[0044]
According to the second embodiment described above, even if the address designating the dual port RAM 6 is continuously driven to the ISA bus 3 through the chip sets 4 and 5, the chip select signal CS1 from the chip select circuit 80 is received. After the access in the dual port RAM 6 is completed, it is quickly made inactive, so that the dual port RAM 6 is released from the ISA bus 3 and can accept access from other CPU buses 10. Become.
[0045]
Note that the configuration of FIG. 3 is an example and is not limited to this. For example, the chip select circuit 81 can be reset by the output GT of the timer circuit 83 and the chip select signal CS1 can be made inactive. The address decoder 811 may not be supplied with the clock CK.
[0046]
When the bus 10 is also an ISA bus, the chip select circuit 11 is configured similarly to the chip select circuit 80. The chip select circuit 9 may be a chip select circuit having a configuration similar to that of the chip select circuit 80, or may be a chip select circuit having a conventional configuration.
[0047]
It should be noted that, instead of changing the chip select circuit 8 to the configuration of the chip select circuit 80, a device that causes trouble if the access to the ISA bus continues is included. The value holding circuit 84 may be built in. Further, all of the chip select circuit 80 may be built in the device.
[0048]
In the first and second embodiments described above, a device that causes trouble if the ISA bus continues to be accessed is not limited to the dual port RAM, and a plurality of ports are provided, and each port is accessed from a different bus independently. If it is a device that can accept, it becomes a target.
[0049]
In addition, when considering noise countermeasures, devices that cause trouble if they continue to access the ISA bus are not limited to devices with multiple ports, but even general devices that need noise countermeasures, It is a target.
[0050]
Furthermore, the bus to which the present invention is applied is not limited to the ISA bus, and any bus can be used between the accesses as long as the previously accessed device continues to be driven from the bus. Even so, it is applicable.
[0051]
【The invention's effect】
As described above, according to the present invention, between accesses, even if a device connected to a bus continues to be driven from the bus, one access can be made between accesses. After finishing, you can release from the bus.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration example of a computer system to which an embodiment of the present invention is applied.
FIG. 2 is a flowchart for explaining the first embodiment of the present invention;
FIG. 3 is a block diagram for explaining a second embodiment as a reference example ;
FIG. 4 is a timing chart used for explaining the embodiment of FIG. 3;
[Explanation of symbols]
1 CPU
2 Local bus 3 ISA bus 4, 5 Chipset 6 Dual port RAM
7 Other devices 8, 9, 11, 80 Chip select circuit 81 Chip select signal generation circuit 82 Gate circuit 83 Timer circuit

Claims (2)

CPU(Central Processing Unit)によるアクセス対象のデバイスのバス上のアドレスのドライブが、前記CPUからの次のアクセスの発生まで保持されるバスに接続されたデバイスのアクセス方法であって、
前記CPUは、アクセス対象の前記デバイスが、予め定められた所定のデバイスであるかどうか判別し、前記所定のデバイスであると判別したときには、前記所定のデバイスのアクセスサイクルの終了後、前記所定のデバイス以外をダミーとしてアクセスすることを特徴とするデバイスアクセス方法。
An access method of a device in which a drive at an address on a bus of a device to be accessed by a CPU (Central Processing Unit) is connected to a bus held until the next access from the CPU,
Wherein the CPU, the device to be accessed, it is determined whether the predetermined device a predetermined, when it is determined that the a predetermined device after completion of the access cycle of the predetermined device, the predetermined A device access method, wherein a device other than a device is accessed as a dummy.
請求項1に記載のデバイスアクセス方法において、
前記所定のデバイスは、複数ポートを備えるデバイスであって、当該デバイスの一つのポートが前記バスに接続され、他のポートは、他のバスに接続されていることを特徴とするデバイスアクセス方法。
The device access method according to claim 1,
Wherein the predetermined device is a device comprising a plurality of ports, one port of the device is connected to the bus, the other port, device access method characterized in that it is connected to the other bus.
JP2001029671A 2001-02-06 2001-02-06 Device access method Expired - Fee Related JP4062478B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001029671A JP4062478B2 (en) 2001-02-06 2001-02-06 Device access method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001029671A JP4062478B2 (en) 2001-02-06 2001-02-06 Device access method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2007173926A Division JP4587000B2 (en) 2007-07-02 2007-07-02 Chip select circuit

Publications (2)

Publication Number Publication Date
JP2002229935A JP2002229935A (en) 2002-08-16
JP4062478B2 true JP4062478B2 (en) 2008-03-19

Family

ID=18893985

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001029671A Expired - Fee Related JP4062478B2 (en) 2001-02-06 2001-02-06 Device access method

Country Status (1)

Country Link
JP (1) JP4062478B2 (en)

Also Published As

Publication number Publication date
JP2002229935A (en) 2002-08-16

Similar Documents

Publication Publication Date Title
US6438670B1 (en) Memory controller with programmable delay counter for tuning performance based on timing parameter of controlled memory storage device
US6341318B1 (en) DMA data streaming
US10983924B2 (en) Information processing device and processor
US6519689B2 (en) Method and system for processing pipelined memory commands
JP2008009817A (en) Semiconductor device and data transfer method
EP0829804B1 (en) Synchronous semiconductor memory device having macro command storage and execution method therefor
US6484244B1 (en) Method and system for storing and processing multiple memory commands
JP2001243765A (en) Semiconductor storage device
US8996738B2 (en) Data transfer operation completion detection circuit and semiconductor memory device provided therewith
US7315928B2 (en) Apparatus and related method for accessing page mode flash memory
US5148535A (en) Non-bus request refresh system for shortening refresh timing
JPH11232214A (en) Processor for information processor and its controlling method
JP4062478B2 (en) Device access method
US6954873B2 (en) Implementation of wait-states
JP4587000B2 (en) Chip select circuit
US6625711B1 (en) Method and/or architecture for implementing queue expansion in multiqueue devices
US20040034748A1 (en) Memory device containing arbiter performing arbitration for bus access right
US6535519B1 (en) Method and apparatus for data sharing between two different blocks in an integrated circuit
US5778447A (en) System and method for fast memory access using speculative access in a bus architecture system
US20070094460A1 (en) DRAM control circuit
US6304931B1 (en) Access limiting bus control system and method
US6700402B2 (en) Output control circuit and output control method
JPS6014435B2 (en) Storage device
JPH07146814A (en) Memory device
JP2570271B2 (en) Semiconductor memory controller

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041130

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070427

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070509

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070702

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20071206

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20071219

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110111

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120111

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130111

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140111

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees