JP2004178671A - Readout control circuit and fifo control circuit - Google Patents
Readout control circuit and fifo control circuit Download PDFInfo
- Publication number
- JP2004178671A JP2004178671A JP2002342591A JP2002342591A JP2004178671A JP 2004178671 A JP2004178671 A JP 2004178671A JP 2002342591 A JP2002342591 A JP 2002342591A JP 2002342591 A JP2002342591 A JP 2002342591A JP 2004178671 A JP2004178671 A JP 2004178671A
- Authority
- JP
- Japan
- Prior art keywords
- circuit
- input terminal
- read
- terminal connected
- clock
- 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.)
- Pending
Links
Images
Landscapes
- Information Transfer Systems (AREA)
Abstract
Description
【0001】
【発明の属する技術分野】
本発明は、FIFO制御回路に関し、特に、データの読み出しを制御する読み出し制御回路に関する。
【0002】
【従来の技術】
通信制御装置のバッファメモリ、データの遅延回路等には、図7に示すような先入れ先出し(FIFO)メモリ1が広く利用されている。FIFOメモリ1は、書き込んだ順番通りにデータを読み出し可能なメモリである。FIFOメモリ1は、並列接続された複数段のレジスタを備える。書き込みカウンタ112は、書き込みクロック端子11が出力する書き込みクロックCLK1をカウントし、FIFOメモリ1に書き込みアドレスを供給する。一方、読み出しカウンタ113は、読み出しクロック端子12が出力する読み出しクロックCLK2をカウントし、FIFOメモリ1に読み出しアドレスを供給する。このように、書き込みカウンタ112は、FIFOメモリ1内のレジスタを順次選択してデータを書き込む。その後、読み出しカウンタ113は、データが格納されたレジスタを順次選択してデータを読み出す。この結果、先入れ先出し動作が実行される。アドレス判定回路114は、書き込みアドレス及び読み出しアドレスを判定し、読み出しカウンタ113の読み出しの開始及び終了のタイミングを制御する。
【0003】
【特許文献】
特開平7−65568号公報
【0004】
【発明が解決しようとする課題】
図7に示すアドレス判定回路114は、書き込みアドレス及び読み出しアドレスの判定を行う際に、一定の判定時間を要していた。したがって、書き込み開始から読み出し開始を即座に行うことができない問題があった。更に、FIFOメモリ1は、アドレス判定回路114の判定時間に必要な記憶容量を備える必要があった。
【0005】
上記問題点を鑑み、本発明は、書き込み開始から読み出し開始までの時間を短縮可能な読み出し制御回路及びFIFO制御回路を提供することを目的とする。
【0006】
【課題を解決するための手段】
上記目的を達成する為に、本発明の第1の特徴は、(イ)書き込みアドレス及び読み出しアドレスに基づいて書き込みの終了を検知し、リセット信号を出力するリセット信号生成回路;(ロ)書き込み動作時にのみ駆動される書き込みクロックの最初の立ち上がりに基づいてイネーブル信号を出力し、リセット信号に基づいてイネーブル信号の出力を停止するイネーブル信号生成回路を備える読み出し制御回路であることを要旨とする。
【0007】
第1の特徴に係る読み出し制御回路によれば、イネーブル信号生成回路は、書き込みアドレスを使用せず、書き込みクロックからイネーブル信号を生成している。この結果、書き込みアドレス及び読み出しアドレスを判定することなくイネーブル信号を生成出来る。よって、書き込み開始から即座に読み出しを開始することが可能となる。更に、書き込みクロックと読み出しクロックとが同周波数である場合、FIFOメモリ内のレジスタの段数を削減することが出来る。また、セットアップ・ホールド違反が発生しても安定してイネーブル信号を生成することが出来る。
【0008】
本発明の第2の特徴は、(イ)書き込み動作時にのみ駆動される書き込みクロックをカウントし、FIFOメモリに書き込みアドレスを供給する書き込みカウンタ;(ロ)読み出しクロックをカウントし、FIFOメモリに読み出しアドレスを供給する読み出しカウンタ;(ハ)書き込みアドレス及び読み出しアドレスに基づいて書き込みの終了を検知し、リセット信号を出力するリセット信号生成回路;(ニ)書き込みクロックの最初の立ち上がりに基づいて読み出しカウンタにイネーブル信号を出力し、リセット信号に基づいてイネーブル信号の出力を停止するイネーブル信号生成回路を備えるFIFO制御回路であることを要旨とする。
【0009】
第2の特徴に係るFIFO制御回路によれば、書き込み開始から読み出し開始が即座に実行できるだけでなく、読み出しの停止も安定して実行することが可能となる。
【0010】
【発明の実施の形態】
次に、図面を参照して、本発明の第1〜第3の実施の形態を説明する。この第1〜第3の実施の形態における図面の記載において、同一又は類似の部分には同一又は類似の符号を付している。
【0011】
(第1の実施の形態)
本発明の第1の実施の形態に係るFIFO制御回路23aは、図1に示すように、FIFOメモリ1に書き込みアドレスWAD1を供給する書き込みカウンタ2、FIFOメモリ1に読み出しアドレスRAD1を供給する読み出しカウンタ3、読み出しカウンタ3の動作タイミングを制御する読み出し制御回路22aを備える。書き込みカウンタ2は、書き込みクロック端子11に電気的に接続されるクロック入力端子CKを有する。読み出しカウンタ3は、読み出しクロック端子12に接続されるクロック入力端子CKを有する。読み出し制御回路22aは、イネーブル信号生成回路21aとリセット信号生成回路6とを備える。リセット信号生成回路6は、書き込みアドレスWAD1及び読み出しアドレスRAD1に基づいて書き込みの終了を検知し、リセット信号RSをイネーブル信号生成回路21aに出力する。イネーブル信号生成回路21aは、書き込み動作時にのみ駆動される書き込みクロックCLK1の最初の立ち上がりに基づき、イネーブル信号ESを読み出しカウンタ3に出力し、リセット信号RSに基づいてイネーブル信号ESの出力を停止する。
【0012】
イネーブル信号生成回路21aは、図1に示すように、書き込みクロック端子11に接続されるクロック入力端子CK、高位電源VDDに接続されるデータ入力端子D、リセット信号生成回路6に接続されるリセット端子CLRを有する第1のラッチ回路4aを備える。第1のラッチ回路4aとしては、例えば、Dフリップフロップが使用できる。
【0013】
リセット信号生成回路6は、図2に示すように、図1に示す書き込みカウンタ2に接続される第2のラッチ回路31、第2のラッチ回路31に接続される第3のラッチ回路32、図1に示す読み出しカウンタ3に接続される第4のラッチ回路33、第3のラッチ回路32及び第4のラッチ回路33に接続されるアドレス比較回路34を備える。第2のラッチ回路31、第3のラッチ回路32、及び第4のラッチ回路33は、読み出しクロックCLK2を入力するクロック入力端子CKをそれぞれ有している。アドレス比較回路34は、書き込みアドレスWAD3のアドレス値と読み出しアドレスRAD2のアドレス値とが一致した場合、リセット信号RSを出力する。アドレス比較回路34は、図1に示す第1のラッチ回路4aのリセット端子CLRに接続される。
【0014】
次に、図1〜図4を用いて第1の実施の形態に係るFIFO制御回路23aの動作を説明する。
【0015】
(イ)書き込み動作時において、書き込みクロック端子11には、図3(a)に示す書き込みクロックCLK1が入力される。書き込みクロック端子11を介して入力された書き込みクロックCLK1は、図1に示す第1のラッチ回路4a及び書き込みカウンタ2に伝達される。書き込みカウンタ2は、書き込みクロックCLK1をカウントし、書き込みアドレスWAD1を生成する。そして、書き込みカウンタ2は、図3(b)に示す書き込みアドレスWAD1をFIFOメモリ1及びリセット信号生成回路6に出力する。
【0016】
(ロ)図1(a)に示す書き込みクロックCLK1が、第1のラッチ回路4aに伝達されると、第1のラッチ回路4aは、書き込みクロックCLK1の最初の立ち上がりと同期して、高位電源VDDからのハイレベル信号をラッチする。即ち、時刻t1において第1のラッチ回路4aが高位電源VDDからのハイレベル信号をラッチすると、図3(c)に示すように、第1のラッチ回路4aの出力端子Qを介してイネーブル信号ESが出力される。イネーブル信号生成回路21aが出力するイネーブル信号ESは、読み出しカウンタ3のイネーブル信号入力端子ENBに入力される。尚、従来のFIFO制御回路においては、図4の時刻t2でイネーブル信号ESが出力される。
【0017】
(ハ)読み出しカウンタ3にイネーブル信号ESが入力されると、図3(e)に示すように、図3(d)の読み出しクロックCLK2をカウントし、読み出しアドレスRAD1を生成する。読み出しカウンタ3が出力する読み出しアドレスRAD1は、FIFOメモリ1及びリセット信号生成回路6に供給される。
【0018】
(ニ)図2に示す第2のラッチ回路31は、図4(d)に示すように、書き込みアドレスWAD1を読み出しクロックCLK2の立ち上がりと同期してラッチする。更に、第3のラッチ回路32は、図4(e)に示すように、第2のラッチ回路31が出力する書き込みアドレスWAD2を読み出しクロックCLK2の立ち上がりと同期してラッチする。一方、第4のラッチ回路33は、図4(h)に示すように、読み出しカウンタ3が出力する読み出しアドレスRAD1を読み出しクロックCLK2の立ち上がりと同期してラッチする。
【0019】
(ホ)ここで、図4(a)に示す書き込みクロックCLK1が停止した場合、即ち、書き込みが終了した場合を考える。書き込みクロックCLK1が停止すると、書き込みカウンタ2が出力するWAD1もカウントアップされなくなる。この結果、図4(e)に示す書き込みアドレスWAD3と図4(h)に示す読み出しアドレスRAD2とは、時刻t3において一致する。書き込みアドレスWAD3と読み出しアドレスRAD2とが一致すると、アドレス比較回路34は、リセット信号RSを第1のラッチ回路4aのリセット端子CLRに出力する。リセット信号RSが第1のラッチ回路4aのリセット端子CLRに出力されると、第1のラッチ回路4aはリセットされ、図4(f)に示すイネーブル信号ESが時刻t3でローレベルに立ち下がる。イネーブル信号ESがローレベルに立ち下がると、読み出しカウンタ3はカウント動作を停止する。
【0020】
このように、第1の実施の形態によれば、書き込み開始から読み出し開始までの時間を時刻t1〜t2の期間だけ短縮している。即ち、書き込み開始から即座に読み出しを開始することが可能なFIFO制御回路23aを提供出来る。したがって、FIFOメモリ1にアドレスの判定に必要な記憶容量を備える必要がない。また、読み出しの終了も安定して実行することが出来る。
【0021】
(第2の実施の形態)
本発明の第2の実施の形態に係るFIFO制御回路23bは、図5に示すように、イネーブル信号生成回路21bが、スイッチ回路5bを更に備えている点が図1と異なる。スイッチ回路5bは、書き込みクロック端子11に接続された一方の入力端子A、低位電源VSSに接続された他方の入力端子Bを有している。スイッチ回路5bとしては、例えば、マルチプレクサが使用できる。第1のラッチ回路4bは、スイッチ回路5bの出力端子Yに接続されるクロック入力端子CK、高位電源VDDに接続されるデータ入力端子D、リセット信号生成回路6に接続されるリセット端子CLR、スイッチ回路5bの切り替え信号入力端子Sに接続される出力端子Qを有している。その他の構成については図1と同様である。スイッチ回路5bは、第1のラッチ回路4bが出力するイネーブル信号ESがローレベル時は、入力端子Aに入力される信号を出力端子Yを介して出力する。一方、イネーブル信号ESがハイレベル時は、入力端子Bに入力される信号を出力端子Yを介して出力する。
【0022】
次に、図3及び図5を用いて第2の実施の形態に係るFIFO制御回路23bの動作を説明する。但し、第1の実施の形態に係るFIFO制御回路23aと同一の動作については、重複する説明を省略する。
【0023】
(イ)図3(a)に示す書き込みクロックCLK1は、スイッチ回路5bの入力端子Aと書き込みカウンタ2とに入力される。書き込みクロックCLK1がスイッチ回路5bの入力端子Aに入力されると、スイッチ回路5bから出力端子Yを介して書き込みクロックCLK1が出力される。
【0024】
(ロ)スイッチ回路5bから書き込みクロックCLK1が出力されると、第1のラッチ回路4bは高位電源VDDからのハイレベル信号を、書き込みクロックCLK1の最初の立ち上がりと同期してラッチする。この結果、図3(c)に示すように、第1のラッチ回路4bは、出力端子Qを介してイネーブル信号ESを出力する。第1のラッチ回路4bが出力するイネーブル信号ESは、読み出しカウンタ3のイネーブル信号入力端子ENB及びスイッチ回路5bの切り替え信号入力端子Sに入力される。
【0025】
(ハ)イネーブル信号ESがスイッチ回路5bに入力されると、スイッチ回路5bの入力が入力端子Aから入力端子Bへ切り換わる。スイッチ回路5bの入力が入力端子Aから入力端子Bへ切り換わると、スイッチ回路5bは、低位電源VSSからのローレベル信号を出力端子Yを介して出力する。スイッチ回路5bが出力端子Yを介して出力するローレベル信号は、第1のラッチ回路4bのクロック入力端子CKに入力される。
【0026】
(ニ)ローレベル信号が第1のラッチ回路4bのクロック入力端子CKに入力されると、イネーブル信号ESのハイレベル状態が持続される。リセット信号RSがリセット信号生成回路6から出力された場合、イネーブル信号ESがローレベルに立ち下がる。
【0027】
このように、第2の実施の形態によれば、スイッチ回路5bにより第1のラッチ回路4bのクロック入力端子CKの入力を切り替えている。この結果、第1のラッチ回路4bに誤動作が生じても、イネーブル信号ESのハイレベル状態を持続させることが可能となる。よって、高速且つ安定してイネーブル信号ESを生成することが出来る。
【0028】
(第3の実施の形態)
本発明の第3の実施の形態に係るFIFO制御回路23cは、図6に示すように、書き込みクロック端子11に接続される一方の入力端子A、低位電源VSSに接続される他方の入力端子Bを有するスイッチ回路5c、読み出しクロック端子12に接続されるクロック入力端子CK、スイッチ回路5cの出力端子Yに接続されるセット端子SET、リセット信号生成回路6に接続されるリセット端子CLR、スイッチ回路5cの切り替え信号入力端子Sに接続される出力端子Qを有する第1のラッチ回路4cを備える点が図1と異なる。第1のラッチ回路4cとしては、例えば、同期型のRSフリップフロップが使用できる。その他の構成については図1と同様である。
【0029】
次に、図3及び図6を用いて第3の実施の形態に係るFIFO制御回路23cの動作を説明する。但し、第1の実施の形態に係るFIFO制御回路23aと同一の動作については、重複する説明を省略する。
【0030】
(イ)図3(a)に示す書き込みクロックCLK1は、スイッチ回路5cの入力端子A及び書き込みカウンタ2に入力される。スイッチ回路5cの入力端子Aに書き込みクロックCLK1が入力されると、スイッチ回路5cは、書き込みクロックCLK1を、出力端子Yを介して第1のラッチ回路4cのセット端子SETに出力する。
【0031】
(ロ)第1のラッチ回路4cのセット端子SETに書き込みクロックCLK1が入力されると、第1のラッチ回路4cは、書き込みクロックCLK1及び読み出しクロックCLK2と同期してイネーブル信号ESを、出力端子Qを介してスイッチ回路5cの切り替え信号入力端子Sに出力する。スイッチ回路5cにイネーブル信号ESを入力されると、スイッチ回路5cの入力が入力端子Aから入力端子Bに切り替わる。
【0032】
(ハ)スイッチ回路5cの入力が入力端子Bに切り替わると、低位電源VSSからのローレベル信号が、出力端子Yを介して第1のラッチ回路4cのセット端子SETに出力される。この結果、第1のラッチ回路4cは、リセット端子CLRにリセット信号RSが入力されるまでイネーブル信号ESを出力し続ける。
【0033】
このように、第3の実施の形態によれば、書き込みクロックCLK1と読み出しクロックCLK2とを用いてイネーブル信号ESを生成するので、より精度良くイネーブル信号ESを生成することが可能となる。
【0034】
(その他の実施の形態)
上記のように、本発明は第1〜第3の実施の形態によって記載したが、この開示の一部をなす論述及び図面はこの発明を限定するものであると理解すべきではない。この開示から当業者には様々な代替実施の形態、実施例及び運用技術が明らかとなろう。
【0035】
第1及び第2の実施の形態においては、第1のラッチ回路4a、4bとしてDフリップフロップを使用する一例を説明した。第3の実施の形態においては、第1のラッチ回路4cとして同期型のRSフリップフロップを使用する一例を説明した。しかし、第1のラッチ回路4a、4b、4cとしては、JKフリップフロップ、RSTフリップフロップ等の様々なラッチ回路が使用できる。
【0036】
また、第2及び第3の実施の形態においては、スイッチ回路5b、5cとしてマルチプレクサを使用する一例を説明した。しかし、マルチプレクサに代えて、例えば、互いに極性の異なるトランジスタを用いることによりスイッチ動作を実現できる。ここで、トランジスタとしては、バイポーラトランジスタ、MOSトランジスタ、接合型電界効果トランジスタ(JFET)、ショットキーバリア型電界効果トランジスタ(MESFET)、静電誘導トランジスタ(SIT)、及び高電子移動度トランジスタ(HEMT)等の様々なトランジスタが使用できる。或いは、AND回路、OR回路、NOT回路、NOR回路、及びNAND回路等の論理回路によりスイッチ動作を実現してもよい。
【0037】
また、第1〜第3の実施の形態に係るFIFO制御回路23a、23b、23cは、それぞれ同一半導体基板上に集積化し、半導体集積回路を構成することが可能である。更に、第1〜第3の実施の形態に係るFIFO制御回路23a、23b、23cとFIFOメモリ1とをそれぞれ同一半導体基板上に集積化することも可能である。
【0038】
このように本発明は、ここでは記載していない様々な実施の形態等を包含するということを理解すべきである。したがって、本発明はこの開示から妥当な特許請求の範囲の発明特定事項によってのみ限定されるものである。
【0039】
【発明の効果】
本発明によれば、書き込み開始から読み出し開始までの時間を短縮可能な読み出し制御回路及びFIFO制御回路を提供出来る。
【図面の簡単な説明】
【図1】本発明の第1の実施の形態に係るFIFO制御回路の回路図である。
【図2】本発明の第1の実施の形態に係るリセット信号生成回路の回路図である。
【図3】本発明の第1の実施の形態に係るイネーブル信号生成回路の動作を示すタイムチャートである。
【図4】本発明の第1の実施の形態に係るリセット信号生成回路の動作を示すタイムチャートである。
【図5】本発明の第2の実施の形態に係るFIFO制御回路の回路図である。
【図6】本発明の第3の実施の形態に係るFIFO制御回路の回路図である。
【図7】従来のFIFO制御回路の回路図である。
【符号の説明】
1…FIFOメモリ
2、112…書き込みカウンタ
3、113…読み出しカウンタ
4a、4b、4c…第1のラッチ回路
5b、5c…スイッチ回路
6…クロック停止検知回路
11…書き込みクロック端子
12…読み出しクロック端子
21a、21b、21c…イネーブル信号生成回路
22a、22b、22c…読み出し制御回路
23a、23b、23c…FIFO制御回路
31…第2のラッチ回路
32…第3のラッチ回路
33…第4のラッチ回路
34…アドレス比較回路
114…アドレス判定回路[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a FIFO control circuit, and more particularly, to a read control circuit that controls data reading.
[0002]
[Prior art]
A first-in first-out (FIFO)
[0003]
[Patent Document]
JP-A-7-65568
[Problems to be solved by the invention]
The
[0005]
In view of the above problems, an object of the present invention is to provide a read control circuit and a FIFO control circuit that can reduce the time from the start of writing to the start of reading.
[0006]
[Means for Solving the Problems]
In order to achieve the above object, a first feature of the present invention is that (a) a reset signal generation circuit that detects the end of writing based on a write address and a read address and outputs a reset signal; A read control circuit including an enable signal generation circuit that outputs an enable signal based on the first rising edge of a write clock that is driven only at the time and stops outputting the enable signal based on a reset signal.
[0007]
According to the read control circuit according to the first aspect, the enable signal generation circuit generates the enable signal from the write clock without using the write address. As a result, the enable signal can be generated without determining the write address and the read address. Therefore, it becomes possible to start reading immediately from the start of writing. Further, when the write clock and the read clock have the same frequency, the number of registers in the FIFO memory can be reduced. Even if a setup / hold violation occurs, an enable signal can be generated stably.
[0008]
A second feature of the present invention is that (a) a write counter that counts a write clock driven only at the time of a write operation and supplies a write address to a FIFO memory; (b) counts a read clock and stores a read address in a FIFO memory. A reset signal generating circuit for detecting the end of writing based on the write address and the read address and outputting a reset signal; and (d) enabling the read counter based on the first rise of the write clock. A gist is a FIFO control circuit including an enable signal generation circuit that outputs a signal and stops outputting an enable signal based on a reset signal.
[0009]
According to the FIFO control circuit according to the second feature, not only the start of reading but also the start of reading can be executed immediately, and the stop of reading can be executed stably.
[0010]
BEST MODE FOR CARRYING OUT THE INVENTION
Next, first to third embodiments of the present invention will be described with reference to the drawings. In the drawings of the first to third embodiments, the same or similar parts are denoted by the same or similar reference numerals.
[0011]
(First Embodiment)
[0012]
As shown in FIG. 1, the enable
[0013]
As shown in FIG. 2, the reset
[0014]
Next, the operation of the
[0015]
(A) During a write operation, the write clock CLK 1 shown in FIG. The write clock CLK 1 input via the
[0016]
(B) it is a write clock CLK 1 shown in FIG. 1 (a), when it is transmitted to the
[0017]
When the enable signal ES is inputted to the (c) read
[0018]
[0019]
In (e) wherein, when the write clock CLK 1 shown in FIG. 4 (a) was stopped, namely, the case where write is completed. When the write clock CLK 1 stops, WAD 1 output from the
[0020]
Thus, according to the first embodiment, to shorten the time from the writing start to start reading only for the period of time t 1 ~t 2. That is, it is possible to provide the
[0021]
(Second embodiment)
The
[0022]
Next, the operation of the
[0023]
(B) a write clock CLK 1 shown in FIG. 3 (a) is input to the input terminal A and a
[0024]
When a write clock CLK 1 from (b) switching
[0025]
(C) When the enable signal ES is input to the
[0026]
(D) When the low level signal is input to the clock input terminal CK of the
[0027]
As described above, according to the second embodiment, the input of the clock input terminal CK of the
[0028]
(Third embodiment)
As shown in FIG. 6, the
[0029]
Next, the operation of the
[0030]
(B) a write clock CLK 1 shown in FIG. 3 (a) is input to the input terminal A and a
[0031]
When (b) write clock CLK 1 to the set terminal SET of the first latch circuit 4c is input, the first latch circuit 4c is an enable signal ES in synchronization with the write clock CLK 1 and the read clock CLK 2, The signal is output to the switching signal input terminal S of the
[0032]
(C) When the input of the
[0033]
In this manner, according to the third embodiment, since it generates an enable signal ES with a clock CLK 2 and the read write clock CLK 1, it is possible to generate a more accurately enable signal ES.
[0034]
(Other embodiments)
As described above, the present invention has been described with reference to the first to third embodiments. However, it should not be understood that the description and drawings constituting a part of this disclosure limit the present invention. From this disclosure, various alternative embodiments, examples, and operation techniques will be apparent to those skilled in the art.
[0035]
In the first and second embodiments, an example in which a D flip-flop is used as the
[0036]
In the second and third embodiments, an example has been described in which a multiplexer is used as the
[0037]
Further, the
[0038]
Thus, it should be understood that the present invention includes various embodiments and the like not described herein. Therefore, the present invention is limited only by the matters specifying the invention described in the claims appropriate from this disclosure.
[0039]
【The invention's effect】
According to the present invention, it is possible to provide a read control circuit and a FIFO control circuit capable of reducing the time from the start of writing to the start of reading.
[Brief description of the drawings]
FIG. 1 is a circuit diagram of a FIFO control circuit according to a first embodiment of the present invention.
FIG. 2 is a circuit diagram of a reset signal generation circuit according to the first embodiment of the present invention.
FIG. 3 is a time chart illustrating an operation of the enable signal generation circuit according to the first embodiment of the present invention.
FIG. 4 is a time chart illustrating an operation of the reset signal generation circuit according to the first embodiment of the present invention.
FIG. 5 is a circuit diagram of a FIFO control circuit according to a second embodiment of the present invention.
FIG. 6 is a circuit diagram of a FIFO control circuit according to a third embodiment of the present invention.
FIG. 7 is a circuit diagram of a conventional FIFO control circuit.
[Explanation of symbols]
1
Claims (10)
書き込み動作時にのみ駆動される書き込みクロックの最初の立ち上がりに基づいてイネーブル信号を生成し、前記リセット信号に基づいて前記イネーブル信号の出力を停止するイネーブル信号生成回路
とを備えることを特徴とする読み出し制御回路。A reset signal generation circuit that detects the end of writing based on the write address and the read address, and outputs a reset signal;
Read control comprising: generating an enable signal based on a first rising edge of a write clock driven only during a write operation; and stopping output of the enable signal based on the reset signal. circuit.
書き込みクロック端子に接続された一方の入力端子と、低位電源に接続された他方の入力端子とを有するスイッチ回路と、
該スイッチ回路の出力端子に接続されたクロック入力端子と、高位電源に接続されたデータ入力端子と、前記リセット信号生成回路に接続されたリセット端子と、前記スイッチ回路の切り替え信号入力端子に接続された出力端子とを有する第1のラッチ回路
とを備えることを特徴とする請求項1に記載の読み出し制御回路。The enable signal generation circuit includes:
A switch circuit having one input terminal connected to the write clock terminal and the other input terminal connected to the lower power supply;
A clock input terminal connected to an output terminal of the switch circuit, a data input terminal connected to a high-order power supply, a reset terminal connected to the reset signal generation circuit, and a switching signal input terminal of the switch circuit. The read control circuit according to claim 1, further comprising: a first latch circuit having a first output terminal and a first latch circuit.
書き込みクロック端子に接続された一方の入力端子と、低位電源に接続された他方の入力端子とを有するスイッチ回路と、
読み出しクロック端子に接続されたクロック入力端子と、前記スイッチ回路の出力端子に接続されたセット端子と、前記リセット信号生成回路に接続されたリセット端子と、前記スイッチ回路の切り替え信号入力端子に接続された出力端子とを有する第1のラッチ回路
とを備えることを特徴とする請求項1に記載の読み出し制御回路。The enable signal generation circuit includes:
A switch circuit having one input terminal connected to the write clock terminal and the other input terminal connected to the lower power supply;
A clock input terminal connected to the read clock terminal, a set terminal connected to the output terminal of the switch circuit, a reset terminal connected to the reset signal generation circuit, and a switching signal input terminal of the switch circuit. The read control circuit according to claim 1, further comprising: a first latch circuit having a first output terminal and a first latch circuit.
前記書き込みアドレスを読み出しクロックと同期してラッチする第2のラッチ回路と、
該第2のラッチ回路の出力を前記読み出しクロックと同期してラッチする第3のラッチ回路と、
前記読み出しアドレスを前記読み出しクロックと同期してラッチする第4のラッチ回路と、
前記第3のラッチ回路が出力する前記書き込みアドレスと前記第4のラッチ回路が出力する前記読み出しアドレスとを比較するアドレス比較回路
とを備えることを特徴とする請求項1〜4のいずれか1項に記載の読み出し制御回路。The reset signal generation circuit includes:
A second latch circuit that latches the write address in synchronization with a read clock;
A third latch circuit for latching the output of the second latch circuit in synchronization with the read clock;
A fourth latch circuit for latching the read address in synchronization with the read clock;
5. The semiconductor device according to claim 1, further comprising: an address comparison circuit configured to compare the write address output from the third latch circuit with the read address output from the fourth latch circuit. 3. The read control circuit according to 1.
読み出しクロックをカウントし、前記FIFOメモリに読み出しアドレスを供給する読み出しカウンタと、
前記書き込みアドレス及び前記読み出しアドレスに基づいて書き込みの終了を検知し、リセット信号を出力するリセット信号生成回路と、
前記書き込みクロックの最初の立ち上がりに基づいて前記読み出しカウンタにイネーブル信号を出力し、前記リセット信号に基づいて前記イネーブル信号の出力を停止するイネーブル信号生成回路
とを備えることを特徴とするFIFO制御回路。A write counter that counts a write clock that is driven only during a write operation and supplies a write address to the FIFO memory;
A read counter that counts a read clock and supplies a read address to the FIFO memory;
A reset signal generation circuit that detects completion of writing based on the write address and the read address, and outputs a reset signal;
A FIFO control circuit, comprising: an enable signal generation circuit that outputs an enable signal to the read counter based on a first rising of the write clock and stops outputting the enable signal based on the reset signal.
書き込みクロック端子に接続された一方の入力端子と、低位電源に接続された他方の入力端子とを有するスイッチ回路と、
該スイッチ回路の出力端子に接続されたクロック入力端子と、高位電源に接続されたデータ入力端子と、前記リセット信号生成回路に接続されたリセット端子と、前記スイッチ回路の切り替え信号入力端子に接続された出力端子とを有する第1のラッチ回路
とを備えることを特徴とする請求項6に記載のFIFO制御回路。The enable signal generation circuit includes:
A switch circuit having one input terminal connected to the write clock terminal and the other input terminal connected to the lower power supply;
A clock input terminal connected to an output terminal of the switch circuit, a data input terminal connected to a high-order power supply, a reset terminal connected to the reset signal generation circuit, and a switching signal input terminal of the switch circuit. 7. The FIFO control circuit according to claim 6, further comprising: a first latch circuit having an output terminal.
書き込みクロック端子に接続された一方の入力端子と、低位電源に接続された他方の入力端子とを有するスイッチ回路と、
読み出しクロック端子に接続されたクロック入力端子と、前記スイッチ回路の出力端子に接続されたセット端子と、前記リセット信号生成回路に接続されたリセット端子と、前記スイッチ回路の切り替え信号入力端子に接続された出力端子とを有する第1のラッチ回路
とを備えることを特徴とする請求項6に記載のFIFO制御回路。The enable signal generation circuit includes:
A switch circuit having one input terminal connected to the write clock terminal and the other input terminal connected to the lower power supply;
A clock input terminal connected to the read clock terminal, a set terminal connected to the output terminal of the switch circuit, a reset terminal connected to the reset signal generation circuit, and a switching signal input terminal of the switch circuit. 7. The FIFO control circuit according to claim 6, further comprising: a first latch circuit having an output terminal.
読み出しクロック端子に接続されたクロック入力端子を有し、前記書き込みカウンタに接続された第2のラッチ回路と、
読み出しクロック端子に接続されたクロック入力端子を有し、前記第2のラッチ回路に接続された第3のラッチ回路と、
前記読み出しクロックを入力するクロック入力端子を有し、前記読み出しカウンタに接続された第4のラッチ回路と、
前記第3のラッチ回路に接続された一方の入力端子と、前記第4のラッチ回路に接続された他方の入力端子とを有するアドレス比較回路
とを備えることを特徴とする請求項7〜9のいずれか1項に記載のFIFO制御回路。The reset signal generation circuit includes:
A second latch circuit having a clock input terminal connected to the read clock terminal and connected to the write counter;
A third latch circuit having a clock input terminal connected to the read clock terminal and connected to the second latch circuit;
A fourth latch circuit having a clock input terminal for inputting the read clock and connected to the read counter;
10. An address comparison circuit according to claim 7, further comprising: an address comparison circuit having one input terminal connected to said third latch circuit and the other input terminal connected to said fourth latch circuit. The FIFO control circuit according to claim 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002342591A JP2004178671A (en) | 2002-11-26 | 2002-11-26 | Readout control circuit and fifo control circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002342591A JP2004178671A (en) | 2002-11-26 | 2002-11-26 | Readout control circuit and fifo control circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2004178671A true JP2004178671A (en) | 2004-06-24 |
Family
ID=32704616
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2002342591A Pending JP2004178671A (en) | 2002-11-26 | 2002-11-26 | Readout control circuit and fifo control circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2004178671A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113688074A (en) * | 2021-10-26 | 2021-11-23 | 浙江芯昇电子技术有限公司 | First-in first-out data processing device and data processing method |
-
2002
- 2002-11-26 JP JP2002342591A patent/JP2004178671A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113688074A (en) * | 2021-10-26 | 2021-11-23 | 浙江芯昇电子技术有限公司 | First-in first-out data processing device and data processing method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7512033B2 (en) | Apparatus and method for controlling clock signal in semiconductor memory device | |
TWI326084B (en) | Synchronous dynamic random access memory integrated circuit semiconductor memory with reset function and method of resetting a memory without powering down the memory | |
US10725950B2 (en) | Peripheral interface circuit for serial memory | |
JP2009288056A (en) | Scan flip-flop having scan output signal cutoff function | |
US7447110B2 (en) | Integrated circuit devices having dual data rate (DDR) output circuits therein | |
US6472909B1 (en) | Clock routing circuit with fast glitchless switching | |
US8581758B2 (en) | Semiconductor device, method for controlling the same, and data processing system including semiconductor device | |
KR100612417B1 (en) | Pulse-based high-speed low-power gated flip-flop circuit | |
TW578050B (en) | Register capable of corresponding to wide frequency band and signal generating method using the same | |
US8305125B2 (en) | Low latency synchronizer circuit | |
TW459442B (en) | Input buffer | |
US20080091903A1 (en) | Read-data stage circuitry for DDR-SDRAM memory controller | |
TW201933348A (en) | Apparatuses and methods for providing multiphase clock signals | |
US7528630B2 (en) | High speed flip-flop | |
US7242636B2 (en) | Clock control circuit and semiconductor memory device including the same and input operation method of semiconductor memory device | |
US7876641B2 (en) | Semiconductor integrated circuit | |
JP2004178671A (en) | Readout control circuit and fifo control circuit | |
US6346823B1 (en) | Pulse generator for providing pulse signal with constant pulse width | |
US8134405B2 (en) | Semiconductor device and timing control method for the same | |
JP2002176341A (en) | Clock control circuit | |
US20070052466A1 (en) | Flip-flop with improved operating speed | |
US8199606B2 (en) | Semiconductor memory apparatus and method of controlling the same | |
JP2008283248A (en) | Hold-free register cell | |
JP2009104694A (en) | Input circuit of semiconductor memory | |
US6359488B2 (en) | Clock buffer circuit, and interface and synchronous type semiconductor memory device with clock buffer circuit |