[go: up one dir, main page]

JP2012169841A - Timing control circuit, timing control method and system - Google Patents

Timing control circuit, timing control method and system Download PDF

Info

Publication number
JP2012169841A
JP2012169841A JP2011028877A JP2011028877A JP2012169841A JP 2012169841 A JP2012169841 A JP 2012169841A JP 2011028877 A JP2011028877 A JP 2011028877A JP 2011028877 A JP2011028877 A JP 2011028877A JP 2012169841 A JP2012169841 A JP 2012169841A
Authority
JP
Japan
Prior art keywords
circuit
signal
value
power supply
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2011028877A
Other languages
Japanese (ja)
Inventor
Kenji Wada
研二 和田
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.)
Fujitsu Semiconductor Ltd
Original Assignee
Fujitsu Semiconductor Ltd
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 Fujitsu Semiconductor Ltd filed Critical Fujitsu Semiconductor Ltd
Priority to JP2011028877A priority Critical patent/JP2012169841A/en
Publication of JP2012169841A publication Critical patent/JP2012169841A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Logic Circuits (AREA)

Abstract

【課題】タイミングマージンの減少を抑制すること。
【解決手段】システム装置21に形成された制御回路36は、可変容量35の容量値を制御し、トレーニング回路45にタイミングトレーニングを実行させる。トレーニング回路45は、メモリ12がデータDQに基づく正常なデータを書き込むことができる設定値の最大値と最小値を出力する。制御回路36は、その最大値及び最小値に基づいてデータDQのウインドウ幅を算出し、より大きなウインドウ幅に対応する容量値を可変容量35に設定する。
【選択図】図3
To suppress a decrease in timing margin.
A control circuit formed in a system device controls a capacitance value of a variable capacitor and causes a training circuit to execute timing training. The training circuit 45 outputs the maximum value and the minimum value of the set values with which the memory 12 can write normal data based on the data DQ. The control circuit 36 calculates the window width of the data DQ based on the maximum value and the minimum value, and sets a capacitance value corresponding to a larger window width in the variable capacitor 35.
[Selection] Figure 3

Description

タイミング制御回路、タイミング制御方法、及びシステムに関する。   The present invention relates to a timing control circuit, a timing control method, and a system.

従来、システムは、システム装置(例えば、SoC:System on Chip)と、システム装置によりアクセスされるメモリを備えている。システム装置とメモリは、基板(例えば、プリント配線基板(PCB:Printed Circuit Board))に搭載され、基板に形成された配線を介して互いに接続されている。システム装置やメモリ等の半導体装置は、パッケージにチップ(又はダイ)が収容されている。チップは、パッケージの導体(リードフレーム、インターポーザに形成された配線、等)を介して基板の配線と接続される。   Conventionally, a system includes a system device (for example, SoC: System on Chip) and a memory accessed by the system device. The system device and the memory are mounted on a board (for example, a printed circuit board (PCB)) and are connected to each other via wiring formed on the board. In a semiconductor device such as a system device or a memory, a chip (or die) is accommodated in a package. The chip is connected to the wiring of the substrate via a conductor of the package (a lead frame, wiring formed on the interposer, etc.).

メモリは、は、例えばSDRAM(Synchronous Dynamic Random Access Memory)である。SDRAMは、クロック信号に同期してデータを入出力する。クロック信号の立ち上がりと立ち下がりの双方のタイミングでデータを入出力するダブルデータレート方式のSDRAMは、DDR−SDRAM(Double Data Rate SDRAM)、DDR2−SDRAMやDDR3−SDRAMと呼ばれ、システムの動作速度の高速化に対応する。   The memory is, for example, an SDRAM (Synchronous Dynamic Random Access Memory). The SDRAM inputs and outputs data in synchronization with a clock signal. Double data rate SDRAMs that input and output data at both rising and falling timings of clock signals are called DDR-SDRAMs (Double Data Rate SDRAMs), DDR2-SDRAMs, and DDR3-SDRAMs. Corresponding to the high speed.

システム装置は、DDR−SDRAM(メモリ)からデータを読み出す場合、DDR−SDRAMにリードコマンドを供給する。DDR−SDRAMは、リードコマンドに応答して、データストローブ信号DQS(クロック信号)と、そのデータストローブ信号DQSに同期したデータDQを出力する。システム装置に備えられた受信回路は、データストローブ信号DQSのタイミングを調整し、調整後のデータストローブ信号に基づいてデータDQを取り込む。   When reading data from the DDR-SDRAM (memory), the system device supplies a read command to the DDR-SDRAM. In response to the read command, the DDR-SDRAM outputs a data strobe signal DQS (clock signal) and data DQ synchronized with the data strobe signal DQS. The receiving circuit provided in the system apparatus adjusts the timing of the data strobe signal DQS and takes in the data DQ based on the adjusted data strobe signal.

システム装置に備えられた回路は、電源配線を介して供給される電源電圧により動作する。電源電圧は、バスの同時切替えやデバイスの起動などの回路の動作により変動し、電源電圧の変動によりノイズ(電源ノイズ)が発生する。このため、システム装置のパッケージ(PKG:Package)や配線基板(PCB:Printed Circuit Board)に含まれる2つの電源配線(高電位側電圧を供給する配線と低電位側電圧を供給するための配線)間には、電源電圧の変動を抑制する容量(デカップリング容量)が接続される(例えば、特許文献1,特許文献2参照)。この容量の値(容量値)は、システム装置の設計において、電源配線等の電源供給経路のインピーダンスを小さくするように決定され、電源ノイズシミュレーションに電源ノイズ量が検証される。   A circuit provided in the system apparatus operates with a power supply voltage supplied via a power supply wiring. The power supply voltage fluctuates due to circuit operations such as simultaneous bus switching and device activation, and noise (power supply noise) is generated due to fluctuations in the power supply voltage. Therefore, two power supply wirings (a wiring for supplying a high potential side voltage and a wiring for supplying a low potential side voltage) included in a system device package (PKG) and a wiring board (PCB: Printed Circuit Board) A capacitor (decoupling capacitor) that suppresses fluctuations in the power supply voltage is connected between them (see, for example, Patent Document 1 and Patent Document 2). This capacitance value (capacitance value) is determined so as to reduce the impedance of the power supply path such as the power supply wiring in the design of the system device, and the power supply noise amount is verified by the power supply noise simulation.

特開2008−085321号公報JP 2008-085321 A 特開2006−173369号公報JP 2006-173369 A

ところで、システム装置の形状、例えば、配線基板やパッケージの形状は、上記の電源ノイズシミュレーション後に、例えばユーザの仕様変更によって、変更されることがある。この場合、電源ノイズの低減に必要な電源配線間の容量の値が、設計値と異なってしまうので、想定していない周波数で共振する。   By the way, the shape of the system device, for example, the shape of the wiring board or package, may be changed after the above-described power supply noise simulation, for example, due to a change in user specifications. In this case, since the value of the capacitance between the power supply wirings necessary for reducing the power supply noise is different from the design value, resonance occurs at an unexpected frequency.

このように発生する共振は、上記のデータストローブ信号DQSやデータDQのエッジ(遷移タイミング)に影響する、つまり、遷移タイミングを変更することがある。例えば、データDQのエッジが進み、データストローブ信号DQSのエッジが遅れると、データストローブ信号DQSに対してデータDQが有効な期間(データ有効ウインドウ)が実効的に狭くなる。すると、データストローブ信号DQSに対するデータDQのタイミングマージンが小さくなり、データDQを正しく取り込めなくなる場合がある。   The resonance generated in this way affects the edge (transition timing) of the data strobe signal DQS and data DQ, that is, the transition timing may be changed. For example, when the edge of the data DQ advances and the edge of the data strobe signal DQS delays, the period during which the data DQ is valid (data valid window) with respect to the data strobe signal DQS is effectively narrowed. Then, the timing margin of the data DQ with respect to the data strobe signal DQS becomes small, and the data DQ may not be correctly captured.

本発明の一観点によれば、 第1電源線と第2電源線との間に接続され、第1信号を出力する第1の出力回路と、第1電源線と第2電源線との間に接続され、第2信号を出力する第2の出力回路と、第1電源線と第2電源線との間に接続された可変容量と、前記第1信号と前記第2信号との位相差を調整する遅延回路と、前記可変容量の容量値を制御し、前記遅延回路により調整される前記第1信号及び前記第2信号における複数の位相差毎に前記第1信号に基づくデータがメモリに書き込めるか否かを判定して前記第1信号のウインドウ幅を計測し、より大きいウインドウ幅に対応する容量値を前記可変容量に設定する制御回路と、を有する。   According to one aspect of the present invention, a first output circuit that is connected between a first power supply line and a second power supply line and outputs a first signal is provided between the first power supply line and the second power supply line. A second output circuit that outputs a second signal, a variable capacitor connected between the first power supply line and the second power supply line, and a phase difference between the first signal and the second signal A delay circuit that adjusts the capacitance value of the variable capacitor, and data based on the first signal is stored in the memory for each of a plurality of phase differences in the first signal and the second signal that are adjusted by the delay circuit. A control circuit that determines whether or not writing is possible, measures the window width of the first signal, and sets a capacitance value corresponding to a larger window width to the variable capacitance.

本発明の一観点によれば、タイミングマージンの減少を抑制することができる。   According to one aspect of the present invention, a decrease in timing margin can be suppressed.

システムの概略構成図である。1 is a schematic configuration diagram of a system. システムの概略ブロック図である。1 is a schematic block diagram of a system. システムの要部回路を示すブロック図である。It is a block diagram which shows the principal part circuit of a system. トレーニング回路の説明図である。It is explanatory drawing of a training circuit. トレーニング回路の説明図である。It is explanatory drawing of a training circuit. 可変容量のブロック図である。It is a block diagram of a variable capacity. (a)(b)は、可変容量の説明図である。(A) (b) is explanatory drawing of a variable capacity | capacitance. I/O回路の回路図である。It is a circuit diagram of an I / O circuit. トレーニング制御回路のブロック図である。It is a block diagram of a training control circuit. タイミングマージン判定回路のブロック図である。It is a block diagram of a timing margin determination circuit. タイミングトレーニングの結果の説明図である。It is explanatory drawing of the result of timing training. 調整処理のフローチャートである。It is a flowchart of an adjustment process. トレーニング処理のフローチャートである。It is a flowchart of a training process. タイミングマージン判定処理のフローチャートである。It is a flowchart of a timing margin determination process. テストアクセス処理のフローチャートである。It is a flowchart of a test access process. 各種設定の制御の説明図である。It is explanatory drawing of control of various settings. (a)(b)は、各種設定の制御の説明図である。(A) (b) is explanatory drawing of control of various settings.

以下、一実施形態を添付図面に従って説明する。
図1に示すように、システムの基板(例えば、プリント配線板PCB:Printed Circuit Board)10には、複数の半導体装置11〜13が搭載されている。各半導体装置11〜13は、基板10に形成された配線(図示略)を介して互いに接続されている。例えば、半導体装置11は図2に示すシステム装置であり、半導体装置12は図2に示すメモリである。また、基板10には、デカップリング容量14が搭載され、このデカップリング容量14は、各半導体装置11〜13に供給する電源電圧の変動を低減する。なお、図1には、1つのデカップリング容量14を示しているが、システムの構成に応じて、複数のデカップリング容量、又は複数のデカップリング容量を含む1つ又は複数のモジュールが、基板10に搭載されている。このようなデカップリング容量14の容量値は、基板10の設計時に、電源供給経路のインピーダンスが小さくなるように設定され、基板10上に配置されている。
Hereinafter, an embodiment will be described with reference to the accompanying drawings.
As shown in FIG. 1, a plurality of semiconductor devices 11 to 13 are mounted on a system board (for example, a printed circuit board (PCB) 10). The semiconductor devices 11 to 13 are connected to each other via wiring (not shown) formed on the substrate 10. For example, the semiconductor device 11 is the system device shown in FIG. 2, and the semiconductor device 12 is the memory shown in FIG. In addition, a decoupling capacitor 14 is mounted on the substrate 10, and the decoupling capacitor 14 reduces fluctuations in the power supply voltage supplied to the semiconductor devices 11 to 13. In FIG. 1, one decoupling capacitor 14 is shown. However, depending on the configuration of the system, a plurality of decoupling capacitors or one or more modules including a plurality of decoupling capacitors are provided on the substrate 10. It is mounted on. The capacitance value of the decoupling capacitor 14 is set on the substrate 10 so as to reduce the impedance of the power supply path when the substrate 10 is designed.

半導体装置11のパッケージ20には、システム装置21が搭載されている。システム装置21は、半導体チップ(ダイ)である。また、半導体装置11のパッケージ20には、システム装置21に供給する電源電圧の変動を低減するためのデカップリング容量22が搭載されている。このデカップリング容量22は、システム装置21に形成された調整回路によって容量値を変更可能に構成された可変容量素子である。半導体装置12,13のパッケージには、チップ12a,13aがそれぞれ内包されている。   A system device 21 is mounted on the package 20 of the semiconductor device 11. The system device 21 is a semiconductor chip (die). The package 20 of the semiconductor device 11 is equipped with a decoupling capacitor 22 for reducing fluctuations in the power supply voltage supplied to the system device 21. The decoupling capacitor 22 is a variable capacitance element configured such that a capacitance value can be changed by an adjustment circuit formed in the system device 21. Chips 12 a and 13 a are included in packages of the semiconductor devices 12 and 13, respectively.

図2に示すように、システム装置21には、コア回路31、メモリコントローラ32、インタフェース回路(I/F回路と表記)33、入出力回路(I/O回路と表記)34が形成されている。メモリ12は、同期式の半導体記憶装置、例えばダブルレート方式のダイナミックランダムアクセスメモリ(DDR−SDRAM:Double Data Rate Synchronous Dynamic Random Access Memory)である。   As shown in FIG. 2, the system device 21 includes a core circuit 31, a memory controller 32, an interface circuit (denoted as I / F circuit) 33, and an input / output circuit (denoted as I / O circuit) 34. . The memory 12 is a synchronous semiconductor memory device, for example, a double-rate dynamic random access memory (DDR-SDRAM: Double Data Rate Synchronous Dynamic Random Access Memory).

コア回路31は、実行する処理に応じて、メモリ12のデータを読み込むためのリード要求と、そのデータが格納されたアドレスとをメモリコントローラ32に出力する。また、コア回路31は、メモリ12にデータを書き込むためのライト要求と、そのデータを格納するアドレスとをメモリコントローラ32に出力する。なお、コア回路31は、例えば中央処理装置(Central Processing Unit:CPU)である。   The core circuit 31 outputs a read request for reading data in the memory 12 and an address at which the data is stored to the memory controller 32 in accordance with processing to be executed. The core circuit 31 outputs a write request for writing data to the memory 12 and an address for storing the data to the memory controller 32. The core circuit 31 is, for example, a central processing unit (CPU).

メモリコントローラ32は、当該メモリコントローラ32の内部クロック信号を、インタフェース回路33を介して入出力回路34に供給する。入出力回路34は、内部クロック信号に応じて生成した相補のクロック信号CK,XCKを、メモリ12に供給する。   The memory controller 32 supplies the internal clock signal of the memory controller 32 to the input / output circuit 34 via the interface circuit 33. The input / output circuit 34 supplies complementary clock signals CK and XCK generated according to the internal clock signal to the memory 12.

また、メモリコントローラ32は、コア回路31からの要求に応じて、インタフェース回路33を介してメモリ12をアクセスする。
コア回路31からの要求がリード要求の場合には、メモリコントローラ32は、インタフェース回路33と入出力回路34を介してリードコマンド及びアドレスをメモリ12に供給する。すると、メモリ12は、リードコマンドに応答し、該当アドレスから読み出したデータDQと、そのデータDQに同期したデータストローブ信号DQSとを出力する。このとき、メモリ12は、相補のクロック信号CK,XCKに同期してデータDQをバースト出力する、すなわちメモリコントローラ32の内部クロック信号の2倍の周波数でデータDQをバースト出力する。
The memory controller 32 accesses the memory 12 via the interface circuit 33 in response to a request from the core circuit 31.
When the request from the core circuit 31 is a read request, the memory controller 32 supplies a read command and an address to the memory 12 via the interface circuit 33 and the input / output circuit 34. Then, in response to the read command, the memory 12 outputs the data DQ read from the corresponding address and the data strobe signal DQS synchronized with the data DQ. At this time, the memory 12 bursts out the data DQ in synchronization with the complementary clock signals CK and XCK, that is, bursts out the data DQ at a frequency twice that of the internal clock signal of the memory controller 32.

コア回路31からの要求がライト要求の場合には、メモリコントローラ32は、インタフェース回路33と入出力回路34を介してライトコマンド、データDQ、データストローブ信号DQS、及びデータDQを書き込むアドレスをメモリ12に供給する。入出力回路34は、インタフェース回路33から供給されるデータストローブ信号DQSに応じて生成した相補のデータストローブ信号DQS,XDQSをメモリ12に供給する。メモリ12は、該当するアドレスにデータDQを記憶する。   When the request from the core circuit 31 is a write request, the memory controller 32 stores the address for writing the write command, the data DQ, the data strobe signal DQS, and the data DQ via the interface circuit 33 and the input / output circuit 34. To supply. The input / output circuit 34 supplies the memory 12 with complementary data strobe signals DQS and XDQS generated according to the data strobe signal DQS supplied from the interface circuit 33. The memory 12 stores data DQ at a corresponding address.

メモリ12とインタフェース回路33との間では、データストローブ信号DQSによりデータDQの授受が行われる。すなわち、インタフェース回路33は、リード動作時に、メモリ12から入出力回路34を介して受け取るデータストローブ信号DQSのタイミングを調整し、タイミング調整されたデータストローブ信号DQSに同期してデータDQを取り込み、その取り込んだデータDQをメモリコントローラ32に出力する。また、インタフェース回路33は、ライト動作時に、メモリコントローラ32から受け取ったデータDQ及びデータストローブ信号DQSを、入出力回路34を介してメモリ12に出力する。   Data DQ is exchanged between the memory 12 and the interface circuit 33 by a data strobe signal DQS. That is, the interface circuit 33 adjusts the timing of the data strobe signal DQS received from the memory 12 via the input / output circuit 34 during the read operation, takes in the data DQ in synchronization with the data strobe signal DQS adjusted in timing, The fetched data DQ is output to the memory controller 32. Further, the interface circuit 33 outputs the data DQ and the data strobe signal DQS received from the memory controller 32 to the memory 12 via the input / output circuit 34 during the write operation.

図3に示すように、システム装置21には、例えばパッケージ20外の電源供給モジュール(VRM)13から、高電位電圧VDD及び低電位電圧VSSが供給される。高電位電圧VDD及び低電位電圧VSSは、システム装置21の動作電圧の一例である。高電位電圧VDD及び低電位電圧VSSは、基板(PCB)10に形成された電源線10a,10bと、パッケージ20に形成された電源線20a,20bを介してシステム装置21に供給される。   As shown in FIG. 3, a high potential voltage VDD and a low potential voltage VSS are supplied to the system device 21 from, for example, a power supply module (VRM) 13 outside the package 20. The high potential voltage VDD and the low potential voltage VSS are examples of operating voltages of the system device 21. The high potential voltage VDD and the low potential voltage VSS are supplied to the system device 21 via the power supply lines 10 a and 10 b formed on the substrate (PCB) 10 and the power supply lines 20 a and 20 b formed on the package 20.

電源線10a,10bは、電源供給モジュール13からパッケージ20までの間の電源供給経路を形成する導電体であり、基板10に形成された配線パターン等を含む。電源線10a,10b間には、図1に示すデカップリング容量14が接続されている。電源線20a,20bは、パッケージ20内において電源供給経路を形成する導電体、例えばパッケージ20に形成された配線パターン等を含む。電源線20a,20b間には、可変容量22が接続されている。   The power supply lines 10 a and 10 b are conductors that form a power supply path between the power supply module 13 and the package 20, and include a wiring pattern formed on the substrate 10. A decoupling capacitor 14 shown in FIG. 1 is connected between the power supply lines 10a and 10b. The power supply lines 20 a and 20 b include a conductor that forms a power supply path in the package 20, for example, a wiring pattern formed in the package 20. A variable capacitor 22 is connected between the power supply lines 20a and 20b.

システム装置21(ダイ)には、高電位電圧VDDを伝達する第1の電源線21aと、低電位電圧VSSを伝達する第2の電源線21bとが形成されている。これらの電源線21a,21bは、ダイの所定層に形成された銅等の配線パターンである。   The system device 21 (die) is formed with a first power supply line 21a for transmitting the high potential voltage VDD and a second power supply line 21b for transmitting the low potential voltage VSS. These power supply lines 21a and 21b are wiring patterns such as copper formed in a predetermined layer of the die.

第1の電源線21aと第2の電源線21bとの間には、第1のI/O回路34aと第2のI/O回路34bが接続されている。第1のI/O回路34aは、第1の電源線21aを介して供給される高電位電圧VDDと、第2の電源線21bを介して供給される低電位電圧VSSとを駆動電圧として動作し、I/F回路33から出力される信号に基づいてデータストローブ信号DQSを出力する。信号DQSは、パッケージ20の配線20cと、基板10の配線10cを介してメモリ12に供給される。メモリ12から出力されるデータストローブ信号DQSは、配線10c,20cを介してI/O回路34aに供給される。   A first I / O circuit 34a and a second I / O circuit 34b are connected between the first power supply line 21a and the second power supply line 21b. The first I / O circuit 34a operates using the high potential voltage VDD supplied via the first power supply line 21a and the low potential voltage VSS supplied via the second power supply line 21b as drive voltages. The data strobe signal DQS is output based on the signal output from the I / F circuit 33. The signal DQS is supplied to the memory 12 via the wiring 20 c of the package 20 and the wiring 10 c of the substrate 10. The data strobe signal DQS output from the memory 12 is supplied to the I / O circuit 34a via the wirings 10c and 20c.

同様に、第2のI/O回路34bは、第1の電源線21aを介して供給される高電位電圧VDDと、第2の電源線21bを介して供給される低電位電圧VSSとを駆動電圧として動作し、I/F回路33から出力される信号に基づいてデータDQを出力する。データDQは、パッケージ20の配線20dと、基板10の配線10dを介してメモリ12に供給される。メモリ12から出力されるデータDQは、配線20d、10dを介してI/O回路34bに供給される。   Similarly, the second I / O circuit 34b drives the high potential voltage VDD supplied via the first power supply line 21a and the low potential voltage VSS supplied via the second power supply line 21b. It operates as a voltage and outputs data DQ based on a signal output from the I / F circuit 33. Data DQ is supplied to the memory 12 via the wiring 20 d of the package 20 and the wiring 10 d of the substrate 10. Data DQ output from the memory 12 is supplied to the I / O circuit 34b via the wirings 20d and 10d.

また、第1の電源線21aと第2の電源線21bとの間には、可変容量35が接続されている。この可変容量35は、パッケージ20に設けられた可変容量22と同様に、システム装置21に形成された調整回路によって容量値を変更可能に構成された可変容量素子である。可変容量35は、I/O回路34a,34bの動作に基づく電源電圧の変動を低減する。   A variable capacitor 35 is connected between the first power supply line 21a and the second power supply line 21b. The variable capacitance 35 is a variable capacitance element configured such that the capacitance value can be changed by an adjustment circuit formed in the system device 21, similarly to the variable capacitance 22 provided in the package 20. The variable capacitor 35 reduces fluctuations in the power supply voltage based on the operations of the I / O circuits 34a and 34b.

I/F回路33は、データストローブ(DQS)信号生成回路41と、遅延同期ループ回路(DLL(Delay Locked Loop )回路)42とを備えている。DQS信号生成回路41は、内部クロック信号に基づいて、例えば内部クロック信号の2倍の周波数のパルス信号を出力する。DLL回路42は、DQS信号生成回路41の出力信号を遅延した信号を出力する。DLL回路42は、遅延回路の一例である。   The I / F circuit 33 includes a data strobe (DQS) signal generation circuit 41 and a delay locked loop (DLL (Delay Locked Loop) circuit) 42. The DQS signal generation circuit 41 outputs, for example, a pulse signal having a frequency twice that of the internal clock signal based on the internal clock signal. The DLL circuit 42 outputs a signal obtained by delaying the output signal of the DQS signal generation circuit 41. The DLL circuit 42 is an example of a delay circuit.

また、I/F回路33は、DQ信号生成回路43と、DQ信号生成回路43の出力信号を遅延する遅延同期ループ回路(DLL回路)44とを備えている。DQ信号生成回路43は、図2に示すコア回路31がメモリ12に書き込むデータに応じた信号を出力する。例えば、DQ信号生成回路43は、コア回路31から出力される複数ビットのパラレルデータを、内部クロック信号の2倍の周波数のパルス信号に同期してシリアル出力する。DLL回路44は、DQ信号生成回路43の出力信号を遅延した信号を出力する。DLL回路44は、遅延回路の一例である。   The I / F circuit 33 includes a DQ signal generation circuit 43 and a delay locked loop circuit (DLL circuit) 44 that delays the output signal of the DQ signal generation circuit 43. The DQ signal generation circuit 43 outputs a signal corresponding to data written to the memory 12 by the core circuit 31 shown in FIG. For example, the DQ signal generation circuit 43 serially outputs a plurality of bits of parallel data output from the core circuit 31 in synchronization with a pulse signal having a frequency twice that of the internal clock signal. The DLL circuit 44 outputs a signal obtained by delaying the output signal of the DQ signal generation circuit 43. The DLL circuit 44 is an example of a delay circuit.

DLL回路42,44は、データストローブ信号DQSとデータDQとの間の位相差を調整するために設けられている。DQS信号生成回路41とDQ信号生成回路43は、内部クロック信号に同期してそれぞれ信号を出力する。DQS信号生成回路41の出力信号に基づいてデータストローブ信号DQS,XDQSがメモリ12に対して出力され、DQ信号生成回路43の出力信号に基づいてデータDQがメモリ12に対して出力される。メモリ12は例えばDDR3−SDRAMであり、データストローブ信号DQS,XDQSのエッジのタイミングで、データDQを取り込む。従って、システム装置21は、データDQとデータストローブ信号DQSとの間の位相差を所定値(90度)ずらして出力する。このため、DLL回路42,44は、DQS信号生成回路41の出力信号に応答(遅延)して出力する信号と、DQ信号生成回路43の出力信号に応答(遅延)して出力する信号との間の位相差を所定値(90度)とするように、それぞれ設定される。   The DLL circuits 42 and 44 are provided for adjusting the phase difference between the data strobe signal DQS and the data DQ. The DQS signal generation circuit 41 and the DQ signal generation circuit 43 each output a signal in synchronization with the internal clock signal. Data strobe signals DQS and XDQS are output to the memory 12 based on the output signal of the DQS signal generation circuit 41, and data DQ is output to the memory 12 based on the output signal of the DQ signal generation circuit 43. The memory 12 is a DDR3-SDRAM, for example, and takes in the data DQ at the edge timing of the data strobe signals DQS and XDQS. Therefore, the system device 21 outputs the phase difference between the data DQ and the data strobe signal DQS with a predetermined value (90 degrees) shifted. Therefore, the DLL circuits 42 and 44 are a signal output in response (delay) to the output signal of the DQS signal generation circuit 41 and a signal output in response (delay) to the output signal of the DQ signal generation circuit 43. The phase difference is set to a predetermined value (90 degrees).

また、I/F回路33は、データストローブ信号DQSとデータDQのタイミングを調整するトレーニング回路45を備えている。トレーニング回路45は、I/F回路33から出力されるデータストローブ信号DQS及びデータDQがメモリ12に到達するタイミングを調整するタイミングトレーニング機能を提供する。   The I / F circuit 33 includes a training circuit 45 that adjusts the timing of the data strobe signal DQS and the data DQ. The training circuit 45 provides a timing training function for adjusting the timing at which the data strobe signal DQS and data DQ output from the I / F circuit 33 reach the memory 12.

トレーニング回路45によるタイミング制御を説明する。
図4に示すように、システム装置21の遅延回路37は、内部クロック信号を予め定めた時間遅延して出力する。I/O回路(ドライバ回路)34cは、遅延回路37の出力信号に基づいて、相補のクロック信号CK,XCKを出力する。DLL回路42は、図3に示すDQS信号生成回路41から出力される信号を遅延して出力する。I/O回路(ドライバ回路)34aは、DLL回路42の出力信号に基づいて、データストローブ信号DQSと、そのデータストローブ信号DQSと相補な反転データストローブ信号XDQSを出力する。I/O回路34aは、第1の出力回路の一例である。DLL回路42は、図3に示すDQ信号生成回路43から出力される信号を遅延して出力する。I/O回路(ドライバ回路)34bは、DLL回路42の出力信号に基づいて、データ信号DQを出力する。I/O回路34bは、第2の出力回路の一例である。
Timing control by the training circuit 45 will be described.
As shown in FIG. 4, the delay circuit 37 of the system device 21 outputs the internal clock signal with a predetermined time delay. The I / O circuit (driver circuit) 34 c outputs complementary clock signals CK and XCK based on the output signal of the delay circuit 37. The DLL circuit 42 delays and outputs the signal output from the DQS signal generation circuit 41 shown in FIG. Based on the output signal of the DLL circuit 42, the I / O circuit (driver circuit) 34a outputs the data strobe signal DQS and the inverted data strobe signal XDQS complementary to the data strobe signal DQS. The I / O circuit 34a is an example of a first output circuit. The DLL circuit 42 delays and outputs the signal output from the DQ signal generation circuit 43 shown in FIG. The I / O circuit (driver circuit) 34 b outputs a data signal DQ based on the output signal of the DLL circuit 42. The I / O circuit 34b is an example of a second output circuit.

システム装置21から出力される各種の信号は、システム装置21とメモリ12との間の信号伝達経路に応じた時間経過後にメモリ12に到達する。システム装置21の出力時刻からメモリ12に信号が到達するまでの期間は、各種の信号における配線遅延であり、配線経路により異なる場合がある。   Various signals output from the system device 21 reach the memory 12 after elapse of time corresponding to the signal transmission path between the system device 21 and the memory 12. The period from the output time of the system device 21 until the signal reaches the memory 12 is a wiring delay in various signals and may vary depending on the wiring path.

図4に示すシステム装置21とメモリ12との間の各種信号のタイミングを図5に示す。なお、図5の上段は、システム装置21における出力タイミングを示し、図5の下段はメモリ12における入力タイミングを示す。   FIG. 5 shows timings of various signals between the system device 21 and the memory 12 shown in FIG. The upper part of FIG. 5 shows the output timing in the system device 21, and the lower part of FIG. 5 shows the input timing in the memory 12.

例えば、I/O回路34cから出力されるクロック信号CK,XCKは、図5に示すように、配線遅延による遅延時間DL1経過後のメモリ12に入力される。同様に、図4に示すI/O回路34aから出力されるデータストローブ信号DQS,XDQSは、その出力時刻から遅延時間DL2経過後にメモリ12に入力される。また、図4に示すI/O回路34bから出力されるデータDQは、その出力時刻から遅延時間DL3経過後にメモリ12に入力される。   For example, the clock signals CK and XCK output from the I / O circuit 34c are input to the memory 12 after the elapse of the delay time DL1 due to the wiring delay, as shown in FIG. Similarly, the data strobe signals DQS and XDQS output from the I / O circuit 34a shown in FIG. 4 are input to the memory 12 after the delay time DL2 has elapsed from the output time. The data DQ output from the I / O circuit 34b shown in FIG. 4 is input to the memory 12 after the delay time DL3 has elapsed from the output time.

メモリ12は、上記したように、DDR−SDRAMである。このようなメモリ12は、クロック信号CK,XCKに同期して各種制御信号(コマンド)を取り込む。また、メモリ12は、データストローブ信号DQS,XDQSのエッジに同期してデータDQを取り込む。従って、図5の下段に示すように、クロック信号CK,XCKのタイミングと、データストローブ信号DQS,XDQSのタイミングとの差(タイミングのずれ)は、メモリ12の仕様(スペック)に応じた範囲に入っている必要がある。また、データストローブ信号DQS,XDQSのエッジのタイミングは、データDQの有効期間に対し、ホールド時間(Hold Time)とセットアップ時間(Setup Time)を満足するタイミングとなるように設定される必要がある。例えば、データストローブ信号DQS,XDQSのエッジのタイミングは、データDQの有効期間おいて、上記のホールド時間とセットアップ時間のそれぞれに対し、マージンがあるようなタイミング、例えば中央付近に来るように、調整される必要がある。なお、データDQの有効期間(データ有効ウィンドウ)は、ドライバ側のデータと等しいデータをレシーバ側でサンプリングできる期間のことである。   As described above, the memory 12 is a DDR-SDRAM. Such a memory 12 captures various control signals (commands) in synchronization with the clock signals CK and XCK. The memory 12 takes in the data DQ in synchronization with the edges of the data strobe signals DQS and XDQS. Therefore, as shown in the lower part of FIG. 5, the difference (timing deviation) between the timing of the clock signals CK and XCK and the timing of the data strobe signals DQS and XDQS is in a range according to the specification (spec) of the memory 12. Must be in. Further, the edge timing of the data strobe signals DQS and XDQS needs to be set so as to satisfy the hold time (Hold Time) and the setup time (Setup Time) with respect to the valid period of the data DQ. For example, the edge timings of the data strobe signals DQS and XDQS are adjusted so that there is a margin with respect to each of the hold time and the setup time in the valid period of the data DQ, for example, near the center. Need to be done. The valid period (data valid window) of the data DQ is a period during which data equal to the data on the driver side can be sampled on the receiver side.

トレーニング回路45は、出力信号のタイミングをずらしながら、テスト信号をメモリ12に出力する。そして、トレーニング回路45は、メモリ12から出力されるテスト信号の受信結果に基づいて、メモリ12が正しいデータを受信できるように、各信号の出力タイミング、即ち、データストローブ信号DQSとデータDQの位相差、つまりDLL回路42,44における遅延量を調整する。   The training circuit 45 outputs the test signal to the memory 12 while shifting the timing of the output signal. Based on the reception result of the test signal output from the memory 12, the training circuit 45 outputs each signal, that is, the level of the data strobe signal DQS and the data DQ so that the memory 12 can receive correct data. The phase difference, that is, the delay amount in the DLL circuits 42 and 44 is adjusted.

例えば、データストローブ信号DQS,XDQSの場合、信号伝達経路において、図5に示すように、遅延時間DL2が生じる。このため、トレーニング回路45は、クロック信号CK,XCKに対し、遅延時間DS1経過後にデータストローブ信号DQS,XDQSを出力するように、DLL回路42を調整する。同様に、トレーニング回路45は、クロック信号CK,XCKに対し、遅延時間DS2経過後がデータDQのデータ有効ウインドウの中央付近となるように、DLL回路44を調整する。   For example, in the case of data strobe signals DQS and XDQS, a delay time DL2 occurs in the signal transmission path as shown in FIG. Therefore, the training circuit 45 adjusts the DLL circuit 42 so that the data strobe signals DQS and XDQS are output after the delay time DS1 has elapsed with respect to the clock signals CK and XCK. Similarly, the training circuit 45 adjusts the DLL circuit 44 with respect to the clock signals CK and XCK so that the time after the delay time DS2 elapses is near the center of the data valid window of the data DQ.

図3に示すように、システム装置21は、上記の可変容量35の容量値を制御する制御回路36を備えている。また、制御回路36は、I/O回路34a,34bのスルーレート(Slew Rate )を制御する。この制御回路36は、パッケージ20に含まれる可変容量22の容量値を制御する機能を有している。   As shown in FIG. 3, the system device 21 includes a control circuit 36 that controls the capacitance value of the variable capacitor 35. The control circuit 36 controls the slew rate of the I / O circuits 34a and 34b. The control circuit 36 has a function of controlling the capacitance value of the variable capacitor 22 included in the package 20.

制御回路36は、トレーニング制御回路51とタイミングマージン判定回路(TM判定回路と表記、以下、TM判定回路)52を備えている。
トレーニング制御回路51は、TM判定回路52に初期化信号を出力し、TM判定回路52は初期化信号に応答して設定値を保持するレジスタを初期化する。また、トレーニング制御回路51は、トレーニング回路45に開始信号を出力し、トレーニング回路45は開始信号に応答してメモリ12との間のタイミングトレーニングを実行し、DLL回路44に対する設定値の最大値及び最小値を得る。そして、トレーニング回路45は、タイミングトレーニングにより得た最大の設定値及び最小の設定値を、TM判定回路52に出力する。
The control circuit 36 includes a training control circuit 51 and a timing margin determination circuit (hereinafter referred to as TM determination circuit, hereinafter referred to as TM determination circuit) 52.
The training control circuit 51 outputs an initialization signal to the TM determination circuit 52, and the TM determination circuit 52 initializes a register that holds a set value in response to the initialization signal. Further, the training control circuit 51 outputs a start signal to the training circuit 45, and the training circuit 45 executes timing training with the memory 12 in response to the start signal, and the maximum value of the set value for the DLL circuit 44 and Get the minimum value. Then, the training circuit 45 outputs the maximum setting value and the minimum setting value obtained by the timing training to the TM determination circuit 52.

TM判定回路52は、最大の設定値と最小の設定値に基づいて、そのときのデータDQの有効ウインドウの大きさが最大か否かを判定し、有効ウインドウが最大となるときの設定値をレジスタに記憶する。そして、TM判定回路52レジスタに保持した設定値(最大値及び最小値)を、トレーニング制御回路51に出力する。   Based on the maximum setting value and the minimum setting value, the TM determination circuit 52 determines whether or not the size of the effective window of the data DQ at that time is maximum, and sets the setting value when the effective window is maximum. Store in register. Then, the set values (maximum value and minimum value) held in the TM determination circuit 52 register are output to the training control circuit 51.

トレーニング制御回路51は、TM判定回路52から出力される設定値に基づいて、可変容量35の容量値を制御するための制御信号SC1、I/O回路34a,34bのスルーレートを制御するための制御信号SC2、可変容量22の容量値を制御するための制御信号SC3を出力する。   The training control circuit 51 controls the control signal SC1 for controlling the capacitance value of the variable capacitor 35 and the slew rate of the I / O circuits 34a and 34b based on the set value output from the TM determination circuit 52. The control signal SC3 and the control signal SC3 for controlling the capacitance value of the variable capacitor 22 are output.

可変容量35の構成例を説明する。
図6に示すように、可変容量35は、複数(図において3個)の電源スイッチ61a〜61cを備えている。各電源スイッチ61a〜61cの第1端子は高電位電圧VDDが供給される電源線21aに接続されている。電源スイッチ61aの第2端子には、複数(図において4個)の容量セル62aの第1端子が接続され、各容量セル62aの第2端子は、低電位電圧VSSが供給される電源線21bに接続されている。同様に、電源スイッチ61bの第2端子には、複数(図において4個)の容量セル62bの第1端子が接続され、各容量セル62bの第2端子は、低電位電圧VSSが供給される電源線21bに接続されている。また、電源スイッチ61cの第2端子には、複数(図において4個)の容量セル62aの第1端子が接続され、各容量セル62cの第2端子は、低電位電圧VSSが供給される電源線21bに接続されている。なお、各電源スイッチ61a〜61cに接続される容量セル62a〜62cの数は、異なっていてもよい。
A configuration example of the variable capacitor 35 will be described.
As shown in FIG. 6, the variable capacitor 35 includes a plurality (three in the figure) of power switches 61a to 61c. The first terminals of the power switches 61a to 61c are connected to a power line 21a to which a high potential voltage VDD is supplied. The second terminal of the power switch 61a is connected to the first terminals of a plurality of (four in the figure) capacity cells 62a, and the second terminal of each capacity cell 62a is a power line 21b to which the low potential voltage VSS is supplied. It is connected to the. Similarly, the first terminal of a plurality of (four in the figure) capacity cells 62b is connected to the second terminal of the power switch 61b, and the low potential voltage VSS is supplied to the second terminal of each capacity cell 62b. It is connected to the power line 21b. The second terminal of the power switch 61c is connected to the first terminals of a plurality (four in the figure) of the capacity cells 62a, and the second terminal of each capacity cell 62c is a power source to which the low potential voltage VSS is supplied. It is connected to the line 21b. The number of capacity cells 62a to 62c connected to the power switches 61a to 61c may be different.

電源スイッチ61a〜61cは、制御信号SC1に基づいて、互いに独立して動作する。例えば、制御信号SC1は、可変容量35に含まれる電源スイッチの数に応じた3ビットの信号(SC1a〜SC1c)である。電源スイッチ61a〜61cは、制御信号SC1a〜SC1cに応答してそれぞれオンオフする。従って、オンした電源スイッチに応じた数の容量セルが互いに並列接続されるとともに、2つの電源線21a,21b間に接続される。つまり、電源スイッチの数を変更することにより、2つの電源線21a,21b間の容量値を調整することができる。   The power switches 61a to 61c operate independently of each other based on the control signal SC1. For example, the control signal SC1 is a 3-bit signal (SC1a to SC1c) corresponding to the number of power switches included in the variable capacitor 35. The power switches 61a to 61c are turned on and off in response to the control signals SC1a to SC1c, respectively. Accordingly, the number of capacity cells corresponding to the turned on power switch are connected in parallel to each other and connected between the two power supply lines 21a and 21b. That is, the capacitance value between the two power supply lines 21a and 21b can be adjusted by changing the number of power switches.

次に、可変容量22の構成例を説明する。
図7(a)に示すように、可変容量22の電源端子71aには高電位電圧VDDが供給され、電源端子71bには低電位電圧VSSが供給される。また、複数(図において3つ)の制御端子72a〜72cには制御信号SC3が供給される。例えば、制御信号SC3は、3ビットの信号である。制御信号SC3のビット数は、可変容量35に含まれる電源スイッチの数に対応する。各端子72a〜72cに供給される信号を、それぞれSC3a〜SC3cとする。に電源端子71aには電源線73aが接続され、電源端子71bには電源線73bが接続されている。電源線73aには複数(図において3個)の電源スイッチ74a〜74cの第1端子が接続されている。
Next, a configuration example of the variable capacitor 22 will be described.
As shown in FIG. 7A, the high potential voltage VDD is supplied to the power supply terminal 71a of the variable capacitor 22, and the low potential voltage VSS is supplied to the power supply terminal 71b. A control signal SC3 is supplied to a plurality (three in the figure) of control terminals 72a to 72c. For example, the control signal SC3 is a 3-bit signal. The number of bits of the control signal SC3 corresponds to the number of power switches included in the variable capacitor 35. Signals supplied to the terminals 72a to 72c are SC3a to SC3c, respectively. A power line 73a is connected to the power terminal 71a, and a power line 73b is connected to the power terminal 71b. First terminals of a plurality (three in the figure) of power switches 74a to 74c are connected to the power line 73a.

電源スイッチ74aの第2端子には、複数(図において4個)の容量セル75aの第1端子が接続され、各容量セル75aの第2端子は、低電位電圧VSSが供給される電源線73bに接続されている。同様に、電源スイッチ74bの第2端子には、複数(図において4個)の容量セル75bの第1端子が接続され、各容量セル75bの第2端子は、低電位電圧VSSが供給される電源線73bに接続されている。また、電源スイッチ74cの第2端子には、複数(図において4個)の容量セル75aの第1端子が接続され、各容量セル75cの第2端子は、低電位電圧VSSが供給される電源線73bに接続されている。なお、各電源スイッチ74a〜74cに接続される容量セル75a〜75cの数は、異なっていてもよい。   A first terminal of a plurality of (four in the figure) capacity cells 75a is connected to the second terminal of the power switch 74a, and the second terminal of each capacity cell 75a is a power line 73b to which a low potential voltage VSS is supplied. It is connected to the. Similarly, the first terminal of a plurality of (four in the figure) capacity cells 75b is connected to the second terminal of the power switch 74b, and the low potential voltage VSS is supplied to the second terminal of each capacity cell 75b. It is connected to the power line 73b. The second terminal of the power switch 74c is connected to the first terminals of a plurality (four in the figure) of the capacity cells 75a, and the second terminal of each capacity cell 75c is supplied with a low potential voltage VSS. It is connected to the line 73b. The number of capacity cells 75a to 75c connected to each power switch 74a to 74c may be different.

複数の制御端子72a〜72cはバッファ回路76a〜76cの入力端子にそれぞれ接続されている。そして、各バッファ回路76a〜76cの出力信号は各電源スイッチ74a〜74cに供給される。従って、電源スイッチ74a〜74cは、制御信号SC3a〜SC3cに基づいて、互いに独立して動作する。電源スイッチ74a〜74cは、制御信号SC3a〜DC3cに応答してそれぞれオンオフする。従って、オンした電源スイッチに応じた数の容量セルが互いに並列接続されるとともに、2つの電源線73a,73b間に接続される。つまり、電源スイッチの数を変更することにより、2つの電源線73a,73b間の容量値を調整することができる。   The plurality of control terminals 72a to 72c are connected to the input terminals of the buffer circuits 76a to 76c, respectively. The output signals of the buffer circuits 76a to 76c are supplied to the power switches 74a to 74c. Accordingly, the power switches 74a to 74c operate independently of each other based on the control signals SC3a to SC3c. The power switches 74a to 74c are turned on and off in response to the control signals SC3a to DC3c, respectively. Accordingly, the number of capacity cells corresponding to the power switches that are turned on are connected in parallel to each other and connected between the two power supply lines 73a and 73b. That is, the capacitance value between the two power lines 73a and 73b can be adjusted by changing the number of power switches.

なお、可変容量22を、図7(b)に示すように、システム装置(ダイ)21に直接的に接続される構成としてもよい。このような構成は、システム装置21のパッケージサイズを縮小することが可能とする。   The variable capacitor 22 may be directly connected to the system device (die) 21 as shown in FIG. Such a configuration makes it possible to reduce the package size of the system device 21.

次に、I/O回路34bの構成例を説明する。
図8に示すように、複数(図において4個)のNAND回路81a〜81dには、図3に示すDLL回路42から出力される信号Sinが供給される。また、この信号Sinは、複数のインバータ回路82a〜82dに供給される。各NAND回路81a〜81dには、制御信号SC2が供給される。なお、この例において、制御信号SC2は、I/O回路34aの構成に対応する4ビットの信号である。これらの信号をSC2a〜SC2dとする。各NAND回路81a〜81dには、制御信号SC2a〜SC2dがそれぞれ供給される。各インバータ回路82a〜82dの出力信号は、AND回路83a〜83dに供給される。各AND回路83a〜83dには、制御信号SC2a〜SC2dがそれぞれ供給される。
Next, a configuration example of the I / O circuit 34b will be described.
As shown in FIG. 8, the signal Sin output from the DLL circuit 42 shown in FIG. 3 is supplied to a plurality (four in the figure) of NAND circuits 81a to 81d. The signal Sin is supplied to a plurality of inverter circuits 82a to 82d. A control signal SC2 is supplied to each of the NAND circuits 81a to 81d. In this example, the control signal SC2 is a 4-bit signal corresponding to the configuration of the I / O circuit 34a. These signals are referred to as SC2a to SC2d. Control signals SC2a to SC2d are supplied to the NAND circuits 81a to 81d, respectively. Output signals of the inverter circuits 82a to 82d are supplied to AND circuits 83a to 83d. Control signals SC2a to SC2d are supplied to the AND circuits 83a to 83d, respectively.

NAND回路81a〜81dの出力信号はPチャネルMOSトランジスタ84a〜84dのゲートにそれぞれ供給される。同様に、AND回路83a〜83dの出力信号は、NチャネルMOSトランジスタ85a〜85dのゲートに供給される。   Output signals of NAND circuits 81a-81d are supplied to the gates of P-channel MOS transistors 84a-84d, respectively. Similarly, output signals of AND circuits 83a to 83d are supplied to gates of N channel MOS transistors 85a to 85d.

各トランジスタ84a〜84dのソースは、高電位電圧VDDが供給される電源線21aに接続され、各トランジスタ84a〜84dのドレインは出力ノード86に接続されている。この出力ノード86は、各トランジスタ85a〜85dのドレインに接続され、各トランジスタ85a〜85dのソースは、低電位電圧VSSが供給される電源線21bに接続されている。   The sources of the transistors 84 a to 84 d are connected to the power supply line 21 a to which the high potential voltage VDD is supplied, and the drains of the transistors 84 a to 84 d are connected to the output node 86. The output node 86 is connected to the drains of the transistors 85a to 85d, and the sources of the transistors 85a to 85d are connected to the power supply line 21b to which the low potential voltage VSS is supplied.

上記のように構成されたI/O回路34bは、信号Sinに応じて、出力ノード86と電源線21aとの間のPチャネルMOSトランジスタと、出力ノード86と電源線21bとの間のNチャネルMOSトランジスタとが、相補的にオンオフする。そして、オンするトランジスタの数は、制御信号SC2に対応する。そして、PチャネルMOSトランジスタは、出力ノード86、つまり図3に示す配線20dの電位を、低電位電圧VSSレベルから高電位電圧VDDレベルまで上昇させる。この電位の上昇にかかる時間、即ちスルーレートは、高電位電圧VDDが供給される電源線21aから出力ノード86に向って流れる電流の量に対応する。つまり、オンするPチャネルMOSトランジスタの数が多いほど、電源線21aから出力ノード86に向って流れる電流量が多くなり、出力ノード86(配線20d)の電位が早く上昇する、すなわちスルーレートが高くなる。逆に、同時にオンするトランジスタの数が少ないほど、スルーレートが低くなる。   In accordance with signal Sin, I / O circuit 34b configured as described above includes a P-channel MOS transistor between output node 86 and power supply line 21a, and an N channel between output node 86 and power supply line 21b. The MOS transistor is turned on and off in a complementary manner. The number of transistors that are turned on corresponds to the control signal SC2. The P-channel MOS transistor raises the potential of the output node 86, that is, the wiring 20d shown in FIG. 3, from the low potential voltage VSS level to the high potential voltage VDD level. The time taken to increase the potential, that is, the slew rate, corresponds to the amount of current flowing from the power supply line 21a to which the high potential voltage VDD is supplied toward the output node 86. That is, as the number of P-channel MOS transistors that are turned on increases, the amount of current flowing from the power supply line 21a toward the output node 86 increases, and the potential of the output node 86 (wiring 20d) increases faster, that is, the slew rate increases. Become. Conversely, the smaller the number of transistors that are simultaneously turned on, the lower the slew rate.

スルーレートが高く設定されるほど、出力信号のレベルを短時間で変化する。つまり電流変化が急峻となるため、電源電圧に生じるノイズが大きくなる。このため、電源電圧に発生するノイズの観点では、スルーレートが小さく設定される方が好ましい。一方、スルーレートが小さく設定されたI/O回路から出力される信号は、高電位電圧VDDレベルと低電位電圧VSSレベルとの間でレベルが変化する期間即ち遷移期間が長くなり、その分、レベルが安定する期間即ち有効期間(有効ウインドウ)が短くなる。このため、信号を取り込むタイミングマージンの観点では、スルーレートが大きく設定される方が好ましい。従って、I/O回路において、電源電圧に生じるノイズが小さく、有効ウインドウが大きくなるように、スルーレートが設定されることが好ましい。   As the slew rate is set higher, the level of the output signal changes in a shorter time. That is, since the current change becomes steep, noise generated in the power supply voltage increases. For this reason, from the viewpoint of noise generated in the power supply voltage, it is preferable to set the slew rate small. On the other hand, the signal output from the I / O circuit with a low slew rate has a longer period during which the level changes between the high potential voltage VDD level and the low potential voltage VSS level, that is, a transition period. The period during which the level is stabilized, that is, the effective period (effective window) is shortened. For this reason, it is preferable to set a large slew rate from the viewpoint of a timing margin for taking in a signal. Therefore, in the I / O circuit, it is preferable to set the slew rate so that the noise generated in the power supply voltage is small and the effective window is large.

次に、トレーニング制御回路51の構成例を説明する。
図9に示すように、トレーニング命令送信回路91は、システム装置21内の回路、例えばメモリコントローラ32から自動調整実行命令信号を受け取ると、先ず、各レジスタ92〜94とTM判定回路52に初期化信号SITを出力する。
Next, a configuration example of the training control circuit 51 will be described.
As shown in FIG. 9, when receiving an automatic adjustment execution command signal from a circuit in the system device 21, for example, the memory controller 32, the training command transmission circuit 91 first initializes the registers 92 to 94 and the TM determination circuit 52. The signal SIT is output.

レジスタ92は、初期化信号SITに応答して、I/O回路34a,34bのスルーレートを調整するための初期値を記憶する。レジスタ92に記憶された初期値はI/O回路34a,34bに供給され、I/O回路34a,34bは、初期値に応じたスルーレートで動作するように設定される。レジスタ93は、初期化信号SITに応答して、システム装置21内の可変容量35の容量値を調整するための初期値を記憶する。レジスタ93に記憶された初期値は可変容量35に供給され、可変容量35は初期値に応じた容量値に設定される。レジスタ94は、初期化信号SITに応答して、パッケージ11内の可変容量22の容量値を調整するための初期値を記憶する。レジスタ94に記憶された初期値は可変容量22に供給され、可変容量22は初期値に応じた容量値に設定される。TM判定回路52は、初期化信号SITに応答して初期値を記憶する。   The register 92 stores an initial value for adjusting the slew rate of the I / O circuits 34a and 34b in response to the initialization signal SIT. The initial value stored in the register 92 is supplied to the I / O circuits 34a and 34b, and the I / O circuits 34a and 34b are set to operate at a slew rate corresponding to the initial value. The register 93 stores an initial value for adjusting the capacitance value of the variable capacitor 35 in the system device 21 in response to the initialization signal SIT. The initial value stored in the register 93 is supplied to the variable capacitor 35, and the variable capacitor 35 is set to a capacitance value corresponding to the initial value. The register 94 stores an initial value for adjusting the capacitance value of the variable capacitor 22 in the package 11 in response to the initialization signal SIT. The initial value stored in the register 94 is supplied to the variable capacitor 22, and the variable capacitor 22 is set to a capacitance value corresponding to the initial value. The TM determination circuit 52 stores an initial value in response to the initialization signal SIT.

次いで、トレーニング命令送信回路91は、出力制御回路95、容量制御回路96,97、トレーニング回路45に対し、それぞれ所定のタイミングで、処理実行信号を出力する。各制御回路95,96,97には、システム装置21内の回路、例えばメモリコントローラ32から、カウンタ終了設定信号が供給される。カウンタ終了設定信号は、各制御回路95〜97が、それぞれ処理を実行する回数を設定するための信号である。即ち、各制御回路95〜97は、カウント機能を有し、1回の処理を実行する毎に、カウント値をカウントアップする。そして、各制御回路95〜97は、それぞれカウント値がカウンタ終了設定信号と等しくなると、処理を終了する。   Next, the training command transmission circuit 91 outputs a process execution signal to the output control circuit 95, the capacity control circuits 96 and 97, and the training circuit 45 at predetermined timings. Each control circuit 95, 96, 97 is supplied with a counter end setting signal from a circuit in the system device 21, for example, the memory controller 32. The counter end setting signal is a signal for setting the number of times each control circuit 95 to 97 executes processing. That is, each of the control circuits 95 to 97 has a count function and counts up the count value every time one process is executed. Each control circuit 95 to 97 ends the processing when the count value becomes equal to the counter end setting signal.

出力制御回路95は、処理実行信号に応答して、設定値を変更した制御信号SC2をI/O回路34a,34bに出力し、I/O回路34a,34bのスルーレートを変更するために制御信号SC2を出力する。容量制御回路96は、処理実行信号に応答して、設定値を変更した制御信号SC1を可変容量35に出力し、可変容量35の容量値を変更する。容量制御回路97は、処理実行信号に応答して、設定値を変更した制御信号SC3を可変容量35に出力し、可変容量22の容量値を変更する。各制御回路95〜97は、設定値をレジスタ更新回路98に出力する。   In response to the processing execution signal, the output control circuit 95 outputs the control signal SC2 whose set value has been changed to the I / O circuits 34a and 34b, and performs control to change the slew rate of the I / O circuits 34a and 34b. The signal SC2 is output. In response to the processing execution signal, the capacity control circuit 96 outputs the control signal SC1 whose setting value has been changed to the variable capacity 35, and changes the capacity value of the variable capacity 35. In response to the processing execution signal, the capacity control circuit 97 outputs the control signal SC3 whose setting value has been changed to the variable capacity 35, and changes the capacity value of the variable capacity 22. Each control circuit 95 to 97 outputs the set value to the register update circuit 98.

トレーニング回路45は、処理実行信号に応答して、図3に示すメモリ12に対するタイミングトレーニングを実行する。
トレーニング命令送信回路91は、各制御回路95〜97を動作させて、I/O回路34a、34bのスルーレートと、各可変容量35,22の容量値を順次変更する。更に、トレーニング命令送信回路91は、トレーニング回路45を動作させて、各設定におけるDLL回路44に設定した最大値及び最小値をトレーニング回路45が取得するように、各制御回路95〜97及びトレーニング回路45を制御する。
The training circuit 45 executes timing training for the memory 12 shown in FIG. 3 in response to the processing execution signal.
The training command transmission circuit 91 operates the control circuits 95 to 97 to sequentially change the slew rate of the I / O circuits 34a and 34b and the capacitance values of the variable capacitors 35 and 22. Further, the training command transmission circuit 91 operates the training circuit 45 so that the training circuit 45 acquires the maximum value and the minimum value set in the DLL circuit 44 in each setting, and the control circuits 95 to 97 and the training circuit. 45 is controlled.

トレーニング回路45は、取得した最大値及び最小値をTM判定回路52に出力する。
TM判定回路52は、トレーニング回路45から入力される最大値及び最小値に基づくタイミングマージンを判定し、その判定結果に応じて更新信号SUPをレジスタ更新回路98に出力する。詳しくは、TM判定回路52は、トレーニング回路45から供給される最大値及び最小値に基づいて、タイミングマージンを算出する。例えば、TM判定回路52は、最大値から最小値を減算してタイミングマージンを算出する。そして、TM判定回路52は、算出したタイミングマージンと保持値とを比較する。TM判定回路52は、算出したタイミングマージンが保持値よりも大きい場合、タイミングマージンと等しい値を保持し、更新信号SUPを出力する。一方、TM判定回路52は、算出したタイミングマージンが保持値以下の場合、更新信号SUPを出力しない。
The training circuit 45 outputs the acquired maximum value and minimum value to the TM determination circuit 52.
The TM determination circuit 52 determines a timing margin based on the maximum value and the minimum value input from the training circuit 45, and outputs an update signal SUP to the register update circuit 98 according to the determination result. Specifically, the TM determination circuit 52 calculates a timing margin based on the maximum value and the minimum value supplied from the training circuit 45. For example, the TM determination circuit 52 subtracts the minimum value from the maximum value to calculate the timing margin. Then, the TM determination circuit 52 compares the calculated timing margin with the held value. When the calculated timing margin is larger than the hold value, the TM determination circuit 52 holds a value equal to the timing margin and outputs the update signal SUP. On the other hand, the TM determination circuit 52 does not output the update signal SUP when the calculated timing margin is equal to or smaller than the hold value.

レジスタ更新回路98は、更新信号SUPに応答して、各レジスタ92〜94の値を更新する。即ち、レジスタ更新回路98は、更新信号SUPに応答して、各制御回路95〜97から出力される設定値を、対応するレジスタ92〜94に出力し、各レジスタ92〜94は、入力される設定値を、新たな設定値として保持する。この結果、各レジスタ92〜94には、タイミングマージンが最大となるときの各制御回路95〜97の設定値が保持される。   The register update circuit 98 updates the values of the registers 92 to 94 in response to the update signal SUP. That is, the register update circuit 98 outputs the set values output from the control circuits 95 to 97 to the corresponding registers 92 to 94 in response to the update signal SUP, and the registers 92 to 94 are input. The set value is held as a new set value. As a result, the setting values of the control circuits 95 to 97 when the timing margin is maximized are held in the registers 92 to 94, respectively.

次に、TM判定回路52の構成例を説明する。
図10に示すように、TM判定回路52は、設定保持レジスタ101と、結果保持レジスタ102と、比較回路103とを備えている。設定保持レジスタ101は、図3に示すDLL回路44に設定する設定値を記憶する。設定保持レジスタ101は、トレーニング制御回路51から供給される初期化信号SITに応答して記憶した値を初期化する。
Next, a configuration example of the TM determination circuit 52 will be described.
As shown in FIG. 10, the TM determination circuit 52 includes a setting holding register 101, a result holding register 102, and a comparison circuit 103. The setting holding register 101 stores a setting value set in the DLL circuit 44 shown in FIG. The setting holding register 101 initializes the stored value in response to the initialization signal SIT supplied from the training control circuit 51.

結果保持レジスタ102は、トレーニング回路45から供給される最大値及び最小値を記憶する。トレーニング回路45は、図3に示すメモリ12に対し、DLL回路44の設定値を変更する毎に、メモリ12に対してテストアクセスを行い、その結果を記憶する。例えば、トレーニング回路45は、メモリ12が正常にテストデータを受信したか否かを判断し、正常にテストデータを受信した場合には「1」を、正常にテストデータを受信できなかった場合には「0」を記憶する。データDQは、複数ビット(例えば8ビット)の信号である。トレーニング回路45は、この処理を、データDQの各ビット毎に行う。その結果に一例を図11に示す。なお、図11では、右側ほど、各DLL回路44の設定値を大きくした結果を示す。   The result holding register 102 stores the maximum value and the minimum value supplied from the training circuit 45. Each time the training circuit 45 changes the set value of the DLL circuit 44 to the memory 12 shown in FIG. 3, the training circuit 45 performs test access to the memory 12 and stores the result. For example, the training circuit 45 determines whether or not the memory 12 has normally received the test data. When the test data is normally received, the training circuit 45 is “1”, and when the test data is not normally received. Stores “0”. The data DQ is a signal of a plurality of bits (for example, 8 bits). The training circuit 45 performs this process for each bit of the data DQ. An example of the result is shown in FIG. FIG. 11 shows the result of increasing the set value of each DLL circuit 44 toward the right side.

そして、トレーニング回路45は、メモリ12が全てのビットDQ[0]〜DQ[7]を正常に受信したときの設定値の最小値と最大値を求める。例えば、トレーニング回路45は、各ビットDQ[0]〜DQ[7]を論理積演算(AND)する。その演算結果において、トレーニング回路45は、結果が「1」となる設定値のうち、最小の設定値(最小値)と、最大の設定値(最大値)を求める。そして、トレーニング回路45は、これらの最大値及び最小値を結果保持レジスタ102に供給する。   Then, the training circuit 45 obtains the minimum value and the maximum value of the set values when the memory 12 normally receives all the bits DQ [0] to DQ [7]. For example, the training circuit 45 performs an AND operation (AND) on each bit DQ [0] to DQ [7]. In the calculation result, the training circuit 45 obtains the minimum setting value (minimum value) and the maximum setting value (maximum value) among the setting values whose result is “1”. Then, the training circuit 45 supplies these maximum and minimum values to the result holding register 102.

図10に示すように、設定保持レジスタ101は、保持した設定値(最小値(Min)、最大値(Max))を比較回路103に出力する。同様に、結果保持レジスタ102は、保持した結果値(最小値(Min)、最大値(Max))を比較回路103に出力する。   As illustrated in FIG. 10, the setting holding register 101 outputs the held setting values (minimum value (Min) and maximum value (Max)) to the comparison circuit 103. Similarly, the result holding register 102 outputs the held result values (minimum value (Min), maximum value (Max)) to the comparison circuit 103.

比較回路103は、設定値の最大値から設定値の最小値を減算して設定値のウインドウ幅を算出する。同様に、比較回路103は、結果値の最大値から結果値の最小値を減算して結果値のウインドウ幅を算出する。そして、比較回路103は、設定値のウインドウ幅と結果値のウインドウ幅とを比較する。   The comparison circuit 103 calculates the window width of the set value by subtracting the minimum value of the set value from the maximum value of the set value. Similarly, the comparison circuit 103 calculates the window width of the result value by subtracting the minimum value of the result value from the maximum value of the result value. Then, the comparison circuit 103 compares the window width of the set value with the window width of the result value.

比較回路103は、結果値のウインドウ幅が設定値のウインドウ幅よりも大きい場合に、結果値の最大値及び最小値を設定保持レジスタ101に出力し、結果値のウインドウ幅が設定値のウインドウ幅以下の場合に結果値を出力しない。設定保持レジスタ101は、比較回路103から供給される値、即ち結果値の最大値及び最小値を記憶する。従って、設定保持レジスタには、ウインドウ幅が最大となるときの結果値の最大値及び最小値が記憶される。   When the window width of the result value is larger than the window width of the setting value, the comparison circuit 103 outputs the maximum value and the minimum value of the result value to the setting holding register 101, and the window width of the result value is the window width of the setting value. The result value is not output in the following cases. The setting holding register 101 stores the value supplied from the comparison circuit 103, that is, the maximum value and the minimum value of the result value. Therefore, the setting holding register stores the maximum value and the minimum value of the result value when the window width is maximum.

また、比較回路103は、結果値のウインドウ幅が設定値のウインドウ幅よりも大きい場合に、更新信号SUPを出力する。この更新信号SUPは、図9に示すレジスタ更新回路98に供給される。レジスタ更新回路98は、更新信号SUPに応答して、各制御回路95〜97から供給される設定値を各レジスタ92〜94にそれぞれ出力し、各レジスタ92〜94は供給される設定値を記憶する。従って、各レジスタ92〜94には、ウインドウ幅が最大となるときの設定値がそれぞれ記憶される。   The comparison circuit 103 outputs an update signal SUP when the window width of the result value is larger than the window width of the set value. This update signal SUP is supplied to the register update circuit 98 shown in FIG. In response to the update signal SUP, the register update circuit 98 outputs the set values supplied from the control circuits 95 to 97 to the registers 92 to 94, respectively, and the registers 92 to 94 store the supplied set values. To do. Accordingly, each of the registers 92 to 94 stores a set value when the window width is maximum.

図3に示す制御回路36は、各設定値をそれぞれ対応する回路に設定し、調整処理を終了する。即ち、制御回路36は、レジスタ92に保持された設定値をI/O回路34a,34bに設定する。同様に、制御回路36は、レジスタ93,94に保持された設定値を可変容量35,22に設定する。また、制御回路36は、図10に示す設定保持レジスタ101に保持された最大値及び最小値に基づいて、図3に示すDLL回路44の遅延量を設定する。例えば、制御回路36は、最大値と最小値の中間値(=(最大値+最小値)/2)を算出し、この中間値を遅延値として各DLL回路44に設定する。   The control circuit 36 shown in FIG. 3 sets each set value in a corresponding circuit, and ends the adjustment process. That is, the control circuit 36 sets the setting value held in the register 92 in the I / O circuits 34a and 34b. Similarly, the control circuit 36 sets the set values held in the registers 93 and 94 in the variable capacitors 35 and 22. Further, the control circuit 36 sets the delay amount of the DLL circuit 44 shown in FIG. 3 based on the maximum value and the minimum value held in the setting holding register 101 shown in FIG. For example, the control circuit 36 calculates an intermediate value (= (maximum value + minimum value) / 2) between the maximum value and the minimum value, and sets this intermediate value in each DLL circuit 44 as a delay value.

次に、上記のシステムにおいて、制御回路36に係る処理の流れを説明する。
図12に示すように、先ず、図3に示すパッケージ(PKG)20の可変容量22の初期値を設定する(ステップ201)。次いで、システム装置(DIE)21の可変容量35の初期値を設定する(ステップ202)。次いで、I/O回路34a,34bの初期値を設定する(ステップ203)。
Next, the flow of processing related to the control circuit 36 in the above system will be described.
As shown in FIG. 12, first, an initial value of the variable capacitor 22 of the package (PKG) 20 shown in FIG. 3 is set (step 201). Next, an initial value of the variable capacitor 35 of the system device (DIE) 21 is set (step 202). Next, initial values of the I / O circuits 34a and 34b are set (step 203).

次いで、図3に示すトレーニング回路45によりタイミングトレーニングを実行する(ステップ204)。
次いで、タイミングマージンを判定する(ステップ205)。そして、判定結果に基づき、DLL回路44の設定値が更新されたか否かを判断する(ステップ206)。設定値が更新された場合(判断:YES)、各設定値をレジスタに保持する(ステップ207)。一方、設定値が更新されていない場合(判断:NO)、次のステップ207をスキップする。
Next, timing training is executed by the training circuit 45 shown in FIG. 3 (step 204).
Next, the timing margin is determined (step 205). Based on the determination result, it is determined whether or not the set value of the DLL circuit 44 has been updated (step 206). When the set value is updated (determination: YES), each set value is held in the register (step 207). On the other hand, if the set value has not been updated (determination: NO), the next step 207 is skipped.

次いで、I/O回路34a,34bに対して全ての出力設定を終了したか否かを判断する(ステップ208)。設定が終了していない場合(判断:NO)、I/O回路34a,34bに対する設定を変更し(ステップ209)、ステップ204に移行する。一方、設定を終了した場合(判断:YES)、ステップ210へ移行する。   Next, it is determined whether or not all output settings have been completed for the I / O circuits 34a and 34b (step 208). If the setting has not been completed (determination: NO), the setting for the I / O circuits 34a and 34b is changed (step 209), and the process proceeds to step 204. On the other hand, when the setting is completed (determination: YES), the process proceeds to step 210.

次いで、システム装置21(DIE)内の可変容量35に対して全ての容量設定を終了したか否かを判断する(ステップ210)。設定が終了していない場合(判断:NO)、可変容量35に対する設定を変更し(ステップ211)、ステップ204に移行する。一方、設定を終了した場合(判断:YES)、ステップ212へ移行する。   Next, it is determined whether or not all the capacity settings have been completed for the variable capacity 35 in the system device 21 (DIE) (step 210). If the setting has not been completed (determination: NO), the setting for the variable capacitor 35 is changed (step 211), and the process proceeds to step 204. On the other hand, when the setting is completed (determination: YES), the process proceeds to step 212.

次いで、パッケージ20内の可変容量22に対して全ての容量設定を終了したか否かを判断する(ステップ212)。設定が終了していない場合(判断:NO)、可変容量22に対する設定を変更し(ステップ213)、ステップ204に移行する。一方、設定を終了した場合(判断:YES)、ステップ214へ移行する。   Next, it is determined whether or not all the capacity settings for the variable capacity 22 in the package 20 have been completed (step 212). If the setting has not been completed (determination: NO), the setting for the variable capacitor 22 is changed (step 213), and the process proceeds to step 204. On the other hand, when the setting is completed (determination: YES), the process proceeds to step 214.

そして、レジスタに保持した各設定値を対応する回路にそれぞれ最終的に設定し(ステップ214)、処理を終了する。
次に、タイミングトレーニングの処理を説明する。
Then, each set value held in the register is finally set in the corresponding circuit (step 214), and the process is terminated.
Next, timing training processing will be described.

図13に示すように、先ず、図3に示すDLL回路44に対する初期値を設定する(ステップ221)。次いで、図3に示すメモリ12に対してテストアクセスを行い(ステップ222)、メモリ12が正常にアクセスしたときのDLL回路44に設定した設定値を保持する(ステップ223)。   As shown in FIG. 13, first, initial values for the DLL circuit 44 shown in FIG. 3 are set (step 221). Next, test access is made to the memory 12 shown in FIG. 3 (step 222), and the set value set in the DLL circuit 44 when the memory 12 is normally accessed is held (step 223).

次いで、DLL回路44に対する全ての設定値の設定を終了したか否かを判断する(ステップ224)。設定が終了していない場合(判断:NO)、DLL回路44に対する設定を変更し(ステップ225)、ステップ222に移行する。一方、設定を終了した場合(判断:YES)、ステップ226へ移行する。   Next, it is determined whether or not all setting values for the DLL circuit 44 have been set (step 224). If the setting is not completed (determination: NO), the setting for the DLL circuit 44 is changed (step 225), and the process proceeds to step 222. On the other hand, when the setting is completed (determination: YES), the process proceeds to step 226.

次いで、ステップ223において保持した設定値、つまりメモリ12が正常にアクセスしたときのDLL回路44に設定した設定値のうち、最大の設定値(最大値)と最小の設定値(最小値)をTM判定回路52に送信する(ステップ226)。   Next, among the setting values held in step 223, that is, among the setting values set in the DLL circuit 44 when the memory 12 is normally accessed, the maximum setting value (maximum value) and the minimum setting value (minimum value) are TM. The data is transmitted to the determination circuit 52 (step 226).

次いで、最大値及び最小値に基づいて、例えば最大値と最小値の中間値をDLL回路44に設定し(ステップ227)処理を終了する。
次に、テストアクセス処理を説明する。
Next, based on the maximum value and the minimum value, for example, an intermediate value between the maximum value and the minimum value is set in the DLL circuit 44 (step 227), and the process ends.
Next, the test access process will be described.

図15に示すように、先ず、図3に示すメモリ12の全てのメモリセルに、初期値(例えば「0」)を書き込む(ステップ231)。このとき、確実に初期値を書き込むために、複数サイクルに亘って書き込みを行う。   As shown in FIG. 15, first, initial values (for example, “0”) are written in all the memory cells of the memory 12 shown in FIG. 3 (step 231). At this time, in order to reliably write the initial value, writing is performed over a plurality of cycles.

次いで、メモリ12に、初期値と異なる値の第1の期待値(例えば「1」)を書き込む(ステップ232)。このとき、最大スピード動作でのデータ書き込みをテストするために、1サイクル目で期待値を書き込む。次いで、第1の期待値を書き込んだアドレスからデータを読み出し(ステップ233)、読み込んだデータ(リードデータ)と期待値とを比較する(ステップ234)。リードデータと第1の期待値とが一致しない場合(判断:NO)、結果を格納する領域(例えばレジスタ)に正常にアクセスできなかった旨を示す値(例えば「0」)を格納し(ステップ235)、処理を終了する。一方、リードデータと第1の期待値とが一致する場合(判断:YES)、結果に正常にアクセスできた旨を示す値(例えば「1」)を格納する(ステップ236)。   Next, a first expected value (for example, “1”) different from the initial value is written in the memory 12 (step 232). At this time, an expected value is written in the first cycle in order to test data writing at the maximum speed operation. Next, data is read from the address where the first expected value is written (step 233), and the read data (read data) is compared with the expected value (step 234). If the read data does not match the first expected value (determination: NO), a value (eg, “0”) indicating that the result storage area (eg, register) could not be accessed normally is stored (step 0 235), the process is terminated. On the other hand, if the read data matches the first expected value (determination: YES), a value (eg, “1”) indicating that the result has been successfully accessed is stored (step 236).

次いで、ステップ232と同様に、第1の期待値と異なる第2の期待値(例えば「0」)を、第1の期待値を書き込んだアドレスに書き込む(ステップ237)。次いで、第2の期待値を書き込んだアドレスからデータを読み出し(ステップ238)、読み込んだデータ(リードデータ)と期待値とを比較する(ステップ239)。リードデータと第1の期待値とが一致しない場合(判断:NO)、結果を格納する領域(例えばレジスタ)に正常にアクセスできなかった旨を示す値(例えば「0」)を格納し(ステップ240)、処理を終了する。一方、リードデータと第1の期待値とが一致する場合(判断:YES)、結果に正常にアクセスできた旨を示す値(例えば「1」)を格納し(ステップ241)、処理を終了する。   Next, similarly to step 232, a second expected value (for example, “0”) different from the first expected value is written to the address where the first expected value is written (step 237). Next, data is read from the address where the second expected value is written (step 238), and the read data (read data) is compared with the expected value (step 239). If the read data does not match the first expected value (determination: NO), a value (eg, “0”) indicating that the result storage area (eg, register) could not be accessed normally is stored (step 0 240), the process is terminated. On the other hand, if the read data matches the first expected value (determination: YES), a value (for example, “1”) indicating that the result has been successfully accessed is stored (step 241), and the process ends. .

したがって、メモリ12に対して、値が「1」のデータ書き込みと、値が「0」のデータ書き込みが正常に行われた場合、第1の結果値(例えば「1」)が結果として記憶される。一方、値が「1」のデータ書き込みと、値が「0」のデータ書き込みとのうちの少なくとも一方が正常に行われなかった場合、第1の結果値と異なる第2の結果値(例えば「0」)が結果として記憶される。   Therefore, when data writing with the value “1” and data writing with the value “0” are normally performed in the memory 12, the first result value (for example, “1”) is stored as a result. The On the other hand, if at least one of the data write with the value “1” and the data write with the value “0” is not normally performed, a second result value different from the first result value (for example, “ 0 ") is stored as a result.

次に、タイミングマージン判定処理を説明する。
図14に示すように、先ず、保持した設定値の最大値及び最小値により算出した設定値のウインドウ幅と、図3に示すメモリ12が正常にデータを受信した設定値の最小値及び最小値により算出した結果値のウインドウ幅とを比較し、結果値のウインドウ幅が設定値のウインドウ幅より大きいか否かを判断する(ステップ251)。結果値のウインドウ幅が設定値のウインドウ幅以下の場合(判断:NO)、処理を終了する。一方、結果値のウインドウ幅が設定値のウインドウ幅より大きい場合(判断:YES)、その結果値の最大値及び最小値により保持値を更新し(ステップ252)、処理を終了する。
Next, timing margin determination processing will be described.
As shown in FIG. 14, first, the window width of the setting value calculated from the maximum value and the minimum value of the held setting value, and the minimum value and the minimum value of the setting value when the memory 12 shown in FIG. The window width of the result value calculated by the above is compared, and it is determined whether or not the window width of the result value is larger than the window width of the set value (step 251). If the window width of the result value is equal to or smaller than the window width of the set value (determination: NO), the process ends. On the other hand, when the window width of the result value is larger than the window width of the set value (determination: YES), the holding value is updated with the maximum value and the minimum value of the result value (step 252), and the process is terminated.

次に、各設定値の変更例を説明する。
今、図3に示すI/O回路34a,34bに対する設定値を「0」〜「2」とする。同様に、可変容量35,22に対する設定値を「0」〜「15」とする。
Next, an example of changing each set value will be described.
Now, assume that the set values for the I / O circuits 34a and 34b shown in FIG. 3 are “0” to “2”. Similarly, set values for the variable capacitors 35 and 22 are “0” to “15”.

図16に示すように、先ず、各設定要素(I/O回路34a,34b、可変容量35,22)に対する初期値を「0」,「0」,「0」とする。このとき、タイミングマージン判定により算出される結果値のウインドウ幅は「10」である。   As shown in FIG. 16, first, initial values for the setting elements (I / O circuits 34a and 34b, variable capacitors 35 and 22) are set to “0”, “0”, and “0”. At this time, the window width of the result value calculated by the timing margin determination is “10”.

次いで、パッケージ20(PKG)の可変容量22の設定値を、「0」から「1」へと変更する。このとき、タイミングマージン判定により算出される結果値のウインドウ幅は「15」である。従って、このウインドウ幅「15」を記憶する。   Next, the set value of the variable capacitor 22 of the package 20 (PKG) is changed from “0” to “1”. At this time, the window width of the result value calculated by the timing margin determination is “15”. Therefore, this window width “15” is stored.

同様に、パッケージ20(PKG)の可変容量22の設定値を、「15」まで「1」づつ変更する。そして、それぞれの設定段階におけるタイミングマージンの判定結果を、保持値と比較し、保持値を更新する。   Similarly, the set value of the variable capacitor 22 of the package 20 (PKG) is changed by “1” to “15”. Then, the determination result of the timing margin at each setting stage is compared with the hold value, and the hold value is updated.

可変容量22に対して最大の設定値「15」におけるタイミングマージンの判定を行うと、システム装置21(DIE)の可変容量35の設定値を「1」に変更し、パッケージ20(PKG)の可変容量22の設定値を、「0」から「15」まで「1」づつ変更する変更する。   When the timing margin at the maximum setting value “15” is determined for the variable capacitor 22, the setting value of the variable capacitor 35 of the system device 21 (DIE) is changed to “1”, and the variable of the package 20 (PKG) is changed. The setting value of the capacity 22 is changed by changing “1” from “0” to “15”.

可変容量35に対して最大の設定値「15」におけるタイミングマージンの判定を行うと、I/O回路34a,34bに対する設定値を「0」から「1」に変更する。そして、上記と同様に、可変容量22と可変容量35に対する設定値を変更する。   When the timing margin at the maximum setting value “15” is determined for the variable capacitor 35, the setting value for the I / O circuits 34a and 34b is changed from “0” to “1”. Then, similarly to the above, the set values for the variable capacitor 22 and the variable capacitor 35 are changed.

同様にして、各設定要素に対する設定値の全てを設定する。
図16に示すように、タイミングマージンの判定における結果値のウインドウ幅は、「40」が最大値となる。従って、図9に示すレジスタ92〜94には、このときの設定値「0」,「4」,「7」が保持される。このように、各設定値をそれぞれ「1」づつ変更することで、最適な設定値を確実に得ることができる。
Similarly, all of the setting values for each setting element are set.
As shown in FIG. 16, “40” is the maximum value of the window width of the result value in the timing margin determination. Accordingly, the setting values “0”, “4”, and “7” at this time are held in the registers 92 to 94 shown in FIG. Thus, by changing each set value by “1”, the optimum set value can be obtained with certainty.

次に、別の各設定値の変更例を説明する。
図3に示すI/O回路34a,34bに対する設定値を「0」〜「2」とする。同様に、可変容量35,22に対する設定値を「0」〜「15」とする。
Next, another example of changing each set value will be described.
The setting values for the I / O circuits 34a and 34b shown in FIG. 3 are “0” to “2”. Similarly, set values for the variable capacitors 35 and 22 are “0” to “15”.

先ず、図17(a)に示すように、可変容量35,22に対する設定値を、所定ステップ(例えば、4ステップ)毎に変更する。つまり、設定値を、「0」,「4」,「8」,「12」の順番で変更する。このように変更した場合、ウインドウ幅の最大値は「36」となる。この時の設定値は、「0」,「4」,「8」である。   First, as shown in FIG. 17A, the set values for the variable capacitors 35 and 22 are changed every predetermined step (for example, 4 steps). That is, the set value is changed in the order of “0”, “4”, “8”, “12”. When changed in this way, the maximum value of the window width is “36”. The set values at this time are “0”, “4”, and “8”.

上記の第1の段階において得られた各設定値を含む範囲を設定し、その範囲内の設定値を各設定要素に設定する。
図17(a)に示す結果から、I/O回路34a,34bに対する設定値は「0」に確定される。そして、可変容量35に対する設定値を、「4」を中心とする範囲「1」〜「7」とする。同様に、可変容量22に対する設定値を、「8」を中心とする範囲「5」〜「11」とする。
A range including each set value obtained in the first stage is set, and a set value within the range is set in each setting element.
From the result shown in FIG. 17A, the set value for the I / O circuits 34a and 34b is determined to be “0”. Then, the set value for the variable capacitor 35 is set to a range “1” to “7” centering on “4”. Similarly, the set value for the variable capacitor 22 is set to a range “5” to “11” centering on “8”.

そして、図17(b)に示すように、可変容量35,22に対する設定値を、最小のステップ(「1」)で変更する。
このように、設定値を変更するステップを可変することで、タイミングトレーニングを実施する回数が、設定値を「1」づつ変更する場合と比べて少なくなり、調整処理に要する時間を短縮することができる。
Then, as shown in FIG. 17B, the set values for the variable capacitors 35 and 22 are changed in the minimum step (“1”).
In this way, by changing the step of changing the set value, the number of times that the timing training is performed becomes smaller than when the set value is changed by “1”, and the time required for the adjustment process can be shortened. it can.

以上記述したように、本実施形態によれば、以下の効果を奏する。
(1)メモリ12をアクセスするコア回路31が搭載されたチップ(ダイ)には、メモリ12に対するデータストローブ信号DQSを出力するI/O回路34aと、データDQを出力するI/O回路34bが形成されている。各I/O回路34a,34bは、高電位電圧VDDを供給する電源線21aと、低電位電圧VSSを供給する電源線21bとの間に接続されている。両電源線21a,21b間には、可変容量35が接続され、この可変容量35は、高電位電圧VDDと低電位電圧VSSの電圧変動を抑制する。
As described above, according to the present embodiment, the following effects can be obtained.
(1) The chip (die) on which the core circuit 31 that accesses the memory 12 is mounted includes an I / O circuit 34a that outputs a data strobe signal DQS to the memory 12 and an I / O circuit 34b that outputs data DQ. Is formed. Each I / O circuit 34a, 34b is connected between a power supply line 21a for supplying a high potential voltage VDD and a power supply line 21b for supplying a low potential voltage VSS. A variable capacitor 35 is connected between the power supply lines 21a and 21b, and the variable capacitor 35 suppresses voltage fluctuations of the high potential voltage VDD and the low potential voltage VSS.

各I/O回路34a,34bに信号を出力するI/F回路33は、データストローブ信号DQSとデータDQの位相差を調整するためのDLL回路42,44と、両DLL回路42,44の設定値(遅延時間)を制御してデータストローブ信号DQSとデータDQがメモリ12に到達するタイミングを調整するトレーニング回路45を有している。   The I / F circuit 33 that outputs a signal to each of the I / O circuits 34a and 34b includes a DLL circuit 42 and 44 for adjusting the phase difference between the data strobe signal DQS and the data DQ, and setting of both DLL circuits 42 and 44. A training circuit 45 that controls the value (delay time) and adjusts the timing at which the data strobe signal DQS and the data DQ reach the memory 12 is provided.

システム装置21に形成された制御回路36は、可変容量35の容量値を制御し、トレーニング回路45にタイミングトレーニングを実行させる。トレーニング回路45は、メモリ12がデータDQに基づく正常なデータを書き込むことができる設定値の最大値と最小値を出力する。制御回路36は、その最大値及び最小値に基づいてデータDQのウインドウ幅を算出し、より大きなウインドウ幅に対応する容量値を可変容量35に設定する。   The control circuit 36 formed in the system device 21 controls the capacitance value of the variable capacitor 35 and causes the training circuit 45 to execute timing training. The training circuit 45 outputs the maximum value and the minimum value of the set values with which the memory 12 can write normal data based on the data DQ. The control circuit 36 calculates the window width of the data DQ based on the maximum value and the minimum value, and sets a capacitance value corresponding to a larger window width in the variable capacitor 35.

その結果、可変容量35により、データストローブ信号DQSを出力するI/O回路34aと、データDQを出力するI/O回路34bの動作により電源電圧に生じるノイズを低減するとともに、データDQのウインドウ幅を大きくすることができ、データストローブ信号DQSに基づいてデータDQを取り込むためのタイミングマージンの減少を抑制することができる。   As a result, the variable capacitor 35 reduces noise generated in the power supply voltage due to the operations of the I / O circuit 34a that outputs the data strobe signal DQS and the I / O circuit 34b that outputs the data DQ, and the window width of the data DQ. And a decrease in the timing margin for taking in the data DQ based on the data strobe signal DQS can be suppressed.

(2)制御回路36は、データストローブ信号DQSを出力するI/O回路34aと、データDQを出力するI/O回路34bの駆動能力を制御する。各I/O回路34a,34bの駆動能力は、各I/O回路34a,34bから出力される信号のスルーレートに対応する。スルーレートが大きいほど、電流変化が大きく、電源電圧に発生するノイズが大きくなる。従って、データDQのウインドウ幅が大きく、データDQのスルーレートを小さくすることで、電源電圧に生じるノイズを低減し、タイミングマージンの減少を抑制することができる。   (2) The control circuit 36 controls the drive capability of the I / O circuit 34a that outputs the data strobe signal DQS and the I / O circuit 34b that outputs the data DQ. The drive capability of each I / O circuit 34a, 34b corresponds to the slew rate of the signal output from each I / O circuit 34a, 34b. The larger the slew rate, the larger the current change and the greater the noise generated in the power supply voltage. Therefore, by reducing the data DQ window width and reducing the data DQ slew rate, noise generated in the power supply voltage can be reduced, and a decrease in timing margin can be suppressed.

(3)システム装置21が搭載されたパッケージ20の電源線20a,20bの間には可変容量22が接続され、制御回路36は、システム装置21の可変容量35と同様に、パッケージ20の可変容量22の容量値を設定する。従って、パッケージ20の形状等が変更された場合にも、その変更に応じて可変容量22の容量値を設定するため、パッケージの変更に容易に対応することができる。また、パッケージの変更に対して、電源設計の再設計や電源シミュレーションの再実行を行う手間が少なくなるため、設計時間の短縮を図ることができる。   (3) The variable capacitor 22 is connected between the power supply lines 20 a and 20 b of the package 20 on which the system device 21 is mounted, and the control circuit 36 is similar to the variable capacitor 35 of the system device 21. A capacity value of 22 is set. Accordingly, even when the shape or the like of the package 20 is changed, the capacitance value of the variable capacitor 22 is set in accordance with the change, so that the package can be easily changed. In addition, the design time can be shortened because the effort for redesigning the power supply design and re-execution of the power supply simulation is reduced when the package is changed.

尚、上記各実施形態は、以下の態様で実施してもよい。
・パッケージの可変容量22は省略されてもよい。
・パッケージの可変容量22に対する調整処理を省略してもよい。
In addition, you may implement each said embodiment in the following aspects.
The variable capacity 22 of the package may be omitted.
The adjustment process for the variable capacity 22 of the package may be omitted.

・図1には、3つの半導体装置11〜13を示しているが、2つ又は4つ以上の半導体装置が搭載されてもよい。また、図1には、1つのデカップリング容量14を示しているが、複数のデカップリング容量、又は複数のデカップリング容量を含む1つ又は複数のモジュールが搭載されてもよい。また、基板10には、抵抗やコネクタ等の他の部材が搭載されてもよい。   FIG. 1 shows three semiconductor devices 11 to 13, but two or four or more semiconductor devices may be mounted. 1 shows one decoupling capacitor 14, a plurality of decoupling capacitors or one or a plurality of modules including a plurality of decoupling capacitors may be mounted. Further, other members such as resistors and connectors may be mounted on the substrate 10.

・図1に示す半導体装置11〜13のパッケージは一例であり、パッケージの形状が変更されてもよい。例えば、半導体装置11において、パッケージ20と基板10の電気的な接続をボンディングワイヤを用いても良い。また、半導体装置13を例えばチップサイズパッケージ(CSP:Chip Size Package)としてもよい。   The package of the semiconductor devices 11 to 13 illustrated in FIG. 1 is an example, and the shape of the package may be changed. For example, in the semiconductor device 11, a bonding wire may be used for electrical connection between the package 20 and the substrate 10. Further, the semiconductor device 13 may be a chip size package (CSP), for example.

・図3に示すDLL回路44に対し、タイミングトレーニングにより得た最大値及び最小値の中間値を設定するようにした。各DLL回路44に設定する値を、適宜変更してもよい。例えば、タイミングトレーニングにより得た最大値及び最小値と、既定値(例えば、セットアップ時間、ホールド時間)に基づいて設定してもよい。例えば、最小値にセットアップ時間を加算した値を設定値としてもよい。また、最大値からホールド時間を減算した値を設定値としてもよい。最小値にセットアップ時間を加算した値と、最大値からホールド時間を減算した値との中間値を設定値としてもよい。また、最小値と最大値との値の範囲(ウインドウ幅)を分割する比率を記憶し、その分割点の値を設定値としてもよい。   The intermediate value between the maximum value and the minimum value obtained by timing training is set for the DLL circuit 44 shown in FIG. The value set in each DLL circuit 44 may be changed as appropriate. For example, you may set based on the maximum value and minimum value obtained by timing training, and a predetermined value (for example, setup time, hold time). For example, a value obtained by adding the setup time to the minimum value may be used as the set value. A value obtained by subtracting the hold time from the maximum value may be set as the set value. An intermediate value between a value obtained by adding the setup time to the minimum value and a value obtained by subtracting the hold time from the maximum value may be set as the set value. In addition, a ratio for dividing a range of values (window width) between the minimum value and the maximum value may be stored, and the value of the division point may be set as a setting value.

・各回路の構成を適宜変更してもよい。例えば、図3に示すトレーニング回路45を、制御回路36に含める構成としてもよい。   -You may change the structure of each circuit suitably. For example, the training circuit 45 illustrated in FIG. 3 may be included in the control circuit 36.

21a,21b 電源線
22 可変容量
34a,34b I/O回路(出力回路)
35 可変容量
36 制御回路
42,44 遅延同期ループ回路(DLL回路)
45 トレーニング回路
51 トレーニング制御回路
52 タイミングマージン判定回路
VDD 高電位電圧
VSS 低電位電圧
21a, 21b Power line 22 Variable capacitance 34a, 34b I / O circuit (output circuit)
35 variable capacity 36 control circuit 42, 44 delay locked loop circuit (DLL circuit)
45 Training circuit 51 Training control circuit 52 Timing margin judgment circuit VDD High potential voltage VSS Low potential voltage

Claims (8)

第1電源線と第2電源線との間に接続され、第1信号を出力する第1の出力回路と、
第1電源線と第2電源線との間に接続され、第2信号を出力する第2の出力回路と、
第1電源線と第2電源線との間に接続された可変容量と、
前記第1信号と前記第2信号との位相差を調整する遅延回路と、
前記可変容量の容量値を制御し、前記遅延回路により調整される前記第1信号及び前記第2信号における複数の位相差毎に前記第1信号に基づくデータがメモリに書き込めるか否かを判定して前記第1信号のウインドウ幅を計測し、より大きいウインドウ幅に対応する容量値を前記可変容量に設定する制御回路と、
を有することを特徴とするタイミング制御回路。
A first output circuit connected between the first power supply line and the second power supply line and outputting a first signal;
A second output circuit connected between the first power supply line and the second power supply line and outputting a second signal;
A variable capacitor connected between the first power line and the second power line;
A delay circuit for adjusting a phase difference between the first signal and the second signal;
The capacitance value of the variable capacitor is controlled, and it is determined whether data based on the first signal can be written to the memory for each of a plurality of phase differences in the first signal and the second signal adjusted by the delay circuit. A control circuit for measuring a window width of the first signal and setting a capacitance value corresponding to a larger window width in the variable capacitor;
A timing control circuit comprising:
前記制御回路は、前記第1の出力回路の駆動能力を制御し、より大きいウインドウ幅に対応する駆動能力を前記第1の出力回路に設定する、ことを特徴とする請求項1に記載のタイミング制御回路。   2. The timing according to claim 1, wherein the control circuit controls a driving capability of the first output circuit and sets a driving capability corresponding to a larger window width in the first output circuit. 3. Control circuit. 前記制御回路は、前記遅延回路が前記位相差を調整するための設定値を変更し、各設定値毎に前記メモリが前記データが書き込めるかを判定し、前記メモリに前記データが書き込めると判定した複数の設定値のうちの最大値を最小値とを得るトレーニング回路を含む、請求項1又は2に記載のタイミング制御回路。   The control circuit changes a setting value for the delay circuit to adjust the phase difference, determines whether the memory can write the data for each setting value, and determines that the data can be written to the memory The timing control circuit according to claim 1, further comprising a training circuit that obtains a maximum value among a plurality of set values as a minimum value. 前記トレーニング回路は、前記データのビット毎に前記メモリに書き込めるか否かを判定し、前記データの全てのビットに基づいて前記ウインドウ幅を計測する、請求項3に記載のタイミング制御回路。   The timing control circuit according to claim 3, wherein the training circuit determines whether or not data can be written to the memory for each bit of the data, and measures the window width based on all the bits of the data. 前記制御回路は、
前記トレーニング回路にて得た設定値の最大値と最小値を第1のレジスタに保持し、前記遅延回路に対して変更された設定値に基づいて前記トレーニング回路にて得られた最大値と最小値とを第2のレジスタに保持し、前記第1のレジスタに保持した最大値及び最小値により第1のウインドウ幅を算出し、前記第2のレジスタに保持した最大値及び最小値に基づいて第2のウインドウ幅を算出し、前記第1のウインドウ幅と前記第2のウインドウ幅とを比較し、前記第2のウインドウ幅が前記第1のウインドウ幅より大きい場合に、前記第2のレジスタに保持した最大値及び最小値を前記第1のレジスタに保持するタイミングマージン判定回路を含む、請求項3又は4に記載のタイミング制御回路。
The control circuit includes:
The maximum value and the minimum value of the setting value obtained by the training circuit are held in the first register, and the maximum value and the minimum value obtained by the training circuit based on the setting value changed for the delay circuit. Value is held in the second register, the first window width is calculated from the maximum value and the minimum value held in the first register, and based on the maximum value and the minimum value held in the second register A second window width is calculated, the first window width is compared with the second window width, and when the second window width is larger than the first window width, the second register 5. The timing control circuit according to claim 3, further comprising a timing margin determination circuit that holds the maximum value and the minimum value held in the first register in the first register.
前記可変容量は、
前記メモリをアクセスする回路が搭載されたチップに形成された第1の可変容量と、
前記チップに動作電圧を供給する電源線を含むパッケージに搭載された第2の可変容量とを含み、
前記制御回路は、前記第1の可変容量の容量値と前記第2の可変容量の容量値とをそれぞれ制御する、請求項1〜5のうちの何れか一項に記載のタイミング制御回路。
The variable capacity is
A first variable capacitor formed on a chip on which a circuit for accessing the memory is mounted;
A second variable capacitor mounted on a package including a power line for supplying an operating voltage to the chip,
The timing control circuit according to claim 1, wherein the control circuit controls a capacitance value of the first variable capacitor and a capacitance value of the second variable capacitor.
第1電源線と第2電源線との間に接続された可変容量の容量値を制御し、
第1電源線と第2電源線との間に接続された第1の出力回路から出力される第1信号と、第1電源線と第2電源線との間に接続された第2の出力回路から出力される第2信号との位相差を調整し、
調整される前記第1信号及び前記第2信号における複数の位相差毎に前記第1信号に基づくデータがメモリに書き込めるか否かを判定して前記第1信号のウインドウ幅を計測し、より大きいウインドウ幅に対応する容量値を前記可変容量に設定する、
ことを特徴とするタイミング制御方法。
Controlling the capacitance value of the variable capacitor connected between the first power supply line and the second power supply line;
A first signal output from a first output circuit connected between the first power supply line and the second power supply line, and a second output connected between the first power supply line and the second power supply line Adjust the phase difference with the second signal output from the circuit,
It is determined whether or not data based on the first signal can be written in a memory for each of a plurality of phase differences in the first signal and the second signal to be adjusted, and the window width of the first signal is measured. A capacity value corresponding to the window width is set to the variable capacity;
The timing control method characterized by the above-mentioned.
データとデータストローブ信号を出力するシステム装置と、
前記データを前記データストローブ信号に基づいて取り込むメモリと、
を含み、
前記システム装置は、
第1電源線と第2電源線との間に接続され、第1信号を出力する第1の出力回路と、
第1電源線と第2電源線との間に接続され、第2信号を出力する第2の出力回路と、
第1電源線と第2電源線との間に接続された可変容量と、
前記第1信号と前記第2信号との位相差を調整する遅延回路と、
前記可変容量の容量値を制御し、前記遅延回路により調整される前記第1信号及び前記第2信号における複数の位相差毎に前記第1信号に基づくデータがメモリに書き込めるか否かを判定して前記第1信号のウインドウ幅を計測し、より大きいウインドウ幅に対応する容量値を前記可変容量に設定する制御回路と、
を有する、システム。
A system device for outputting data and a data strobe signal;
A memory for capturing the data based on the data strobe signal;
Including
The system device includes:
A first output circuit connected between the first power supply line and the second power supply line and outputting a first signal;
A second output circuit connected between the first power supply line and the second power supply line and outputting a second signal;
A variable capacitor connected between the first power line and the second power line;
A delay circuit for adjusting a phase difference between the first signal and the second signal;
The capacitance value of the variable capacitor is controlled, and it is determined whether data based on the first signal can be written to the memory for each of a plurality of phase differences in the first signal and the second signal adjusted by the delay circuit. A control circuit for measuring a window width of the first signal and setting a capacitance value corresponding to a larger window width in the variable capacitor;
Having a system.
JP2011028877A 2011-02-14 2011-02-14 Timing control circuit, timing control method and system Withdrawn JP2012169841A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011028877A JP2012169841A (en) 2011-02-14 2011-02-14 Timing control circuit, timing control method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011028877A JP2012169841A (en) 2011-02-14 2011-02-14 Timing control circuit, timing control method and system

Publications (1)

Publication Number Publication Date
JP2012169841A true JP2012169841A (en) 2012-09-06

Family

ID=46973550

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011028877A Withdrawn JP2012169841A (en) 2011-02-14 2011-02-14 Timing control circuit, timing control method and system

Country Status (1)

Country Link
JP (1) JP2012169841A (en)

Similar Documents

Publication Publication Date Title
USRE50511E1 (en) Memory devices, systems and methods employing command/address calibration
US7514955B2 (en) Semiconductor memory device with ability to effectively adjust operation time for on-die termination
US8274850B2 (en) Memory system, semiconductor memory device, and wiring substrate
US7102958B2 (en) Integrated circuit memory devices that support selective mode register set commands and related memory modules, memory controllers, and methods
US9135981B2 (en) Memory system having memory ranks and related tuning method
US7956648B2 (en) Output driver robust to data dependent noise
US8988952B2 (en) Semiconductor device having ODT function
US8035412B2 (en) On-die termination latency clock control circuit and method of controlling the on-die termination latency clock
US20150103608A1 (en) Semiconductor device and information processing system including the same
JP2012008881A (en) Memory system and its control method
US11257538B2 (en) Systems and methods for improved reliability of components in dynamic random access memory (DRAM)
JP2013065086A (en) Memory interface circuit and timing adjustment method
US8923077B2 (en) Semiconductor device operates on external and internal power supply voltages and data processing system including the same
US20020031016A1 (en) Data transmitter
US20180239391A1 (en) Resynchronization of a clock associated with each data bit in a double data rate memory system
US9570135B2 (en) Apparatuses and methods to delay memory commands and clock signals
CN110782929B (en) Duty cycle correction for each path
JP2012169841A (en) Timing control circuit, timing control method and system
WO2009139101A1 (en) Electronic equipment system and semiconductor integrated circuit controller
TWI574258B (en) Memory devices, systems and methods employing command/address calibration
JP2012243251A (en) Memory system
KR20070032401A (en) Digital frequency synchronization delay line

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20140513