JP3732128B2 - Memory control device - Google Patents

Memory control device Download PDF

Info

Publication number
JP3732128B2
JP3732128B2 JP2001245498A JP2001245498A JP3732128B2 JP 3732128 B2 JP3732128 B2 JP 3732128B2 JP 2001245498 A JP2001245498 A JP 2001245498A JP 2001245498 A JP2001245498 A JP 2001245498A JP 3732128 B2 JP3732128 B2 JP 3732128B2
Authority
JP
Japan
Prior art keywords
clock
memory
input
delay
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2001245498A
Other languages
Japanese (ja)
Other versions
JP2003058415A (en
Inventor
智裕 尾松
忠男 松浦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP2001245498A priority Critical patent/JP3732128B2/en
Publication of JP2003058415A publication Critical patent/JP2003058415A/en
Application granted granted Critical
Publication of JP3732128B2 publication Critical patent/JP3732128B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、クロックに同期して動作するクロック同期式メモリの書き込みおよび読み出しをクロックの位相を制御して行うメモリ制御装置に関する。
【0002】
【従来の技術】
クロックに同期して動作するクロック同期式メモリ(例えば、シンクロナスD−RAM)において、基準クロックの1サイクル毎に連続してデータを読み出す場合には、クロック同期式メモリから読み出しデータ信号を入力レジスタに入力するまでの最大遅延時間が基準クロックの1サイクル以下である必要がある。
【0003】
しかし、クロック同期式メモリは、高速アクセスする際に、クロック同期式メモリから読み出しデータ信号を入力レジスタに入力するまでの最大遅延時間が1サイクル以下とならない場合がある。
【0004】
そこで、特開2000−10849号公報では、図11に示すように、メモリ制御信号レジスタに入力されたメモリアクセス制御信号をクロック同期式メモリに出力する出力クロックと、クロック同期式メモリから入力データレジスタに入力された読み出しデータ信号を出力する入力クロックとを有し、それぞれのクロックは、基準クロックからクロック位相制御器によってアクセスタイムが最適となるように位相をずらして生成するものを開示する。
【0005】
これによれば、クロック同期式メモリからデータを入力レジスタに入力するまでの最大遅延時間が1サイクル以下とならない場合であっても、最適なアクセスタイムを自動的に設定することができる。
【0006】
【発明が解決しようとする課題】
しかしながら、上述の従来技術では、図12に示すようように、出力データレジスタ14に入力される出力クロック107は基準クロック103となっている。このため、図13に示すように、クロック同期式メモリ13を書き込みおよび読み出し(アクセス)する際に、出力クロック107の立ち上がり(基準クロック103の立ち上がりからt時間後)からの制御信号有効時間dtRAとクロック同期式メモリ13のセットアップ時間tMSTとクロック同期式メモリ13のデータ信号有効時間dtMAと入力データレジスタ16のセットアップ時間tR2STとを足した時間が1クロック時間tCLKより長くなって、読み出しデータ102は2t時間の基準クロック103の立ち上がりで取り込むことができずに、次の3t時間の基準クロック103の立ち上がりで取り込むこととなる。この結果として、クロック同期式メモリ13のアクセスタイムが長くなってしまうという問題点がある。
【0007】
本発明は、このような状況を鑑みてなされたもので、クロックに同期して動作するクロック同期式メモリにおいて、クロック同期式メモリにアクセスする際に、クロック同期式メモリからデータ出力の最大遅延時間が1サイクル以下とならない場合であっても、アクセスタイムを増加させないメモリ制御装置を提供することを課題とする。
【0008】
【課題を解決するための手段】
前述の課題を解決するため、本発明に係るメモリ制御装置は、次のような手段を採用する。
【0009】
本発明の第1の要旨は、クロック同期式メモリを動作させるメモリクロックと、メモリ制御信号レジスタに入力されたメモリアクセス制御信号をクロック同期式メモリに出力するとともに、出力データレジスタに入力された書き込みデータ信号をクロック同期式メモリに出力する出力クロックと、クロック同期式メモリから入力データレジスタに入力された読み出しデータ信号を出力する入力クロックとを生成するクロック位相制御器を有し、
このクロック位相制御器は、それぞれのクロックを、基準クロックから複数の遅延器によって位相をずらして生成される複数の遅延クロックを、メモリクロック、出力クロックおよび入力クロックに対応した切替器に入力し、メモリクロック、出力クロックおよび入力クロックに対応した位相制御信号によって1の遅延クロックを選択することにより生成するものであり、
出力クロックは、基準クロックの立ち上がりからのメモリアクセス制御信号有効時間とメモリ制御信号レジスタのセットアップ時間を足した時間を遅延させ、メモリクロックは、基準クロックの立ち上がりから出力クロックの立ち上がりまでの時間とメモリ制御信号レジスタの制御信号有効時間とクロック同期式メモリのセットアップ時間を足した時間を遅延させ、入力クロックは、基準クロックの立ち上がりからメモリクロックの立ち上がりまでの時間とクロック同期式メモリのデータ信号有効時間と入力データレジスタのセットアップ時間とを足した時間を遅延させることを特徴とするクロック制御装置に関する。
【0010】
本発明の第1の要旨によれば、メモリクロックはクロック同期式メモリを動作させ、出力クロックは、メモリ制御信号レジスタに入力されたメモリアクセス制御信号をクロック同期式メモリに出力するとともに、出力データレジスタに入力された書き込みデータ信号をクロック同期式メモリに出力させ、入力クロックはクロック同期式メモリから入力データレジスタに入力された読み出しデータ信号を出力させる。
それぞれのクロックは、基準クロックから複数の遅延器によって位相をずらして生成される複数の遅延クロックを、メモリクロック、出力クロックおよび入力クロックに対応した切替器に入力し、メモリクロック、出力クロックおよび入力クロックに対応した位相制御信号によって1の遅延クロックを選択することにより生成される。
出力クロックは、基準クロックの立ち上がりからのメモリアクセス制御信号有効時間とメモリ制御信号レジスタのセットアップ時間を足した時間を遅延され、メモリクロックは、基準クロックの立ち上がりから出力クロックの立ち上がりまでの時間とメモリ制御信号レジスタの制御信号有効時間とクロック同期式メモリのセットアップ時間を足した時間を遅延され、入力クロックは、基準クロックの立ち上がりからメモリクロックの立ち上がりまでの時間とクロック同期式メモリのデータ信号有効時間と入力データレジスタのセットアップ時間とを足した時間を遅延される。
【0011】
本発明の第2の要旨は、クロック位相制御器の遅延器は、メモリクロック、出力クロックおよび入力クロックに対応して異なる遅延特性を有することを特徴とする第1の要旨のクロック制御装置に関する。
【0012】
本発明の第2の要旨によれば、メモリクロック、出力クロックおよび入力クロックは、それぞれ異なる遅延特性を有する遅延器によって遅延される。
【0013】
本発明の第3の要旨は、クロック位相制御器は、メモリクロック、出力クロックおよび基準クロックを入力して出力クロックに対応する位相制御信号で1のクロックを選択して遅延器に出力する切替器と、出力クロック、入力クロックおよび基準クロックを入力してメモリクロックに対応する位相制御信号で1のクロックを選択して遅延器に出力する切替器と、出力クロック、メモリクロックおよび基準クロックを入力して入力クロックに対応する位相制御信号で1のクロックを選択して遅延器に出力する切替器とを付設したことを特徴とする請求項2に記載のクロック制御装置に関する。
【0014】
本発明の第3の要旨によれば、出力クロックに対応する遅延器の初段の遅延器に入力するクロックが、基準クロック、メモリクロックおよび入力クロックが入力される切替器から出力クロック位相制御信号によって選択され、メモリクロックに対応する遅延器の初段の遅延器に入力するクロックが、基準クロック、出力クロックおよび入力クロックが入力される切替器からメモリクロック位相制御信号によって選択され、入力クロックに対応する遅延器の初段の遅延器に入力するクロックが、基準クロック、出力クロックおよびメモリクロックが入力される切替器から入力クロック位相制御信号によって選択される。
【0015】
【発明の実施の形態】
以下、本発明に係るメモリ制御装置の実施の形態を図面に基づいて説明する。
【0016】
図1〜図7は、本発明に係るメモリ制御装置の実施の形態(1)を説明するものである。
図1は、本発明に係るメモリ制御装置1の構成を示すブロック図である。
メモリ制御装置1は、基準クロック103を入力して、この入力された基準クロック103を出力クロック位相制御信号104、入力クロック位相信号105およびメモリクロック位相制御信号106によって位相をずらして、出力クロック107、入力クロック108およびメモリクロック109を生成して出力するクロック位相制御器2と、メモリアクセス制御信号100を入力して出力クロック107によって制御信号110をクロック同期式メモリ3(以下、同期メモリ3という)に出力するメモリ制御信号レジスタ4と、書き込みデータ信号101を入力して出力クロック107によってデータ信号111を出力する出力データレジスタ5と、同期メモリ3が出力するデータ信号111を入力して入力クロック108によって読み出しデータ信号102を出力する入力データレジスタ6とから構成されている。
【0017】
クロック位相制御器2は、図2に示すように、基準クロック103を遅延させる直列に接続された複数の遅延器21〜2nと、出力クロック位相制御信号104を入力して遅延器21〜2nのそれぞれから出力される遅延クロック211〜21nおよび遅延クロック210(基準クロックに対して0遅延)を選択して出力クロック107(1の遅延クロック)を出力する切替器251と、入力クロック位相制御信号105を入力して遅延器21〜2nのそれぞれから出力される遅延クロック211〜21nおよび遅延クロック210を選択して入力クロック108(1の遅延クロック)を出力する切替器261と、メモリクロック位相制御信号106を入力して遅延器21〜24のそれぞれから出力される遅延クロック211〜21nおよび遅延クロック210を選択してメモリクロック109(1の遅延クロック)を出力する切替器271とから構成されている。
【0018】
ここで、遅延器21〜2nの個数(n)は、遅延器21〜2nの各遅延器の遅延時間をDおよび基準クロック103の周波数をfとして、n≧(1/f)/Dとなっている。なお、遅延器21〜2nが半導体素子である場合には、周囲温度等による電気的特性の変化によって遅延時間が増減するが、この電気的特性の変化を考慮して、遅延器21〜2nの個数(n)は、最小遅延時間をDminとして、n≧(1/f)/Dminとすることが望ましい。
【0019】
メモリ制御信号レジスタ4は、図3に示すように、メモリアクセス制御信号100が入力され、入力される出力クロック107に同期して制御信号110を出力するレジスタ41から構成されている。
【0020】
出力データレジスタ5は、図4に示すように、書き込みデータ信号101が入力され、入力される出力クロック107に同期してデータ信号111を出力するレジスタ51から構成されている。
【0021】
入力データレジスタ6は、図5に示すように、同期メモリ3から出力されるデータ信号111が入力され、入力される入力クロック108に同期して読み込みデータ信号102を出力するレジスタ61から構成されている。
【0022】
次に、本発明に係るメモリ制御装置の動作について図6〜図7に基づいて説明する。
図6は、クロック位相制御器2における、基準クロック103と遅延クロック210〜21nのタイミングを示す図である。遅延クロック210は0遅延であって、遅延クロック211〜21nはD遅延〜nD遅延となっている。
【0023】
図14は、従来の同期メモリへアクセスする際のタイミングを示す図である。まず、図示しない制御部に基準クロック103の時刻0に同期したメモリアクセス制御信号100を入力するとともに、同期メモリに基準クロック103の時刻t(基準クロック103の1サイクル時間)に同期した制御信号110を出力する。次に、同期メモリは制御信号110を時刻2tで受け取りデータ信号111を出力する。そして、図示しない制御部はデータ信号111を時刻3tで受け取り図示しない上位装置に読み出しデータ信号102を出力する。ここで、基準クロック103の周波数は、同期メモリのデータ信号有効時間dtMAと図示しない制御部のセットアップ時間tR2STとを足した時間が1サイクル以下となるように設定される。
【0024】
図7は、本発明に係るメモリ制御装置1の同期メモリ3へアクセスする際のタイミングを示す図である。まず、メモリ制御レジスタ4に基準クロック103の時刻0に同期したメモリアクセス制御信号100を入力する。次に、同期メモリ3に出力クロック107の立ち上がりに同期して制御信号110を出力する。ここで、出力クロック107の立ち上がりは、基準クロック103の時刻0からのメモリアクセス制御信号有効時間dtMAとメモリ制御信号レジスタ4のセットアップ時間dtMAとを足した時間dtOC以上遅延されている。次に、同期メモリ3は制御信号110をメモリクロック109の立ち上がりで受け取りデータ信号111を出力する。ここで、メモリクロック109の立ち上がりは、時間dtOCとメモリ制御信号レジスタ4の制御信号有効時間dtRAと同期メモリ3のセットアップ時間tMSTとを足した時間dtMC以上遅延されている。そして、入力データレジスタ4はデータ信号111を入力クロック108の立ち上がりで受け取る。ここで、入力クロック108の立ち上がりは、時間dtMCと同期メモリ3のデータ信号有効時間dtMAと入力データレジスタのセットアップ時間tR2STとを足した時間dtIC以上遅延されている。
【0025】
なお、メモリ制御信号レジスタ4と出力データレジスタ5は、出力クロック107に同期するレジスタであるため、時間dtMCは、メモリ制御信号レジスタ4の出力クロック107の立ち上がりから制御信号110が有効となる時間dtRAと、出力データレジスタ5の出力クロック107の立ち上がりからデータ信号111が有効となる時間dtR1Aを比較して大きい値を用いて求められる。
【0026】
これによれば、入力データレジスタ6から出力する読み出しデータ信号102は、基準クロック107の時刻2tに対して時間tIMSTのセットアップ時間を確保することができ、アクセスタイムを短縮するとともに同期メモリ3のデータ転送タイミングマージンを向上させることができる。
【0027】
なお、出力クロック107の遅延時間をdtout、入力クロック108の遅延時間をdtinおよびメモリクロック109の遅延時間をdtmenとすると、遅延器21〜2nの最小遅延時間は、dtout、dtinおよびdtmemの最大公約数となる。
【0028】
したがって、例えば、出力クロック107の遅延時間を3A、入力クロック108の遅延時間を5Aおよびメモリクロック109の遅延時間を7Aとして、遅延器21〜2nは、最小遅延時間がAの特性を有する遅延器によって構成されるとすると、基準クロック103の1サイクルの時間tCLKが70Aである場合に、遅延器は70個以上必要となる。
【0029】
より詳細には、図8〜図9に示すように、最小遅延時間がAの遅延器21〜2nから構成されているとすると、出力クロック107に対応して遅延クロック213は基準クロック103から3個の遅延器によって遅延され、入力クロック108に対応して遅延クロック215は、基準クロック103から5個の遅延器によって遅延され、メモリクロック109に対応して遅延クロック217は基準クロック103を7個の遅延器によって遅延される。
【0030】
次に、本発明に係るメモリ制御装置の実施の形態(2)について説明する。図8は、本発明に係るメモリ制御装置の実施の形態(2)を示すものである。なお、実施の形態(1)と同様の説明は、同一符号を付すことで詳細を省略する。
【0031】
この実施の形態(2)のメモリ制御装置600は、図8に示すように、実施の形態(1)の遅延器を、出力クロック107、メモリクロック109および入力クロック108に対応してそれぞれに設けた構成のものである。ここで、出力クロック107に対応する遅延器601〜60n、メモリクロック109に対応する遅延器621〜62nおよび入力クロック108に対応する遅延器641〜64nは、それぞれに異なる遅延特性を有している。
【0032】
この実施の形態(2)によると、出力クロック107の遅延時間を3A、入力クロック108の遅延時間を5A、メモリクロック109の遅延時間を7Aおよび基準クロック103の1サイクル時間を70Aとすると、遅延器601〜60nは24個、遅延器621〜62nは14個、遅延器641〜64nは10個で計48個の遅延器が必要となって、遅延器の個数を増さずにアクセスタイムを向上させることができる。
【0033】
次に、本発明に係るメモリ制御装置の実施の形態(3)について説明する。図9は、本発明に係るメモリ制御装置の実施の形態(3)を示すものである。なお、実施の形態(1)と同様の説明は、同一符号を付すことで詳細を省略する。
【0034】
この実施の形態(3)のメモリ制御装置900は、図9に示すように、実施の形態(1)において、メモリクロック107、出力クロック107および基準クロック103を入力して出力クロック位相制御信号104で1のクロックを選択して遅延器901〜90nの初段の遅延器901に出力する切替器952と、出力クロック107、入力クロック108および基準クロック103を入力してメモリクロック位相制御信号106で1のクロックを選択して遅延器921〜92nの初段の遅延器921に出力する切替器953と、出力クロック107、メモリクロック109および基準クロック103を入力して入力クロック位相制御信号105で1のクロックを選択して遅延器941〜94nの初段の遅延器941に出力する切替器954とを付設した構成のものである。
【0035】
この実施の形態(3)によると、例えば、図7に示す場合では、出力クロック107は基準クロック103から位相がずらされ、メモリクロック108が出力クロック107から位相がずらされるとすると、時間dtMCから時間dtOCを引いた時間メモリクロック109が予め遅延し、入力クロック108がメモリクロック109から位相がずらされるとすると、時間dtICから時間dtMCを引いた時間入力クロック108が予め遅延することとなって、さらに遅延器の個数を増さずにアクセスタイムを向上させることができる。
【0036】
【発明の効果】
以上のように、本発明の第1の要旨によれば、メモリクロックはクロック同期式メモリを動作させ、出力クロックは、メモリ制御信号レジスタに入力されたメモリアクセス制御信号をクロック同期式メモリに出力するとともに、出力データレジスタに入力された書き込みデータ信号をクロック同期式メモリに出力させ、入力クロックはクロック同期式メモリから入力データレジスタに入力された読み出しデータ信号を出力させる。
それぞれのクロックは、基準クロックから複数の遅延器によって位相をずらして生成される複数の遅延クロックを、メモリクロック、出力クロックおよび入力クロックに対応した切替器に入力し、メモリクロック、出力クロックおよび入力クロックに対応した位相制御信号によって1の遅延クロックを選択することにより生成される。
出力クロックは、基準クロックの立ち上がりからのメモリアクセス制御信号有効時間とメモリ制御信号レジスタのセットアップ時間を足した時間を遅延され、メモリクロックは、基準クロックの立ち上がりから出力クロックの立ち上がりまでの時間とメモリ制御信号レジスタの制御信号有効時間とクロック同期式メモリのセットアップ時間を足した時間を遅延され、入力クロックは、基準クロックの立ち上がりからメモリクロックの立ち上がりまでの時間とクロック同期式メモリのデータ信号有効時間と入力データレジスタのセットアップ時間とを足した時間を遅延される。
これによって、クロック同期式メモリにアクセスする際に、クロック同期式メモリからデータ出力の最大遅延時間が1サイクル以下とならない場合であっても、アクセスタイムを増加させない効果がある。
【0037】
本発明の第2の要旨によれば、第1の要旨のメモリ制御装置において、メモリクロック、出力クロックおよび入力クロックは、それぞれ異なる遅延特性を有する遅延器によって遅延される。これによって、遅延器の個数を増さずにアクセスタイムを向上させることができる効果がある。
【0038】
本発明の第3の要旨によれば、第2の要旨のメモリ制御装置において、出力クロックに対応する遅延器の初段の遅延器に入力するクロックが、基準クロック、メモリクロックおよび入力クロックが入力される切替器から出力クロック位相制御信号によって選択され、メモリクロックに対応する遅延器の初段の遅延器に入力するクロックが、基準クロック、出力クロックおよび入力クロックが入力される切替器からメモリクロック位相制御信号によって選択され、入力クロックに対応する遅延器の初段の遅延器に入力するクロックが、基準クロック、出力クロックおよびメモリクロックが入力される切替器から入力クロック位相制御信号によって選択される。これによって、さらに遅延器の個数を増さずにアクセスタイムを向上させることができる効果がある。
【図面の簡単な説明】
【図1】本発明に係るメモリ制御装置の実施の形態(1)を示すブロック図である。
【図2】図1のクロック位相制御器を示すブロック図である。
【図3】図1のメモリ制御レジスタを示すブロック図である。
【図4】図1の出力データレジスタを示すブロック図である。
【図5】図1の入力データレジスタを示すブロック図である。
【図6】図2の遅延クロックのタイミングを示す図である。
【図7】図1のメモリ制御装置の信号タイミングを示す図である。
【図8】図1の遅延器を示すブロック図である。
【図9】図8の遅延クロックのタイミングを示す図である。
【図10】本発明に係るメモリ制御装置の実施の形態(2)を示すブロック図である。
【図11】本発明に係るメモリ制御装置の実施の形態(3)を示すブロック図である。
【図12】従来のメモリ制御装置の示すブロック図である。
【図13】従来のメモリ制御装置の信号タイミングを示す図である。
【図14】従来のメモリ制御装置の信号タイミングを示す図である。
【符号の説明】
1 メモリ装置
2 クロック位相制御器
3 同期メモリ
4 メモリ制御信号レジスタ
5 出力データレジスタ
6 入力データレジスタ
21〜2n 遅延器
100 メモリアクセス制御信号
101 書き込みデータ信号
102 読み出しデータ信号
103 基準クロック
104 出力クロック位相制御信号
105 入力クロック位相制御信号
106 メモリクロック位相制御信号
107 出力クロック
108 入力クロック
109 メモリクロック
110 制御信号
111 データ信号
210〜21n 遅延クロック
251 切替器
261 切替器
271 切替器
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a memory control device that performs writing and reading of a clock synchronous memory that operates in synchronization with a clock by controlling the phase of the clock.
[0002]
[Prior art]
In a clock synchronous memory (for example, synchronous D-RAM) that operates in synchronization with a clock, when data is read continuously every cycle of the reference clock, a read data signal is input from the clock synchronous memory to an input register. It is necessary that the maximum delay time until the signal is input to 1 cycle or less of the reference clock.
[0003]
However, when the clock synchronous memory is accessed at high speed, the maximum delay time until the read data signal is input from the clock synchronous memory to the input register may not be one cycle or less.
[0004]
Therefore, in Japanese Patent Laid-Open No. 2000-10849, as shown in FIG. 11, an output clock for outputting a memory access control signal input to the memory control signal register to the clock synchronous memory, and an input data register from the clock synchronous memory And an input clock for outputting the read data signal input to the clock, and each clock is generated by shifting the phase from the reference clock so that the access time is optimized by the clock phase controller.
[0005]
According to this, even when the maximum delay time until data is input from the clock synchronous memory to the input register does not become one cycle or less, the optimum access time can be automatically set.
[0006]
[Problems to be solved by the invention]
However, in the above-described prior art, the output clock 107 input to the output data register 14 is the reference clock 103 as shown in FIG. For this reason, as shown in FIG. 13, when the clock synchronous memory 13 is written and read (accessed), the control signal effective time dtRA from the rising edge of the output clock 107 (t time after the rising edge of the reference clock 103) The sum of the setup time tMST of the clock synchronous memory 13, the data signal valid time dtMA of the clock synchronous memory 13 and the setup time tR2ST of the input data register 16 becomes longer than one clock time tCLK, and the read data 102 is 2t. Instead of being taken in at the rising edge of the reference clock 103 for the time, it is taken in at the rising edge of the reference clock 103 for the next 3t time. As a result, there is a problem that the access time of the clock synchronous memory 13 becomes long.
[0007]
The present invention has been made in view of such circumstances, and in a clock synchronous memory operating in synchronization with a clock, when accessing the clock synchronous memory, the maximum delay time of data output from the clock synchronous memory It is an object of the present invention to provide a memory control device that does not increase the access time even when the cycle does not become one cycle or less.
[0008]
[Means for Solving the Problems]
In order to solve the above-described problems, the memory control device according to the present invention employs the following means.
[0009]
The first aspect of the present invention is to output a memory clock for operating a clock synchronous memory and a memory access control signal input to the memory control signal register to the clock synchronous memory and write input to the output data register. A clock phase controller that generates an output clock that outputs a data signal to the clock synchronous memory and an input clock that outputs a read data signal input from the clock synchronous memory to the input data register;
This clock phase controller inputs a plurality of delay clocks generated by shifting the phase of each clock from a reference clock by a plurality of delay units to a switch corresponding to a memory clock, an output clock, and an input clock, It is generated by selecting one delay clock by a phase control signal corresponding to a memory clock, an output clock and an input clock,
The output clock delays the sum of the memory access control signal valid time from the rising edge of the reference clock and the setup time of the memory control signal register, and the memory clock is the time from the rising edge of the reference clock to the rising edge of the output clock. Delays the sum of the control signal valid time of the control signal register and the setup time of the clock synchronous memory, and the input clock is the time from the rise of the reference clock to the rise of the memory clock and the data signal valid time of the clock synchronous memory Further, the present invention relates to a clock control device that delays a time obtained by adding a setup time of an input data register.
[0010]
According to the first aspect of the present invention, the memory clock operates the clock synchronous memory, the output clock outputs the memory access control signal input to the memory control signal register to the clock synchronous memory, and the output data The write data signal input to the register is output to the clock synchronous memory, and the input clock outputs the read data signal input to the input data register from the clock synchronous memory.
As for each clock, a plurality of delayed clocks generated by shifting the phase from the reference clock by a plurality of delay units are input to a switch corresponding to the memory clock, output clock and input clock, and the memory clock, output clock and input It is generated by selecting one delay clock by a phase control signal corresponding to the clock.
The output clock is delayed by the sum of the memory access control signal valid time from the rise of the reference clock and the setup time of the memory control signal register, and the memory clock is the time from the rise of the reference clock to the rise of the output clock and the memory. Delay time is the sum of the control signal valid time of the control signal register and the setup time of the clock synchronous memory, and the input clock is the time from the rise of the reference clock to the rise of the memory clock and the data signal valid time of the clock synchronous memory And the input data register setup time are delayed.
[0011]
A second aspect of the present invention relates to the clock control device according to the first aspect, wherein the delay unit of the clock phase controller has different delay characteristics corresponding to the memory clock, the output clock, and the input clock.
[0012]
According to the second aspect of the present invention, the memory clock, the output clock, and the input clock are delayed by delay devices having different delay characteristics.
[0013]
According to a third aspect of the present invention, a clock phase controller is a switch that inputs a memory clock, an output clock, and a reference clock, selects one clock with a phase control signal corresponding to the output clock, and outputs the selected clock to a delay device. A switch that inputs an output clock, an input clock, and a reference clock, selects one clock by a phase control signal corresponding to the memory clock, and outputs the selected clock to a delay device; and inputs an output clock, a memory clock, and a reference clock 3. The clock control device according to claim 2, further comprising a switch for selecting one clock with a phase control signal corresponding to the input clock and outputting the selected clock to the delay unit.
[0014]
According to the third aspect of the present invention, the clock input to the first delay unit of the delay unit corresponding to the output clock is output from the switch to which the reference clock, the memory clock, and the input clock are input by the output clock phase control signal. The clock that is selected and input to the first delay unit of the delay unit corresponding to the memory clock is selected by the memory clock phase control signal from the switch to which the reference clock, the output clock, and the input clock are input, and corresponds to the input clock The clock input to the first delay unit of the delay unit is selected by the input clock phase control signal from the switch to which the reference clock, output clock and memory clock are input.
[0015]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of a memory control device according to the present invention will be described below with reference to the drawings.
[0016]
1 to 7 illustrate an embodiment (1) of a memory control device according to the present invention.
FIG. 1 is a block diagram showing a configuration of a memory control device 1 according to the present invention.
The memory control device 1 receives the reference clock 103, shifts the phase of the input reference clock 103 by the output clock phase control signal 104, the input clock phase signal 105, and the memory clock phase control signal 106, and outputs the output clock 107. The clock phase controller 2 that generates and outputs the input clock 108 and the memory clock 109, and the memory access control signal 100 is input and the control signal 110 is transferred to the clock synchronous memory 3 (hereinafter referred to as synchronous memory 3) by the output clock 107. ), The memory control signal register 4 that outputs the write data signal 101, the output data register 5 that outputs the data signal 111 by the output clock 107, and the data signal 111 that the synchronous memory 3 outputs. Read by 108 Is constructed from the input data register 6 for outputting the data signal 102.
[0017]
As shown in FIG. 2, the clock phase controller 2 receives a plurality of delay devices 21 to 2n connected in series for delaying the reference clock 103, and an output clock phase control signal 104 to input the delay devices 21 to 2n. A switch 251 for selecting the delay clocks 211 to 21n and the delay clock 210 (0 delay with respect to the reference clock) output from each of them and outputting the output clock 107 (1 delay clock), and the input clock phase control signal 105 , A switch 261 that selects the delay clocks 211 to 21n and the delay clock 210 output from the delay units 21 to 2n and outputs the input clock 108 (one delay clock), and a memory clock phase control signal 106, the delay clocks 211 to 21n output from the delay devices 21 to 24, respectively, Select an extended clock 210 and a switch 271 for outputting a memory clock 109 (first delay clock).
[0018]
Here, the number (n) of the delay devices 21 to 2n is n ≧ (1 / f) / D, where D is the delay time of each delay device of the delay devices 21 to 2n and f is the frequency of the reference clock 103. ing. When the delay devices 21 to 2n are semiconductor elements, the delay time increases or decreases due to a change in electrical characteristics due to an ambient temperature or the like, but in consideration of the change in the electrical properties, the delay devices 21 to 2n The number (n) is preferably n ≧ (1 / f) / Dmin, where Dmin is the minimum delay time.
[0019]
As shown in FIG. 3, the memory control signal register 4 includes a register 41 that receives a memory access control signal 100 and outputs a control signal 110 in synchronization with an input output clock 107.
[0020]
As shown in FIG. 4, the output data register 5 includes a register 51 that receives a write data signal 101 and outputs a data signal 111 in synchronization with an input output clock 107.
[0021]
As shown in FIG. 5, the input data register 6 includes a register 61 that receives the data signal 111 output from the synchronous memory 3 and outputs the read data signal 102 in synchronization with the input clock 108 input. Yes.
[0022]
Next, the operation of the memory control device according to the present invention will be described with reference to FIGS.
FIG. 6 is a diagram showing the timing of the reference clock 103 and the delayed clocks 210 to 21n in the clock phase controller 2. The delay clock 210 is 0 delay, and the delay clocks 211 to 21n are D delay to nD delay.
[0023]
FIG. 14 is a diagram showing timing when accessing a conventional synchronous memory. First, a memory access control signal 100 synchronized with time 0 of the reference clock 103 is input to a control unit (not shown), and a control signal 110 synchronized with time t of the reference clock 103 (one cycle time of the reference clock 103) is input to the synchronous memory. Is output. Next, the synchronous memory receives the control signal 110 at time 2t and outputs the data signal 111. Then, the control unit (not shown) receives the data signal 111 at time 3t and outputs the read data signal 102 to a higher-level device (not shown). Here, the frequency of the reference clock 103 is set such that the time obtained by adding the data signal valid time dtMA of the synchronous memory and the setup time tR2ST of the control unit (not shown) is one cycle or less.
[0024]
FIG. 7 is a diagram showing timings when accessing the synchronous memory 3 of the memory control device 1 according to the present invention. First, the memory access control signal 100 synchronized with the time 0 of the reference clock 103 is input to the memory control register 4. Next, the control signal 110 is output to the synchronous memory 3 in synchronization with the rising edge of the output clock 107. Here, the rise of the output clock 107 is delayed by a time dtOC or more obtained by adding the memory access control signal valid time dtMA from the time 0 of the reference clock 103 and the setup time dtMA of the memory control signal register 4. Next, the synchronous memory 3 receives the control signal 110 at the rising edge of the memory clock 109 and outputs a data signal 111. Here, the rise of the memory clock 109 is delayed by a time dtMC or more which is obtained by adding the time dtOC, the control signal valid time dtRA of the memory control signal register 4 and the setup time tMST of the synchronous memory 3. The input data register 4 receives the data signal 111 at the rising edge of the input clock 108. Here, the rising edge of the input clock 108 is delayed by a time dtIC or more obtained by adding the time dtMC, the data signal valid time dtMA of the synchronous memory 3 and the setup time tR2ST of the input data register.
[0025]
Since the memory control signal register 4 and the output data register 5 are registers synchronized with the output clock 107, the time dtMC is a time dtRA at which the control signal 110 becomes valid from the rise of the output clock 107 of the memory control signal register 4. And a time dtR1A when the data signal 111 is valid from the rising edge of the output clock 107 of the output data register 5 is compared and obtained using a large value.
[0026]
According to this, the read data signal 102 output from the input data register 6 can secure the setup time of the time tIMST with respect to the time 2t of the reference clock 107, shortening the access time and the data of the synchronous memory 3 The transfer timing margin can be improved.
[0027]
When the delay time of the output clock 107 is dtout, the delay time of the input clock 108 is dtin, and the delay time of the memory clock 109 is dtmen, the minimum delay time of the delay devices 21 to 2n is the greatest common commitment of dtout, dtin, and dtmem. Number.
[0028]
Therefore, for example, the delay time of the output clock 107 is 3A, the delay time of the input clock 108 is 5A, and the delay time of the memory clock 109 is 7A. If the time tCLK of one cycle of the reference clock 103 is 70A, 70 or more delay devices are required.
[0029]
More specifically, as shown in FIGS. 8 to 9, if the delay clocks 213 are composed of delay devices 21 to 2n having a minimum delay time A, the delay clock 213 corresponds to the output clock 107 and the reference clocks 103 to 3 The delay clock 215 is delayed by five delay devices from the reference clock 103 in correspondence with the input clock 108, and the delay clock 217 in correspondence with the memory clock 109 is seven reference clocks 103. Delayed by the delay unit.
[0030]
Next, an embodiment (2) of the memory control device according to the present invention will be described. FIG. 8 shows an embodiment (2) of the memory control device according to the present invention. In addition, the description similar to Embodiment (1) is abbreviate | omitted by attaching | subjecting the same code | symbol.
[0031]
As shown in FIG. 8, the memory control device 600 of this embodiment (2) is provided with the delay devices of the embodiment (1) corresponding to the output clock 107, the memory clock 109, and the input clock 108, respectively. It is the thing of the composition. Here, the delay devices 601 to 60n corresponding to the output clock 107, the delay devices 621 to 62n corresponding to the memory clock 109, and the delay devices 641 to 64n corresponding to the input clock 108 have different delay characteristics. .
[0032]
According to this embodiment (2), if the delay time of the output clock 107 is 3A, the delay time of the input clock 108 is 5A, the delay time of the memory clock 109 is 7A, and the cycle time of the reference clock 103 is 70A, the delay The total number of delay units 601 to 60n is 24, the number of delay units 621 to 62n is 14, the number of delay units 641 to 64n is 10 and a total of 48 delay units are required. The access time can be increased without increasing the number of delay units. Can be improved.
[0033]
Next, an embodiment (3) of the memory control device according to the present invention will be described. FIG. 9 shows an embodiment (3) of the memory control device according to the present invention. In addition, the description similar to Embodiment (1) is abbreviate | omitted by attaching | subjecting the same code | symbol.
[0034]
As shown in FIG. 9, the memory control device 900 of this embodiment (3) receives the memory clock 107, the output clock 107, and the reference clock 103 and outputs the output clock phase control signal 104 in the embodiment (1). The switch 952 that selects one clock and outputs it to the first delay unit 901 of the delay units 901 to 90n, the output clock 107, the input clock 108, and the reference clock 103 are input, and the memory clock phase control signal 106 sets 1 Switch 953 for selecting the first clock and outputting it to delay device 921 at the first stage of delay devices 921 to 92n, output clock 107, memory clock 109 and reference clock 103 are input, and input clock phase control signal 105 is set to one clock. Is selected and output to the first delay unit 941 of the delay units 941 to 94n. It is of the configuration in which attached the door.
[0035]
According to this embodiment (3), for example, in the case shown in FIG. 7, if the phase of the output clock 107 is shifted from the reference clock 103 and the phase of the memory clock 108 is shifted from the output clock 107, from the time dtMC. If the time memory clock 109 obtained by subtracting the time dtOC is delayed in advance and the phase of the input clock 108 is shifted from the memory clock 109, the time input clock 108 obtained by subtracting the time dtMC from the time dtIC is delayed in advance. Furthermore, the access time can be improved without increasing the number of delay devices.
[0036]
【The invention's effect】
As described above, according to the first aspect of the present invention, the memory clock operates the clock synchronous memory, and the output clock outputs the memory access control signal input to the memory control signal register to the clock synchronous memory. At the same time, the write data signal inputted to the output data register is outputted to the clock synchronous memory, and the read data signal inputted from the clock synchronous memory to the input data register is outputted from the input clock.
As for each clock, a plurality of delayed clocks generated by shifting the phase from the reference clock by a plurality of delay units are input to a switch corresponding to the memory clock, output clock and input clock, and the memory clock, output clock and input It is generated by selecting one delay clock by a phase control signal corresponding to the clock.
The output clock is delayed by the sum of the memory access control signal valid time from the rise of the reference clock and the setup time of the memory control signal register, and the memory clock is the time from the rise of the reference clock to the rise of the output clock and the memory. Delay time is the sum of the control signal valid time of the control signal register and the setup time of the clock synchronous memory, and the input clock is the time from the rise of the reference clock to the rise of the memory clock and the data signal valid time of the clock synchronous memory And the input data register setup time are delayed.
Thus, when accessing the clock synchronous memory, there is an effect that the access time is not increased even if the maximum delay time of data output from the clock synchronous memory does not become one cycle or less.
[0037]
According to the second aspect of the present invention, in the memory control device according to the first aspect, the memory clock, the output clock, and the input clock are delayed by delay elements having different delay characteristics. As a result, the access time can be improved without increasing the number of delay devices.
[0038]
According to the third aspect of the present invention, in the memory control device according to the second aspect, the clock input to the first-stage delay unit of the delay unit corresponding to the output clock is input with the reference clock, the memory clock, and the input clock. The clock that is selected by the output clock phase control signal from the switch and is input to the first delay unit of the delay unit corresponding to the memory clock is the memory clock phase control from the switch to which the reference clock, output clock, and input clock are input. The clock selected by the signal and input to the first delay unit of the delay unit corresponding to the input clock is selected by the input clock phase control signal from the switch to which the reference clock, the output clock and the memory clock are input. As a result, the access time can be improved without increasing the number of delay devices.
[Brief description of the drawings]
FIG. 1 is a block diagram showing an embodiment (1) of a memory control device according to the present invention.
FIG. 2 is a block diagram illustrating the clock phase controller of FIG.
FIG. 3 is a block diagram showing a memory control register of FIG. 1;
4 is a block diagram showing the output data register of FIG. 1; FIG.
FIG. 5 is a block diagram showing an input data register of FIG. 1;
6 is a diagram illustrating the timing of the delayed clock in FIG. 2. FIG.
7 is a diagram showing signal timing of the memory control device of FIG. 1; FIG.
FIG. 8 is a block diagram showing the delay device of FIG. 1;
FIG. 9 is a diagram illustrating the timing of the delayed clock in FIG. 8;
FIG. 10 is a block diagram showing an embodiment (2) of the memory control device according to the present invention;
FIG. 11 is a block diagram showing an embodiment (3) of the memory control apparatus according to the present invention.
FIG. 12 is a block diagram showing a conventional memory control device.
FIG. 13 is a diagram illustrating signal timing of a conventional memory control device.
FIG. 14 is a diagram showing signal timing of a conventional memory control device.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 Memory device 2 Clock phase controller 3 Synchronous memory 4 Memory control signal register 5 Output data register 6 Input data register 21-2n Delay device 100 Memory access control signal 101 Write data signal 102 Read data signal 103 Reference clock 104 Output clock phase control Signal 105 input clock phase control signal 106 memory clock phase control signal 107 output clock 108 input clock 109 memory clock 110 control signal 111 data signal 210 to 21n delay clock 251 switch 261 switch 271 switch

Claims (3)

クロック同期式メモリを動作させるメモリクロックと、メモリ制御信号レジスタに入力されたメモリアクセス制御信号をクロック同期式メモリに出力するとともに、出力データレジスタに入力された書き込みデータ信号をクロック同期式メモリに出力する出力クロックと、クロック同期式メモリから入力データレジスタに入力された読み出しデータ信号を出力する入力クロックとを生成するクロック位相制御器有し、
このクロック位相制御器は、それぞれのクロックを、基準クロックから複数の遅延器によって位相をずらして生成される複数の遅延クロックを、メモリクロック、出力クロックおよび入力クロックに対応した切替器に入力し、メモリクロック、出力クロックおよび入力クロックに対応した位相制御信号によって1の遅延クロックを選択することにより生成するものであり、
出力クロックは、基準クロックの立ち上がりからのメモリアクセス制御信号有効時間とメモリ制御信号レジスタのセットアップ時間を足した時間を遅延させ、メモリクロックは、基準クロックの立ち上がりから出力クロックの立ち上がりまでの時間とメモリ制御信号レジスタの制御信号有効時間とクロック同期式メモリのセットアップ時間を足した時間を遅延させ、入力クロックは、基準クロックの立ち上がりからメモリクロックの立ち上がりまでの時間とクロック同期式メモリのデータ信号有効時間と入力データレジスタのセットアップ時間とを足した時間を遅延させることを特徴とするクロック制御装置。
Outputs the memory clock that operates the clock synchronous memory and the memory access control signal input to the memory control signal register to the clock synchronous memory, and outputs the write data signal input to the output data register to the clock synchronous memory A clock phase controller that generates an output clock that generates an input clock that outputs a read data signal input to the input data register from the clock synchronous memory;
This clock phase controller inputs a plurality of delay clocks generated by shifting the phase of each clock from a reference clock by a plurality of delay units to a switch corresponding to a memory clock, an output clock, and an input clock, It is generated by selecting one delay clock by a phase control signal corresponding to a memory clock, an output clock and an input clock,
The output clock delays the sum of the memory access control signal valid time from the rise of the reference clock and the setup time of the memory control signal register, and the memory clock is the time from the rise of the reference clock to the rise of the output clock and the memory. Delays the sum of the control signal valid time of the control signal register and the setup time of the clock synchronous memory, and the input clock is the time from the rising edge of the reference clock to the rising edge of the memory clock and the data signal valid time of the clock synchronous memory And a clock control apparatus that delays a time obtained by adding the setup time of the input data register.
クロック位相制御器の遅延器は、メモリクロック、出力クロックおよび入力クロックに対応して異なる遅延特性を有することを特徴とする請求項1に記載のクロック制御装置。2. The clock control device according to claim 1, wherein the delay unit of the clock phase controller has different delay characteristics corresponding to the memory clock, the output clock, and the input clock. クロック位相制御器は、メモリクロック、出力クロックおよび基準クロックを入力して出力クロックに対応する位相制御信号で1のクロックを選択して遅延器に出力する切替器と、出力クロック、入力クロックおよび基準クロックを入力してメモリクロックに対応する位相制御信号で1のクロックを選択して遅延器に出力する切替器と、出力クロック、メモリクロックおよび基準クロックを入力して入力クロックに対応する位相制御信号で1のクロックを選択して遅延器に出力する切替器とを付設したことを特徴とする請求項2に記載のクロック制御装置。The clock phase controller receives a memory clock, an output clock, and a reference clock, selects a clock with a phase control signal corresponding to the output clock, and outputs the selected clock to a delay device; an output clock, an input clock, and a reference A switch that inputs a clock and selects one clock by a phase control signal corresponding to the memory clock and outputs it to the delay device; and a phase control signal that corresponds to the input clock by inputting the output clock, the memory clock, and the reference clock 3. A clock control apparatus according to claim 2, further comprising a switch for selecting one clock and outputting to the delay unit.
JP2001245498A 2001-08-13 2001-08-13 Memory control device Expired - Fee Related JP3732128B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001245498A JP3732128B2 (en) 2001-08-13 2001-08-13 Memory control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001245498A JP3732128B2 (en) 2001-08-13 2001-08-13 Memory control device

Publications (2)

Publication Number Publication Date
JP2003058415A JP2003058415A (en) 2003-02-28
JP3732128B2 true JP3732128B2 (en) 2006-01-05

Family

ID=19075231

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001245498A Expired - Fee Related JP3732128B2 (en) 2001-08-13 2001-08-13 Memory control device

Country Status (1)

Country Link
JP (1) JP3732128B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010080172A1 (en) 2009-01-12 2010-07-15 Rambus Inc. Clock-forwarding low-power signaling system

Also Published As

Publication number Publication date
JP2003058415A (en) 2003-02-28

Similar Documents

Publication Publication Date Title
JP4072419B2 (en) Output control signal generation circuit and output control signal generation method for synchronous semiconductor memory device
KR100915554B1 (en) A semiconductor memory
JP2576366B2 (en) Variable delay buffer circuit
JPH09304484A (en) Semiconductor memory apparatus
US7843743B2 (en) Data output circuit for semiconductor memory apparatus
JP3732128B2 (en) Memory control device
JP2006011704A (en) Clock switching circuit
JP2003316566A (en) Pipeline processor
JP3736518B2 (en) Semiconductor device
JP3909509B2 (en) Serial interface circuit
JP4107716B2 (en) FIFO type storage device
JP2006525750A (en) Waveform glitch prevention method
JPH1125030A (en) Bus extension control circuit
JP3831142B2 (en) Semiconductor integrated circuit
KR100800138B1 (en) DLL device
JP4695415B2 (en) Delay circuit
JP4186559B2 (en) Scan flip-flop
JP2004228844A (en) Semiconductor integrated circuit
KR970051252A (en) Synchronous Mirror Delay Circuits in Semiconductor Memory Devices
JP2001084055A (en) Hard macro cell circuit and semiconductor integrated circuit
JP2001356960A (en) Write control device, its method and recording medium
JPS6158328A (en) Serial-parallel converting circuit
JP2008177947A (en) Variable latency circuit and latency control method of variable latency circuit
JP2001053592A (en) Timing signal generation circuit
JP2009016017A (en) Semiconductor integrated circuit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040611

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: 20051011

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20051011

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: 20081021

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20091021

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20091021

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20101021

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20111021

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20121021

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees