JP2002229935A - Device access method and chip select circuit - Google Patents

Device access method and chip select circuit

Info

Publication number
JP2002229935A
JP2002229935A JP2001029671A JP2001029671A JP2002229935A JP 2002229935 A JP2002229935 A JP 2002229935A JP 2001029671 A JP2001029671 A JP 2001029671A JP 2001029671 A JP2001029671 A JP 2001029671A JP 2002229935 A JP2002229935 A JP 2002229935A
Authority
JP
Japan
Prior art keywords
bus
chip select
access
time
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.)
Granted
Application number
JP2001029671A
Other languages
Japanese (ja)
Other versions
JP4062478B2 (en
Inventor
Kazutoshi Kono
一利 河野
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

Landscapes

  • Bus Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To make even a bus, for instance such as ISA bus, on which the address for a device which has been designated by the previous access is held until the next access is made, release the device quickly from the bus. SOLUTION: Whether or not the device of access target is a predetermined device, is discriminated, and if the device is discriminated as the predetermined device, after the access cycle of the predetermined device is terminated, a device other than the predetermined device is accessed as a dummy. Alternatively, at the time when the elapsed time from the instant when a chip select signal has been made active exceeds a predetermined time, the chip select signal of the device is forcibly made inactive.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、例えば、CPU
(Central Processing Unit)
からチップセットを用いてISAバス(Industr
y Standard Architecture B
us)に接続されるデバイスをアクセスする際に適用し
て好適なデバイスアクセス方法およびチップセレクト回
路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention
(Central Processing Unit)
From an ISA bus (Industr) using a chipset
y Standard Architecture B
The present invention relates to a device access method and a chip select circuit which are preferably applied when accessing a device connected to the device (us).

【0002】[0002]

【従来の技術】パーソナルコンピュータの拡張バスとし
てISAバスが知られている。このISAバスに接続さ
れたデバイスをCPUからアクセスする場合には、CP
Uが接続されるローカルバスと、ISAバスとの間のブ
リッジ回路としてのチップセット経由で行われる。
2. Description of the Related Art An ISA bus is known as an extension bus for a personal computer. When a device connected to this ISA bus is accessed from the CPU, CP
This is performed via a chipset as a bridge circuit between the local bus to which U is connected and the ISA bus.

【0003】このISAバスに接続されたデバイスのC
PUからのアクセスの際、CPUは、ISAバスを意識
せずに、1デバイスとしてアクセスサイクルを開始・終
了する。このCPUからのアクセスデータを受けたチッ
プセットは、CPUからアクセスされるデバイスのアド
レスを、ISAバスに出力する。このとき、チップセッ
トは、次のISAバス上のデバイスのアクセスがあるま
で、そのアドレスを出力し続ける状態を保持する。
The device C connected to the ISA bus
At the time of access from the PU, the CPU starts and ends the access cycle as one device without considering the ISA bus. The chipset receiving 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 a device on the next ISA bus is accessed.

【0004】ISAバスとデバイスとの間に接続される
チップセレクト回路は、前記チップセットからのアドレ
スデータを監視して、そのアドレスデータが自分が接続
されるデバイスのアドレスであると検知すると、チップ
セレクト信号をアクティブにする。これにより、当該チ
ップセレクト回路に接続されるデバイスが、CPUから
アクセスされることになる。
[0004] A chip select circuit connected between the ISA bus and the device monitors address data from the chip set, and when it detects that the address data is the address of a device to which the chip set is connected, the chip select circuit monitors the address data. Activate the select signal. Thus, the device connected to the chip select circuit is accessed from the CPU.

【0005】[0005]

【発明が解決しようとする課題】上述したように、チッ
プセットはISAバス上のデバイスのアドレスを、次の
ISAバス上のデバイスのアクセスがあるまでドライブ
し続ける。したがって、ISAバスに接続されるデバイ
スは、アクセスされて所定のジョブが終了した後にも、
そのアドレスをドライブし続けられることになる。この
ような状態においては、次のような問題が生じることが
ある。
As described above, the chipset continues to drive the address of a device on the ISA bus until the next device on the ISA bus accesses the device. Therefore, the device connected to the ISA bus can be accessed even after a predetermined job is completed.
You can continue to drive that address. In such a state, the following problem may occur.

【0006】例えばデュアルポートRAM(Rando
m Access Memory)の一つのポートがI
SAバスに接続され、他方のポートが他のCPUバスに
接続されている場合において、このデュアルポートRA
Mに対して、ISAバスと他のCPUバスとからアクセ
スがあったときに、ISAバスからのアクセスが早い
と、ISAバスでの次のアクセスがあるまで、他のCP
Uバスからのアクセスは待たされてしまうことになる。
このため、全体としての動作速度が低下してしまう。
For example, a dual port RAM (Rando)
m Access Memory)
When the dual port RA is connected to the SA bus and the other port is connected to another CPU bus,
When an access from the ISA bus is fast when the M is accessed from the ISA bus and another CPU bus, another CP is accessed until the next access on the ISA bus.
Access from the U bus will have to wait.
For this reason, the overall operation speed decreases.

【0007】また、ジョブの終了したデバイスを選択す
るアドレスがドライブされ続けられることにより、その
アドレス継続ドライブ中にノイズが発生すると、そのノ
イズの影響を前記デバイスが受けてしまうという耐ノイ
ズ性の問題が生じる。
Further, since an address for selecting a device for which a job has been completed is continuously driven, if noise is generated during the continuous address driving, the device is affected by the noise. Occurs.

【0008】この発明は、以上の問題点を改善すること
を目的とする。
An object of the present invention is to improve the above problems.

【0009】[0009]

【課題を解決するための手段】上記課題を解決するた
め、請求項1の発明は、アクセス対象のデバイスが、予
め定められた所定のデバイスであるかどうか判別し、前
記所定のデバイスであると判別したときには、前記所定
のデバイスのアクセスサイクルの終了後、前記所定のデ
バイス以外をダミーとしてアクセスすることを特徴とす
るデバイスアクセス方法を提供する。
According to a first aspect of the present invention, it is determined whether a device to be accessed is a predetermined device or not, and determines that the device to be accessed is the predetermined device. When it is determined, after the access cycle of the predetermined device is completed, a device access method is provided in which a device other than the predetermined device is accessed as a dummy.

【0010】また、請求項4の発明は、バスとデバイス
との間に接続され、前記バスを通じて送られてくる前記
バス上のアドレスを指定する情報を監視して、前記デバ
イスが指定されたときに、前記デバイスへのチップセレ
クト信号をアクティブにするチップセレクト回路におい
て、前記デバイスが指定されて前記チップセレクト信号
がアクティブにされた時点からの時間が、予め定められ
た時間を超えたかどうかを検出する時間検出手段と、前
記時間検出手段の検出出力に基づいて、前記チップセレ
クト信号がアクティブにされた時点からの時間が、前記
予め定められた時間を超えたときに、前記チップセレク
ト信号を強制的にインアクティブとする手段と、を備え
ることを特徴とするチップセレクト回路を提供する。
According to a fourth aspect of the present invention, when the device is specified, the device is connected between a bus and a device, monitors information specifying an address on the bus transmitted through the bus, and monitors the information. In a chip select circuit for activating a chip select signal to the device, it is detected whether or not the time from the time when the device is designated and the chip select signal is activated exceeds a predetermined time. Time detecting means, and forcing the chip select signal when the time from when the chip select signal is activated exceeds the predetermined time based on the detection output of the time detecting means. And a means for electrically inactivating the chip select circuit.

【0011】[0011]

【作用】上述の構成の請求項1の発明によるデバイスア
クセス方法によれば、例えばデュアルポートRAMを所
定のデバイスとして予め定めておくと、そのデュアルポ
ートRAMへのアクセスの際には、そのアクセスサイク
ルの終了後には、他のデバイスがアクセスされる状態に
なる。したがって、バスがISAバスであっても、デュ
アルポートRAMはアクセス終了後には、ISAバスか
らのドライブから開放され、他のCPUバスからのアク
セスを即座に受け付けることができるようになる。
According to the device access method of the present invention having the above-described structure, for example, if a dual port RAM is predetermined as a predetermined device, an access cycle when the dual port RAM is accessed is determined. After the end of the operation, another device is accessed. Therefore, even if the bus is an ISA bus, the drive from the ISA bus is released from the drive from the ISA bus after the access is completed, and the access from another CPU bus can be immediately received.

【0012】また、上述の構成の請求項4の発明による
チップセレクト回路によれば、そのチップセレクト回路
に接続されるデバイスへのチップセレクト信号は、アク
ティブになってから予め定められた時間が経過すると、
インアクティブになり、デバイスがバスからのドライブ
から開放される。
Further, according to the chip select circuit of the fourth aspect of the present invention, a chip select signal to a device connected to the chip select circuit elapses a predetermined time after being activated. Then
Becomes inactive, releasing the device from driving from the bus.

【0013】したがって、例えば、チップセレクト回路
に接続されるデバイスをデュアルポートRAMとし、時
間検出手段において計測する時間を、そのデュアルポー
トRAMの1アクセス時間よりも若干長い時間に設定し
ておくと、そのデュアルポートRAMがISAバスから
アクセスされたときであっても、そのデュアルポートR
AMでのジョブが終了すると、チップセレクト信号がイ
ンアクティブになるので、デュアルポートRAMはIS
Aバスからのドライブから開放され、他のCPUバスか
らのアクセスを即座に受け付けることができるようにな
る。
Therefore, for example, if the device connected to the chip select circuit is a dual port RAM, and the time measured by the time detecting means is set to be slightly longer than one access time of the dual port RAM, Even when the dual port RAM is accessed from the ISA bus, the dual port RAM
When the job in AM is completed, the chip select signal becomes inactive.
The drive from the A bus is released, and the access from another CPU bus can be immediately received.

【0014】[0014]

【発明の実施の形態】以下、この発明によるデバイスア
クセス方法およびチップセレクト回路の実施の形態を図
を参照しながら説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of a device access method and a chip select circuit according to the present invention will be described below with reference to the drawings.

【0015】[第1の実施の形態(請求項1〜3)]図
1は、この発明の第1の実施の形態が適用されたパーソ
ナルコンピュータシステムの構成を示す図である。この
図1において、1はCPU、2はCPUが直接的に接続
されるローカルバスである。ローカルバス2には、図示
を省略したがプログラムROM(Read Only
Memory)やワークエリア用のRAMなどが接続さ
れている。3はISAバスであり、2個のチップセット
4および5を介してローカルバス2と接続されている。
[First Embodiment (Claims 1 to 3)] FIG. 1 is a diagram showing a configuration of a personal computer system to which a first embodiment of the present invention is applied. In FIG. 1, 1 is a CPU, and 2 is a local bus to which the CPU is directly connected. Although not shown, the local bus 2 has 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 via two chip sets 4 and 5.

【0016】2個のチップセット4および5は、CPU
1のコマンドを、規格化されたバスであるISAバス3
に対するものに変換する。そして、システムの電源の立
ち上げ時に、CPU1からのアクセスに対して、ISA
バス3上の各デバイスの1アクセスサイクルにどのくら
いの時間を要するかを、チップセット4および5は、記
憶して管理する。したがって、CPU1が、ISAバス
3を意識せずに、1デバイスとしてアクセスサイクルを
開始・終了し、続いて次のアクセスサイクルを開始して
も、チップセット4および5により、ISAバス3上の
各デバイスでのジョブ処理のためのアクセスサイクルに
必要な時間は保持される。
The two chip sets 4 and 5 include a CPU
1 is transferred to the ISA bus 3 which is a standardized bus.
To the one for Then, when the system power is turned on, the access from the CPU 1
The chip sets 4 and 5 store and manage how much time is required for one access cycle of each device on the bus 3. Therefore, even if the CPU 1 starts / ends an access cycle as one device without being aware of the ISA bus 3 and subsequently starts the next access cycle, each of the chipsets 4 and 5 causes The time required for an access cycle for job processing in the device is retained.

【0017】ISAバス3には、この例の場合には、デ
ュアルポートRAM6の一方のポートP1が接続される
と共に、他のデバイス7も接続される。また、デュアル
ポートRAM6の他方のポートP2は、他のCPUバス
10に接続される。この場合、前述もしたように、デュ
アルポートRAM6は、ISAバス3からのアクセスに
よりチップセレクトされ続けると、他のCPUバス10
からのアクセスを受け付けられないという問題が生じる
デバイスの一例である。また、他のデバイス7は、IS
Aバス3からのアクセスによりチップセレクトされ続け
ても、支障の生じないデバイスの一例としている。
In the case of 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 to the ISA bus 3. 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 keeps the other CPU bus 10
This is an example of a device that causes a problem that access from a user cannot be accepted. Further, the other device 7 has the IS
This is an example of a device that does not cause a problem even if chip selection is continued by access from the A bus 3.

【0018】ISAバス3とデュアルポートRAM6と
の間にはチップセレクト回路8が接続され、ISAバス
3と他のデバイス7との間にはチップセレクト回路9が
接続されている。他のCPUバス10とデュアルポート
RAM6との間にもチップセレクト回路11が接続され
る。
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 another device 7. The chip select circuit 11 is also connected between the other CPU bus 10 and the dual port RAM 6.

【0019】チップセレクト回路8は、デュアルポート
RAM6の一方のポートP1用のチップセレクト端子S
1にチップセレクト信号CS1を供給するもので、IS
Aバス3上のデバイスのアドレスを指定するアドレス情
報を監視し、そのアドレス情報が変化したときに、その
変化後のアドレス情報がデュアルポートRAM6を指定
するものであるときには、次のアクセスによりISAバ
ス3上のデバイスのアドレス情報が変更されるまでの
間、チップセレクト信号CS1をアクティブにする。
The chip select circuit 8 has a chip select terminal S for one port P1 of the dual port RAM 6.
1 to supply a chip select signal CS1 to IS.
The address information for specifying the address of the device on the A bus 3 is monitored. When the address information changes, and when the changed address information specifies the dual port RAM 6, the ISA bus is accessed by the next access. Until the address information of the device on No. 3 is changed, the chip select signal CS1 is activated.

【0020】チップセレクト回路11は、デュアルポー
トRAM6の他方のポートP2用のチップセレクト端子
S2にチップセレクト信号CS2を供給するもので、他
のCPUバス10上のデバイスのアドレスを指定するア
ドレス情報を監視し、そのアドレス情報が変化したとき
に、その変化後のアドレス情報がデュアルポートRAM
6を指定するものであるときには、チップセレクト信号
CS2をアクティブにする。なお、この例の場合、バス
10からのアクセスは、クロックに同期して行われて、
アクセスが終了するとバス10からデュアルポートRA
M6は開放される。
The chip select circuit 11 supplies a chip select signal CS2 to a chip select terminal S2 for the other port P2 of the dual port RAM 6, and stores address information for designating an address of a device on another CPU bus 10. When the address information changes, the changed address information is stored in the dual port RAM.
When it designates 6, the chip select signal CS2 is activated. In this case, access from the bus 10 is performed in synchronization with the clock,
When access is completed, dual port RA
M6 is released.

【0021】また、チップセレクト回路9は、他のデバ
イス7のチップセレクト端子S1にチップセレクト信号
CS1を供給するもので、ISAバス3上のアドレスを
指定するアドレス情報を監視し、そのアドレス情報が変
化したときに、そのアドレス情報が他のデバイス7を指
定するものであるときには、次のアクセスによりISA
バス3上のデバイスのアドレス情報が変更されるまでの
間、チップセレクト信号CS1をアクティブにする。
The chip select circuit 9 supplies a chip select signal CS1 to a chip select terminal S1 of another device 7. The chip select circuit 9 monitors address information for specifying an address on the ISA bus 3, and the address information is monitored. If the address information specifies another device 7 when the address is changed, the ISA is executed by the next access.
The chip select signal CS1 is activated until the address information of the device on the bus 3 is changed.

【0022】この第1の実施の形態においては、デュア
ルポートRAM6がCPU1からアクセスされたとき
に、CPU1によるソフトウエア処理により、ISAバ
ス10から速やかに開放されるようにしている。
In the first embodiment, when the dual port RAM 6 is accessed from the CPU 1, the dual port RAM 6 is quickly released from the ISA bus 10 by software processing by the CPU 1.

【0023】すなわち、この第1の実施の形態では、C
PU1からISAバス3上のデュアルポートRAM6を
アクセスする際には、CPU1は、デュアルポートRA
M6のアクセスに続いて、ダミーのアクセスを行ない、
そのダミーのアクセスによりISAバス3を通じてアク
セスされ続けても支障のない他のデバイス7をアクセス
するようにする。
That is, in the first embodiment, C
When the dual port RAM 6 on the ISA bus 3 is accessed from the PU 1, the CPU 1
Following the access of M6, a dummy access is performed,
By the dummy access, another device 7 that does not interfere with access through the ISA bus 3 is accessed.

【0024】図2は、このときのCPU1のアクセスを
説明するためのフローチャートである。
FIG. 2 is a flowchart for explaining the access of the CPU 1 at this time.

【0025】すなわち、CPU1は、アクセスコマンド
の発生であると判別すると(ステップS1)、そのアク
セスコマンドは、デュアルポートRAM6へのものであ
るか否か判別し(ステップS2)、デュアルポートRA
M6へのコマンドでなければ、そのアクセスコマンドを
発生し(ステップS3)、そのまま次のステップに移行
する。
That is, when the CPU 1 determines that an access command has been issued (step S1), the CPU 1 determines whether or not the access command is for the dual port RAM 6 (step S2).
If it is not a command to M6, the access command is generated (step S3), and the process proceeds to the next step.

【0026】ステップS2でデュアルポートRAM6へ
のコマンドであると判別したときには、そのアクセスコ
マンドを発生し(ステップS4)、引き続いて他のデバ
イス7へのダミーアクセスコマンドを発生する(ステッ
プS5)。そして、その後、次のステップに移行する。
When it is determined in step S2 that the command is a command to the dual port RAM 6, the access command is generated (step S4), and subsequently, a dummy access command to another device 7 is generated (step S5). Then, the process proceeds to the next step.

【0027】以上説明した第1の実施の形態によれば、
CPU1は、デュアルポートRAM6をアクセスする際
には、そのアクセスが終了した後には、即座に他のデバ
イス7をダミーアクセスするようにするので、デュアル
ポートRAM6は、CPU1からのアクセスによるジョ
ブの終了後、即座にISAバス3から開放されるように
される。したがって、デュアルポートRAM6の他方の
ポートP2が接続される他のCPUバス10からのアク
セスについての待ち時間を最小にすることができる。
According to the first embodiment described above,
When the CPU 1 accesses the dual port RAM 6, it immediately performs another dummy access to another device 7 after the access is completed. , Is immediately released from the ISA bus 3. Therefore, the waiting time for access from another CPU bus 10 to which the other port P2 of the dual port RAM 6 is connected can be minimized.

【0028】[第2の実施の形態(請求項4)]この第
2の実施の形態は、ハードウエア構成は、図1と全く同
様である。しかし、この第2の実施の形態では、前述の
第1の実施の形態の場合のCPU1のソフトウエア処理
は行わず、デュアルポートRAM6をアクセスする場合
であっても、ダミーアクセスは行わない。その代わり
に、この第2の実施の形態では、チップセレクト回路の
うち、少なくとも、デュアルポートRAM6とISAバ
ス3との間に接続されるチップセレクト回路が、図3に
示すような内部構成を備えるチップセレクト回路80と
されている。
[Second Embodiment (Claim 4)] The hardware configuration of the second embodiment is exactly the same as that of 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, among the chip select circuits, at least the chip select circuit connected between the dual port RAM 6 and the ISA bus 3 has an internal configuration as shown in FIG. A chip select circuit 80 is provided.

【0029】すなわち、チップセレクト回路80は、こ
の実施の形態では、チップセレクト信号生成回路81
と、ゲート回路82と、タイマー回路83と、プリセッ
ト値保持回路84とを備えている。
That is, in this embodiment, the chip select circuit 80 is a chip select signal generation circuit 81
, A gate circuit 82, a timer circuit 83, and a preset value holding circuit 84.

【0030】チップセレクト信号生成回路81は、この
例では、図3に示すように、アドレスデコーダ811
と、アドレスラッチ回路812および813と、比較回
路814とで構成される。
In this example, the chip select signal generation circuit 81 includes an address decoder 811 as shown in FIG.
, Address latch circuits 812 and 813, and a comparison circuit 814.

【0031】そして、ISAバス3上のアドレス情報の
うちのデバイス選択用のアドレス信号ADR(図4
(A)参照)がアドレスデコーダ811に供給される。
また、ISAバス3上の全てのアドレス情報がアドレス
ラッチ回路812に供給され、アドレスラッチ回路81
2の出力がアドレスラッチ回路813に供給される。ア
ドレスデコーダ811、アドレスラッチ回路812およ
び813には、ISAバス3用のクロックCK(図4
(E)参照)が供給される。
Then, an address signal ADR for selecting a device from the address information on the ISA bus 3 (FIG. 4)
(See (A)) is supplied to the address decoder 811.
Also, all address information on the ISA bus 3 is supplied to the address latch circuit 812, and the address latch circuit 81
2 is supplied to the address latch circuit 813. The address decoder 811 and the address latch circuits 812 and 813 supply a clock CK for the ISA bus 3 (FIG. 4).
(See (E)).

【0032】なお、ISAバス3上の全てのアドレス情
報を見た場合、アドレス信号ADRが同じであっても、
アクセス毎に異なる。つまり、連続して同じデバイスを
CPU1がアクセスしたときには、アドレス信号ADR
は同一であっても、ISAバス3上の全てのアドレス情
報をみたときには、変化があり、アクセスごとに変化が
そのアドレス情報に現れるものである。
When all the address information on the ISA bus 3 is viewed, even if the address signal ADR is the same,
Differs for each access. That is, when the CPU 1 accesses the same device continuously, the address signal ADR
Are the same, there is a change when all the address information on the ISA bus 3 is viewed, and the change appears in the address information for each access.

【0033】アドレスラッチ回路812とアドレスラッ
チ回路813の出力は比較回路814にきよされて比較
される。そして、比較回路814の比較出力CMがアド
レスデコーダ811に供給されると共に、アドレスラッ
チ回路813のイネーブル端子ENに供給される。さら
に、比較回路814の比較出力CMは、タイマー回路8
3のロード端子LDに供給される。
The outputs of the address latch circuits 812 and 813 are compared by a comparison circuit 814. Then, the comparison output CM of the comparison circuit 814 is supplied to the address decoder 811 and also to the enable terminal EN of the address latch circuit 813. Further, the comparison output CM of the comparison circuit 814 is
3 is supplied to the load terminal LD.

【0034】アドレスラッチ回路812は、ISAバス
3上のアドレス情報をISAバス3用のクロックCKに
同期してラッチする。アドレスラッチ回路813は、比
較回路814の出力がハイレベルのときに、イネーブル
となって、クロックCKに同期して、アドレスラッチ回
路812のアドレス情報よりは1クロック分前のISA
バス3上のアドレス情報をラッチする。
The address latch circuit 812 latches 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 is synchronized with the clock CK, and the ISA one clock before the address information of the address latch circuit 812.
The address information on the bus 3 is latched.

【0035】比較回路814では、これら2つのアドレ
スラッチ回路812および813のアドレス情報がクロ
ックCKに同期して比較され、両アドレス情報が同一で
あるときには、その出力CMがローレベルとなり、異な
るときにはその出力CMはハイレベルとなる。
The comparison circuit 814 compares the address information of these two address latch circuits 812 and 813 in synchronization with the clock CK. When the two pieces of address information are the same, the output CM becomes low level. The output CM goes high.

【0036】したがって、比較回路814の出力CM
は、図4(B)に示すように、ISAバス3上のアドレ
ス情報が変化したときにハイレベルとなる。つまり、比
較回路14の出力CMは、ISAバス3上のアドレス情
報が変化したことを示す情報となる。アドレスラッチ回
路813には、比較回路CMの出力がハイレベルのとき
に、アドレスラッチ回路812のアドレス情報がラッチ
されるので、アドレスラッチ回路813には、ISAバ
ス3上のアドレス情報が変化したとき、その変化後のア
ドレス情報がラッチされ、次に、比較回路814の出力
CMがハイレベルとなるまで保持される。
Therefore, the output CM of the comparison circuit 814
Goes 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. When the output of the comparison circuit CM is at a high level, the address information of the address latch circuit 812 is latched in the address latch circuit 813. Therefore, when the address information on the ISA bus 3 changes, , And the address information after the change is latched and then held until the output CM of the comparison circuit 814 becomes high level.

【0037】アドレスデコーダ811は、比較回路81
4の出力CMに基づき、アドレス信号ADRが変化した
ときに、ISAバス3を通じて送られてくるアドレス信
号ADRをデコードして監視し、その変化後のアドレス
情報が自分が接続されているデバイスのISAバス上の
アドレスを指定するものであるときに、その出力信号で
あるチップセレクト信号CS1(図4(C)参照)を、
インアクティブの状態からアクティブの状態に変更す
る。このチップセレクト信号CS1は、ゲート回路82
を通じてデュアルポートRAM6に出力される。
The address decoder 811 includes a comparator 81
4, when the address signal ADR changes, the address signal ADR sent through the ISA bus 3 is decoded and monitored, and the changed address information is stored in the ISA of the device to which it is connected. When an address on the bus is designated, a chip select signal CS1 (see FIG. 4C), which is an output signal thereof,
Change from inactive to active. This chip select signal CS1 is supplied to the gate circuit 82
Is output to the dual port RAM 6 through

【0038】この実施の形態では、タイマー回路83
は、例えばダウンカウンタで構成されるもので、ISA
バス3用のクロックCKがそのクロック端子に供給され
ている。そして、タイマー回路83は、比較回路814
の出力CMを受けて、プリセット値保持回路84に保持
されているタイマー時間に対応するプリセット値をロー
ドする。
In this embodiment, the timer circuit 83
Is composed of, for example, a down counter.
The clock CK for the bus 3 is supplied to its clock terminal. Then, the timer circuit 83 includes a comparison circuit 814
, The preset value corresponding to the timer time held in the preset value holding circuit 84 is loaded.

【0039】すなわち、比較回路814の出力CMがロ
ーレベルからハイレベルに変化した時点でプリセット値
保持回路84のプリセットカウント値がタイマー回路8
3にロードされ、そのプリセットカウント値から、タイ
マー回路83はクロックCKのダウンカウントを開始す
る。
That is, when the output CM of the comparison circuit 814 changes from the low level to the high level, the preset count value of the preset value holding circuit 84 is changed to the timer circuit 8.
3 and the timer circuit 83 starts counting down the clock CK from the preset count value.

【0040】そして、タイマー回路83において、IS
Aバス3上のアドレス信号ADRが変化した時点からプ
リセット値分だけダウンカウントされると、タイマー回
路83のカウント値が0になって、タイムアウトが検知
され、ゲート信号GTは、図4(D)に示すように、ゲ
ート回路82をオフにする状態になる。
In the timer circuit 83, IS
When the address signal ADR on the A bus 3 is down-counted by the preset value from the point in time when the address signal ADR changes, the count value of the timer circuit 83 becomes 0, a timeout is detected, and the gate signal GT becomes the gate signal GT shown in FIG. As shown in FIG. 7, the gate circuit 82 is turned off.

【0041】以上のように、タイマー回路83は、IS
Aバス3上のアドレス情報が変化した時点から、プリセ
ット値保持回路84に保持されているタイマー時間に対
応するプリセット値の分の時間を計測し、そのタイマー
時間経過したときに、ゲート回路82をオフすることに
より、チップセレクト信号CS1を強制的にインアクテ
ィブにするようにするためのゲート信号GT(図4
(D)参照)を形成して、そのゲート信号GTをゲート
回路82に供給する。
As described above, the timer circuit 83 includes the IS
When the address information on the A bus 3 changes, the time of the preset value corresponding to the timer time held in the preset value holding circuit 84 is measured, and when the timer time elapses, the gate circuit 82 is activated. Turning off the gate signal GT (FIG. 4) for forcibly inactivating the chip select signal CS1.
(Refer to (D)), and the gate signal GT is supplied to the gate circuit 82.

【0042】ここで、プリセット値保持回路84に保持
されるタイマー時間のプリセット値は、チップセレクト
回路80が接続されるデバイスでの1アクセスが完了す
る時間を考慮して、その時間よりも大きく、かつ、その
デバイスがISAバス3からできるだけ早く開放される
ような時間に相当する値に設定される。この例では、デ
ュアルポートRAM6での1アクセスが終了するまでの
最長時間よりも若干長い時間分に対応するカウント値で
あって、そのタイマー時間分に対応するクロックCKの
クロック数とされる。
Here, the preset value of the timer time held in the preset value holding circuit 84 is larger than the time in consideration of the time when one access is completed in the device to which the chip select circuit 80 is connected. In addition, the value is set to a value corresponding to a time at which the device is released from the ISA bus 3 as soon as possible. In this example, the count value corresponds to a time slightly longer than the longest time until one access in the dual port RAM 6 is completed, and is the clock number of the clock CK corresponding to the timer time.

【0043】以上のようにして、デュアルポートRAM
6のチップセレクト信号CS1は、アクティブになった
としても、図4(C)に示すように、タイマー回路83
でタイムアウトが検出された時点からインアクティブの
状態となり、デュアルポートRAM6は、ISAバス3
から開放される。
As described above, the dual port RAM
6, the chip select signal CS1 becomes active, as shown in FIG.
Becomes inactive from the point in time when the timeout is detected, and the dual port RAM 6 stores the ISA bus 3
Be released from.

【0044】以上説明した第2の実施の形態によれば、
ISAバス3には、チップセット4、5を通じてデュア
ルポートRAM6を指定するアドレスがドライブされ続
けても、チップセレクト回路80からのチップセレクト
信号CS1が、デュアルポートRAM6でのアクセスが
終了した後には、速やかにインアクティブにされるの
で、デュアルポートRAM6は、ISAバス3から開放
されて、他のCPUバス10からのアクセスを受け付け
ることができるようになる。
According to the second embodiment described above,
Even if an address designating the dual port RAM 6 continues to be driven on the ISA bus 3 through the chip sets 4 and 5, the chip select signal CS1 from the chip select circuit 80 is output after the access in the dual port RAM 6 is completed. Since the dual port RAM 6 is quickly made inactive, the dual port RAM 6 is released from the ISA bus 3 and can receive an access from another CPU bus 10.

【0045】なお、図3の構成は、一例であって、これ
に限られるものではない。例えば、タイマー回路83の
出力GTにより、チップセレクト回路81をリセットし
て、チップセレクト信号CS1をインアクティブにする
ように構成することもできる。また、アドレスデコーダ
811には、クロックCKを供給しなくてもよい。
The configuration shown in FIG. 3 is an example, and the present invention is not limited to this. For example, the chip select circuit 81 may be reset by the output GT of the timer circuit 83 to make the chip select signal CS1 inactive. Further, the clock CK need not be supplied to the address decoder 811.

【0046】また、バス10も、ISAバスである場合
には、チップセレクト回路11も、チップセレクト回路
80と同様に構成される。また、チップセレクト回路9
は、チップセレクト回路80と同様の構成のチップセレ
クト回路を用いてもよいし、従来の構成のチップセレク
ト回路を用いてもよい。
When the bus 10 is also an ISA bus, the chip select circuit 11 is configured similarly to the chip select circuit 80. In addition, the chip select circuit 9
May use a chip select circuit having the same configuration as the chip select circuit 80, or may use a chip select circuit having a conventional configuration.

【0047】なお、チップセレクト回路8をチップセレ
クト回路80の構成に変更するのではなく、ISAバス
にアクセスされ続けると支障が生じるデバイスに、チッ
プセレクト回路80のうちの、ゲート回路82、タイマ
ー回路83、プリセット値保持回路84の部分を、内蔵
するように構成することもできる。また、チップセレク
ト回路80をそのデバイス内に全て内蔵するようにして
もよい。
It is to be noted that, instead of changing the chip select circuit 8 to the structure of the chip select circuit 80, a device which may cause trouble if the ISA bus is continuously accessed is provided with a gate circuit 82, a timer circuit and a timer circuit of the chip select circuit 80. 83, a part of the preset value holding circuit 84 may be built in. Further, the chip select circuit 80 may be entirely built in the device.

【0048】上述の第1および第2の実施の形態におい
て、ISAバスにアクセスされ続けると支障が生じるデ
バイスとしては、デュアルポートRAMに限らず、複数
ポートを備え、各ポートがそれぞれ独立に異なるバスか
らのアクセスを受け付けることができるようなデバイス
であれば、対象となる。
In the above-described first and second embodiments, the device that causes a problem when the ISA bus is continuously accessed is not limited to the dual-port RAM, but includes a plurality of ports, each of which has a different bus. Any device that can accept access from a device is eligible.

【0049】また、ノイズ対策を考えた場合には、IS
Aバスにアクセスされ続けると支障が生じるデバイス
は、複数ポートを備えるデバイスに限らず、一般のデバ
イスであっても、ノイズ対策が必要な場合には、対象と
なるものである。
When noise suppression is considered, IS
The device that causes a problem when the A bus is continuously accessed is not limited to a device having a plurality of ports. Even a general device is a target when noise suppression is required.

【0050】さらに、この発明が適用されるバスも、I
SAバスに限らず、アクセスとアクセスとの間では、前
にアクセスされていたデバイスがバスからドライブされ
る続けるようなバスであれば、どのようなバスであって
も適用可能である。
Further, the bus to which the present invention is applied is
In addition to the SA bus, any bus can be applied between accesses, as long as the previously accessed device continues to be driven from the bus.

【0051】[0051]

【発明の効果】以上説明したように、この発明によれ
ば、アクセスとアクセスとの間では、前にアクセスされ
ていたデバイスがバスからドライブされる続けるような
バスに接続されたデバイスであっても、1アクセスが終
了した後は、バスから開放することができるようにな
る。
As described above, according to the present invention, between accesses, a device connected to a bus such that a previously accessed device continues to be driven from the bus. Also, after one access is completed, it can be released from the bus.

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

【図1】この発明の実施の形態が適用されるコンピュー
タシステムの構成例を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration example of a computer system to which an embodiment of the present invention is applied.

【図2】この発明の第1の実施の形態を説明するための
フローチャートである。
FIG. 2 is a flowchart for explaining the first embodiment of the present invention.

【図3】この発明の第2の実施の形態を説明するための
ブロック図である。
FIG. 3 is a block diagram for explaining a second embodiment of the present invention.

【図4】図3の実施の形態の説明に用いるタイミングチ
ャートである。
FIG. 4 is a timing chart used for describing the embodiment in FIG. 3;

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

1 CPU 2 ローカルバス 3 ISAバス 4、5 チップセット 6 デュアルポートRAM 7 他のデバイス 8、9、11、80 チップセレクト回路 81 チップセレクト信号生成回路 82 ゲート回路 83 タイマー回路 DESCRIPTION OF SYMBOLS 1 CPU 2 Local bus 3 ISA bus 4, 5 Chip set 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 (4)

【特許請求の範囲】[Claims] 【請求項1】アクセス対象のデバイスが、予め定められ
た所定のデバイスであるかどうか判別し、前記所定のデ
バイスであると判別したときには、前記所定のデバイス
のアクセスサイクルの終了後、前記所定のデバイス以外
をダミーとしてアクセスすることを特徴とするデバイス
アクセス方法。
An access target device is determined as to whether it is a predetermined device, and when it is determined that the device is the predetermined device, after the access cycle of the predetermined device ends, the predetermined device is accessed. A device access method, wherein a device other than a device is accessed as a dummy.
【請求項2】前記バスは、アクセス対象のデバイスのバ
ス上のアドレスのドライブが次のアクセスの発生まで保
持されるバスであることを特徴とするデバイスアクセス
方法。
2. A device access method according to claim 1, wherein said bus is a bus in which a drive of an address on a bus of a device to be accessed is held until the next access occurs.
【請求項3】請求項1または請求項2において、 前記所定のデバイスは、複数ポートのデバイスであっ
て、当該デバイスの一つのポートが前記バスに接続さ
れ、他のポートは、他のバスに接続されることを特徴と
するデバイスアクセス方法。
3. The device according to claim 1, wherein the predetermined device is a device having a plurality of ports, one port of the device being connected to the bus, and the other port being connected to another bus. A device access method characterized by being connected.
【請求項4】バスとデバイスとの間に接続され、前記バ
スを通じて送られてくる前記バス上のアドレスを指定す
る情報を監視して、前記デバイスが指定されたときに、
前記デバイスへのチップセレクト信号をアクティブにす
るチップセレクト回路において、 前記デバイスが指定されて前記チップセレクト信号がア
クティブにされた時点からの時間が、予め定められた時
間を超えたかどうかを検出する時間検出手段と、 前記時間検出手段の検出出力に基づいて、前記チップセ
レクト信号がアクティブにされた時点からの時間が、前
記予め定められた時間を超えたときに、前記チップセレ
クト信号を強制的にインアクティブとする手段と、 を備えることを特徴とするチップセレクト回路。
4. A device is connected between a bus and a device, and monitors information specifying an address on the bus transmitted through the bus, and when the device is specified,
In a chip select circuit for activating a chip select signal to the device, a time for detecting whether a time from the time when the device is designated and the chip select signal is activated exceeds a predetermined time. Detecting means, based on a detection output of the time detecting means, when the time from the time when the chip select signal is activated exceeds the predetermined time, forcibly resetting the chip select signal. A chip select circuit comprising: an inactive means;
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 true JP2002229935A (en) 2002-08-16
JP4062478B2 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
JP4062478B2 (en) 2008-03-19

Similar Documents

Publication Publication Date Title
US8117474B2 (en) CPU clock control during cache memory stall
EP1952232A1 (en) Hardware-assisted device configuration detection
JP2008009817A (en) Semiconductor device and data transfer method
US20070038795A1 (en) Asynchronous bus interface and processing method thereof
JP2002091905A (en) Semiconductor device and computer readable recording medium recorded with access weight number change program
US7315928B2 (en) Apparatus and related method for accessing page mode flash memory
JPH11232214A (en) Processor for information processor and its controlling method
US6550015B1 (en) Scalable virtual timer architecture for efficiently implementing multiple hardware timers with minimal silicon overhead
JP2002229935A (en) Device access method and chip select circuit
JP4587000B2 (en) Chip select circuit
US6587395B2 (en) System to set burst mode in a device
EP0811197B1 (en) System management shadow port
JP3033755B1 (en) Arithmetic processing unit
JPH07146814A (en) Memory device
JP2003162412A (en) Power-saving circuit for cpu
JP2001266577A (en) Semiconductor memory
JP2002244919A (en) Dram interface circuit
JP2000293482A (en) Computer system and display control method therefor
JPH05165705A (en) Memory controller
JPH11110233A (en) Interrupt reception device and signal processor
JP2002108696A (en) Busy state processing system
JPH1021155A (en) System for comparing memory data
JPH0562791B2 (en)
JPH0954724A (en) Information processor
JPH0425958A (en) Address counter control system

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