JP2005115657A - General purpose external interface - Google Patents
General purpose external interface Download PDFInfo
- Publication number
- JP2005115657A JP2005115657A JP2003349117A JP2003349117A JP2005115657A JP 2005115657 A JP2005115657 A JP 2005115657A JP 2003349117 A JP2003349117 A JP 2003349117A JP 2003349117 A JP2003349117 A JP 2003349117A JP 2005115657 A JP2005115657 A JP 2005115657A
- Authority
- JP
- Japan
- Prior art keywords
- external
- memory
- interface
- semiconductor integrated
- integrated circuit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Images
Landscapes
- Information Transfer Systems (AREA)
- Memory System (AREA)
Abstract
Description
本発明は、半導体集積回路に搭載されて、この半導体集積回路と外部の任意の半導体集積回路とを接続するための汎用外部インターフェイスに関するものである。 The present invention relates to a general-purpose external interface that is mounted on a semiconductor integrated circuit and connects the semiconductor integrated circuit to an arbitrary external semiconductor integrated circuit.
従来、半導体集積回路(以下、LSIという)の開発時に、その外部に接続されるLSI(以下、外部LSIという)に合わせて、専用の外部インターフェイスを設計し搭載することがある。ここで、外部LSIとは、例えばメモリ、CPU(中央演算装置)、ASIC(特定用途向けIC)等を含む各種のLSIである。 Conventionally, when developing a semiconductor integrated circuit (hereinafter referred to as an LSI), a dedicated external interface may be designed and mounted in accordance with an LSI connected to the outside (hereinafter referred to as an external LSI). Here, the external LSI is various LSIs including a memory, a CPU (Central Processing Unit), an ASIC (Application Specific IC), and the like.
図5は、従来のLSIの内部構成を表す一例の概略図である。同図に示すように、LSI60は、CPU62、RAM(ランダムアクセスメモリ)64、ROM(リードオンリーメモリ)66、タイマ68、割り込みコントローラ70、汎用I/O(入力/出力)72、外部I/F(インターフェイス)74等の内部回路を備えており、これらの内部回路は、内部バス76を介して互いに接続されている。
FIG. 5 is a schematic diagram illustrating an example of an internal configuration of a conventional LSI. As shown in the figure, the
LSI60と外部LSI78とは、外部バス80を介して互いに接続される。この場合、LSI60と外部バス80とは外部I/F74を介して互いに接続され、LSI60の内部バス76と外部バス80との間でやり取りが行われる。
The
また、接続対象の外部LSIが複数想定される時は、それぞれの外部LSIに対応する外部I/Fを設計し、モードによって切り替える機能を搭載することもしばしば行われている。例えば、図6に示すLSI82は、接続対象の外部LSIが2つある場合であり、2つの外部LSIに各々対応する外部I/F1および外部I/F2を備えている。これら2つの外部I/F1および外部I/F2は、モード切替信号に応じて、マルチプレクサ(MUX)84により切り替えて使用される。
Further, when a plurality of external LSIs to be connected are assumed, it is often performed to design an external I / F corresponding to each external LSI and mount a function of switching according to the mode. For example, the
しかし、上記のように、複数の外部I/Fをモードによって切り替えて使用する構成では、回路面積のオーバーヘッドが大きくなるため、チップ面積が増大し、単価上昇の要因となるという問題があった。 However, as described above, in the configuration in which a plurality of external I / Fs are switched and used depending on the mode, there is a problem that the circuit area overhead increases, which increases the chip area and increases the unit price.
また、上記例とは別に、図5および図6にも汎用I/O72として示されているように、LSIに汎用ポートを設け、CPUの制御によって、LSIと外部LSIとを接続する外部バスを制御するための信号を生成することも行われている。
In addition to the above example, as shown in FIGS. 5 and 6 as general-purpose I /
しかし、CPUの処理能力では、外部LSIに応じて汎用ポートを制御し、信号を高速に切り替えることは不可能に近いし、CPUに対する負荷がかなり大きく、CPUが本来の処理を行うのが困難になるという問題があった。また、インターフェイスの多様化により、生成すべき信号も複雑さを増しているため、CPUによる汎用ポートの制御は次第に困難になるという問題もある。 However, it is almost impossible to control the general-purpose port according to the external LSI and switch the signal at high speed with the processing capability of the CPU. There was a problem of becoming. In addition, since the signals to be generated have increased in complexity due to the diversification of interfaces, there is a problem that control of general-purpose ports by the CPU becomes increasingly difficult.
本発明の目的は、前記従来技術に基づく問題点を解消し、回路面積やCPU負荷の増大を招くことなく、任意の外部LSIを汎用的に接続することができる汎用外部インターフェイスを提供することにある。 An object of the present invention is to provide a general-purpose external interface that can solve any problems based on the prior art and can connect any external LSI for general-purpose without causing an increase in circuit area or CPU load. is there.
上記目的を達成するために、本発明は、第1の半導体集積回路に搭載されて、この第1の半導体集積回路と第2の半導体集積回路とを接続するための汎用外部インターフェイスであって、
前記第1の半導体集積回路の内部バスとの間のやり取りを行う内部バスインターフェイスと、前記第1の半導体集積回路と前記第2の半導体集積回路とを接続する外部バスとの間のやり取りを行う外部バスインターフェイスと、当該汎用外部インターフェイスの動作モードに対応する前記外部バスインターフェイスの動作パターンを記憶するメモリと、前記第1の半導体集積回路の内部回路から、前記内部バスおよび前記内部バスインターフェイスを介して与えられるコマンドに対応する前記外部バスインターフェイスの動作パターンが記憶されている前記メモリのアドレスを記憶するモードレジスタと、前記コマンドに対応して前記モードレジスタから供給される前記メモリのアドレスに基づいて前記メモリをアクセスするシーケンサとを備えることを特徴とする汎用外部インターフェイスを提供するものである。
In order to achieve the above object, the present invention is a general-purpose external interface mounted on a first semiconductor integrated circuit for connecting the first semiconductor integrated circuit and the second semiconductor integrated circuit,
Exchanges between an internal bus interface that exchanges data with the internal bus of the first semiconductor integrated circuit and an external bus that connects the first semiconductor integrated circuit and the second semiconductor integrated circuit. An external bus interface, a memory for storing an operation pattern of the external bus interface corresponding to an operation mode of the general-purpose external interface, an internal circuit of the first semiconductor integrated circuit, and the internal bus and the internal bus interface A mode register for storing an address of the memory in which an operation pattern of the external bus interface corresponding to the command given is stored, and an address of the memory supplied from the mode register corresponding to the command A sequencer for accessing the memory; And it provides a generic external interface, characterized in that to obtain.
ここで、前記コマンドは、さらに前記第1の半導体集積回路の外部から、前記外部バスおよび前記外部バスインターフェイスを介して与えられるコマンドを含むのが好ましい。また、前記コマンドは、さらに前記第1の半導体集積回路の内部回路および前記第1の半導体集積回路の外部の少なくとも一方から直接与えられるコマンドを含むのが好ましい。 Here, it is preferable that the command further includes a command given from the outside of the first semiconductor integrated circuit through the external bus and the external bus interface. Further, it is preferable that the command further includes a command directly given from at least one of an internal circuit of the first semiconductor integrated circuit and an outside of the first semiconductor integrated circuit.
また、前記メモリは、前記第1の半導体集積回路の内部回路により、前記内部バス、前記内部バスインターフェイスおよび前記シーケンサを介してアクセスされる内部メモリとして使用されるのが好ましい。 The memory is preferably used as an internal memory accessed by the internal circuit of the first semiconductor integrated circuit through the internal bus, the internal bus interface, and the sequencer.
本発明の汎用外部インターフェイスは、外部LSIに対応する各種のコマンドに対応して、モードレジスタに設定するアドレスと、メモリに記憶する動作パターンとを適宜書き換えることにより、様々な外部LSIに汎用的に対応することができる。また、汎用外部インターフェイスは、複数の外部インターフェイスを使用した場合と比べて、回路規模が小さく、単価を安く抑えることができる。また、CPUによる制御もほとんど不要であるため、汎用ポートのようにCPUの負荷が重くなることもないという利点がある。 The general-purpose external interface of the present invention is suitable for various external LSIs by appropriately rewriting the address set in the mode register and the operation pattern stored in the memory in response to various commands corresponding to the external LSI. Can respond. In addition, the general-purpose external interface has a smaller circuit scale and a lower unit price than when a plurality of external interfaces are used. Further, since control by the CPU is almost unnecessary, there is an advantage that the load on the CPU does not become heavy unlike a general-purpose port.
以下に、添付の図面に示す好適実施形態に基づいて、本発明の汎用外部インターフェイスを詳細に説明する。 Hereinafter, the general-purpose external interface of the present invention will be described in detail based on preferred embodiments shown in the accompanying drawings.
図1は、本発明の汎用外部インターフェイスの一実施形態の構成概略図である。同図に示す汎用外部インターフェイス(以下、汎用外部I/Fという)10は、LSI22に搭載されて、LSI22と任意の外部LSI24とを接続するためのインターフェイス回路であって、内部バスインターフェイス(以下、内部バスI/Fという)12と、外部バスインターフェイス(以下、外部バスI/Fという)14と、メモリ16と、モードレジスタ18と、シーケンサ20とを備えている。
FIG. 1 is a schematic configuration diagram of an embodiment of a general-purpose external interface according to the present invention. A general-purpose external interface (hereinafter referred to as a general-purpose external I / F) 10 shown in FIG. 1 is an interface circuit that is mounted on the
LSI22と外部LSI24とは、外部バスを介して互いに接続される。この場合、LSI22と外部バスとは、汎用外部I/F10の外部バスI/F14を介して互いに接続される。また、汎用外部I/F10が搭載されるLSI22は、何ら限定されるわけではないが、例えば図5に示すように、CPU62、RAM64、ROM66、タイマ68、割り込みコントローラ70、汎用I/O72等のような内部回路を備えており、これらの内部回路は、内部バス76を介して互いに接続されている。
The
汎用外部I/F10は、接続される外部LSI24に対応する動作モードで動作するように設定される。例えば、外部LSI24がSRAM(スタティックRAM)である場合、汎用外部I/F10は、SRAM専用の外部インターフェイスとして機能するように設定される。また、外部LSI24がDRAM(ダイナミックRAM)である場合にはDRAM専用の外部インターフェイスとして機能し、CPUである場合にはCPU専用の外部インターフェイスとして機能するように設定される。
The general-purpose external I /
以下、汎用外部I/F10の各構成要素について説明する。
Hereinafter, each component of the general-purpose external I /
内部バスI/F12は、汎用外部I/F10と内部バスとの間のやり取りを行う。内部バスI/F12は内部バスと相互に接続されており、その出力信号は、モードレジスタ18、シーケンサ20および外部バスI/F14に入力されている。
The internal bus I /
外部バスI/F14は、汎用外部I/F10と外部バスとの間のやり取りを行う。外部バスI/F14は外部バスと相互に接続されており、その出力信号は、内部バスI/F12およびシーケンサ20に入力されている。
The external bus I /
メモリ16は、汎用外部I/F10の動作モードに対応する外部バスI/F14の動作パターンを記憶する。メモリ16はシーケンサ20と相互に接続されており、その出力信号すなわち動作パターンは外部バスI/F14に入力されている。なお、メモリ16は、汎用外部I/F10が使用中でない場合には、LSI22の内部回路により、内部バス、内部バスI/F12およびシーケンサ20を介してアクセスされる汎用的な内部メモリとして使用することも可能である。
The
モードレジスタ18は、汎用外部I/F10の動作モードを設定(決定)するもので、モードレジスタ18には、与えられるコマンドに対応する外部バスI/F14の動作パターンが記憶されているメモリ16のアドレスが記憶される。モードレジスタ18には内部バスI/F12の出力信号が入力され、その出力信号すなわちアドレスはシーケンサ20に入力されている。
The mode register 18 sets (determines) the operation mode of the general-purpose external I /
シーケンサ20は、与えられるコマンドに対応してモードレジスタ18から供給されるメモリ16のアドレスに基づいてメモリ16をアクセスする。
The
なお、コマンドは、外部LSI24に対するリード、ライト等を含む各種のコマンドである。また、コマンドは、LSI22の内部回路から、内部バスおよび内部バスI/F12を介して与えられる他、LSI22の外部から、外部バスおよび外部バスI/F14を介して与えられたり、LSI22の内部回路やLSI22の外部から直接与えることも可能である。LSI22の内部回路から与えられるコマンドと、LSI22の外部から与えられるコマンドとが競合した場合には、LSI22の外部から与えられるコマンドを優先するのが好ましい。
Note that the commands are various commands including read, write, and the like for the
続いて、図2に示すフローチャートを参照しながら、汎用外部I/F10を使用する場合の動作を説明する。
Next, the operation when the general-purpose external I /
電源がオンする(S1)と、メモリ16に対し、汎用外部I/F10の動作モードに対応する各種の動作パターンが書き込まれる(S2)。メモリ16に書き込まれる動作パターンのデータは、例えばLSI22に搭載されているROMやLSI22の外部に接続されているROM等から読み出され、内部バスおよび内部バスI/F12を介して、または外部バスおよび外部バスI/F14を介してシーケンサ20に与えられる。そして、シーケンサ20により、与えられた各種の動作パターンがメモリ16の所定のアドレスに順次書き込まれる。
When the power is turned on (S1), various operation patterns corresponding to the operation mode of the general-purpose external I /
続いて、モードレジスタ18に対して、各種のコマンドに対応する外部バスI/F14の動作パターンが記憶されているメモリ16のアドレスが設定される(S3)。モードレジスタ18に設定されるアドレスのデータも同様に、LSI22に搭載されているROMやLSI22の外部に接続されているROM等から読み出され、内部バスおよび内部バスI/F12を介して、または外部バスおよび外部バスI/F14を介してモードレジスタ18に与えられ、各種のコマンドに対応するアドレスが順次書き込まれる。
Subsequently, the address of the
上記のように、メモリ16への動作パターンの書き込みと、モードレジスタ18へのアドレスの設定が完了すると、汎用外部I/F10は、従来の外部LSI24専用の外部インターフェイスと同様に機能する。
As described above, when the writing of the operation pattern to the
例えば、LSI22の内部回路から、内部バスおよび内部バスI/F12を介してコマンドが与えられる(S4)と、モードレジスタ18からは、このコマンドに対応するメモリ16のアドレスが出力される。シーケンサ20により、モードレジスタ18から供給されるメモリ16のアドレスに基づいてメモリ16がアクセスされ、メモリ16からは、コマンドに対応するアドレスに記憶されている動作パターンが出力される。これにより、外部バスI/F14は、メモリ16から供給される動作パターンに従って動作する。
For example, when a command is given from the internal circuit of the
汎用外部I/F10は、外部LSI24に対応する各種のコマンドに対応して、モードレジスタ18に設定するアドレスと、メモリ16に記憶する動作パターンとを適宜書き換えることにより、様々な外部LSI24に汎用的に対応することができる。また、汎用外部I/F10は、複数の外部I/Fを使用した場合と比べて、回路規模が小さく、単価を安く抑えることができる。また、CPUによる制御もほとんど不要であるため、汎用ポートのようにCPUの負荷が重くなることもないという利点がある。
The general-purpose external I /
例えば、外部LSI24としてメモリデバイスを接続する場合、SRAMであってもDRAMであっても、これらのメモリデバイスに専用の外部I/Fを設けることなく、汎用的に接続することが可能である。また、汎用外部I/F10は、任意の外部LSI24と汎用的に接続することができるため、例えば外部バス仕様が確定していない外部LSI24に対しても、仕様が確定した後から外部LSI24を接続して使用するといった使い方が可能である。
For example, when a memory device is connected as the
次に、本発明の汎用外部インターフェイスの具体例を挙げて説明する。 Next, a specific example of the general-purpose external interface of the present invention will be described.
図3は、本発明を適用する汎用外部インターフェイスの一実施形態の構成概略図である。同図は、外部LSIとして、SDRAM(同期型ダイナミックRAM)を接続する場合の汎用外部I/F30の内部構成を表したもので、AHBインターフェイス32と、外部バスI/F34と、メモリ36と、シーケンサ40とを備えている。
FIG. 3 is a schematic configuration diagram of an embodiment of a general-purpose external interface to which the present invention is applied. This figure shows an internal configuration of a general-purpose external I /
AHBインターフェイス32は、この汎用外部I/F30と英国のアーム社製のアームプロセッサの内部バスであるAHBバス(Advanced High-Performance Bus)との間のやり取りを行う。AHBインターフェイス32はAHBバスと相互に接続され、AHBインターフェイス32の制御信号端子はシーケンサ40と相互に接続されている。
The
なお、AHBインターフェイス32は、内部バスI/Fの機能に加えて、モードレジスタの機能も含む。このAHBインターフェイス32内のモードレジスタの部分には、タイマから出力される割り込み入力が入力されている。モードレジスタへのアドレスの設定は、このAHBインターフェイス32に割り当てられているアドレス空間に位置するレジスタに設定を行うことで行われる。
The
外部バスI/F34は、この汎用外部I/F30と外部バスとの間のやり取りを行うもので、4つのフリップフロップ42、44、46、48と、3ステートバッファ50とを備えている。なお、図面の煩雑さを避けるために、4個のフリップフロップだけを概念的に示しているが、実際には各々の信号のビット数に対応する個数のフリップフロップを備えているものとする。
The external bus I /
フリップフロップ42のデータ入力端子DにはAHBインターフェイス32のアドレス端子からの出力信号が入力され、そのイネーブル入力端子ENには、メモリ36から供給されるアドレスストローブが入力されている。また、フリップフロップ42のデータ出力端子は、外部バスに接続される出力端子MAと接続されている。
An output signal from the address terminal of the
フリップフロップ44のデータ入力端子DにはAHBインターフェイス32のデータ出力端子からの出力信号が入力され、そのイネーブル入力端子ENには、メモリ36から供給される出力データストローブが入力されている。また、フリップフロップ44のデータ出力端子からは信号DQOが出力されている。
An output signal from the data output terminal of the
また、フリップフロップ46のデータ入力端子Dには、外部バスに接続されるデータ入出力端子DQを介して供給される信号DQIが入力され、そのイネーブル入力端子ENには、メモリ36から供給される入力データストローブが入力されている。また、フリップフロップ46のデータ出力端子から出力される信号はAHBインターフェイス32のデータ入力端子に入力されている。
A signal DQI supplied via a data input / output terminal DQ connected to the external bus is input to the data input terminal D of the flip-
フリップフロップ44のデータ出力端子から出力される信号DQOは3ステートバッファに入力され、3ステートバッファ50の出力端子はデータ入出力端子DQと接続されている。また、フリップフロップ46のデータ入力端子Dも同じくデータ入出力端子DQに接続されている。また、3ステートバッファ50のイネーブル入力端子には、メモリ36から供給される出力データイネーブルが入力されている。
The signal DQO output from the data output terminal of the flip-
また、フリップフロップ48のデータ入力端子には、メモリ36から供給される信号RAS、CAS、CS、WE、UDQMおよびLDQMが入力され、フリップフロップ48の出力端子は、外部バスに接続される出力端子RAS、CAS、CS、WE、UDQMおよびLDQMと接続されている。
Further, signals RAS, CAS, CS, WE, UDQM, and LDQM supplied from the
続いて、メモリ36には、シーケンサ40からの出力信号が入力されている。メモリ36からの出力信号すなわち動作パターンは、シーケンサ40および4つのフリップフロップ42、44、46、48に入力されている。なお、メモリ36から出力される動作パターンの詳細については後述する。
Subsequently, an output signal from the
シーケンサ40には、メモリ36から出力される制御情報ビット、およびタイマから出力される割り込み入力が入力されている。前述の通り、シーケンサ40とAHBインターフェイス32の制御信号端子とは相互に接続されている。また、シーケンサ40からの出力信号はメモリ36に入力されている。なお、割り込み入力は、SDRAMのリフレッシュサイクルに対応する動作モードを指示するためのコマンドとして使用される。
The
また、メモリ36、シーケンサ40およびフリップフロップ42、44、46、48のクロック入力端子には、クロックが共通に入力されている。すなわち、これらのメモリ36、シーケンサ40およびフリップフロップ42、44、46、48はクロックに同期して動作する。
A clock is commonly input to clock input terminals of the
続いて、メモリ36に記憶される動作パターンについて説明する。
Next, the operation pattern stored in the
図4は、図3に示す汎用外部インターフェイスで用いられるメモリに記憶される動作パターンを表す一実施形態の概念図である。同図に示す動作パターンは、外部バスI/F34をSDRAMに対応する動作モードで動作させるためのもので、モードレジスタ(AHBインターフェイス32)から出力されるメモリ36のアドレスに対応して出力される1つの動作パターンである。この動作パターンは、MSB側の信号制御部と、LSB側の制御情報部とによって構成されている。
FIG. 4 is a conceptual diagram of an embodiment showing an operation pattern stored in a memory used in the general-purpose external interface shown in FIG. The operation pattern shown in the figure is for operating the external bus I /
信号制御部は、SDRAMの動作を制御する信号や、SDRAMのアドレス信号およびデータ信号をバッファリングするタイミングを制御する信号として使用される。信号制御部の各ビットには、MSB側から順に、図3に示す信号LDQM、UDQM、WE、CS、CAS、RAS、入力データストローブ、出力データイネーブル、出力データストローブ、アドレスストローブが割り当てられている。信号制御部の各ビットは外部バスI/F34に供給される。
The signal control unit is used as a signal for controlling the operation of the SDRAM and a signal for controlling the timing for buffering the address signal and the data signal of the SDRAM. Signal LDQM, UDQM, WE, CS, CAS, RAS, input data strobe, output data enable, output data strobe, and address strobe shown in FIG. 3 are allocated to each bit of the signal control unit in order from the MSB side. . Each bit of the signal control unit is supplied to the external bus I /
AHBインターフェイス32のアドレス端子からの出力信号は、クロックに同期してフリップフロップ42に保持され、アドレスストローブが‘1’の期間に出力端子MAから出力される。同様に、AHBインターフェイス32のデータ出力端子からの出力信号は、クロック信号に同期してフリップフロップ44に保持され、出力データストローブが‘1’の期間に信号DQOとして出力され、さらに出力データイネーブルが‘1’の期間にデータ入出力端子DQから外部バスに出力される。
An output signal from the address terminal of the
また、外部バスからデータ入出力端子DQを介して供給される信号DQIは、クロックに同期してフリップフロップ46に保持される。そして、入力データストローブが‘1’の期間にAHBインターフェイス32のデータ入力端子に供給される。また、メモリ36からフリップフロップ48に入力される信号LDQM、UDQM、WE、CS、CAS、RASは、クロックに同期してフリップフロップ48に保持されるのと同時に、出力端子LDQM、UDQM、WE、CS、CAS、RASから外部バスに出力される。
The signal DQI supplied from the external bus via the data input / output terminal DQ is held in the flip-
また、制御情報部は、ループ回数の制御およびコマンド終了情報を含む、制御情報ビットとして使用される。制御情報部の各ビットはシーケンサ40に供給される。
The control information part is used as a control information bit including control of the number of loops and command end information. Each bit of the control information part is supplied to the
ループ回数の制御は、メモリ36の同一アドレスから同一動作パターンを読み出す回数を設定するビットである。例えば、ループ回数として‘1’が設定されている場合には、シーケンサ40の制御により、クロックに同期して、メモリ36の同一アドレスから1回だけ動作パターンが読み出される。また、ループ回数として‘5’が設定されている場合には、クロックに同期して1クロック毎に、メモリ36の同一アドレスから5回連続して同一動作パターンが読み出される。
The control of the number of loops is a bit for setting the number of times of reading out the same operation pattern from the same address in the
また、コマンド終了情報は、コマンドに関連する一連の処理を終了するか、継続するかを設定するビットである。例えば、コマンド終了情報が‘0’の場合、シーケンサ40の制御により、クロックに同期して、メモリ36の次のアドレスから動作パターンが読み出され、次の動作パターンを使用して処理が続行される。これに対し、コマンド終了情報が‘1’の場合には、次の動作パターンの読み出しは行われず、コマンドに対応する一連の処理が終了される。
The command end information is a bit for setting whether to end or continue a series of processes related to the command. For example, when the command end information is “0”, the operation pattern is read from the next address of the
従って、この汎用外部I/Fでは、コマンドに対応してメモリ36に記憶されている複数の動作パターンを適宜組み合わせることによって、このコマンドに対応する動作パターンを、どのように複雑な動作パターンであっても発生させることが可能である。
Therefore, in this general-purpose external I / F, by combining a plurality of operation patterns stored in the
続いて、この汎用外部I/F30の動作を説明する。なお、メモリ36には、あらかじめSDRAMに対応する動作パターンが記憶され、モードレジスタ(すなわちAHBインターフェイス32)にもアドレスが設定されているものとする。
Subsequently, the operation of the general-purpose external I /
この汎用外部I/F30では、例えばLSIの内部回路から、内部バスおよびAHBインターフェイス32を介してコマンドが与えられると、このコマンドに対応するメモリ36のアドレスがAHBインターフェイス(モードレジスタ)32の制御信号端子から出力され、シーケンサ40に入力される。シーケンサ40では、クロックに同期して、AHBインターフェイス32から供給されるメモリ36のアドレスがアクセスされ、メモリ36からは、このコマンドに対応する動作パターンが読み出される。
In this general-purpose external I /
メモリ36から読み出された動作パターンのうち、信号LDQM、LUQM、WE、CS、CAS、RAS、入力データストローブ、出力データイネーブル、出力データストローブおよびアドレスストローブは、外部バスI/F34に供給され、前述のようにして処理される。また、メモリ36から読み出された動作パターンのうち、制御情報ビットはシーケンサ40に供給される。シーケンサ40では、制御情報ビットであるループ回数の制御およびコマンド終了情報を参照して、前述のようにコマンドに対応する一連の動作が制御される。
Of the operation patterns read from the
制御情報ビットのコマンド終了情報が‘1’になると、シーケンサ40からAHBインターフェイス32の制御信号端子に終了信号が供給される。AHBインターフェイス32は、終了信号を受信すると、LSIの内部回路に対してレディ信号を出力し、これにより、コマンドに対応する一連の処理が終了する。
When the command end information in the control information bit becomes “1”, the end signal is supplied from the
なお、SDRAMの場合にはリフレッシュ動作が必要である。リフレッシュ動作は、タイマから直接AHBインターフェイス32内のモードレジスタおよびシーケンサ40に入力される割り込み入力によって処理される。リフレッシュ動作も、上記動作と同様にコマンドの1つとして割り込み入力を与えることによって実現できる。すなわち、メモリ36に、リフレッシュ動作に対応する動作パターンを書き込み、これに対応するアドレスの情報をモードレジスタ(AHBインターフェイス32)に設定しておくことによって同様に実現可能である。
In the case of SDRAM, a refresh operation is necessary. The refresh operation is processed by a mode register in the
本発明は、基本的に以上のようなものである。
以上、本発明の汎用外部インターフェイスについて詳細に説明したが、本発明は上記実施形態に限定されず、本発明の主旨を逸脱しない範囲において、種々の改良や変更をしてもよいのはもちろんである。
The present invention is basically as described above.
The general external interface of the present invention has been described above in detail. However, the present invention is not limited to the above-described embodiment, and various modifications and changes may be made without departing from the spirit of the present invention. is there.
10、30 汎用外部インターフェイス
12 内部バスインターフェイス
14、34 外部バスインターフェイス
16、36 メモリ
18 モードレジスタ
20、40 シーケンサ
22、24、60、78、82 LSI
32 AHBインターフェイス
42、44、46、48 フリップフロップ
50 3ステートバッファ
62 CPU
64 RAM
66 ROM
68 タイマ
70 割り込みコントローラ
72 汎用I/O
74 外部I/F
76 内部バス
80 外部バス
84 マルチプレクサ
10, 30 General-purpose
32
64 RAM
66 ROM
68
74 External I / F
76
Claims (4)
前記第1の半導体集積回路の内部バスとの間のやり取りを行う内部バスインターフェイスと、前記第1の半導体集積回路と前記第2の半導体集積回路とを接続する外部バスとの間のやり取りを行う外部バスインターフェイスと、当該汎用外部インターフェイスの動作モードに対応する前記外部バスインターフェイスの動作パターンを記憶するメモリと、前記第1の半導体集積回路の内部回路から、前記内部バスおよび前記内部バスインターフェイスを介して与えられるコマンドに対応する前記外部バスインターフェイスの動作パターンが記憶されている前記メモリのアドレスを記憶するモードレジスタと、前記コマンドに対応して前記モードレジスタから供給される前記メモリのアドレスに基づいて前記メモリをアクセスするシーケンサとを備えることを特徴とする汎用外部インターフェイス。 A general-purpose external interface mounted on the first semiconductor integrated circuit for connecting the first semiconductor integrated circuit and the second semiconductor integrated circuit;
Exchanges between an internal bus interface that exchanges data with the internal bus of the first semiconductor integrated circuit and an external bus that connects the first semiconductor integrated circuit and the second semiconductor integrated circuit. An external bus interface, a memory for storing an operation pattern of the external bus interface corresponding to an operation mode of the general-purpose external interface, an internal circuit of the first semiconductor integrated circuit, and the internal bus and the internal bus interface A mode register for storing an address of the memory in which an operation pattern of the external bus interface corresponding to the command given is stored, and an address of the memory supplied from the mode register corresponding to the command A sequencer for accessing the memory; General purpose external interface, characterized in that to obtain.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003349117A JP2005115657A (en) | 2003-10-08 | 2003-10-08 | General purpose external interface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003349117A JP2005115657A (en) | 2003-10-08 | 2003-10-08 | General purpose external interface |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005115657A true JP2005115657A (en) | 2005-04-28 |
Family
ID=34541067
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003349117A Withdrawn JP2005115657A (en) | 2003-10-08 | 2003-10-08 | General purpose external interface |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005115657A (en) |
-
2003
- 2003-10-08 JP JP2003349117A patent/JP2005115657A/en not_active Withdrawn
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100360408B1 (en) | Semiconductor memory device having data masking pin for outputting the same signal as data strobe signal during read operation and memory system including the same | |
US20060090056A1 (en) | Dynamically setting burst length and type | |
JP2006228194A (en) | Composite memory chip capable of direct data transfer between internal memory devices and data transfer method | |
JP3883087B2 (en) | Semiconductor memory device and semiconductor memory circuit | |
JP2004536417A (en) | Memory device for performing addressing with different burst order in read and write operations | |
JPS62194563A (en) | Buffer storage device | |
EP0337385A2 (en) | Cache memory controller associated with a microprocessor | |
JP2005115657A (en) | General purpose external interface | |
US8074096B2 (en) | Semiconductor integrated circuit, memory system, memory controller and memory control method | |
JP2008251060A (en) | Semiconductor memory device | |
JPH0542525Y2 (en) | ||
KR20000035167A (en) | Memory, memory address transmission method and memory interface | |
JPH01220286A (en) | Write control circuit | |
JP4749689B2 (en) | Memory control circuit and memory control method | |
JP2716284B2 (en) | Semiconductor integrated circuit | |
JP2000132451A (en) | Memory control circuit | |
JP2005228142A (en) | Memory control circuit | |
KR20030023337A (en) | Test mode entry method of semiconductor memory device and disposition of test mode line using it | |
JP2001273014A (en) | Programmable controller | |
JPH0578118B2 (en) | ||
JP3563340B2 (en) | Memory controller | |
KR100364800B1 (en) | data input/output control unit for semicorductor memory device | |
JP4008196B2 (en) | Register control device and multi-CPU system | |
JPS6325885A (en) | Memory access system | |
JPH03214275A (en) | Semiconductor integrated circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20070109 |