[go: up one dir, main page]

JP2015185200A - semiconductor device - Google Patents

semiconductor device Download PDF

Info

Publication number
JP2015185200A
JP2015185200A JP2014063713A JP2014063713A JP2015185200A JP 2015185200 A JP2015185200 A JP 2015185200A JP 2014063713 A JP2014063713 A JP 2014063713A JP 2014063713 A JP2014063713 A JP 2014063713A JP 2015185200 A JP2015185200 A JP 2015185200A
Authority
JP
Japan
Prior art keywords
control signal
circuit
signal
clock
clock signals
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
Application number
JP2014063713A
Other languages
Japanese (ja)
Inventor
修一 石橋
Shuichi Ishibashi
修一 石橋
宮野 和孝
Kazutaka Miyano
和孝 宮野
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.)
Micron Technology Inc
Original Assignee
Micron Technology Inc
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 Micron Technology Inc filed Critical Micron Technology Inc
Priority to JP2014063713A priority Critical patent/JP2015185200A/en
Publication of JP2015185200A publication Critical patent/JP2015185200A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Dram (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a semiconductor device having a latency counter having small current consumption and a relatively simple circuit configuration.SOLUTION: First counter circuits and second counter circuit for making a terminal control signal ODTi delay in synchronous with an internal clock signal PCLK are coupled in series. The first counter circuits 111-114 switch a delay amount of the terminal control signal ODTi by a 8 clock cycle in synchronous with the internal clock signal PCLK, and the second counter circuit 120 switches the delay amount of the terminal control signal ODTi by a 1 clock cycle in synchronization with the internal clock signal PCLK. According to the invention, the semiconductor device having a latency counter having small current consumption and a relatively simple circuit configuration can be provided.

Description

本発明は半導体装置に関し、特に、制御信号のレイテンシをカウントするレイテンシカウンタを備える半導体装置に関する。   The present invention relates to a semiconductor device, and more particularly to a semiconductor device including a latency counter that counts latency of a control signal.

DRAM(Dynamic Random Access Memory)などの半導体装置は、クロック信号に同期した動作を行うシンクロナス型が一般的であり、使用するクロック信号の周波数を高めることによって動作速度の向上が図られている。しかしながら、センス動作などバックエンド回路における動作はあくまでアナログ動作であり、クロック信号の周波数に比例して高速化することは困難である。このため、外部からコマンドが投入された後、実際にリードデータの出力やODT(On Die Termination)動作を実行するまでのクロックサイクル数は、クロック信号の周波数が高くなるにつれて増大する傾向にある。このようなクロックサイクル数は、一般的にレイテンシと呼ばれている。   A semiconductor device such as a DRAM (Dynamic Random Access Memory) is generally a synchronous type that operates in synchronization with a clock signal, and the operation speed is improved by increasing the frequency of the clock signal to be used. However, the operation in the back-end circuit such as the sense operation is an analog operation to the last, and it is difficult to increase the speed in proportion to the frequency of the clock signal. For this reason, the number of clock cycles from when an external command is input until the actual output of read data or ODT (On Die Termination) operation tends to increase as the frequency of the clock signal increases. Such a number of clock cycles is generally called latency.

レイテンシをカウントするためのレイテンシカウンタとしては、特許文献1,2に記載された回路が知られている。特許文献1に記載されたレイテンシカウンタは、段数が可変であるシフトレジスタを用いている。また、特許文献2に記載されたレイテンシカウンタは、いわゆるポイントシフト型FIFO回路を用いている。   As a latency counter for counting latency, circuits described in Patent Documents 1 and 2 are known. The latency counter described in Patent Document 1 uses a shift register having a variable number of stages. In addition, the latency counter described in Patent Document 2 uses a so-called point shift type FIFO circuit.

特開2011−060372号公報JP 2011-060372 A 特開2008−047267号公報JP 2008-047267 A

しかしながら、シフトレジスタを用いたレイテンシカウンタは、レイテンシ数に比例して消費電流が増大する。これに対し、ポイントシフト型FIFO回路を用いたレイテンシカウンタは、シフトレジスタを用いたレイテンシカウンタよりも消費電流を低減することができるが、選択可能なレイテンシの種類が多いと回路構成が複雑化するという問題があった。このため、消費電流が少なく、且つ、比較的簡素な回路構成を有するレイテンシカウンタを備えた半導体装置が望まれている。   However, a latency counter using a shift register increases current consumption in proportion to the number of latencies. On the other hand, the latency counter using the point shift type FIFO circuit can reduce current consumption more than the latency counter using the shift register, but the circuit configuration becomes complicated if there are many types of selectable latency. There was a problem. Therefore, a semiconductor device including a latency counter that consumes less current and has a relatively simple circuit configuration is desired.

本発明の一側面による半導体装置は、第1のクロック信号に同期して制御信号を遅延させる第1及び第2のカウンタ回路が直列に接続されてなり、前記第1のカウンタ回路は、前記第1のクロック信号に同期して前記制御信号の遅延量を第1のピッチで切り替え、前記第2のカウンタ回路は、前記第1のクロック信号に同期して前記制御信号の遅延量を前記第1のピッチよりも小さい第2のピッチで切り替えることを特徴とする。   In a semiconductor device according to an aspect of the present invention, first and second counter circuits that delay a control signal in synchronization with a first clock signal are connected in series, and the first counter circuit includes the first counter circuit. The delay amount of the control signal is switched at a first pitch in synchronization with the first clock signal, and the second counter circuit sets the delay amount of the control signal in synchronization with the first clock signal. It is characterized by switching at a second pitch smaller than the first pitch.

本発明の他の側面による半導体装置は、制御信号をラッチする複数の第1のラッチ回路をそれぞれ含む複数のFIFO回路からなる第1のカウンタ回路と、前記制御信号が通過する前記FIFO回路の数を切り替えるセレクタと、前記第1のカウンタ回路とは別個に設けられ、第1のクロック信号に同期して前記制御信号の遅延量を切り替える第2のカウンタ回路と、前記第1のクロック信号を分周することによって互いに位相の異なる複数の第2のクロック信号を生成する分周回路と、を備え、同じFIFO回路に含まれる前記複数の第1のラッチ回路は、前記複数の第2のクロック信号の互いに異なるものに同期して前記制御信号を取り込み、前記複数の第2のクロック信号の互いに異なるものに同期して前記制御信号を出力し、前記複数の第1のラッチ回路のそれぞれは、前記複数の第2のクロック信号のうち同じものに同期して前記制御信号の取り込み及び出力を行うことを特徴とする。   According to another aspect of the present invention, a semiconductor device includes a first counter circuit including a plurality of FIFO circuits each including a plurality of first latch circuits that latch control signals, and the number of the FIFO circuits through which the control signals pass. And a selector for switching between the first counter circuit and the first counter circuit, the second counter circuit for switching the delay amount of the control signal in synchronization with the first clock signal, and the first clock signal. A plurality of frequency dividing circuits that generate a plurality of second clock signals having different phases by rotating, and the plurality of first latch circuits included in the same FIFO circuit includes the plurality of second clock signals. The control signal is captured in synchronization with different ones of the plurality of clock signals, the control signal is output in synchronization with different ones of the plurality of second clock signals, Each of the first latch circuit, wherein the synchronization with those same among the plurality of second clock signal for fetching and outputting of the control signal.

本発明によれば、消費電流が少なく、且つ、比較的簡素な回路構成を有するレイテンシカウンタを備えた半導体装置を提供することが可能となる。   According to the present invention, it is possible to provide a semiconductor device including a latency counter that consumes less current and has a relatively simple circuit configuration.

本発明の好ましい実施形態による半導体装置10の全体構造を示すブロック図である。1 is a block diagram showing an overall structure of a semiconductor device 10 according to a preferred embodiment of the present invention. 終端制御信号ODTに関連する部分を抜き出して示すブロック図である。It is a block diagram which extracts and shows the part relevant to the termination | terminus control signal ODT. 終端制御信号ODTに基づく終端動作を説明するためのタイミング図であり、ODTレイテンシが5クロックサイクルに設定されている場合を示している。It is a timing diagram for demonstrating termination | terminus operation | movement based on termination | terminus control signal ODT, and has shown the case where ODT latency is set to 5 clock cycles. 終端制御信号ODTに基づく終端動作を説明するためのタイミング図であり、ODTレイテンシが10クロックサイクルに設定されている場合を示している。It is a timing diagram for demonstrating termination | terminus operation | movement based on termination | terminus control signal ODT, and has shown the case where ODT latency is set to 10 clock cycles. プロトタイプによるレイテンシカウンタ100Xの回路図である。It is a circuit diagram of the latency counter 100X by a prototype. レイテンシカウンタ100Xの動作を説明するためのタイミング図であり、シフト量を3クロックサイクルに設定した場合を示している。FIG. 10 is a timing diagram for explaining the operation of the latency counter 100X, and shows a case where the shift amount is set to 3 clock cycles. 第1の実施形態によるレイテンシカウンタ100aの回路図である。FIG. 3 is a circuit diagram of a latency counter 100a according to the first embodiment. シフト量デコーダ140の構成を示すブロック図である。3 is a block diagram showing a configuration of a shift amount decoder 140. FIG. 分周回路151の回路図である。3 is a circuit diagram of a frequency dividing circuit 151. FIG. 分周回路151の動作を説明するためのタイミング図である。FIG. 6 is a timing chart for explaining the operation of the frequency dividing circuit 151. FIFO回路111の回路図である。3 is a circuit diagram of a FIFO circuit 111. FIG. ラッチ回路LAT0の回路図である。It is a circuit diagram of the latch circuit LAT0. FIFO回路111の動作を説明するためのタイミング図である。5 is a timing chart for explaining the operation of the FIFO circuit 111. FIG. FIFO回路120の回路図である。2 is a circuit diagram of a FIFO circuit 120. FIG. ラッチ回路LAT32の回路図である。It is a circuit diagram of the latch circuit LAT32. 出力ポインタ生成回路160の回路図である。3 is a circuit diagram of an output pointer generation circuit 160. FIG. クロックセレクタCS0の回路図である。It is a circuit diagram of clock selector CS0. 出力ポインタ生成回路160の動作を説明するためのタイミング図である。5 is a timing chart for explaining the operation of the output pointer generation circuit 160. FIG. FIFO回路120の動作を説明するためのタイミング図である。4 is a timing chart for explaining the operation of the FIFO circuit 120. FIG. 第2の実施形態によるレイテンシカウンタ100bの回路図である。It is a circuit diagram of the latency counter 100b by 2nd Embodiment. 分周回路152の回路図である。3 is a circuit diagram of a frequency dividing circuit 152. FIG. 第3の実施形態によるレイテンシカウンタ100cの回路図である。FIG. 9 is a circuit diagram of a latency counter 100c according to a third embodiment. シフト回路121の回路図である。2 is a circuit diagram of a shift circuit 121. FIG. 第4の実施形態によるレイテンシカウンタ100dの回路図である。It is a circuit diagram of the latency counter 100d by 4th Embodiment. FIFO回路115及び合成回路170の回路図である。3 is a circuit diagram of a FIFO circuit 115 and a synthesis circuit 170. FIG. シフト回路122の回路図である。3 is a circuit diagram of a shift circuit 122. FIG.

以下、添付図面を参照しながら、本発明の好ましい実施の形態について詳細に説明する。   Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.

図1は、本発明の好ましい実施形態による半導体装置10の全体構造を示すブロック図である。   FIG. 1 is a block diagram showing the overall structure of a semiconductor device 10 according to a preferred embodiment of the present invention.

本実施形態による半導体装置10は、1つの半導体チップに集積されたDDR4(Double Data Rate 4)型のDRAMであり、図1に示すように、n+1個のバンクに分割されたメモリセルアレイ11を備えている。バンクとは個別にコマンドを実行可能な単位であり、バンク間においては基本的に非排他的な動作が可能である。   The semiconductor device 10 according to the present embodiment is a DDR4 (Double Data Rate 4) type DRAM integrated on one semiconductor chip, and includes a memory cell array 11 divided into n + 1 banks as shown in FIG. ing. A bank is a unit capable of executing commands individually, and basically non-exclusive operations are possible between banks.

メモリセルアレイ11には、互いに交差する複数のワード線WLと複数のビット線BLが設けられており、それらの交点にメモリセルMCが配置されている。ワード線WLの選択はロウデコーダ12によって行われ、ビット線BLの選択はカラムデコーダ13によって行われる。ビット線BLは、センス回路14内の対応するセンスアンプSAにそれぞれ接続されており、カラムデコーダ13により選択されたビット線BLは、センスアンプSAを介してデータコントローラ15に接続される。データコントローラ15にはメインアンプや検証回路などが含まれており、FIFO回路16を介してデータ入出力回路17に接続される。データ入出力回路17は、データ入出力端子21を介してデータの入出力を行う回路ブロックである。   The memory cell array 11 is provided with a plurality of word lines WL and a plurality of bit lines BL intersecting with each other, and memory cells MC are arranged at the intersections thereof. Selection of the word line WL is performed by the row decoder 12, and selection of the bit line BL is performed by the column decoder 13. Each bit line BL is connected to a corresponding sense amplifier SA in the sense circuit 14, and the bit line BL selected by the column decoder 13 is connected to the data controller 15 via the sense amplifier SA. The data controller 15 includes a main amplifier, a verification circuit, and the like, and is connected to the data input / output circuit 17 via the FIFO circuit 16. The data input / output circuit 17 is a circuit block that inputs and outputs data via the data input / output terminal 21.

半導体装置10にはデータ入出力端子21の他に、外部端子としてストローブ端子22,23、クロック端子24,25、クロックイネーブル端子26、アドレス端子27、コマンド端子28、アラート端子29、電源端子30,31、データマスク端子32、ODT端子33などが設けられている。   In addition to the data input / output terminal 21, the semiconductor device 10 includes strobe terminals 22 and 23, clock terminals 24 and 25, a clock enable terminal 26, an address terminal 27, a command terminal 28, an alert terminal 29, a power supply terminal 30, 31, a data mask terminal 32, an ODT terminal 33 and the like are provided.

ストローブ端子22,23は、それぞれストローブ信号DQST,DQSBを入出力するための端子である。ストローブ信号DQST,DQSBは相補の信号であり、データ入出力端子21を介して入出力されるデータの入出力タイミングを規定する。具体的には、データの入力時、つまりライト動作時においては、ストローブ信号DQST,DQSBがストローブ回路18に供給され、ストローブ回路18はこれらに基づいてデータ入出力回路17の動作タイミングを制御する。これにより、データ入出力端子21を介して入力されるライトデータDQは、ストローブ信号DQST,DQSBに同期してデータ入出力回路17に取り込まれる。一方、データの出力時、つまりリード動作時においては、ストローブコントローラ19によってストローブ回路18の動作が制御される。これにより、データ入出力回路17からは、ストローブ信号DQST,DQSBに同期してリードデータDQが出力される。   The strobe terminals 22 and 23 are terminals for inputting and outputting strobe signals DQST and DQSB, respectively. The strobe signals DQST and DQSB are complementary signals and define the input / output timing of data input / output via the data input / output terminal 21. Specifically, at the time of data input, that is, at the time of write operation, the strobe signals DQST and DQSB are supplied to the strobe circuit 18, and the strobe circuit 18 controls the operation timing of the data input / output circuit 17 based on them. As a result, the write data DQ input via the data input / output terminal 21 is taken into the data input / output circuit 17 in synchronization with the strobe signals DQST and DQSB. On the other hand, at the time of data output, that is, at the time of read operation, the operation of the strobe circuit 18 is controlled by the strobe controller 19. As a result, the data input / output circuit 17 outputs the read data DQ in synchronization with the strobe signals DQST and DQSB.

クロック端子24,25は、それぞれ外部クロック信号CK、/CKが入力される端子である。入力された外部クロック信号CK,/CKは、クロックジェネレータ40に供給される。本明細書において信号名の先頭に「/」が付されている信号は、ローアクティブな信号又は対応する信号の反転信号であることを意味する。したがって、外部クロック信号CK,/CKは互いに相補の信号である。クロックジェネレータ40は、クロックイネーブル端子26を介して入力されるクロックイネーブル信号CKEに基づいて活性化され、内部クロック信号ICLKを生成する。また、クロック端子24,25を介して供給された外部クロック信号CK、/CKは、DLL回路41にも供給される。   The clock terminals 24 and 25 are terminals to which external clock signals CK and / CK are input, respectively. The input external clock signals CK and / CK are supplied to the clock generator 40. In this specification, a signal having “/” at the head of a signal name means a low active signal or an inverted signal of the corresponding signal. Therefore, the external clock signals CK and / CK are complementary signals. The clock generator 40 is activated based on the clock enable signal CKE input via the clock enable terminal 26, and generates the internal clock signal ICLK. The external clock signals CK and / CK supplied via the clock terminals 24 and 25 are also supplied to the DLL circuit 41.

DLL回路41は、外部クロック信号CK、/CKに基づいて位相制御された出力クロック信号LCLKを生成する回路である。出力クロック信号LCLKは、データ入出力回路17によるリードデータの出力タイミングを規定するタイミング信号として用いられる。また、DLL回路41には、ODT端子33を介して終端制御信号ODTも供給される。   The DLL circuit 41 is a circuit that generates an output clock signal LCLK whose phase is controlled based on the external clock signals CK and / CK. The output clock signal LCLK is used as a timing signal that defines the output timing of read data by the data input / output circuit 17. Further, the termination control signal ODT is also supplied to the DLL circuit 41 via the ODT terminal 33.

アドレス端子27は、アドレス信号ADDが供給される端子であり、供給されたアドレス信号ADDは、ロウコントロール回路50、カラムコントロール回路60、モードレジスタ42、コマンドデコーダ43などに供給される。ロウコントロール回路50は、アドレスバッファ51やリフレッシュカウンタ52などを含む回路ブロックであり、ロウアドレスに基づいてロウデコーダ12を制御する。また、カラムコントロール回路60は、アドレスバッファ61やバーストカウンタ62などを含む回路ブロックであり、カラムアドレスに基づいてカラムデコーダ13を制御する。また、モードレジスタセットにエントリしている場合には、アドレス信号ADDがモードレジスタ42に供給され、これによってモードレジスタ42の内容が更新される。   The address terminal 27 is a terminal to which an address signal ADD is supplied. The supplied address signal ADD is supplied to the row control circuit 50, the column control circuit 60, the mode register 42, the command decoder 43, and the like. The row control circuit 50 is a circuit block including an address buffer 51 and a refresh counter 52, and controls the row decoder 12 based on the row address. The column control circuit 60 is a circuit block including an address buffer 61 and a burst counter 62, and controls the column decoder 13 based on the column address. If the entry is made in the mode register set, the address signal ADD is supplied to the mode register 42, whereby the contents of the mode register 42 are updated.

コマンド端子28は、チップセレクト信号/CS、ロウアドレスストローブ信号/RAS、カラムアドレスストローブ信号/CAS、ライトイネーブル信号/WE、パリティ信号PRTY及びリセット信号RSTなどが供給される端子である。これらのコマンド信号CMDはコマンドデコーダ43に供給され、コマンドデコーダ43はこれらコマンド信号CMDに基づいて内部コマンドICMDを生成する。内部コマンド信号ICMDはコントロールロジック回路44に供給される。コントロールロジック回路44は、内部コマンド信号ICMDに基づいて、ロウコントロール回路50、カラムコントロール回路60、データコントローラ15などの動作を制御する。   The command terminal 28 is a terminal to which a chip select signal / CS, a row address strobe signal / RAS, a column address strobe signal / CAS, a write enable signal / WE, a parity signal PRTY, a reset signal RST, and the like are supplied. These command signals CMD are supplied to the command decoder 43, and the command decoder 43 generates an internal command ICMD based on these command signals CMD. The internal command signal ICMD is supplied to the control logic circuit 44. The control logic circuit 44 controls operations of the row control circuit 50, the column control circuit 60, the data controller 15 and the like based on the internal command signal ICMD.

コマンドデコーダ43には、図示しない検証回路が含まれている。検証回路は、パリティ信号PRTYに基づいてアドレス信号ADD及びコマンド信号CMDを検証し、その結果、アドレス信号ADD又はコマンド信号CMDに誤りが存在する場合には、コントロールロジック回路44及び出力回路45を介してアラート信号ALRTを出力する。アラート信号ALRTはアラート端子29を介して外部に出力される。   The command decoder 43 includes a verification circuit (not shown). The verification circuit verifies the address signal ADD and the command signal CMD based on the parity signal PRTY. As a result, if there is an error in the address signal ADD or the command signal CMD, the verification circuit passes through the control logic circuit 44 and the output circuit 45. To output an alert signal ALRT. The alert signal ALRT is output to the outside via the alert terminal 29.

電源端子30,31は、それぞれ電源電位VDD,VSSが供給される端子である。電源端子30,31を介して供給された電源電位VDD,VSSは、電源回路46に供給される。電源回路46は、電源電位VDD,VSSに基づき、各種内部電位を生成する回路ブロックである。電源回路46によって生成される内部電位としては、昇圧電位VPP、電源電位VPERI、アレイ電位VARY、基準電位VREFなどが含まれる。昇圧電位VPPは電源電位VDDを昇圧することによって生成され、電源電位VPERI、アレイ電位VARY、基準電位VREFは外部電位VDDを降圧することによって生成される。   The power supply terminals 30 and 31 are terminals to which power supply potentials VDD and VSS are supplied, respectively. The power supply potentials VDD and VSS supplied via the power supply terminals 30 and 31 are supplied to the power supply circuit 46. The power supply circuit 46 is a circuit block that generates various internal potentials based on the power supply potentials VDD and VSS. The internal potential generated by the power supply circuit 46 includes a boosted potential VPP, a power supply potential VPERI, an array potential VARY, a reference potential VREF, and the like. The boosted potential VPP is generated by boosting the power supply potential VDD, and the power supply potential VPERI, the array potential VARY, and the reference potential VREF are generated by stepping down the external potential VDD.

昇圧電圧VPPは、主にロウデコーダ12において用いられる電位である。ロウデコーダ12は、アドレス信号ADDに基づき選択したワード線WLをVPPレベルに駆動し、これによりメモリセルMCに含まれるセルトランジスタを導通させる。内部電位VARYは、主にセンス回路14において用いられる電位である。センス回路14が活性化すると、ビット線対の一方をVARYレベル、他方をVSSレベルに駆動することにより、読み出されたリードデータの増幅を行う。電源電圧VPERIは、ロウコントロール回路50、カラムコントロール回路60などの大部分の周辺回路の動作電位として用いられる。これら周辺回路の動作電位として電源電位VDDよりも電圧の低い電源電位VPERIを用いることにより、半導体装置10の低消費電力化が図られている。また、基準電位VREFは、データ入出力回路17において用いられる電位である。   The boosted voltage VPP is a potential mainly used in the row decoder 12. The row decoder 12 drives the word line WL selected based on the address signal ADD to the VPP level, thereby turning on the cell transistor included in the memory cell MC. The internal potential VARY is a potential mainly used in the sense circuit 14. When the sense circuit 14 is activated, the read data read out is amplified by driving one of the bit line pairs to the VARY level and the other to the VSS level. The power supply voltage VPERI is used as an operating potential for most peripheral circuits such as the row control circuit 50 and the column control circuit 60. By using the power supply potential VPERI having a voltage lower than the power supply potential VDD as the operating potential of these peripheral circuits, the power consumption of the semiconductor device 10 is reduced. The reference potential VREF is a potential used in the data input / output circuit 17.

データマスク端子32及びODT端子33は、それぞれデータマスク信号DM及び終端制御信号ODTが供給される端子である。データマスク信号DM及び終端制御信号ODTはデータ入出力回路17に供給される。データマスク信号DMは、ライトデータ及びリードデータの一部をマスクする場合に活性化される信号であり、終端制御信号ODTはデータ入出力回路17に含まれる出力バッファを終端抵抗器として使用する場合に活性化される信号である。   The data mask terminal 32 and the ODT terminal 33 are terminals to which a data mask signal DM and a termination control signal ODT are supplied, respectively. The data mask signal DM and the termination control signal ODT are supplied to the data input / output circuit 17. The data mask signal DM is activated when masking part of the write data and read data, and the termination control signal ODT is used when the output buffer included in the data input / output circuit 17 is used as a termination resistor. It is a signal that is activated.

以上が本実施形態による半導体装置10の全体構造である。以下、終端制御信号ODTを遅延させるレイテンシカウンタに着目して、本実施形態による半導体装置10についてより詳細に説明を進める。   The above is the overall structure of the semiconductor device 10 according to the present embodiment. Hereinafter, the semiconductor device 10 according to the present embodiment will be described in more detail with attention paid to the latency counter that delays the termination control signal ODT.

図2は、終端制御信号ODTに関連する部分を抜き出して示すブロック図である。   FIG. 2 is a block diagram showing a portion related to the termination control signal ODT.

図2に示すように、DLL回路41には、2つのディレイライン71,72及びこれらを制御するDLL制御回路73が含まれている。ディレイライン71は、クロックレシーバ81を介して出力される内部クロック信号PCLKを遅延させることによって出力用の内部クロック信号LCLKを生成する。一方、ディレイライン72は、ODTレシーバ82及びラッチ回路83を介して出力される終端制御信号ODTを遅延させることによって終端制御信号ODTiを生成する。   As shown in FIG. 2, the DLL circuit 41 includes two delay lines 71 and 72 and a DLL control circuit 73 for controlling them. The delay line 71 generates an internal clock signal LCLK for output by delaying the internal clock signal PCLK output via the clock receiver 81. On the other hand, the delay line 72 generates the termination control signal ODTi by delaying the termination control signal ODT output via the ODT receiver 82 and the latch circuit 83.

内部クロック信号LCLK及び終端制御信号ODTiは、いずれもデータ入出力回路17に供給される。データ入出力回路17は、終端制御信号ODTiのレイテンシをカウントするレイテンシカウンタ100を備えている。レイテンシカウンタ100は、あらかじめ設定されたレイテンシ分だけ終端制御信号ODTiを遅延させ、これを終端制御信号ODTfとして出力する。レイテンシの設定は、モードレジスタ42から供給されるアディティブレイテンシAL及びライトレイテンシCWLと、DLL制御回路73から供給されるロック値NTによって決まる。具体的には、レイテンシカウンタ100の遅延量であるクロック信号のカウント数をSとすると、
S=AL+CWL−NT−2
で定義される。
Both the internal clock signal LCLK and the termination control signal ODTi are supplied to the data input / output circuit 17. The data input / output circuit 17 includes a latency counter 100 that counts the latency of the termination control signal ODTi. The latency counter 100 delays the termination control signal ODTi by a preset latency and outputs it as a termination control signal ODTf. The setting of the latency is determined by the additive latency AL and write latency CWL supplied from the mode register 42 and the lock value NT supplied from the DLL control circuit 73. Specifically, when the clock signal count, which is the delay amount of the latency counter 100, is S,
S = AL + CWL-NT-2
Defined by

レイテンシカウンタ100から出力される終端制御信号ODTfは、ODTドライバ84に供給される。ODTドライバ84は、データ入出力端子21及びストローブ端子22,23を終端抵抗器として機能させるためのドライバであり、出力用の内部クロック信号LCLKに同期して動作する。ODTドライバ84は、リードデータDQやストローブ信号DQST,DQSBの出力に用いるドライバと共用であっても構わないし、これらのドライバとは別個に設けても構わない。   The termination control signal ODTf output from the latency counter 100 is supplied to the ODT driver 84. The ODT driver 84 is a driver for causing the data input / output terminal 21 and the strobe terminals 22 and 23 to function as termination resistors, and operates in synchronization with the internal clock signal LCLK for output. The ODT driver 84 may be shared with the driver used to output the read data DQ and the strobe signals DQST and DQSB, or may be provided separately from these drivers.

図3及び図4は、終端制御信号ODTに基づく終端動作を説明するためのタイミング図であり、図3はODTレイテンシが5クロックサイクルに設定されている場合を示し、図4はODTレイテンシが10クロックサイクルに設定されている場合を示している。   3 and 4 are timing diagrams for explaining the termination operation based on the termination control signal ODT. FIG. 3 shows a case where the ODT latency is set to 5 clock cycles, and FIG. This shows the case where the clock cycle is set.

図3及び図4に示すように、終端制御信号ODTがハイレベルに変化すると、外部クロック信号CKの次の立ち上がりエッジを基準として、ODTレイテンシのカウントが行われる。図3及び図4に示す例では、いずれも外部クロック信号CKのエッジ#2の直前に終端制御信号ODTがハイレベルに変化していることから、ODTレイテンシが5クロックサイクルに設定されている場合は外部クロック信号CKのエッジ#7に同期して終端動作が開始され、ODTレイテンシが10クロックサイクルに設定されている場合は外部クロック信号CKのエッジ#12に同期して終端動作が開始される。   As shown in FIGS. 3 and 4, when the termination control signal ODT changes to a high level, the ODT latency is counted with reference to the next rising edge of the external clock signal CK. In the examples shown in FIG. 3 and FIG. 4, since the termination control signal ODT changes to the high level immediately before the edge # 2 of the external clock signal CK, the ODT latency is set to 5 clock cycles. Terminates in synchronization with the edge # 7 of the external clock signal CK. When the ODT latency is set to 10 clock cycles, the termination operation begins in synchronization with the edge # 12 of the external clock signal CK. .

ここで、ODTレイテンシのうち、最後の2クロックサイクルは図2に示したODTドライバ84による同期期間であり、残りの遅延量(シフト期間)がレイテンシカウンタ100によって定義される。したがって、図3に示す例ではシフト期間が3クロックサイクルであり、図4に示す例ではシフト期間が8クロックサイクルである。   Here, of the ODT latency, the last two clock cycles are a synchronization period by the ODT driver 84 shown in FIG. 2, and the remaining delay amount (shift period) is defined by the latency counter 100. Therefore, in the example shown in FIG. 3, the shift period is 3 clock cycles, and in the example shown in FIG. 4, the shift period is 8 clock cycles.

ここで、本発明の実施形態によるレイテンシカウンタについて説明する前に、本発明者らが発明を完成するに至る課程で検討したプロトタイプによるレイテンシカウンタについて説明する。   Here, before describing the latency counter according to the embodiment of the present invention, the prototype latency counter studied by the inventors in the course of completing the invention will be described.

図5は、プロトタイプによるレイテンシカウンタ100Xの回路図である。   FIG. 5 is a circuit diagram of a prototype latency counter 100X.

図5に示すプロトタイプによるレイテンシカウンタ100Xは、縦続接続された40個のフリップフロップ回路FF0〜FF39からなるシフトレジスタSLと、シフトレジスタSLに終端制御信号ODTiを供給するセレクタSELとを備えている。セレクタSELは、アディティブレイテンシAL、ライトレイテンシCWL及びロック値NTに基づき、終端制御信号ODTiをフリップフロップ回路FF0〜FF39のいずれかの入力ノードS0〜S39に供給する。これにより、終端制御信号ODTiが通過するシフトレジスタSLの段数が可変となるため、任意のレイテンシをカウントすることができる。ここで、シフトレジスタSLに40個のフリップフロップ回路FF0〜FF39を用いているのは、規格上、設定可能なODTレイテンシの最大値に対応するためである。   The prototype latency counter 100X shown in FIG. 5 includes a shift register SL including 40 flip-flop circuits FF0 to FF39 connected in cascade, and a selector SEL that supplies a termination control signal ODTi to the shift register SL. The selector SEL supplies the termination control signal ODTi to any one of the input nodes S0 to S39 of the flip-flop circuits FF0 to FF39 based on the additive latency AL, the write latency CWL, and the lock value NT. As a result, the number of stages of the shift register SL through which the termination control signal ODTi passes is variable, so that any latency can be counted. Here, the reason why the 40 flip-flop circuits FF0 to FF39 are used for the shift register SL is to correspond to the maximum ODT latency that can be set according to the standard.

図6は、レイテンシカウンタ100Xの動作を説明するためのタイミング図であり、シフト量を3クロックサイクルに設定した場合を示している。   FIG. 6 is a timing chart for explaining the operation of the latency counter 100X, and shows a case where the shift amount is set to 3 clock cycles.

図6に示すように、レイテンシカウンタ100Xによるシフト量を3クロックサイクルに設定する場合、セレクタSELは、終端制御信号ODTiをフリップフロップ回路FF37に供給する。これにより、終端制御信号ODTiは、3個のフリップフロップ回路FF37〜FF39を通過し、終端制御信号ODTfとして出力される。つまり、外部クロック信号CKのエッジ#4に同期した終端制御信号ODTiは外部クロック信号CKのエッジ#7に同期した終端制御信号ODTfとして出力され、外部クロック信号CKのエッジ#12に同期した終端制御信号ODTiは外部クロック信号CKのエッジ#15に同期した終端制御信号ODTfとして出力される。   As shown in FIG. 6, when the shift amount by the latency counter 100X is set to 3 clock cycles, the selector SEL supplies the termination control signal ODTi to the flip-flop circuit FF37. As a result, the termination control signal ODTi passes through the three flip-flop circuits FF37 to FF39 and is output as the termination control signal ODTf. That is, the termination control signal ODTi synchronized with the edge # 4 of the external clock signal CK is output as the termination control signal ODTf synchronized with the edge # 7 of the external clock signal CK, and the termination control synchronized with the edge # 12 of the external clock signal CK. The signal ODTi is output as a termination control signal ODTf synchronized with the edge # 15 of the external clock signal CK.

このような構成を有するレイテンシカウンタ100Xを用いた場合、ODTレイテンシの値が小さい場合には大きな問題はないが、ODTレイテンシの値が大きくなるにつれて使用するフリップフロップ回路の数が増えるため、これに比例して消費電流が増大する。   When the latency counter 100X having such a configuration is used, there is no big problem when the value of the ODT latency is small, but the number of flip-flop circuits to be used increases as the value of the ODT latency increases. The current consumption increases in proportion.

以下に説明する本発明の実施形態によるレイテンシカウンタは、このような問題が解消され、比較的簡素な回路構成によって低消費電流を実現している。   In the latency counter according to the embodiment of the present invention described below, such a problem is solved, and a low current consumption is realized by a relatively simple circuit configuration.

図7は、第1の実施形態によるレイテンシカウンタ100aの回路図である。   FIG. 7 is a circuit diagram of the latency counter 100a according to the first embodiment.

図7に示すように、第1の実施形態によるレイテンシカウンタ100aは、第1のカウンタ回路を構成する4個のFIFO回路111〜114と、第2のカウンタ回路を構成するFIFO回路120を備え、これらが直列に接続された構成を有している。いずれのFIFO回路111〜114,120もいわゆるポイントシフト型のFIFO回路であるが、FIFO回路111〜114に関しては入力ポインタと出力ポインタの関係が固定的であり、FIFO回路120に関しては入力ポインタと出力ポインタの関係が可変である。   As shown in FIG. 7, the latency counter 100a according to the first embodiment includes four FIFO circuits 111 to 114 that constitute a first counter circuit, and a FIFO circuit 120 that constitutes a second counter circuit. These have the structure connected in series. Any of the FIFO circuits 111 to 114 and 120 is a so-called point shift type FIFO circuit, but the relationship between the input pointer and the output pointer is fixed with respect to the FIFO circuits 111 to 114, and the input pointer and the output with respect to the FIFO circuit 120. The pointer relationship is variable.

FIFO回路111〜114,120は、セレクタ131〜134を介して直列に接続されている。セレクタ131は、選択信号SELU32に基づき、終端制御信号ODTi及びFIFO回路111の出力信号のいずれか一方をFIFO回路112に供給する。また、セレクタ132は、選択信号SELU24に基づき、終端制御信号ODTi及びFIFO回路112の出力信号のいずれか一方をFIFO回路113に供給する。さらに、セレクタ133は、選択信号SELU16に基づき、終端制御信号ODTi及びFIFO回路113の出力信号のいずれか一方をFIFO回路114に供給する。そして、セレクタ134は、選択信号SELU8に基づき、終端制御信号ODTi及びFIFO回路114の出力信号のいずれか一方をFIFO回路120に供給する。   The FIFO circuits 111 to 114, 120 are connected in series via the selectors 131 to 134. The selector 131 supplies either the termination control signal ODTi or the output signal of the FIFO circuit 111 to the FIFO circuit 112 based on the selection signal SELU32. The selector 132 supplies either the termination control signal ODTi or the output signal of the FIFO circuit 112 to the FIFO circuit 113 based on the selection signal SELU24. Further, the selector 133 supplies either the termination control signal ODTi or the output signal of the FIFO circuit 113 to the FIFO circuit 114 based on the selection signal SELU16. Then, the selector 134 supplies either the termination control signal ODTi or the output signal of the FIFO circuit 114 to the FIFO circuit 120 based on the selection signal SELU8.

具体的には、セレクタ131〜134に入力される選択信号がハイレベルである場合には入力ノードaが選択され、ローレベルである場合には入力ノードbが選択される。   Specifically, the input node a is selected when the selection signal input to the selectors 131 to 134 is at a high level, and the input node b is selected when the selection signal is at a low level.

かかる構成により、選択信号SELU8がローレベルである場合には、FIFO回路111〜114が全てバイパスされ、終端制御信号ODTiはFIFO回路120に直接入力される。また、選択信号SELU8がハイレベル、選択信号SELU16がローレベルである場合には、FIFO回路111〜113がバイパスされ、終端制御信号ODTiはFIFO114を通過した後、FIFO回路120に入力される。選択信号SELU8,16がハイレベル、選択信号SELU24がローレベルである場合には、FIFO回路111,112がバイパスされ、終端制御信号ODTiはFIFO113,114を通過した後、FIFO回路120に入力される。選択信号SELU8,16,24がハイレベル、選択信号SELU32がローレベルである場合には、FIFO回路111がバイパスされ、終端制御信号ODTiはFIFO112〜114を通過した後、FIFO回路120に入力される。そして、選択信号SELU8,16,24,32が全てハイレベルである場合には、終端制御信号ODTiは全てのFIFO111〜114を通過した後、FIFO回路120に入力される。   With this configuration, when the selection signal SELU8 is at a low level, the FIFO circuits 111 to 114 are all bypassed, and the termination control signal ODTi is directly input to the FIFO circuit 120. When the selection signal SELU8 is at a high level and the selection signal SELU16 is at a low level, the FIFO circuits 111 to 113 are bypassed, and the termination control signal ODTi is input to the FIFO circuit 120 after passing through the FIFO 114. When the selection signals SELU8 and 16 are at a high level and the selection signal SELU24 is at a low level, the FIFO circuits 111 and 112 are bypassed, and the termination control signal ODTi is input to the FIFO circuit 120 after passing through the FIFOs 113 and 114. . When the selection signals SELU8, 16, and 24 are at a high level and the selection signal SELU32 is at a low level, the FIFO circuit 111 is bypassed, and the termination control signal ODTi is input to the FIFO circuit 120 after passing through the FIFOs 112 to 114. . When all the selection signals SELU8, 16, 24, and 32 are at a high level, the termination control signal ODTi is input to the FIFO circuit 120 after passing through all the FIFOs 111 to 114.

上記の選択信号SELU8,16,24,32は、シフト量デコーダ140によって生成される。   The selection signals SELU8, 16, 24, and 32 are generated by the shift amount decoder 140.

図8は、シフト量デコーダ140の構成を示すブロック図である。   FIG. 8 is a block diagram showing a configuration of the shift amount decoder 140.

図8に示すように、シフト量デコーダ140は、加算器141、減算器142及びデコーダ143を備えている。加算器141は、アディティブレイテンシALとライトレイテンシCWLを加算する回路であり、その出力値は減算器142に供給される。減算器142は、加算器141の出力値からロック値NTを減じる回路であり、その出力値はデコーダ143に供給される。デコーダ143は、減算器142の出力値を2進数から8進数に変換し、その上位桁に応じて選択信号SELU32,34,16,8を生成し、その下位桁に応じて選択信号SEL0〜SEL7を生成する。   As shown in FIG. 8, the shift amount decoder 140 includes an adder 141, a subtractor 142, and a decoder 143. The adder 141 is a circuit that adds the additive latency AL and the write latency CWL, and the output value is supplied to the subtractor 142. The subtractor 142 is a circuit that subtracts the lock value NT from the output value of the adder 141, and the output value is supplied to the decoder 143. The decoder 143 converts the output value of the subtractor 142 from binary to octal, generates selection signals SELU32, 34, 16, and 8 according to the upper digits, and selects signals SEL0 to SEL7 according to the lower digits. Is generated.

具体的には、減算器142の出力値の上位桁の値が「0」であれば選択信号SELU32,24,16,8を全てローレベルとし、「1」であれば選択信号SELU32,24,16をローレベル、選択信号SELU8をハイレベルとし、「2」であれば選択信号SELU32,34をローレベル、選択信号SELU16,8をハイレベルとし、「3」であれば選択信号SELU32をローレベル、選択信号SELU24,16,8をハイレベルとし、「4」であれば選択信号SELU32,24,16,8を全てローレベルとする。これにより、減算器142の上位桁に応じ、終端制御信号ODTiが通過するFIFO回路111〜114の数が選択されることになる。   Specifically, if the upper digit value of the output value of the subtractor 142 is “0”, the selection signals SELU 32, 24, 16, and 8 are all set to the low level, and if the output value is “1”, the selection signals SELU 32, 24, 16 is low level, the selection signal SELU8 is high level, if "2", the selection signals SELU32, 34 are low level, the selection signals SELU16, 8 are high level, and if "3", the selection signal SELU32 is low level. The selection signals SELU 24, 16, and 8 are set to the high level, and if “4”, the selection signals SELU 32, 24, 16, and 8 are all set to the low level. As a result, the number of FIFO circuits 111 to 114 through which the termination control signal ODTi passes is selected according to the upper digit of the subtractor 142.

また、デコーダ143は、減算器142の下位桁の値に応じて、選択信号SEL0〜SEL7のいずれか1つをハイレベルとする。例えば、減算器142の下位桁の値が「1」であれば選択信号SEL1をハイレベルとし、減算器142の下位桁の値が「7」であれば選択信号SEL7をハイレベルとする。選択信号SEL0〜SEL7は、図7に示す出力ポインタ生成回路160に供給される。後述するように、出力ポインタ生成回路160は、選択信号SEL0〜SEL7及び入力ポインタIPに基づいて出力ポインタOPを生成する回路である。   The decoder 143 sets any one of the selection signals SEL0 to SEL7 to a high level according to the value of the lower digit of the subtractor 142. For example, if the value of the lower digit of the subtractor 142 is “1”, the selection signal SEL1 is set to high level, and if the value of the lower digit of the subtractor 142 is “7”, the selection signal SEL7 is set to high level. The selection signals SEL0 to SEL7 are supplied to the output pointer generation circuit 160 shown in FIG. As will be described later, the output pointer generation circuit 160 is a circuit that generates the output pointer OP based on the selection signals SEL0 to SEL7 and the input pointer IP.

図7に示すように、FIFO回路111〜114,120は、いずれも8個のラッチ回路を有している。上述の通り、FIFO回路111〜114,120はポイントシフト型のFIFO回路であり、入力ポインタの活性化に応答して終端制御信号ODTiをラッチするとともに、ラッチした終端制御信号ODTiを出力ポインタの活性化に応答して出力する。入力ポインタIPは、第1のクロック信号である内部クロック信号PCLKを分周する分周回路151によって生成される。   As shown in FIG. 7, each of the FIFO circuits 111 to 114, 120 has eight latch circuits. As described above, the FIFO circuits 111 to 114 and 120 are point shift type FIFO circuits, which latch the termination control signal ODTi in response to the activation of the input pointer, and also use the latched termination control signal ODTi to activate the output pointer. Output in response to conversion. The input pointer IP is generated by a frequency dividing circuit 151 that divides the internal clock signal PCLK that is the first clock signal.

図9は、分周回路151の回路図である。   FIG. 9 is a circuit diagram of the frequency dividing circuit 151.

図9に示すように、分周回路151は循環接続された8個のフリップフロップ回路FF10〜FF17によって構成されている。フリップフロップ回路FF10〜FF17の出力信号は、入力ポインタIPを構成するポインタ信号IP0〜IP7として用いられる。ポインタ信号IP0〜IP7は、複数の第2のクロック信号である。   As shown in FIG. 9, the frequency dividing circuit 151 is composed of eight flip-flop circuits FF10 to FF17 connected in a circulating manner. The output signals of the flip-flop circuits FF10 to FF17 are used as pointer signals IP0 to IP7 constituting the input pointer IP. The pointer signals IP0 to IP7 are a plurality of second clock signals.

これらフリップフロップ回路FF10〜FF17は内部クロック信号PCLKに同期してラッチ動作を行う。所定のフリップフロップ回路FF10のセットノードには、電源投入時に一時的にハイレベルとなるパワーオン信号PONが供給される。他のフリップフロップ回路FF11〜FF17のセットノードは、接地レベルに固定されている。   These flip-flop circuits FF10 to FF17 perform a latch operation in synchronization with the internal clock signal PCLK. A power-on signal PON that is temporarily at a high level when the power is turned on is supplied to the set node of the predetermined flip-flop circuit FF10. Set nodes of other flip-flop circuits FF11 to FF17 are fixed to the ground level.

したがって、電源投入されるとフリップフロップ回路FF10にハイレベルのデータがラッチされ、その後、内部クロック信号PCLKのクロッキングに同期してハイレベルのデータがフリップフロップ回路FF10〜FF17内を循環する。これにより、図10に示すように、入力ポインタIPを構成するポインタ信号IP0〜IP7は、内部クロック信号PCLKに同期して順次活性化することになる。各ポインタ信号IP0〜IP7の活性化周期は、内部クロック信号PCLKの8クロックサイクルである。   Therefore, when the power is turned on, high level data is latched in the flip-flop circuit FF10, and then the high level data circulates in the flip-flop circuits FF10 to FF17 in synchronization with the clocking of the internal clock signal PCLK. Thereby, as shown in FIG. 10, the pointer signals IP0 to IP7 constituting the input pointer IP are sequentially activated in synchronization with the internal clock signal PCLK. The activation cycle of each of the pointer signals IP0 to IP7 is 8 clock cycles of the internal clock signal PCLK.

図11は、FIFO回路111の回路図である。   FIG. 11 is a circuit diagram of the FIFO circuit 111.

図11に示すように、FIFO回路111は、並列接続された8個のラッチ回路LAT0〜LAT7によって構成されている。これら8個のラッチ回路LAT0〜LAT7の入力ノードは共通接続されて終端制御信号ODTi(in)が入力され、8個のラッチ回路LAT0〜LAT7の出力ノードは共通接続されて終端制御信号ODTi(out)を出力する。ラッチ回路LAT0〜LAT7の出力ノードには、出力信号のレベルを保持するレベルキーパLK1が接続されている。   As shown in FIG. 11, the FIFO circuit 111 includes eight latch circuits LAT0 to LAT7 connected in parallel. The input nodes of these eight latch circuits LAT0 to LAT7 are commonly connected to receive the termination control signal ODTi (in), and the output nodes of the eight latch circuits LAT0 to LAT7 are commonly connected to be terminated control signal ODTi (out ) Is output. A level keeper LK1 that holds the level of the output signal is connected to the output nodes of the latch circuits LAT0 to LAT7.

ラッチ回路LAT0〜LAT7には、入力ポインタIPを構成するポインタ信号IP0〜IP7がそれぞれ供給される。FIFO回路111においては、入力ポインタIPは出力ポインタを兼用する。   The latch signals LAT0 to LAT7 are supplied with pointer signals IP0 to IP7 constituting the input pointer IP, respectively. In the FIFO circuit 111, the input pointer IP also serves as an output pointer.

図12は、ラッチ回路LAT0の回路図である。   FIG. 12 is a circuit diagram of the latch circuit LAT0.

図12に示すように、ラッチ回路LAT0は、循環接続されたインバータ回路IV1,IV2からなる入力ラッチ部Liと、循環接続されたインバータ回路IV3,IV4からなる出力ラッチ部Loを備える。また、入力ノードNiと入力ラッチ部Liとの間にはインバータ回路IV5が挿入され、入力ラッチ部Liと出力ラッチ部Loとの間にはインバータ回路IV6が挿入され、出力ラッチ部Loと出力ノードNoの間にはインバータ回路IV7が挿入されている。   As shown in FIG. 12, the latch circuit LAT0 includes an input latch unit Li composed of inverter circuits IV1 and IV2 connected in a circulating manner and an output latch unit Lo composed of inverter circuits IV3 and IV4 connected in a circulating manner. An inverter circuit IV5 is inserted between the input node Ni and the input latch unit Li, an inverter circuit IV6 is inserted between the input latch unit Li and the output latch unit Lo, and the output latch unit Lo and the output node An inverter circuit IV7 is inserted between No.

ここで、インバータ回路IV2,IV5〜IV7はトライステート型であり、ポインタ信号IP0がハイレベルである場合にはインバータ回路IV5,IV7が活性化され、ポインタ信号IP0がローレベルである場合にはインバータ回路IV2,IV6が活性化される。したがって、ラッチ回路LAT0は、ポインタ信号IP0がハイレベルである場合に入力ノードNiに供給された終端制御信号ODTiを入力ラッチ部Liにラッチし、ポインタ信号IP0がローレベルに変化すると、入力ラッチ部Liにラッチした終端制御信号ODTiを出力ラッチ部Loに転送する。そして、再びポインタ信号IP0がハイレベルに変化すると、出力ラッチ部Loにラッチした終端制御信号ODTiを出力ノードNoから出力する。このように、ポインタ信号IP0が入力ポインタであり、且つ、出力ポインタとして用いられるため、ポインタ信号IP0を終端制御信号ODTiの一周期だけ遅延させることができる。   Here, the inverter circuits IV2, IV5 to IV7 are tristate type, and the inverter circuits IV5 and IV7 are activated when the pointer signal IP0 is at a high level, and the inverter circuits IV5 and IV7 are activated when the pointer signal IP0 is at a low level. Circuits IV2 and IV6 are activated. Accordingly, the latch circuit LAT0 latches the termination control signal ODTi supplied to the input node Ni in the input latch unit Li when the pointer signal IP0 is at the high level, and when the pointer signal IP0 changes to the low level, the input latch unit The termination control signal ODTi latched in Li is transferred to the output latch unit Lo. When the pointer signal IP0 changes to the high level again, the termination control signal ODTi latched in the output latch unit Lo is output from the output node No. Thus, since the pointer signal IP0 is an input pointer and is used as an output pointer, the pointer signal IP0 can be delayed by one cycle of the termination control signal ODTi.

FIFO回路111に含まれる他のラッチ回路LAT1〜LAT7についても、ポインタ信号IP0の代わりにそれぞれポインタ信号IP1〜IP7が用いられる他は、図12に示したラッチ回路LAT0と同じ回路構成を有している。   The other latch circuits LAT1 to LAT7 included in the FIFO circuit 111 have the same circuit configuration as the latch circuit LAT0 shown in FIG. 12, except that the pointer signals IP1 to IP7 are used instead of the pointer signal IP0. Yes.

図13は、FIFO回路111の動作を説明するためのタイミング図である。   FIG. 13 is a timing chart for explaining the operation of the FIFO circuit 111.

図13に示す例では、ポインタ信号IP2,IP4に同期して、FIFO回路111に終端制御信号ODTi(in)が入力されている。この場合、ポインタ信号IP2に同期した終端制御信号ODTiはラッチ回路LAT2にラッチされ、ポインタ信号IP4に同期した終端制御信号ODTiはラッチ回路LAT4にラッチされる。   In the example shown in FIG. 13, the termination control signal ODTi (in) is input to the FIFO circuit 111 in synchronization with the pointer signals IP2 and IP4. In this case, the termination control signal ODTi synchronized with the pointer signal IP2 is latched by the latch circuit LAT2, and the termination control signal ODTi synchronized with the pointer signal IP4 is latched by the latch circuit LAT4.

そして、ラッチ回路LAT2,LAT4にラッチされた終端制御信号ODTiは、次に活性化するポインタ信号IP2,IP4に同期して出力される。これにより、FIFO回路111には、どのタイミングで終端制御信号ODTi(in)が入力された場合であっても、必ず内部クロック信号PCLKの8クロックサイクル分の遅延が与えられた後、終端制御信号ODTi(out)として出力されることになる。   The termination control signal ODTi latched in the latch circuits LAT2 and LAT4 is output in synchronization with the next activated pointer signals IP2 and IP4. As a result, the FIFO circuit 111 is always given a delay of 8 clock cycles of the internal clock signal PCLK, regardless of the timing at which the termination control signal ODTi (in) is input. It is output as ODTi (out).

他のFIFO回路112〜114の回路構成及び動作についても、上述したFIFO回路111と同じである。したがって、1つのFIFO回路114を通過させれば、終端制御信号ODTiに8クロックサイクル分の遅延を与えることができ、2つのFIFO回路113,114を通過させれば、終端制御信号ODTiに16クロックサイクル分の遅延を与えることができ、3つのFIFO回路112〜114を通過させれば、終端制御信号ODTiに24クロックサイクル分の遅延を与えることができ、4つのFIFO回路111〜114を通過させれば、終端制御信号ODTiに32クロックサイクル分の遅延を与えることができる。   The circuit configurations and operations of the other FIFO circuits 112 to 114 are the same as those of the FIFO circuit 111 described above. Therefore, if one FIFO circuit 114 is passed, the termination control signal ODTi can be delayed by 8 clock cycles, and if two FIFO circuits 113 and 114 are passed, the termination control signal ODTi is 16 clocks. A delay corresponding to the cycle can be given, and if the three FIFO circuits 112 to 114 are passed, the termination control signal ODTi can be given a delay corresponding to 24 clock cycles, and the four FIFO circuits 111 to 114 are allowed to pass. Thus, a delay of 32 clock cycles can be given to the termination control signal ODTi.

このように、第1のカウンタ回路を構成するFIFO回路111〜114は、終端制御信号ODTiの遅延量を8クロックサイクルピッチで切り替えることができ、最大で32クロックサイクルの遅延を終端制御信号ODTiに与えることができる。そして、FIFO回路111〜114は、シフトレジスタを用いた一般的なカウンタではなく、ポイントシフト型FIFO回路によって構成されていることから、消費電流を低減することができる。しかも、FIFO回路111〜114においては、入力ポインタと出力ポインタが兼用されていることから、必要なODTレイテンシに応じて出力ポインタを生成する必要がなく、回路構成が複雑化することもない。   As described above, the FIFO circuits 111 to 114 constituting the first counter circuit can switch the delay amount of the termination control signal ODTi at an 8-clock cycle pitch, and the delay of 32 clock cycles at the maximum can be changed to the termination control signal ODTi. Can be given. And since the FIFO circuits 111 to 114 are not a general counter using a shift register but a point shift type FIFO circuit, current consumption can be reduced. In addition, in the FIFO circuits 111 to 114, since the input pointer and the output pointer are shared, there is no need to generate an output pointer according to the required ODT latency, and the circuit configuration is not complicated.

図14は、FIFO回路120の回路図である。   FIG. 14 is a circuit diagram of the FIFO circuit 120.

図14に示すように、FIFO回路120は、並列接続された8個のラッチ回路LAT32〜LAT39によって構成されている。これら8個のラッチ回路LAT32〜LAT39の入力ノードは共通接続されて終端制御信号ODTiが入力され、8個のラッチ回路LAT32〜LAT39の出力ノードは共通接続されて終端制御信号ODTfを出力する。ラッチ回路LAT32〜LAT39の出力ノードには、出力信号のレベルを保持するレベルキーパLK2が接続されている。   As shown in FIG. 14, the FIFO circuit 120 includes eight latch circuits LAT32 to LAT39 connected in parallel. The input nodes of these eight latch circuits LAT32 to LAT39 are commonly connected to receive the termination control signal ODTi, and the output nodes of the eight latch circuits LAT32 to LAT39 are commonly connected to output the termination control signal ODTf. A level keeper LK2 that holds the level of the output signal is connected to the output nodes of the latch circuits LAT32 to LAT39.

また、ラッチ回路LAT32〜LAT39には、入力ポインタIPを構成するポインタ信号IP0〜IP7と、出力ポインタOPを構成するポインタ信号OP0〜OP7がそれぞれ供給される。   The latch circuits LAT32 to LAT39 are supplied with pointer signals IP0 to IP7 constituting the input pointer IP and pointer signals OP0 to OP7 constituting the output pointer OP, respectively.

図15は、ラッチ回路LAT32の回路図である。   FIG. 15 is a circuit diagram of the latch circuit LAT32.

図15に示すように、ラッチ回路LAT32は、循環接続されたインバータ回路IV8,IV9からなるラッチ部Lを備える。また、入力ノードNiとラッチ部Lとの間にはインバータ回路IV10が挿入され、ラッチ部Lと出力ノードNoの間にはインバータ回路IV11が挿入されている。   As shown in FIG. 15, the latch circuit LAT32 includes a latch portion L composed of inverter circuits IV8 and IV9 connected in a circulating manner. An inverter circuit IV10 is inserted between the input node Ni and the latch unit L, and an inverter circuit IV11 is inserted between the latch unit L and the output node No.

ここで、インバータ回路IV9〜IV11はトライステート型である。インバータ回路IV9はポインタ信号IP0がローレベルである場合に活性化され、ハイレベルである場合に非活性化される。インバータ回路IV10はポインタ信号IP0がハイレベルである場合に活性化され、ローレベルである場合に非活性化される。インバータ回路IV11はポインタ信号OP0がハイレベルである場合に活性化され、ローレベルである場合に非活性化される。   Here, the inverter circuits IV9 to IV11 are of a tristate type. The inverter circuit IV9 is activated when the pointer signal IP0 is at a low level, and is deactivated when the pointer signal IP0 is at a high level. The inverter circuit IV10 is activated when the pointer signal IP0 is at a high level, and is deactivated when the pointer signal IP0 is at a low level. The inverter circuit IV11 is activated when the pointer signal OP0 is at a high level, and is deactivated when the pointer signal OP0 is at a low level.

かかる構成により、ラッチ回路LAT32は、ポインタ信号IP0がハイレベルである場合に入力ノードNiに供給された終端制御信号ODTiをラッチするとともに、ラッチした終端制御信号ODTiをポインタ信号OP0がハイレベルである場合に出力ノードNoから出力する。このため、ポインタ信号IP0とポインタ信号OP0の位相差分だけ終端制御信号ODTiを遅延させ、終端制御信号ODTfとして出力することができる。   With this configuration, the latch circuit LAT32 latches the termination control signal ODTi supplied to the input node Ni when the pointer signal IP0 is at a high level, and the pointer signal OP0 is at a high level with respect to the latched termination control signal ODTi. Output from the output node No. Therefore, the termination control signal ODTi can be delayed by the phase difference between the pointer signal IP0 and the pointer signal OP0 and output as the termination control signal ODTf.

FIFO回路120に含まれる他のラッチ回路LAT33〜LAT39についても、入力ポインタIPとしてポインタ信号IP0の代わりにそれぞれポインタ信号IP1〜IP7が用いられ、出力ポインタOPとしてポインタ信号OP0の代わりにそれぞれポインタ信号OP1〜OP7が用いられる他は、図15に示したラッチ回路LAT32と同じ回路構成を有している。   The other latch circuits LAT33 to LAT39 included in the FIFO circuit 120 also use the pointer signals IP1 to IP7 as the input pointer IP instead of the pointer signal IP0, respectively, and the pointer signal OP1 as the output pointer OP instead of the pointer signal OP0. Except for the use of -OP7, it has the same circuit configuration as the latch circuit LAT32 shown in FIG.

出力ポインタOPを構成するポインタ信号OP0〜OP7は、出力ポインタ生成回路160によって生成される。   The pointer signals OP0 to OP7 constituting the output pointer OP are generated by the output pointer generation circuit 160.

図16は、出力ポインタ生成回路160の回路図である。   FIG. 16 is a circuit diagram of the output pointer generation circuit 160.

図16に示すように、出力ポインタ生成回路160は、8個のクロックセレクタCS0〜CS7によって構成される。各クロックセレクタCS0〜CS7には、入力ポインタIPを構成するポインタ信号IP0〜IP7と選択信号SEL0〜SEL7が入力され、これらに基づいてそれぞれポインタ信号OP0〜OP7を出力する。   As shown in FIG. 16, the output pointer generation circuit 160 includes eight clock selectors CS0 to CS7. Each of the clock selectors CS0 to CS7 receives pointer signals IP0 to IP7 and selection signals SEL0 to SEL7 constituting the input pointer IP, and outputs pointer signals OP0 to OP7 based on them.

ここで、図16に示すポインタ信号IP0〜IP7と選択信号SEL0〜SEL7は、それぞれ対応する順序で表示している。つまり、クロックセレクタCS0においてはポインタ信号IP0〜IP7と選択信号SEL0〜SEL7がそれぞれ対応する一方、クロックセレクタCS1においてはポインタ信号IP0〜IP7と選択信号SEL1〜SEL7,SEL0がそれぞれ対応する。このように、各クロックセレクタCS0〜CS7には互いに同じ信号群が入力されるものの、ポインタ信号と選択信号の対応関係が互いに相違している。   Here, the pointer signals IP0 to IP7 and the selection signals SEL0 to SEL7 shown in FIG. 16 are displayed in a corresponding order. That is, in the clock selector CS0, the pointer signals IP0 to IP7 correspond to the selection signals SEL0 to SEL7, respectively, while in the clock selector CS1, the pointer signals IP0 to IP7 correspond to the selection signals SEL1 to SEL7 and SEL0, respectively. Thus, although the same signal group is input to each of the clock selectors CS0 to CS7, the correspondence relationship between the pointer signal and the selection signal is different.

図17は、クロックセレクタCS0の回路図である。   FIG. 17 is a circuit diagram of the clock selector CS0.

図17に示すように、クロックセレクタCS0は、ポインタ信号IPi(i=0〜7)と選択信号SELiを受ける8個のNANDゲート回路G0〜G7を備えている。これらNANDゲート回路G0〜G7の出力信号は、NANDゲート回路G8,G9を介してORゲート回路G10に供給される。かかる構成により、NANDゲート回路G0〜G7のいずれかにおいて2つの入力が両方ともハイレベルになると、ポインタ信号OP0がハイレベルとなる。例えば、選択信号SEL3がハイレベルである場合は、NANDゲート回路G3が選択されるため、ポインタ信号IP3に連動してポインタ信号OP0がハイレベルとなる。   As shown in FIG. 17, the clock selector CS0 includes eight NAND gate circuits G0 to G7 that receive the pointer signal IPi (i = 0 to 7) and the selection signal SELi. The output signals of these NAND gate circuits G0 to G7 are supplied to the OR gate circuit G10 via NAND gate circuits G8 and G9. With this configuration, when both of the two inputs in any of the NAND gate circuits G0 to G7 are at a high level, the pointer signal OP0 is at a high level. For example, when the selection signal SEL3 is at a high level, the NAND gate circuit G3 is selected, so that the pointer signal OP0 is at a high level in conjunction with the pointer signal IP3.

他のクロックセレクタCS1〜CS7についても、NANDゲート回路G0〜G7に入力される選択信号SEL0〜SEL7の順序が異なる他は、図17に示したクロックセレクタCS0と同じ回路構成を有している。一般化すると、クロックセレクタCSiにおいては、ポインタ信号IPiと選択信号SELi+1が同じNANDゲート回路に入力される。   The other clock selectors CS1 to CS7 have the same circuit configuration as the clock selector CS0 shown in FIG. 17 except that the order of the selection signals SEL0 to SEL7 input to the NAND gate circuits G0 to G7 is different. In general, in the clock selector CSi, the pointer signal IPi and the selection signal SELi + 1 are input to the same NAND gate circuit.

かかる構成により、出力ポインタ生成回路160は、選択信号SEL0〜SEL7のいずれがハイレベルであるかによって、入力ポインタIPを構成するポインタ信号IP0〜IP7と、出力ポインタOPを構成するポインタ信号OP0〜OP7との対応関係を切り替えることができる。   With this configuration, the output pointer generation circuit 160 determines the pointer signals IP0 to IP7 constituting the input pointer IP and the pointer signals OP0 to OP7 constituting the output pointer OP depending on which of the selection signals SEL0 to SEL7 is at a high level. The correspondence relationship can be switched.

図18は、出力ポインタ生成回路160の動作を説明するためのタイミング図である。   FIG. 18 is a timing chart for explaining the operation of the output pointer generation circuit 160.

図18に示す例では、選択信号SEL3がハイレベルに活性化しており、このため入力ポインタIPを構成するポインタIP3が活性化すると、出力ポインタOPを構成するポインタOP0が活性化する。これにより、入力ポインタIPと出力ポインタOPの差分は3クロックサイクルとなる。   In the example shown in FIG. 18, the selection signal SEL3 is activated to a high level. Therefore, when the pointer IP3 constituting the input pointer IP is activated, the pointer OP0 constituting the output pointer OP is activated. As a result, the difference between the input pointer IP and the output pointer OP is 3 clock cycles.

図19は、FIFO回路120の動作を説明するためのタイミング図である。   FIG. 19 is a timing chart for explaining the operation of the FIFO circuit 120.

図19に示す例においても選択信号SEL3がハイレベルに活性化しており、入力ポインタIPと出力ポインタOPの差分は3クロックサイクルである。また、FIFO回路120に入力される終端制御信号ODTiは、内部クロック信号PCLKのエッジ#0〜#3に同期した期間においてローレベル、内部クロック信号PCLKのエッジ#4〜#7に同期した期間においてハイレベルであり、このパターンが8クロックサイクルごとに繰り返されている。   Also in the example shown in FIG. 19, the selection signal SEL3 is activated to a high level, and the difference between the input pointer IP and the output pointer OP is 3 clock cycles. Further, the termination control signal ODTi input to the FIFO circuit 120 is at a low level in a period synchronized with the edges # 0 to # 3 of the internal clock signal PCLK, and in a period synchronized with the edges # 4 to # 7 of the internal clock signal PCLK. This level is high, and this pattern is repeated every 8 clock cycles.

この場合、内部クロック信号PCLKのエッジ#4〜#7に同期した終端制御信号ODTiは、それぞれポインタ信号IP4〜IP7に同期してラッチ回路LAT36〜LAT39にラッチされる。そして、ラッチ回路LAT36〜LAT39にラッチされた終端制御信号ODTiは、3クロックサイクルが経過した後、終端制御信号ODTfとして出力される。これにより、入力ポインタIPと出力ポインタOPの差分である3クロックサイクルの遅延が終端制御信号ODTiに与えられ、これによって終端制御信号ODTfを生成することができる。   In this case, the termination control signal ODTi synchronized with the edges # 4 to # 7 of the internal clock signal PCLK is latched by the latch circuits LAT36 to LAT39 in synchronization with the pointer signals IP4 to IP7, respectively. The termination control signal ODTi latched in the latch circuits LAT36 to LAT39 is output as the termination control signal ODTf after three clock cycles have elapsed. As a result, a delay of 3 clock cycles, which is the difference between the input pointer IP and the output pointer OP, is given to the termination control signal ODTi, and thereby the termination control signal ODTf can be generated.

FIFO回路120による遅延量は、選択信号SEL0〜SEL7に応じ、0〜7クロックサイクルの範囲において1クロックサイクルピッチで切り替えることができる。このように、第2のカウンタ回路を構成するFIFO回路120についても、シフトレジスタを用いた一般的なカウンタではなく、ポイントシフト型FIFO回路によって構成されていることから、消費電流を低減することができる。また、終端制御信号ODTについては、図19に示した例のように、8クロックサイクルで繰り返し同じパターンが入力されることがあり、この場合には、8個のラッチ回路LAT32〜LAT39のラッチデータが変化しない。このため、所定のパターンを持った終端制御信号ODTが繰り返し入力される場合であっても、ラッチデータの変化に伴う充放電電流が発生せず、消費電流を削減することが可能となる。   The amount of delay by the FIFO circuit 120 can be switched at 1 clock cycle pitch in the range of 0 to 7 clock cycles according to the selection signals SEL0 to SEL7. As described above, the FIFO circuit 120 constituting the second counter circuit is not a general counter using a shift register but a point shift type FIFO circuit, so that current consumption can be reduced. it can. As for the termination control signal ODT, the same pattern may be repeatedly input in 8 clock cycles as in the example shown in FIG. 19, and in this case, the latch data of the eight latch circuits LAT32 to LAT39 is input. Does not change. For this reason, even when the termination control signal ODT having a predetermined pattern is repeatedly input, the charge / discharge current accompanying the change of the latch data does not occur, and the current consumption can be reduced.

以上が第1の実施形態によるレイテンシカウンタ100aの回路構成及びその動作である。このように、本実施形態によるレイテンシカウンタ100aは、遅延量の切り替えピッチが8クロックサイクルである第1のカウンタ回路(FIFO回路111〜114)と、遅延量の切り替えピッチが1クロックサイクルである第2のカウンタ回路(FIFO回路120)とが直列に接続された構成を有しているため、レイテンシの設定可能範囲を1クロックサイクル単位で幅広く確保することができる。具体的には、レイテンシを0〜40の範囲において1クロックサイクル単位で任意に設定することができる。   The above is the circuit configuration and operation of the latency counter 100a according to the first embodiment. As described above, in the latency counter 100a according to the present embodiment, the first counter circuit (FIFO circuits 111 to 114) in which the delay amount switching pitch is 8 clock cycles and the delay amount switching pitch in the first clock cycle is 1 clock cycle. Since the two counter circuits (FIFO circuit 120) are connected in series, a wide setting range of the latency can be secured in units of one clock cycle. Specifically, the latency can be arbitrarily set in units of one clock cycle in the range of 0 to 40.

そして、第1のカウンタ回路は、8クロックサイクルの遅延を有する4つのFIFO回路111〜114によって構成され、使用しないFIFO回路111〜114についてはバイパスされることから、消費電流を抑制することが可能となる。しかも、FIFO回路111〜114,120はポイントシフト型のFIFO回路であることから、シフトレジスタを用いた場合と比べて消費電流を低減することが可能となる。   The first counter circuit is configured by four FIFO circuits 111 to 114 having a delay of 8 clock cycles, and the FIFO circuits 111 to 114 that are not used are bypassed, so that current consumption can be suppressed. It becomes. In addition, since the FIFO circuits 111 to 114 and 120 are point shift type FIFO circuits, it is possible to reduce current consumption compared to the case where a shift register is used.

次に、本発明の第2の実施形態について説明する。   Next, a second embodiment of the present invention will be described.

図20は、第2の実施形態によるレイテンシカウンタ100bの回路図である。   FIG. 20 is a circuit diagram of the latency counter 100b according to the second embodiment.

図20に示すように、第2の実施形態によるレイテンシカウンタ100bは、出力ポインタ生成回路160が削除される代わりに、分周回路152が追加される点において、図7に示した第1の実施形態によるレイテンシカウンタ100aと相違している。その他の点については第1の実施形態によるレイテンシカウンタ100aと同一であることから、同一の要素には同一の符号を付し、重複する説明は省略する。   As shown in FIG. 20, the latency counter 100b according to the second embodiment is different from the first embodiment shown in FIG. 7 in that a frequency dividing circuit 152 is added instead of the output pointer generating circuit 160 being deleted. This is different from the latency counter 100a according to the form. Since the other points are the same as those of the latency counter 100a according to the first embodiment, the same elements are denoted by the same reference numerals, and redundant description is omitted.

図21は、分周回路152の回路図である。   FIG. 21 is a circuit diagram of the frequency dividing circuit 152.

図21に示すように、分周回路152は8個のフリップフロップ回路FF20〜FF27によって構成され、その出力信号は出力ポインタOPを構成するポインタ信号OP0〜OP7として用いられる。   As shown in FIG. 21, the frequency dividing circuit 152 is constituted by eight flip-flop circuits FF20 to FF27, and the output signals thereof are used as pointer signals OP0 to OP7 constituting the output pointer OP.

これらフリップフロップ回路FF20〜FF27は内部クロック信号PCLKに同期してラッチ動作を行う。各フリップフロップ回路FF20〜FF27の入力ノードには、クロックセレクタCS0〜CS7の出力信号がそれぞれ供給される。クロックセレクタCS0〜CS7の回路構成及びその機能については、図16及び図17を用いて説明したとおりである。   These flip-flop circuits FF20 to FF27 perform a latch operation in synchronization with the internal clock signal PCLK. Output signals of the clock selectors CS0 to CS7 are supplied to input nodes of the flip-flop circuits FF20 to FF27, respectively. The circuit configurations and functions of the clock selectors CS0 to CS7 are as described with reference to FIGS.

このような構成を有する分周回路152を用いれば、ポインタ信号OP0〜OP7が変化するタイミングが内部クロック信号PCLKに同期するため、入力ポインタIPを構成するポインタ信号IP0〜IP7と、出力ポインタOPを構成するポインタ信号OP0〜OP7とのスキューを低減することが可能となる。   If the frequency dividing circuit 152 having such a configuration is used, the timing at which the pointer signals OP0 to OP7 change is synchronized with the internal clock signal PCLK. Therefore, the pointer signals IP0 to IP7 constituting the input pointer IP and the output pointer OP are set. It is possible to reduce the skew with the pointer signals OP0 to OP7 to be configured.

これにより、第1の実施形態に比べて、より高速なクロック信号を使用した場合であっても、正しくレイテンシのカウントを行うことが可能となる。   As a result, even when a higher-speed clock signal is used than in the first embodiment, the latency can be correctly counted.

次に、本発明の第3の実施形態について説明する。   Next, a third embodiment of the present invention will be described.

図22は、第3の実施形態によるレイテンシカウンタ100cの回路図である。   FIG. 22 is a circuit diagram of a latency counter 100c according to the third embodiment.

図22に示すように、第3の実施形態によるレイテンシカウンタ100bは、FIFO回路120の代わりにシフト回路121が用いられる点において、図7に示した第1の実施形態によるレイテンシカウンタ100aと相違している。これに伴い、出力ポインタ生成回路160は削除されている。さらに、本実施形態においては、分周回路151に選択信号SELU8が入力されており、これがローレベルである場合には分周回路151の動作が停止する。その他の点については第1の実施形態によるレイテンシカウンタ100aと同一であることから、同一の要素には同一の符号を付し、重複する説明は省略する。   As shown in FIG. 22, the latency counter 100 b according to the third embodiment is different from the latency counter 100 a according to the first embodiment shown in FIG. 7 in that a shift circuit 121 is used instead of the FIFO circuit 120. ing. Accordingly, the output pointer generation circuit 160 has been deleted. Further, in the present embodiment, the selection signal SELU8 is input to the frequency divider 151, and when it is at a low level, the operation of the frequency divider 151 is stopped. Since the other points are the same as those of the latency counter 100a according to the first embodiment, the same elements are denoted by the same reference numerals, and redundant description is omitted.

図23は、シフト回路121の回路図である。   FIG. 23 is a circuit diagram of the shift circuit 121.

図23に示すように、シフト回路121は、縦続接続された8個のフリップフロップ回路FF32〜FF39からなるシフトレジスタSLと、シフトレジスタSLに終端制御信号ODTiを供給するセレクタSELとを備えている。セレクタSELは、選択信号SEL0〜SEL7に基づき、終端制御信号ODTiをフリップフロップ回路FF32〜FF39のいずれかの入力ノードS32〜S39に供給する。これにより、終端制御信号ODTiが通過するシフトレジスタSLの段数が可変となるため、任意のレイテンシをカウントすることができる。   As shown in FIG. 23, the shift circuit 121 includes a shift register SL including eight flip-flop circuits FF32 to FF39 connected in cascade, and a selector SEL that supplies a termination control signal ODTi to the shift register SL. . The selector SEL supplies the termination control signal ODTi to any one of the input nodes S32 to S39 of the flip-flop circuits FF32 to FF39 based on the selection signals SEL0 to SEL7. As a result, the number of stages of the shift register SL through which the termination control signal ODTi passes is variable, so that any latency can be counted.

かかる構成により、シフト回路121による遅延量は、0〜7クロックサイクルの範囲において、1クロックサイクルピッチで切り替えることができる。但し、シフト回路121はシフトレジスタを用いているため、使用するフリップフロップ回路の段数(シフト量)が増えるにつれて消費電流も増大する。   With such a configuration, the delay amount by the shift circuit 121 can be switched at a clock cycle pitch in the range of 0 to 7 clock cycles. However, since the shift circuit 121 uses a shift register, current consumption increases as the number of flip-flop circuits used (shift amount) increases.

しかしながら、本実施形態では、選択信号SELU8がローレベルである場合、つまり、レイテンシカウンタ100cによるレイテンシのカウント数が7以下である場合には、分周回路151の動作が停止するため、分周回路151による消費電流を削減することができる。   However, in this embodiment, when the selection signal SELU8 is at a low level, that is, when the latency count by the latency counter 100c is 7 or less, the operation of the frequency divider circuit 151 is stopped. The current consumption due to 151 can be reduced.

次に、本発明の第4の実施形態について説明する。   Next, a fourth embodiment of the present invention will be described.

図24は、第4の実施形態によるレイテンシカウンタ100dの回路図である。   FIG. 24 is a circuit diagram of a latency counter 100d according to the fourth embodiment.

図24に示すように、第4の実施形態によるレイテンシカウンタ100bは、FIFO回路120の代わりにシフト回路122が用いられるとともに、第1のカウンタ回路にFIFO回路115及びこれを制御する合成回路170が追加され、さらに、セレクタ135及びこれを制御するNORゲート回路G11が追加されている点において、図7に示した第1の実施形態によるレイテンシカウンタ100aと相違している。その他の点については第1の実施形態によるレイテンシカウンタ100aと同一であることから、同一の要素には同一の符号を付し、重複する説明は省略する。   As shown in FIG. 24, in the latency counter 100b according to the fourth embodiment, the shift circuit 122 is used instead of the FIFO circuit 120, and the FIFO circuit 115 and the synthesis circuit 170 that controls the first counter circuit are provided. In addition, it is different from the latency counter 100a according to the first embodiment shown in FIG. 7 in that a selector 135 and a NOR gate circuit G11 for controlling the selector 135 are added. Since the other points are the same as those of the latency counter 100a according to the first embodiment, the same elements are denoted by the same reference numerals, and redundant description is omitted.

FIFO回路115は、セレクタ134から出力される終端制御信号ODTiに4クロックサイクルの遅延を与える。FIFO回路115から出力される終端制御信号ODTiは、セレクタ135を介してシフト回路122に供給される。   The FIFO circuit 115 gives a delay of 4 clock cycles to the termination control signal ODTi output from the selector 134. The termination control signal ODTi output from the FIFO circuit 115 is supplied to the shift circuit 122 via the selector 135.

図25は、FIFO回路115及び合成回路170の回路図である。   FIG. 25 is a circuit diagram of the FIFO circuit 115 and the synthesis circuit 170.

図25に示すように、FIFO回路115は、並列接続された4個のラッチ回路LAT32〜LAT35によって構成されている。これら4個のラッチ回路LAT32〜LAT35の入力ノードは共通接続されて終端制御信号ODTi(in)が入力され、4個のラッチ回路LAT32〜LAT35の出力ノードは共通接続されて終端制御信号ODTi(out)を出力する。ラッチ回路LAT32〜LAT35の出力ノードには、出力信号のレベルを保持するレベルキーパLK3が接続されている。   As shown in FIG. 25, the FIFO circuit 115 includes four latch circuits LAT32 to LAT35 connected in parallel. The input nodes of the four latch circuits LAT32 to LAT35 are connected in common and the termination control signal ODTi (in) is input, and the output nodes of the four latch circuits LAT32 to LAT35 are connected in common and the termination control signal ODTi (out) ) Is output. A level keeper LK3 that holds the level of the output signal is connected to the output nodes of the latch circuits LAT32 to LAT35.

また、ラッチ回路LAT32〜LAT35には、入力ポインタIPに基づき生成されたポインタ信号IP04,IP15,IP26,IP37がそれぞれ供給される。FIFO回路115においても、入力ポインタと出力ポインタは兼用である。ポインタ信号IP04,IP15,IP26,IP37は、図25に示す合成回路170によって生成される。合成回路170は、ポインタ信号IP0とIP4、IP1とIP5、IP2とIP6、IP3とIP7を合成するORゲート回路からなる。これにより、ポインタ信号IP04,IP15,IP26及びIP37は、互いに異なる位相を有し、且つ、4クロックサイクルごとに活性化することになる。   The latch circuits LAT32 to LAT35 are respectively supplied with pointer signals IP04, IP15, IP26, and IP37 generated based on the input pointer IP. Also in the FIFO circuit 115, the input pointer and the output pointer are shared. The pointer signals IP04, IP15, IP26, and IP37 are generated by the synthesis circuit 170 shown in FIG. The combining circuit 170 is composed of an OR gate circuit that combines pointer signals IP0 and IP4, IP1 and IP5, IP2 and IP6, and IP3 and IP7. As a result, the pointer signals IP04, IP15, IP26, and IP37 have different phases and are activated every four clock cycles.

かかる構成により、FIFO回路115は、セレクタ134から出力される終端制御信号ODTiに4クロックサイクルの遅延を与えることができる。   With this configuration, the FIFO circuit 115 can give a delay of 4 clock cycles to the termination control signal ODTi output from the selector 134.

図26は、シフト回路122の回路図である。   FIG. 26 is a circuit diagram of the shift circuit 122.

図26に示すように、シフト回路122は、縦続接続された4個のフリップフロップ回路FF36〜FF39からなるシフトレジスタSLと、シフトレジスタSLに終端制御信号ODTiを供給するセレクタSELとを備えている。セレクタSELは、選択信号SEL0〜SEL7に基づき、終端制御信号ODTiをフリップフロップ回路FF36〜FF39のいずれかの入力ノードS36〜S39に供給する。これにより、終端制御信号ODTiが通過するシフトレジスタSLの段数が可変となるため、任意のレイテンシをカウントすることができる。   As shown in FIG. 26, the shift circuit 122 includes a shift register SL including four cascade-connected flip-flop circuits FF36 to FF39, and a selector SEL that supplies a termination control signal ODTi to the shift register SL. . The selector SEL supplies the termination control signal ODTi to any one of the input nodes S36 to S39 of the flip-flop circuits FF36 to FF39 based on the selection signals SEL0 to SEL7. As a result, the number of stages of the shift register SL through which the termination control signal ODTi passes is variable, so that any latency can be counted.

かかる構成により、シフト回路122による遅延量は、0〜3クロックサイクルの範囲において、1クロックサイクルピッチで切り替えることができる。シフト回路122はシフトレジスタSLを用いているため、使用するフリップフロップ回路の段数(シフト量)が増えるにつれて消費電流も増大するが、本実施形態において使用するシフト回路122は、使用するフリップフロップ回路の段数が最大で4段であることから、消費電流がそれほど増大することはない。   With this configuration, the delay amount by the shift circuit 122 can be switched at a clock cycle pitch in the range of 0 to 3 clock cycles. Since the shift circuit 122 uses the shift register SL, the current consumption increases as the number of stages (shift amount) of the flip-flop circuit used increases, but the shift circuit 122 used in the present embodiment is the flip-flop circuit used. Since the maximum number of stages is four, the current consumption does not increase so much.

図24に示すように、本実施形態においては選択信号SEL0〜SEL3がNORゲート回路G11に入力され、その出力信号によってセレクタ135が制御される。セレクタ135は、NORゲート回路G11の出力信号がハイレベルであれば入力ノードaを選択し、ローレベルである場合には入力ノードbを選択する。   As shown in FIG. 24, in this embodiment, the selection signals SEL0 to SEL3 are input to the NOR gate circuit G11, and the selector 135 is controlled by the output signal. The selector 135 selects the input node a when the output signal of the NOR gate circuit G11 is high level, and selects the input node b when the output signal is low level.

これにより、図8に示した減算器142の下位桁の値が「0」〜「3」のいずれかである場合には、セレクタ135は入力ノードbを選択するため、FIFO回路115はバイパスされる。一方、減算器142の下位桁の値が「4」〜「7」のいずれかである場合には、セレクタ135は入力ノードaを選択するため、終端制御信号ODTiはFIFO回路115を通過する。   As a result, when the value of the lower digit of the subtracter 142 shown in FIG. 8 is any one of “0” to “3”, the selector 135 selects the input node b, so that the FIFO circuit 115 is bypassed. The On the other hand, when the value of the lower digit of the subtracter 142 is any one of “4” to “7”, the selector 135 selects the input node a, so that the termination control signal ODTi passes through the FIFO circuit 115.

例えば、レイテンシカウンタ100dによるレイテンシのカウント数が「15」であれば、終端制御信号ODTiは、FIFO回路114,115を通過することによって12クロックサイクル(=8+4)の遅延が与えられた後、シフト回路122によって3クロックサイクルの遅延が追加される。このように、本実施形態においては、FIFO回路115を用いることにより、シフト回路122を構成するシフトレジスタの段数が削減されていることから、シフトレジスタによって発生する消費電流を抑えることが可能となる。   For example, if the latency count by the latency counter 100d is “15”, the termination control signal ODTi is shifted after passing through the FIFO circuits 114 and 115 and delayed by 12 clock cycles (= 8 + 4). Circuit 122 adds a delay of 3 clock cycles. Thus, in the present embodiment, by using the FIFO circuit 115, the number of stages of the shift register constituting the shift circuit 122 is reduced, so that it is possible to suppress current consumption generated by the shift register. .

以上、本発明の好ましい実施形態について説明したが、本発明は、上記の実施形態に限定されることなく、本発明の主旨を逸脱しない範囲で種々の変更が可能であり、それらも本発明の範囲内に包含されるものであることはいうまでもない。   The preferred embodiments of the present invention have been described above, but the present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the spirit of the present invention. Needless to say, it is included in the range.

例えば、上記実施形態では、終端制御信号ODTiを遅延させるレイテンシカウンタを例に説明したが。本発明の適用対象がこれに限定されるものではなく、クロック信号に同期して任意の制御信号を遅延させる半導体装置に広く適用することが可能である。   For example, in the above-described embodiment, the latency counter that delays the termination control signal ODTi has been described as an example. The application target of the present invention is not limited to this, and can be widely applied to semiconductor devices that delay an arbitrary control signal in synchronization with a clock signal.

また、第1のカウンタ回路と第2のカウンタ回路の接続順序については上記の実施形態に限定されず、逆であっても構わない。   Further, the connection order of the first counter circuit and the second counter circuit is not limited to the above embodiment, and may be reversed.

10 半導体装置
11 メモリセルアレイ
12 ロウデコーダ
13 カラムデコーダ
14 センス回路
15 データコントローラ
16 FIFO回路
17 データ入出力回路
18 ストローブ回路
19 ストローブコントローラ
21 データ入出力端子
22,23 ストローブ端子
24,25 クロック端子
26 クロックイネーブル端子
27 アドレス端子
28 コマンド端子
29 アラート端子
30,31 電源端子
32 データマスク端子
33 ODT端子
40 クロックジェネレータ
41 DLL回路
42 モードレジスタ
43 コマンドデコーダ
44 コントロールロジック回路
45 出力回路
46 電源回路
50 ロウコントロール回路
51 アドレスバッファ
52 リフレッシュカウンタ
60 カラムコントロール回路
61 アドレスバッファ
62 バーストカウンタ
71,72 ディレイライン
73 DLL制御回路
81 クロックレシーバ
82 ODTレシーバ
83 ラッチ回路
84 ODTドライバ
100,100a〜100d,100X レイテンシカウンタ
111〜115,120 FIFO回路
121,122 シフト回路
131〜135 セレクタ
140 シフト量デコーダ
141 加算器
142 減算器
143 デコーダ
151,152 分周回路
160 出力ポインタ生成回路
170 合成回路
BL ビット線
CS0〜CS7 クロックセレクタ
FF0〜FF39 フリップフロップ回路
G0〜G11 ゲート回路
IV1〜IV11 インバータ回路
L ラッチ部
LAT0〜LAT7,LAT32〜LAT39 ラッチ回路
Li 入力ラッチ部
LK1〜LK3 レベルキーパ
Lo 出力ラッチ部
MC メモリセル
Ni 入力ノード
No 出力ノード
S0〜S39 入力ノード
SA センスアンプ
SEL セレクタ
SL シフトレジスタ
WL ワード線
DESCRIPTION OF SYMBOLS 10 Semiconductor device 11 Memory cell array 12 Row decoder 13 Column decoder 14 Sense circuit 15 Data controller 16 FIFO circuit 17 Data input / output circuit 18 Strobe circuit 19 Strobe controller 21 Data input / output terminals 22 and 23 Strobe terminals 24 and 25 Clock terminal 26 Clock enable Terminal 27 Address terminal 28 Command terminal 29 Alert terminal 30, 31 Power supply terminal 32 Data mask terminal 33 ODT terminal 40 Clock generator 41 DLL circuit 42 Mode register 43 Command decoder 44 Control logic circuit 45 Output circuit 46 Power supply circuit 50 Row control circuit 51 Address Buffer 52 Refresh counter 60 Column control circuit 61 Address buffer 62 Burst counter 71, 2 delay line 73 DLL control circuit 81 clock receiver 82 ODT receiver 83 latch circuit 84 ODT driver 100, 100a to 100d, 100X latency counter 111 to 115, 120 FIFO circuit 121, 122 shift circuit 131 to 135 selector 140 shift amount decoder 141 addition 142 Subtractor 143 Decoder 151, 152 Frequency divider 160 Output pointer generator 170 Synthesizing circuit BL Bit lines CS0 to CS7 Clock selectors FF0 to FF39 Flip-flop circuits G0 to G11 Gate circuits IV1 to IV11 Inverter circuit L Latch units LAT0 to LAT7 , LAT32 to LAT39 Latch circuit Li Input latch part LK1 to LK3 Level keeper Lo Output latch part MC Memory cell Ni Input node No Out Node S0~S39 input nodes SA the sense amplifier SEL selector SL shift register WL the word line

Claims (20)

第1のクロック信号に同期して制御信号を遅延させる第1及び第2のカウンタ回路が直列に接続されてなり、
前記第1のカウンタ回路は、前記第1のクロック信号に同期して前記制御信号の遅延量を第1のピッチで切り替え、
前記第2のカウンタ回路は、前記第1のクロック信号に同期して前記制御信号の遅延量を前記第1のピッチよりも小さい第2のピッチで切り替えることを特徴とする半導体装置。
First and second counter circuits that delay the control signal in synchronization with the first clock signal are connected in series,
The first counter circuit switches a delay amount of the control signal at a first pitch in synchronization with the first clock signal;
The semiconductor device, wherein the second counter circuit switches a delay amount of the control signal at a second pitch smaller than the first pitch in synchronization with the first clock signal.
前記第1のピッチは、前記第2のカウンタ回路による前記制御信号の最大遅延量よりも大きいことを特徴とする請求項1に記載の半導体装置。   2. The semiconductor device according to claim 1, wherein the first pitch is larger than a maximum delay amount of the control signal by the second counter circuit. 前記第1のピッチは前記第1のクロック信号のNサイクルであり、前記第2のピッチは前記第1のクロック信号の周期のMサイクル(但し、M<N)であることを特徴とする請求項1又は2に記載の半導体装置。   The first pitch is N cycles of the first clock signal, and the second pitch is M cycles of the period of the first clock signal (where M <N). Item 3. The semiconductor device according to Item 1 or 2. 前記第2のピッチは、前記第1のクロック信号の1クロックサイクルであることを特徴とする請求項3に記載の半導体装置。   The semiconductor device according to claim 3, wherein the second pitch is one clock cycle of the first clock signal. 前記第1のカウンタ回路は、前記第1のクロック信号のNサイクルの遅延量を有する複数のFIFO回路を含むことを特徴とする請求項3又は4に記載の半導体装置。   5. The semiconductor device according to claim 3, wherein the first counter circuit includes a plurality of FIFO circuits having a delay amount of N cycles of the first clock signal. 前記第1のカウンタ回路は、前記制御信号が通過する前記複数のFIFO回路の数を切り替えるセレクタをさらに含むことを特徴とする請求項5に記載の半導体装置。   The semiconductor device according to claim 5, wherein the first counter circuit further includes a selector that switches the number of the plurality of FIFO circuits through which the control signal passes. 前記FIFO回路は、周期が前記第1のクロック信号のN倍であり互いに位相の異なる複数の第2のクロック信号に同期して、前記制御信号をそれぞれ前記第1のクロック信号のNサイクル分遅延させることを特徴とする請求項5又は6に記載の半導体装置。   The FIFO circuit delays the control signal by N cycles of the first clock signal in synchronization with a plurality of second clock signals having a period N times that of the first clock signal and having different phases. The semiconductor device according to claim 5, wherein: 前記FIFO回路は、前記複数の第2のクロック信号の対応するものに同期して前記制御信号を取り込み、前記複数の第2のクロック信号の対応するものに同期して取り込んだ前記制御信号を出力する複数の第1のラッチ回路を有することを特徴とする請求項7に記載の半導体装置。   The FIFO circuit captures the control signal in synchronization with a corresponding one of the plurality of second clock signals, and outputs the control signal captured in synchronization with a corresponding one of the plurality of second clock signals The semiconductor device according to claim 7, further comprising a plurality of first latch circuits. 同じFIFO回路に含まれる前記複数の第1のラッチ回路は、前記複数の第2のクロック信号の互いに異なるものに同期して前記制御信号を取り込み、前記複数の第2のクロック信号の互いに異なるものに同期して前記制御信号を出力し、
同じFIFO回路に供給される前記複数の第2のクロック信号のうち、前記制御信号の取り込みに用いる前記複数の第2のクロック信号と、前記制御信号の出力に用いる前記複数の第2のクロック信号との関係が固定的であることを特徴とする請求項8に記載の半導体装置。
The plurality of first latch circuits included in the same FIFO circuit capture the control signal in synchronization with different ones of the plurality of second clock signals, and different ones of the plurality of second clock signals. The control signal is output in synchronization with
Among the plurality of second clock signals supplied to the same FIFO circuit, the plurality of second clock signals used for capturing the control signal and the plurality of second clock signals used for outputting the control signal The semiconductor device according to claim 8, wherein the relationship between and is fixed.
同じFIFO回路に含まれる前記複数の第1のラッチ回路のそれぞれは、前記複数の第2のクロック信号のうち同じものに同期して前記制御信号の取り込み及び出力を行うことを特徴とする請求項9に記載の半導体装置。   The plurality of first latch circuits included in the same FIFO circuit each capture and output the control signal in synchronization with the same one of the plurality of second clock signals. 9. The semiconductor device according to 9. 前記第2のカウンタ回路は、前記複数の第2のクロック信号の対応するものに同期して前記制御信号を取り込み、前記複数の第2のクロック信号の対応するものに同期して取り込んだ前記制御信号を出力する複数の第2のラッチ回路を有し、
前記複数の第2のラッチ回路は、前記複数の第2のクロック信号の互いに異なるものに同期して前記制御信号を取り込み、前記複数の第2のクロック信号の互いに異なるものに同期して前記制御信号を出力し、
前記第2のカウンタ回路に供給される前記複数の第2のクロック信号のうち、前記制御信号の取り込みに用いる前記複数の第2のクロック信号と、前記制御信号の出力に用いる前記複数の第2のクロック信号との関係が可変であることを特徴とする請求項7乃至10のいずれか一項に記載の半導体装置。
The second counter circuit captures the control signal in synchronization with a corresponding one of the plurality of second clock signals, and captures the control signal in synchronization with a corresponding one of the plurality of second clock signals. A plurality of second latch circuits for outputting signals;
The plurality of second latch circuits capture the control signal in synchronization with different ones of the plurality of second clock signals, and perform the control in synchronization with different ones of the plurality of second clock signals. Output signal,
Among the plurality of second clock signals supplied to the second counter circuit, the plurality of second clock signals used for capturing the control signal and the plurality of second clock signals used for outputting the control signal. 11. The semiconductor device according to claim 7, wherein the relationship with the clock signal is variable.
前記第1のクロック信号を分周することにより前記複数の第2のクロック信号を生成する第1及び第2の分周回路をさらに備え、
前記第2のカウンタ回路に供給される前記複数の第2のクロック信号のうち、前記制御信号の取り込みに用いる前記複数の第2のクロック信号は前記第1の分周回路によって生成され、
前記第2のカウンタ回路に供給される前記複数の第2のクロック信号のうち、前記制御信号の出力に用いる前記複数の第2のクロック信号は前記第2の分周回路によって生成されることを特徴とする請求項11に記載の半導体装置。
A first and second frequency dividing circuit for generating the plurality of second clock signals by dividing the first clock signal;
Among the plurality of second clock signals supplied to the second counter circuit, the plurality of second clock signals used for capturing the control signal are generated by the first frequency dividing circuit,
Among the plurality of second clock signals supplied to the second counter circuit, the plurality of second clock signals used for outputting the control signal are generated by the second frequency dividing circuit. The semiconductor device according to claim 11, wherein the semiconductor device is characterized in that:
前記第2のカウンタ回路は、前記第1のクロック信号に同期してシフト動作を行う、段数が可変であるシフトレジスタを含むことを特徴とする請求項1乃至5のいずれか一項に記載の半導体装置。   6. The second counter circuit includes a shift register having a variable number of stages that performs a shift operation in synchronization with the first clock signal. Semiconductor device. 前記第1のカウンタ回路は、前記第1のクロック信号のNサイクルの遅延量を有する複数の第1のFIFO回路と、前記第1のクロック信号のPサイクル(但し、M<P<N)の遅延量を有する第2のFIFO回路とを含むことを特徴とする請求項13に記載の半導体装置。   The first counter circuit includes a plurality of first FIFO circuits having a delay amount of N cycles of the first clock signal, and P cycles of the first clock signal (where M <P <N). The semiconductor device according to claim 13, further comprising a second FIFO circuit having a delay amount. 前記第1のカウンタ回路は、前記制御信号が通過する前記第1及び第2のFIFO回路の数を切り替えるセレクタをさらに含み、
前記セレクタは、前記第2のカウンタ回路によって構成される前記シフトレジスタの段数が第1の値である場合には前記制御信号が前記第2のFIFO回路をバイパスするよう切り替え、前記シフトレジスタの段数が前記第1の値よりも大きい第2の値である場合には前記制御信号が前記第2のFIFO回路を通過するよう切り替えることを特徴とする請求項14に記載の半導体装置。
The first counter circuit further includes a selector that switches the number of the first and second FIFO circuits through which the control signal passes,
The selector switches so that the control signal bypasses the second FIFO circuit when the number of stages of the shift register constituted by the second counter circuit is a first value, and the number of stages of the shift register 15. The semiconductor device according to claim 14, wherein the control signal is switched so as to pass through the second FIFO circuit when is a second value larger than the first value.
前記第1のクロック信号を分周することにより前記複数の第2のクロック信号を生成する分周回路をさらに備え、
前記制御信号が前記第1及び第2のFIFO回路の全てをバイパスする場合、前記分周回路が非活性化されることを特徴とする請求項5乃至10及び13に記載の半導体装置。
A frequency dividing circuit for generating the plurality of second clock signals by dividing the first clock signal;
14. The semiconductor device according to claim 5, wherein when the control signal bypasses all of the first and second FIFO circuits, the frequency divider circuit is deactivated.
前記制御信号は、終端制御信号であることを特徴とする請求項1乃至16のいずれか一項に記載の半導体装置。   The semiconductor device according to claim 1, wherein the control signal is a termination control signal. 制御信号をラッチする複数の第1のラッチ回路をそれぞれ含む複数のFIFO回路からなる第1のカウンタ回路と、
前記制御信号が通過する前記FIFO回路の数を切り替えるセレクタと、
前記第1のカウンタ回路とは別個に設けられ、第1のクロック信号に同期して前記制御信号の遅延量を切り替える第2のカウンタ回路と、
前記第1のクロック信号を分周することによって互いに位相の異なる複数の第2のクロック信号を生成する分周回路と、を備え、
同じFIFO回路に含まれる前記複数の第1のラッチ回路は、前記複数の第2のクロック信号の互いに異なるものに同期して前記制御信号を取り込み、前記複数の第2のクロック信号の互いに異なるものに同期して前記制御信号を出力し、
前記複数の第1のラッチ回路のそれぞれは、前記複数の第2のクロック信号のうち同じものに同期して前記制御信号の取り込み及び出力を行うことを特徴とする半導体装置。
A first counter circuit comprising a plurality of FIFO circuits each including a plurality of first latch circuits for latching control signals;
A selector for switching the number of the FIFO circuits through which the control signal passes;
A second counter circuit that is provided separately from the first counter circuit and switches a delay amount of the control signal in synchronization with a first clock signal;
A frequency dividing circuit that generates a plurality of second clock signals having different phases by dividing the first clock signal;
The plurality of first latch circuits included in the same FIFO circuit capture the control signal in synchronization with different ones of the plurality of second clock signals, and different ones of the plurality of second clock signals. The control signal is output in synchronization with
Each of the plurality of first latch circuits captures and outputs the control signal in synchronization with the same one of the plurality of second clock signals.
前記第2のカウンタ回路は、前記制御信号をラッチする複数の第2のラッチ回路を含み、
前記複数の第2のラッチ回路は、前記複数の第2のクロック信号の互いに異なるものに同期して前記制御信号を取り込み、前記複数の第2のクロック信号の互いに異なるものに同期して前記制御信号を出力し、
前記複数の第2のラッチ回路に供給される前記複数の第2のクロック信号のうち、前記制御信号の取り込みに用いる前記複数の第2のクロック信号と、前記制御信号の出力に用いる前記複数の第2のクロック信号との関係が可変であることを特徴とする請求項18に記載の半導体装置。
The second counter circuit includes a plurality of second latch circuits that latch the control signal,
The plurality of second latch circuits capture the control signal in synchronization with different ones of the plurality of second clock signals, and perform the control in synchronization with different ones of the plurality of second clock signals. Output signal,
Among the plurality of second clock signals supplied to the plurality of second latch circuits, the plurality of second clock signals used for capturing the control signal and the plurality of plurality used for outputting the control signal. 19. The semiconductor device according to claim 18, wherein the relationship with the second clock signal is variable.
前記第2のカウンタ回路は、前記第1のクロック信号に同期してシフト動作を行う、段数が可変であるシフトレジスタを含むことを特徴とする請求項18に記載の半導体装置。   The semiconductor device according to claim 18, wherein the second counter circuit includes a shift register having a variable number of stages that performs a shift operation in synchronization with the first clock signal.
JP2014063713A 2014-03-26 2014-03-26 semiconductor device Pending JP2015185200A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014063713A JP2015185200A (en) 2014-03-26 2014-03-26 semiconductor device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014063713A JP2015185200A (en) 2014-03-26 2014-03-26 semiconductor device

Publications (1)

Publication Number Publication Date
JP2015185200A true JP2015185200A (en) 2015-10-22

Family

ID=54351570

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014063713A Pending JP2015185200A (en) 2014-03-26 2014-03-26 semiconductor device

Country Status (1)

Country Link
JP (1) JP2015185200A (en)

Similar Documents

Publication Publication Date Title
US7864623B2 (en) Semiconductor device having latency counter
US7715272B2 (en) Semiconductor device having latency counter
US8917130B2 (en) Semiconductor device including a delay locked loop circuit
US10312895B2 (en) Apparatus and method for instant-on quadra-phase signal generator
KR20150089157A (en) Burst Length control device and semiconductor device including the same
US6977848B2 (en) Data output control circuit
JP2013183415A (en) Semiconductor device and method of adjusting phase of clock signal
US9559710B2 (en) Semiconductor device including oscillator
JP4061029B2 (en) Semiconductor memory device, buffer and signal transmission circuit
US7181638B2 (en) Method and apparatus for skewing data with respect to command on a DDR interface
US7466622B2 (en) Method for controlling time point for data output in synchronous memory device
US8525563B2 (en) Semiconductor device including DLL circuit having coarse adjustment unit and fine adjustment unit
JP2015012350A (en) Semiconductor device
JP2015185200A (en) semiconductor device
US20130111081A1 (en) Semiconductor memory device and operation method thereof
WO2014112509A1 (en) Output signal generation device, semiconductor device and output signal generation method
JPH1115555A (en) Semiconductor integrated circuit device
JP2006294235A (en) Synchronous semiconductor memory device
JP2014212365A (en) Semiconductor device
WO2014129386A1 (en) Command fifo circuit
JP2007128646A (en) Semiconductor memory device
KR20060075612A (en) Semiconductor devices
JPH10233090A (en) Semiconductor storage device
JP2006216230A (en) Synchronous type semiconductor memory device