JP2007048022A - Asynchronous bus interface and its processing method - Google Patents
Asynchronous bus interface and its processing method Download PDFInfo
- Publication number
- JP2007048022A JP2007048022A JP2005231571A JP2005231571A JP2007048022A JP 2007048022 A JP2007048022 A JP 2007048022A JP 2005231571 A JP2005231571 A JP 2005231571A JP 2005231571 A JP2005231571 A JP 2005231571A JP 2007048022 A JP2007048022 A JP 2007048022A
- Authority
- JP
- Japan
- Prior art keywords
- clock
- asynchronous
- access signal
- bus interface
- signal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/14—Handling requests for interconnection or transfer
- G06F13/36—Handling requests for interconnection or transfer for access to common bus or bus system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4004—Coupling between buses
- G06F13/4027—Coupling between buses using bus bridges
- G06F13/405—Coupling between buses using bus bridges where the bridge performs a synchronising function
- G06F13/4059—Coupling between buses using bus bridges where the bridge performs a synchronising function where the synchronisation uses buffers, e.g. for speed matching between buses
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Information Transfer Systems (AREA)
Abstract
Description
本発明は、非同期バスインタフェース及びその処理方法に関する。 The present invention relates to an asynchronous bus interface and a processing method thereof.
図4は、同期デバイス(CPU)402及び非同期デバイス406を有するシステムの構成を示す図である。システムバス(同期バス)401には、中央処理装置(CPU)402、クロック発生器403及び非同期バスインタフェース404が接続される。クロック発生器403は、システムクロックCKを生成し、CPU402及び非同期バスインタフェース404に出力する。CPU402、クロック発生器403及び非同期バスインタフェース404は、システムバス401を介して、相互にシステムクロックCKに同期した同期アクセス信号を入出力する。
FIG. 4 is a diagram showing the configuration of a system having a synchronous device (CPU) 402 and an asynchronous device 406. A central processing unit (CPU) 402, a
非同期バス405には、非同期バスインタフェース404及び非同期デバイス406が接続される。非同期デバイス406及び非同期バスインタフェース404は、非同期バス405を介して、システムクロックCKに非同期の非同期アクセス信号を入出力する。
An asynchronous bus interface 404 and an asynchronous device 406 are connected to the
CPU402は、非同期バスインタフェース404を介して非同期デバイス406にアクセス信号を供給する。非同期バスインタフェース404は、CPU402から第1のアクセス信号を入力すると、その第1のアクセス信号を基に第2のアクセス信号を生成して非同期デバイス406に出力する。
The
図5は、クロックCK及び第2のアクセス信号を示すタイミングチャートである。第2のアクセス信号は、非同期バスインタフェース404が非同期デバイス406に出力するアクセス信号である。 FIG. 5 is a timing chart showing the clock CK and the second access signal. The second access signal is an access signal output from the asynchronous bus interface 404 to the asynchronous device 406.
第2のアクセス信号501は、非同期デバイス406に対して必要な一定期間511有効に保つ必要がある。第2のアクセス信号501を有効に保つ期間511をアサートサイクル(有効サイクル)期間と呼ぶ。基準となるシステムクロックCKを持つ同期式のシステムに非同期デバイス406を接続する場合、非同期バスインタフェース404は、非同期デバイス406のアクセスに必要な期間(アサートサイクル期間)511有効にした第2のアクセス信号501を、システムクロックCKのサイクル数を基に生成する。一般的に、非同期デバイス406は同期デバイス(CPU)402に対して速度が遅いため、アサートサイクル期間は何サイクルか必要となる。このアサートサイクル数が1サイクルよりも多い場合は、同期システムに対してウエイトがかかっている状態であるので、その場合はウエイトサイクルと呼ぶ。
The second access signal 501 needs to be kept valid 511 for a certain period required for the asynchronous device 406. A
近年の電子デバイスシステムにおいては、高速化及び低消費電力化が求められるので、システムの状況に応じてシステムクロックCKの周波数を動的に切り替える(電源供給中に切り替わることを意味する)ことが要求されるようになってきている。例えば、高速処理が必要な場合は、システムクロックCKの周波数を高くし、待機中や低速な処理で問題ない場合などはシステムクロックCKの周波数を下げることによって消費電力を抑える。先にも説明したように、非同期デバイス406への第2のアクセス信号は、システムクロックCKのサイクル数を基に生成されるため、システムクロックCKの周波数を切り替えると、非同期デバイス406への第2のアクセス信号のアサートサイクル期間も変化することになる。 In recent electronic device systems, high speed and low power consumption are required. Therefore, it is required to dynamically switch the frequency of the system clock CK according to the system status (which means switching during power supply). It has come to be. For example, when high-speed processing is required, the frequency of the system clock CK is increased, and when there is no problem with standby or low-speed processing, the power consumption is suppressed by decreasing the frequency of the system clock CK. As described above, the second access signal to the asynchronous device 406 is generated based on the number of cycles of the system clock CK. Therefore, when the frequency of the system clock CK is switched, the second access signal to the asynchronous device 406 is changed. The access signal assert cycle period also changes.
例えば、クロック発生器403が50MHzのクロックCKを生成する場合、第2のアクセス信号501が生成される。第2のアクセス信号501は、アサートサイクル期間511を有する。アサートサイクル期間511は、50MHzのクロックCKのサイクル数が3個分である。
For example, when the
これに対し、クロック発生器403が100MHzのクロックCKを生成する場合、第2のアクセス信号502が生成される。第2のアクセス信号502は、アサートサイクル期間512を有する。アサートサイクル期間512は、100MHzのクロックCKのサイクル数が3個分である。クロックCKの周波数が変化しても、第2のアクセス信号のアサートサイクル期間のサイクル数(3個分)は常に同じものとして生成されてしまう。その結果、第2のアクセス信号502のアサートサイクル期間512は、第2のアクセス信号501のアサートサイクル期間511よりも短くなり、第2のアクセス信号502は必要なアサートサイクル期間を確保することができない。その結果、非同期デバイス406へのアクセスができなくなる等の不具合が生じる。
On the other hand, when the
クロックCKの周波数が上がれば、クロックCKの1サイクルの期間が短くなり、十分なアサートサイクル期間が取れない可能性がある。逆に、クロックCKの周波数が下がれば、クロックCKの1サイクルの期間が長くなるために、無駄なウエイト時間を持つことになる。 If the frequency of the clock CK is increased, the period of one cycle of the clock CK is shortened, and there is a possibility that a sufficient assert cycle period cannot be obtained. On the other hand, if the frequency of the clock CK decreases, the period of one cycle of the clock CK becomes longer, and thus a wasteful wait time is provided.
また、下記の特許文献1には、非同期式記録媒体のアクセスサイクルの待ち時間に対して、同期式記録媒体のアクセスサイクルの待ち時間の整合性がないときは、待ち時間の整合性がとれるように、カウンタで同期式記録媒体の待ち時間を構成するウェイトサイクルの分周比を決定して時間間隔が変更された変更クロックを生成し、この変更クロックとシステムクロック信号とをセレクタで切り替えて出力することにより、同期式記録媒体に対してアクセス制御を行うメモリ制御システムが記載されている。 Further, in Patent Document 1 below, when there is no consistency in the waiting time of the access cycle of the synchronous recording medium with respect to the waiting time of the access cycle of the asynchronous recording medium, the consistency of the waiting time can be taken. In addition, the counter determines the division ratio of the wait cycle that constitutes the waiting time of the synchronous recording medium and generates a modified clock with the changed time interval, and the selector switches between the modified clock and the system clock signal for output. Thus, a memory control system that performs access control on a synchronous recording medium is described.
また、下記の特許文献2には、プロセッサからアドレスをアドレスデコーダに送出することで、各周辺デバイスを選択的にアクセス可能とした情報処理装置であって、プロセッサはデバイスの各アドレスビットにウェイト数情報を含ませる機能を持ち、レディタイミング信号生成部にて複数のタイミングでレディタイミング信号を生成し、セレクタでアドレスに含まれるウェイト数情報に基づいて対応するレディタイミング信号を選択させ、そのタイミングでレディ信号としてラッチ回路にラッチしてプロセッサに送出する情報処理装置のウェイト制御方式が記載されている。レディ出力機能を有する周辺デバイスをアクセスする場合には、セレクタでそのデバイスのレディ出力を選択させる。 Patent Document 2 below discloses an information processing apparatus in which each peripheral device can be selectively accessed by sending an address from an processor to an address decoder, and the processor includes a number of waits for each address bit of the device. It has a function to include information, and a ready timing signal generation unit generates a ready timing signal at a plurality of timings, and a selector selects a corresponding ready timing signal based on the number of wait information included in the address. A wait control system for an information processing apparatus that latches in a latch circuit as a ready signal and sends it to a processor is described. When a peripheral device having a ready output function is accessed, the ready output of the device is selected by the selector.
また、下記の特許文献3には、外部メモリにアクセスするときのウェイト数があらかじめCPUから設定されるウェイト設定レジスタと、外部メモリのうち高速動作用のメモリから低速動作用のメモリへのシングルアドレスDMA転送時のウェイト数があらかじめCPUから設定されるDMA転送用ウェイト設定レジスタと、シングルアドレスDMA転送要求およびメモリアクセス要求によりウェイト設定レジスタおよびDMA転送用ウェイト設定レジスタのいずれか一方の有するウェイト数を選択的に出力するセレクタと、セレクタで選択されたウェイト数を挿入したメモリアクセスサイクルを生成して出力するメモリアクセス制御信号発生回路とを備えて構成するメモリコントローラが記載されている。
また、下記の特許文献4には、複数クロックからなるマシンサイクルの始まり又は終わりにおいて、1ないし複数クロック分のウエイトクロックを選択的に挿入させる機能を持つ情報処理装置が記載されている。 Patent Document 4 below describes an information processing apparatus having a function of selectively inserting wait clocks for one to a plurality of clocks at the beginning or end of a machine cycle composed of a plurality of clocks.
本発明の目的は、クロックの周波数が変化しても、十分なアクセス有効期間(アクセス信号のアサートサイクル期間)を確保することができ、また無駄なアクセスウエイト時間をなくすことができる非同期バスインタフェース及びその処理方法を提供することである。 An object of the present invention is to provide an asynchronous bus interface capable of ensuring a sufficient access valid period (access signal assert cycle period) and eliminating unnecessary access wait time even when the clock frequency changes. It is to provide a processing method.
本発明の一観点によれば、クロックに同期して動作する同期デバイスのクロックの周波数情報を入力する入力部と、同期デバイスから非同期デバイスへの第1のアクセス信号を入力すると、第1のアクセス信号を基に第2のアクセス信号を生成して非同期デバイスに出力する信号生成部とを有する非同期バスインタフェースが提供される。信号生成部は、クロックの周波数情報に応じて、第2のアクセス信号の有効サイクル数を決定する。 According to an aspect of the present invention, when an input unit that inputs clock frequency information of a synchronous device that operates in synchronization with a clock and a first access signal from the synchronous device to the asynchronous device are input, the first access An asynchronous bus interface having a signal generation unit that generates a second access signal based on the signal and outputs the second access signal to the asynchronous device is provided. The signal generation unit determines the number of effective cycles of the second access signal according to the frequency information of the clock.
クロックの周波数情報に応じて第2のアクセス信号の有効サイクル数を決定するので、クロックの周波数が変化しても、十分なアクセス有効期間(アクセス信号のアサートサイクル期間)を確保することができる。また、無駄なアクセスウエイト時間をなくすことができる。 Since the number of valid cycles of the second access signal is determined according to the clock frequency information, a sufficient access valid period (access signal assert cycle period) can be ensured even if the clock frequency changes. In addition, useless access wait time can be eliminated.
図1は、本発明の実施形態による同期デバイス(CPU)102及び非同期デバイス106を有するシステムの構成例を示す図である。システムバス(同期バス)101には、中央処理装置(CPU)102、クロック発生器103及び非同期バスインタフェース104が接続される。クロック発生器103は、システムクロックCKを生成し、CPU102及び非同期バスインタフェース104に出力する。CPU102、クロック発生器103及び非同期バスインタフェース104は、システムバス101を介して、相互にシステムクロックCKに同期した同期アクセス信号を入出力する。
FIG. 1 is a diagram illustrating a configuration example of a system including a synchronous device (CPU) 102 and an asynchronous device 106 according to an embodiment of the present invention. A central processing unit (CPU) 102, a
CPU102は、システムバス101を介して、クロック発生器103にクロックCKの周波数を指示することができる。クロック発生器103は、その指示に応じて、複数種類の周波数のクロックCKを生成し、出力することができる。これにより、CPU102は、システムの状況に応じて、クロックCKの周波数を動的に変化させる(電源供給中に変化させる)ことができる。例えば、高速処理が必要な場合は、クロックCKの周波数を高くし、待機中や低速な処理で問題ない場合などはクロックCKの周波数を下げることによって消費電力を抑える。クロック発生器103は、例えば、図3に示すように、低周波数の50MHzのクロックCK及び高周波数の100MHzのクロックCKを生成することができる。
The
非同期バス105には、非同期バスインタフェース104及び非同期デバイス106が接続される。非同期デバイス106及び非同期バスインタフェース104は、非同期バス105を介して、相互にシステムクロックCKに非同期の非同期アクセス信号を入出力する。
An
CPU102は、非同期バスインタフェース104を介して非同期デバイス106にアクセス信号を供給する。非同期バスインタフェース104は、CPU102から第1のアクセス信号を入力すると、その第1のアクセス信号を基に第2のアクセス信号を生成して非同期デバイス106に出力する。非同期バスインタフェース104は、クロックCKに同期して第1のアクセス信号をシステムバス101を介してCPU102から入力し、クロックCKに非同期で第2のアクセス信号を非同期バス105を介して非同期デバイス106に出力する。
The
非同期デバイス106は、例えば、NAND型フラッシュメモリ又はSRAM等のメモリデバイスであり、I/Oデバイス等でもよい。上記の第1のアクセス信号は、システムバスインタフェースに則った信号であり、所定のコマンドである。上記の第2のアクセス信号は、非同期バスインタフェースに則った信号であり、非同期デバイス106に直接入出力可能な信号である。第2のアクセス信号は、例えば、チップイネーブル信号、ライトイネーブル信号、リードイネーブル信号、アクセスに必要なコントロール信号(例えばレディ(Ready)信号等)、アドレス信号又はデータ信号である。 The asynchronous device 106 is a memory device such as a NAND flash memory or SRAM, and may be an I / O device or the like. The first access signal is a signal conforming to the system bus interface and is a predetermined command. The second access signal is a signal conforming to the asynchronous bus interface and can be directly input / output to / from the asynchronous device 106. The second access signal is, for example, a chip enable signal, a write enable signal, a read enable signal, a control signal (for example, a ready signal) necessary for access, an address signal, or a data signal.
非同期バスインタフェース104は、外部端子として周波数情報入力端子を有し、CPU102から直接、クロックCKの周波数情報CK1を入力し、クロックCKの周波数を知ることができる。また、非同期バスインタフェース104は、テーブル111及びレジスタ設定部112を有する。
The
図2は、周波数及びウエイトサイクル数(アサートサイクル数)の関係を示すテーブル111の構成例を示す図である。テーブル111は、クロックCKの周波数及びウエイトサイクル数の関係を記憶する。例えば、クロックCKの周波数が50MHzのときにはウエイトサイクル数が3であり、クロックCKの周波数が100MHzのときにはウエイトサイクル数が6である。 FIG. 2 is a diagram illustrating a configuration example of the table 111 indicating the relationship between the frequency and the number of wait cycles (the number of assert cycles). The table 111 stores the relationship between the frequency of the clock CK and the number of wait cycles. For example, the number of wait cycles is 3 when the frequency of the clock CK is 50 MHz, and the number of wait cycles is 6 when the frequency of the clock CK is 100 MHz.
レジスタ設定部112は、テーブル111を参照し、周波数情報CK1を基に、クロックCKの周波数に対応するウエイトサイクル数を取得し、レジスタに設定する。レジスタには、各種信号を生成するために必要なそれぞれのウエイトサイクル数が設定される。なお、テーブル111を基にレジスタ設定する場合に限定されず、テーブル111を参照し、周波数情報CK1に応じたウエイトサイクル数を取得し、そのウエイトサイクル数を直に用いてもよい。 The register setting unit 112 refers to the table 111, acquires the number of wait cycles corresponding to the frequency of the clock CK based on the frequency information CK1, and sets it in the register. The number of wait cycles necessary for generating various signals is set in the register. In addition, it is not limited to the case of register setting based on the table 111, the number of wait cycles corresponding to the frequency information CK1 may be acquired by referring to the table 111, and the number of wait cycles may be used directly.
非同期バスインタフェース104は、システムバス101を介してCPU102から非同期デバイス106への第1のアクセス信号を入力すると、その第1のアクセス信号を基に第2のアクセス信号を生成して非同期バス105を介して非同期デバイス106に出力する。その際、非同期バスインタフェース104は、レジスタに設定されたウエイトサイクル数を基に第2のアクセス信号のアサートサイクル(有効サイクル)数を決定し、第2のアクセス信号を生成する。
When the
図3は、本実施形態によるクロックCK及び第2のアクセス信号の例を示すタイミングチャートである。第2のアクセス信号は、非同期バスインタフェース104が非同期デバイス106に出力するアクセス信号である。
FIG. 3 is a timing chart showing an example of the clock CK and the second access signal according to the present embodiment. The second access signal is an access signal output from the
50MHzのクロックCKがクロック発生器103により生成されるとき、非同期バスインタフェース104は第2のアクセス信号301を生成して非同期デバイス106に出力する。第2のアクセス信号301は、アサートサイクル期間311を有する。アサートサイクル期間311は、非同期デバイス106のアクセスに必要なアクセス有効期間である。アサートサイクル期間311のサイクル数は、上記のように、テーブル111を基に決定される。非同期バスインタフェース104は、周波数情報CK1を基に、クロックCKの周波数が50MHzであることを知ることができる。そして、非同期バスインタフェース104は、図2のテーブル111を参照し、クロックCKの周波数が50MHzであるので、ウエイトサイクル数を3に決定する。ウエイトサイクル数は、アサートサイクル期間311のサイクル数に対応する。そこで、非同期バスインタフェース104は、アサートサイクル期間311のサイクル数がクロックCKのサイクル数の3個分である第2のアクセス信号301を生成する。
When the 50 MHz clock CK is generated by the
また、100MHzのクロックCKがクロック発生器103により生成されるとき、非同期バスインタフェース104は第2のアクセス信号302を生成して非同期デバイス106に出力する。第2のアクセス信号302は、アサートサイクル期間312を有する。アサートサイクル期間312は、非同期デバイス106のアクセスに必要なアクセス有効期間である。アサートサイクル期間312のサイクル数は、上記と同様に、テーブル111を基に決定される。非同期バスインタフェース104は、周波数情報CK1を基に、クロックCKの周波数が100MHzであることを知ることができる。そして、非同期バスインタフェース104は、図2のテーブル111を参照し、クロックCKの周波数が100MHzであるので、ウエイトサイクル数を6に決定する。ウエイトサイクル数は、アサートサイクル期間312のサイクル数に対応する。そこで、非同期バスインタフェース104は、アサートサイクル期間312のサイクル数がクロックCKのサイクル数の6個分である第2のアクセス信号302を生成する。
When the clock CK of 100 MHz is generated by the
第2のアクセス信号は、例えば、チップイネーブル信号、ライトイネーブル信号、リードイネーブル信号、アクセスに必要なコントロール信号、アドレス信号又はデータ信号である。第2のアクセス信号がアドレス信号又はデータ信号である場合、アサートサイクル期間はアクセスに必要な信号が有効である期間を意味する。 The second access signal is, for example, a chip enable signal, a write enable signal, a read enable signal, a control signal necessary for access, an address signal, or a data signal. When the second access signal is an address signal or a data signal, the assert cycle period means a period during which a signal necessary for access is valid.
以上のように、本実施形態によれば、非同期バスインタフェース106は、クロックCKに同期して動作する同期デバイス102のクロックCKの周波数情報CK1を入力し、同期デバイス(CPU)102から非同期デバイス106への第1のアクセス信号を入力すると、その第1のアクセス信号を基に第2のアクセス信号を生成して非同期デバイス106に出力する。その際、非同期バスインタフェース104は、クロックCKの周波数情報CK1に応じて、第2のアクセス信号のアサートサイクル数を決定する。
As described above, according to the present embodiment, the asynchronous bus interface 106 receives the frequency information CK1 of the clock CK of the
高速処理が必要な場合はクロックCKの周波数を高くし、待機中や低速な処理の場合はクロックCKの周波数を下げることによって消費電力を抑えることができる。クロックCKの周波数が上がった時はアサートサイクル数を増やし、クロックCKの周波数が下がった時にはアサートサイクル数を減らす。すなわち、図2に示すように、第2のアクセス信号のアサートサイクル数(ウエイトサイクル数)は、クロックCKの周波数が高いほど多くなる。例えば、クロックCKの周波数がn倍になると、第2のアクセス信号のアサートサイクル数がn倍になる。 The power consumption can be suppressed by increasing the frequency of the clock CK when high-speed processing is required, and decreasing the frequency of the clock CK during standby or low-speed processing. When the frequency of the clock CK increases, the number of assert cycles is increased, and when the frequency of the clock CK decreases, the number of assert cycles is decreased. That is, as shown in FIG. 2, the number of assert cycles (the number of wait cycles) of the second access signal increases as the frequency of the clock CK increases. For example, when the frequency of the clock CK is increased n times, the number of assert cycles of the second access signal is increased n times.
図5の場合、クロックCKの周波数が変化すると、第2のアクセス信号のアサートサイク期間が変化してしまう。クロックCKの周波数が上がれれば、クロックCKの1サイクルの期間が短くなり、十分なアサートサイクル期間が取れない可能性がある。逆に、クロックCKの周波数が下がれば、クロックCKの1サイクルの期間が長くなるために、無駄なウエイト時間を持つことになる。 In the case of FIG. 5, when the frequency of the clock CK changes, the assert cycle period of the second access signal changes. If the frequency of the clock CK is increased, the period of one cycle of the clock CK is shortened, and there is a possibility that a sufficient assert cycle period cannot be obtained. On the other hand, if the frequency of the clock CK decreases, the period of one cycle of the clock CK becomes longer, and thus a wasteful wait time is provided.
本実施形態によれば、クロックCKの周波数情報K1に応じて第2のアクセス信号のアサートサイクル数を決定するので、クロックCKの周波数が変化しても、第2のアクセス信号のアサートサイクル期間311及び312を略一定に保つことができる。これにより、クロックCKの周波数が変化しても、十分なアサートサイクル期間を確保することができる。また、無駄なアクセスウエイト時間をなくすことができる。また、非同期バスインタフェース104は、クロックCKの周波数が動的に変化した場合には、動的に第2のアサート信号のアサートサイクル数を決定するので、クロックCKの周波数が変化しても、アサートサイクル数を変更するために電源を入れ直したりリセットをかける必要がない。
According to the present embodiment, the number of assert cycles of the second access signal is determined according to the frequency information K1 of the clock CK. Therefore, even if the frequency of the clock CK changes, the assert
また、クロックCKの周波数が動的に切り替わったときに、非同期バスインタフェース104の該当するレジスタの再設定をCPU102が行うとすると、クロックCKが変化する度にレジスタ設定のためにCPU102が非同期バスインタフェース104へのアクセス(システムバス101や外部端子を使用したレジスタの書き換え)が必要となるため、システムのパフォーマンスが下がってしまう。本実施形態では、非同期バスインタフェース104自身がレジスタの設定を行うので、CPU102が非同期バスインタフェース104にアクセスする必要がなく、システムのパフォーマンス低下を防止することができる。
If the
なお、非同期バスインタフェース104は、周波数情報入力端子に、CPU102から周波数情報CK1を入力する代わりに、クロック発生器103から周波数情報CK2を入力してもよい。また、周波数情報CK1及びCK2は、クロックCKの周波数が変化したことを示す情報であってもよい。また、非同期バスインタフェース104は、システムバス101を介して、CPU102又はクロック発生器103から周波数情報を入力してもよい。また、非同期バスインタフェース104は、クロック発生器103から入力したクロックCKを基に周波数を検出し、周波数情報を入力してもよい。
Note that the
上記実施形態は、何れも本発明を実施するにあたっての具体化の例を示したものに過ぎず、これらによって本発明の技術的範囲が限定的に解釈されてはならないものである。すなわち、本発明はその技術思想、またはその主要な特徴から逸脱することなく、様々な形で実施することができる。 The above-described embodiments are merely examples of implementation in carrying out the present invention, and the technical scope of the present invention should not be construed as being limited thereto. That is, the present invention can be implemented in various forms without departing from the technical idea or the main features thereof.
本発明の実施形態は、例えば以下のように種々の適用が可能である。 The embodiment of the present invention can be applied in various ways as follows, for example.
(付記1)
クロックに同期して動作する同期デバイスのクロックの周波数情報を入力する入力部と、
前記同期デバイスから非同期デバイスへの第1のアクセス信号を入力すると、前記第1のアクセス信号を基に第2のアクセス信号を生成して前記非同期デバイスに出力する信号生成部とを有し、
前記信号生成部は、前記クロックの周波数情報に応じて、前記第2のアクセス信号の有効サイクル数を決定することを特徴とする非同期バスインタフェース。
(付記2)
前記信号生成部は、前記クロックに同期して前記第1のアクセス信号を前記同期デバイスから入力し、前記クロックに非同期で前記第2のアクセス信号を前記非同期デバイスに出力することを特徴とする付記1記載の非同期バスインタフェース。
(付記3)
前記信号生成部は、同期バスを介して前記同期デバイスから前記第1のアクセス信号を入力し、非同期バスを介して前記非同期デバイスに前記第2のアクセス信号を出力することを特徴とする付記2記載の非同期バスインタフェース。
(付記4)
前記クロックの周波数がn倍になると、前記第2のアクセス信号の有効サイクル数がn倍になることを特徴とする付記1記載の非同期バスインタフェース。
(付記5)
前記信号生成部は、前記クロックの周波数と前記有効サイクル数との関係を示すテーブルを基に前記第2のアクセス信号の有効サイクル数を決定する付記1記載の非同期バスインタフェース。
(付記6)
クロックに同期して動作する同期デバイスのクロックの周波数情報を入力する入力ステップと、
前記同期デバイスから非同期デバイスへの第1のアクセス信号を入力すると、前記第1のアクセス信号を基に第2のアクセス信号を生成して前記非同期デバイスに出力する信号生成ステップとを有し、
前記信号生成ステップは、前記クロックの周波数情報に応じて、前記第2のアクセス信号の有効サイクル数を決定することを特徴とする非同期バスインタフェースの処理方法。
(付記7)
前記信号生成ステップは、前記クロックに同期して前記第1のアクセス信号を前記同期デバイスから入力し、前記クロックに非同期で前記第2のアクセス信号を前記非同期デバイスに出力することを特徴とする付記6記載の非同期バスインタフェースの処理方法。
(付記8)
前記信号生成ステップは、同期バスを介して前記同期デバイスから前記第1のアクセス信号を入力し、非同期バスを介して前記非同期デバイスに前記第2のアクセス信号を出力することを特徴とする付記7記載の非同期バスインタフェースの処理方法。
(付記9)
前記クロックの周波数がn倍になると、前記第2のアクセス信号の有効サイクル数がn倍になることを特徴とする付記6記載の非同期バスインタフェースの処理方法。
(付記10)
前記信号生成ステップは、前記クロックの周波数と前記有効サイクル数との関係を示すテーブルを基に前記第2のアクセス信号の有効サイクル数を決定することを特徴とする付記6記載の非同期バスインタフェースの処理方法。
(Appendix 1)
An input unit for inputting frequency information of a clock of a synchronous device operating in synchronization with the clock;
When a first access signal from the synchronous device to the asynchronous device is input, a signal generation unit that generates a second access signal based on the first access signal and outputs the second access signal to the asynchronous device;
The asynchronous bus interface, wherein the signal generation unit determines the number of effective cycles of the second access signal according to frequency information of the clock.
(Appendix 2)
The signal generation unit inputs the first access signal from the synchronous device in synchronization with the clock, and outputs the second access signal to the asynchronous device asynchronously with the clock. The asynchronous bus interface according to 1.
(Appendix 3)
The signal generator is configured to input the first access signal from the synchronous device via a synchronous bus and output the second access signal to the asynchronous device via an asynchronous bus. Asynchronous bus interface described.
(Appendix 4)
The asynchronous bus interface according to claim 1, wherein when the frequency of the clock is increased n times, the number of effective cycles of the second access signal is increased n times.
(Appendix 5)
The asynchronous bus interface according to appendix 1, wherein the signal generation unit determines the number of effective cycles of the second access signal based on a table indicating a relationship between the frequency of the clock and the number of effective cycles.
(Appendix 6)
An input step for inputting frequency information of a clock of a synchronous device operating in synchronization with the clock;
A signal generation step of generating a second access signal based on the first access signal and outputting the second access signal to the asynchronous device when a first access signal from the synchronous device to the asynchronous device is input;
The method of processing an asynchronous bus interface, wherein the signal generation step determines the number of effective cycles of the second access signal according to the frequency information of the clock.
(Appendix 7)
The signal generation step inputs the first access signal from the synchronous device in synchronization with the clock, and outputs the second access signal to the asynchronous device asynchronously with the clock. The processing method of the asynchronous bus interface according to 6.
(Appendix 8)
The signal generation step includes inputting the first access signal from the synchronous device via a synchronous bus and outputting the second access signal to the asynchronous device via an asynchronous bus. The processing method of the described asynchronous bus interface.
(Appendix 9)
The asynchronous bus interface processing method according to
(Appendix 10)
7. The asynchronous bus interface according to
101 システムバス
102 CPU
103 クロック発生器
104 非同期バスインタフェース
105 非同期バス
106 非同期デバイス
111 テーブル
112 レジスタ設定部
101
103
Claims (6)
前記同期デバイスから非同期デバイスへの第1のアクセス信号を入力すると、前記第1のアクセス信号を基に第2のアクセス信号を生成して前記非同期デバイスに出力する信号生成部とを有し、
前記信号生成部は、前記クロックの周波数情報に応じて、前記第2のアクセス信号の有効サイクル数を決定することを特徴とする非同期バスインタフェース。 An input unit for inputting frequency information of a clock of a synchronous device operating in synchronization with the clock;
When a first access signal from the synchronous device to the asynchronous device is input, a signal generation unit that generates a second access signal based on the first access signal and outputs the second access signal to the asynchronous device;
The asynchronous bus interface, wherein the signal generation unit determines the number of effective cycles of the second access signal according to frequency information of the clock.
前記同期デバイスから非同期デバイスへの第1のアクセス信号を入力すると、前記第1のアクセス信号を基に第2のアクセス信号を生成して前記非同期デバイスに出力する信号生成ステップとを有し、
前記信号生成ステップは、前記クロックの周波数情報に応じて、前記第2のアクセス信号の有効サイクル数を決定することを特徴とする非同期バスインタフェースの処理方法。 An input step for inputting frequency information of a clock of a synchronous device operating in synchronization with the clock;
A signal generation step of generating a second access signal based on the first access signal and outputting the second access signal to the asynchronous device when a first access signal from the synchronous device to the asynchronous device is input;
The method of processing an asynchronous bus interface, wherein the signal generation step determines the number of effective cycles of the second access signal according to the frequency information of the clock.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005231571A JP2007048022A (en) | 2005-08-10 | 2005-08-10 | Asynchronous bus interface and its processing method |
US11/289,477 US20070038795A1 (en) | 2005-08-10 | 2005-11-30 | Asynchronous bus interface and processing method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005231571A JP2007048022A (en) | 2005-08-10 | 2005-08-10 | Asynchronous bus interface and its processing method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007048022A true JP2007048022A (en) | 2007-02-22 |
Family
ID=37743873
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005231571A Withdrawn JP2007048022A (en) | 2005-08-10 | 2005-08-10 | Asynchronous bus interface and its processing method |
Country Status (2)
Country | Link |
---|---|
US (1) | US20070038795A1 (en) |
JP (1) | JP2007048022A (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200731078A (en) * | 2005-12-27 | 2007-08-16 | Via Tech Inc | Computer system with clock-controlled wait states |
KR100934215B1 (en) * | 2007-10-29 | 2009-12-29 | 한국전자통신연구원 | Microprocessor based on event handling instruction set and event processing method using the same |
DE102008012285B3 (en) * | 2008-03-03 | 2009-07-23 | Texas Instruments Deutschland Gmbh | Electronic device, has clock stage clock cyclically determining whether received data are correct, where slope of clock cycle of system clock signal is clock cyclically permitted, when received data are determined as correct |
EP2466478B1 (en) | 2010-12-20 | 2013-11-27 | STMicroelectronics (Grenoble 2) SAS | Communication system, and corresponding integrated circuit and method |
US8599982B2 (en) | 2010-12-20 | 2013-12-03 | Stmicroelectronics S.R.L. | Interface system, and corresponding integrated circuit and method |
US9026761B2 (en) | 2010-12-20 | 2015-05-05 | Stmicroelectronics (Grenoble 2) Sas | Interface system, and corresponding integrated circuit and method |
GB2513529A (en) | 2012-11-15 | 2014-11-05 | Ibm | System and method of low latency data tranfer between clock domains operated in various synchronization modes |
US9489009B2 (en) | 2014-02-20 | 2016-11-08 | Samsung Electronics Co., Ltd. | System on chip, bus interface and method of operating the same |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5581793A (en) * | 1993-08-24 | 1996-12-03 | Micron Electronics, Inc. | System for bypassing setup states in a bus operation |
US5657482A (en) * | 1993-08-24 | 1997-08-12 | Micron Electronics, Inc. | Automatic clock speed sensing system for determining the number of states needed for a time-dependent operation by sensing clock frequency |
KR100453071B1 (en) * | 2003-01-18 | 2004-10-15 | 삼성전자주식회사 | Apparatus and method for connecting processor to bus |
-
2005
- 2005-08-10 JP JP2005231571A patent/JP2007048022A/en not_active Withdrawn
- 2005-11-30 US US11/289,477 patent/US20070038795A1/en not_active Abandoned
Also Published As
Publication number | Publication date |
---|---|
US20070038795A1 (en) | 2007-02-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4817510B2 (en) | Memory controller and memory control device | |
US5491814A (en) | Apparatus using a state machine for generating selectable clock frequencies and a fixed frequency for operating a computer bus | |
JP2007048022A (en) | Asynchronous bus interface and its processing method | |
JP2007133527A (en) | Clock signal generation circuit, semiconductor integrated circuit, and frequency-division rate control method | |
US8531893B2 (en) | Semiconductor device and data processor | |
JP2007200542A (en) | System comprising memory module mounted with semiconductor memory device | |
JPH0784863A (en) | Information processor and semiconductor storage device suitable to the same | |
JP2000347761A (en) | Control circuit | |
JP2002082904A (en) | Semiconductor integrated circuit device | |
JP2009124532A (en) | Semiconductor integrated circuit | |
JPH10254425A (en) | Timing adjustment circuit | |
KR100222158B1 (en) | Bus controller and information processing device | |
JP2006332919A (en) | Semiconductor integrated circuit | |
JPH023172A (en) | Semiconductor storage device | |
JP2004094945A (en) | Interface between host computer and slave device having latency greater than that of host computer | |
JP5528939B2 (en) | Microcomputer | |
JP5489871B2 (en) | Image processing device | |
JP4114749B2 (en) | MEMORY CONTROL DEVICE AND ELECTRONIC DEVICE | |
JP2001022692A (en) | Microcomputer and control system | |
JP2006202172A (en) | Bus timing control circuit | |
JP2010003039A (en) | Cpu operation clock-synchronized plc bus system | |
JP2008251060A (en) | Semiconductor memory device | |
JP2000029560A (en) | Electronic device | |
JP5233543B2 (en) | Data processing circuit, image processing apparatus, and data processing method | |
JP2010146352A (en) | Memory access control circuit and memory access control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080619 |
|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A711 Effective date: 20100914 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A821 Effective date: 20100914 |
|
A761 | Written withdrawal of application |
Free format text: JAPANESE INTERMEDIATE CODE: A761 Effective date: 20101129 |