JP2007293911A - Semiconductor device - Google Patents

Semiconductor device Download PDF

Info

Publication number
JP2007293911A
JP2007293911A JP2007185841A JP2007185841A JP2007293911A JP 2007293911 A JP2007293911 A JP 2007293911A JP 2007185841 A JP2007185841 A JP 2007185841A JP 2007185841 A JP2007185841 A JP 2007185841A JP 2007293911 A JP2007293911 A JP 2007293911A
Authority
JP
Japan
Prior art keywords
circuit
input
signal
clock
semiconductor device
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.)
Granted
Application number
JP2007185841A
Other languages
Japanese (ja)
Other versions
JP4516979B2 (en
Inventor
Yasuro Matsuzaki
康郎 松崎
Yoshihiro Takemae
義博 竹前
Masao Taguchi
眞男 田口
Masao Nakano
正夫 中野
Hiroyoshi Tomita
浩由 富田
Atsushi Hatakeyama
淳 畠山
Yoshinori Okajima
義憲 岡島
Hirohiko Mochizuki
裕彦 望月
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 Ltd
Original Assignee
Fujitsu 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 Ltd filed Critical Fujitsu Ltd
Priority to JP2007185841A priority Critical patent/JP4516979B2/en
Publication of JP2007293911A publication Critical patent/JP2007293911A/en
Application granted granted Critical
Publication of JP4516979B2 publication Critical patent/JP4516979B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Systems (AREA)
  • Pulse Circuits (AREA)
  • Dram (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a semiconductor device that can obtain an input signal with phase shift eliminated even though there is the phase shift between a received clock and the input signal. <P>SOLUTION: In the semiconductor device provided with a clock generation circuit 451 for generating an internal clock on the basis of a received clock, an input buffer circuit 452 for receiving the input signal and an input circuit 458 for synchronizing with the internal clock to obtain and output the input signal, the input circuit is provided with a delay circuit 460 which delays an output of the input buffer circuit and can select a delay amount; an input circuit 462 which takes in the output of the input buffer circuit synchronizing with an internal clock, a phase determination circuit 465 for determining a phase to the internal clock outputted by the input buffer circuit by determining an output signal value of the input circuit, and a delay control circuit 461 for controlling a delay amount of the delay circuit so as to make the output of the input buffer circuit a predetermined phase to the internal clock on the basis of a determination result of the phase determination circuit. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、外部クロックに同期して有効となる入力信号を、外部クロックから生成した内部クロックに同期して取り込む半導体装置に関し、特に内部クロックのタイミングを調整して周囲温度や電源電圧の変動にかかわらず所定のタイミングで入力信号を取り込むようにした半導体装置に関する。   The present invention relates to a semiconductor device that takes in an input signal that is valid in synchronization with an external clock in synchronization with an internal clock generated from the external clock, and in particular, adjusts the timing of the internal clock to adjust the ambient temperature and power supply voltage. The present invention relates to a semiconductor device that takes in an input signal at a predetermined timing.

半導体装置を使用したコンピュータ等の大規模な半導体装置システムでは、システムの各部分がクロックに同期して動作するように構成されており、データ信号やアドレス信号等の信号の入出力はクロック信号に同期して行われる。図1は、このような半導体装置システムの構成例を示す図である。図1に示すシステムは、複数のメモリ12−0、12−1、12−2へのデータの入出力をコントローラ11で制御するもので、特にメモリへのデータの書込みのための構成を示している。図1に示すように、コントローラ11から延びるクロック信号線13、制御信号バス14、アドレス信号バス15、及び書込みデータバス16が並行に配置され、メモリ12−0、12−1、12−2はこれらの信号線やバスに沿って配置され、メモリ12−0、12−1、12−2の各端子は対応する配線に接続される。図では信号線やバスの上部にメモリ12−0、12−1、12−2が配置されるように示してあるが、実際には各配線はメモリ12−0、12−1、12−2の端子間を通るように設けられている。コントローラ11からクロック信号線13、制御信号バス14、アドレス信号バス15、及び書込みデータバス16に信号が出力され、各メモリはクロックを取り込んで内部クロックを生成し、生成した内部クロックに基づいて、制御信号バス14、アドレス信号バス15、及び書込みデータバス16の信号を取込み、必要な処理を行って書込みデータバスに出力されたデータを記憶する。このようなメモリ12−0、12−1、12−2は、外部から供給されるクロックに従って動作するのでシンクロナス型と呼ばれている。シンクロナス型のDRAM(ダイナミック・ランダム・アクセス・メモリ)をSDRAMと呼んでおり、本発明は、主として、SDRAMを対象としており、以下の説明ではSDRAMを例として説明を行う。しかし、本発明はSDRAMに限られるものではない。   In a large-scale semiconductor device system such as a computer using a semiconductor device, each part of the system is configured to operate in synchronization with a clock, and a signal such as a data signal or an address signal is input / output to the clock signal. Done synchronously. FIG. 1 is a diagram showing a configuration example of such a semiconductor device system. The system shown in FIG. 1 controls the input / output of data to / from a plurality of memories 12-0, 12-1, and 12-2 by the controller 11, and particularly shows a configuration for writing data to the memory. Yes. As shown in FIG. 1, a clock signal line 13, a control signal bus 14, an address signal bus 15, and a write data bus 16 extending from the controller 11 are arranged in parallel, and the memories 12-0, 12-1, and 12-2 are Arranged along these signal lines and buses, the terminals of the memories 12-0, 12-1, and 12-2 are connected to corresponding wirings. In the figure, the memories 12-0, 12-1, and 12-2 are shown arranged above the signal lines and buses. It is provided to pass between the terminals. Signals are output from the controller 11 to the clock signal line 13, the control signal bus 14, the address signal bus 15, and the write data bus 16, and each memory takes in the clock and generates an internal clock. Based on the generated internal clock, The control signal bus 14, the address signal bus 15, and the write data bus 16 are fetched, and necessary processing is performed to store the data output to the write data bus. Such memories 12-0, 12-1, and 12-2 operate in accordance with an externally supplied clock and are therefore called a synchronous type. A synchronous DRAM (Dynamic Random Access Memory) is called SDRAM, and the present invention is mainly directed to SDRAM. In the following description, SDRAM will be described as an example. However, the present invention is not limited to SDRAM.

近年、コンピュータ・システムにおけるCPUのクロックの高速化、或いは、他の様々な電子回路の処理速度の高速化に伴って、各半導体装置を結ぶインターフェース部分も高速化する必要に迫られている。SDRAMは、このような高速化の要求に答えるための半導体装置であり、連続したアドレスにアクセスする場合には、非常な高速のアクセスが行える。そのため、非常に短い周期で変化するのはデータバスの信号であり、データバスの信号を高速に取り込める必要がある。   In recent years, as the clock speed of a CPU in a computer system increases or the processing speed of various other electronic circuits increases, it is necessary to increase the speed of an interface portion connecting each semiconductor device. The SDRAM is a semiconductor device for responding to such a demand for high speed, and can access at a very high speed when accessing consecutive addresses. Therefore, it is a data bus signal that changes in a very short cycle, and it is necessary to capture the data bus signal at high speed.

図2は、上記のような半導体装置システムのもっとも基本的な構成例を示す図である。図2に示すように、このシステムは、信号を送出する駆動側半導体装置11と、信号を受ける受信側半導体装置12とで構成される。駆動側半導体装置11からはクロック信号CLKと共に、クロック信号CLKに同期して出力信号D0〜Dnが出力され、受信側半導体装置12は受信したクロックCLKに同期して駆動側半導体装置11から送られた信号を入力信号Q0〜Qnとして取り込む。半導体装置システムを構成する半導体装置は、他の半導体装置との間で送受信を行うので、動作に応じて駆動側にも受信側にもなりえる。   FIG. 2 is a diagram showing a most basic configuration example of the semiconductor device system as described above. As shown in FIG. 2, this system includes a driving-side semiconductor device 11 that transmits a signal and a receiving-side semiconductor device 12 that receives the signal. The drive-side semiconductor device 11 outputs output signals D0 to Dn in synchronization with the clock signal CLK together with the clock signal CLK, and the reception-side semiconductor device 12 is sent from the drive-side semiconductor device 11 in synchronization with the received clock CLK. The received signals are taken as input signals Q0 to Qn. Since the semiconductor devices constituting the semiconductor device system perform transmission / reception with other semiconductor devices, they can be on the driving side or on the receiving side depending on the operation.

図3は、駆動側と受信側の半導体装置における信号の送信と受信の経路をより詳しく示す図である。図3に示すように、駆動側半導体装置11からは、クロック出力回路21からクロック信号CLK(D)が出力され、レジスタ23で生成された出力信号D0、D1、…、Dnが出力回路22−0、22−1、…、22−nを介して出力される。受信側半導体装置12は、クロック信号CLKを受けて内部クロックを生成するクロック生成回路31と、出力信号D0、D1、…、Dnに対応する入力信号Q0、Q1、…、Qnを取り込む入力回路32−0、32−1、…、32−nと、入力回路32−0、32−1、…、32−nの出力を処理する内部回路内にこれらの信号を受けるために設けられたレジスタ33とを有する。   FIG. 3 is a diagram showing in more detail the signal transmission and reception paths in the driving-side and receiving-side semiconductor devices. As shown in FIG. 3, the driving-side semiconductor device 11 outputs a clock signal CLK (D) from the clock output circuit 21, and the output signals D0, D1,. 0, 22-1,..., 22-n. The receiving-side semiconductor device 12 receives a clock signal CLK and generates an internal clock, and an input circuit 32 that captures input signals Q0, Q1,..., Qn corresponding to the output signals D0, D1,. , 32-n, and a register 33 provided to receive these signals in an internal circuit that processes the outputs of the input circuits 32-0, 32-1, ..., 32-n. And have.

図4は、受信側半導体装置の入力回路の従来例を示す図である。
図4に示すように、入力回路32では、外部から入力されるクロックCLKがクロックカレントミラー回路41に入力され、その出力がクロックバッファ回路42から半導体装置内の各部分に内部クロックとして伝達される。同様に、入力信号はカレントミラー回路43に入力された後、入力信号バッファ回路44を介してラッチ回路45に入力される。ラッチ回路45では、クロックバッファ回路42からの内部クロックの立ち上がりに同期して入力信号バッファ回路44からの入力信号をラッチする。これにより、入力信号は半導体装置内に取り込まれたことになる。ラッチ回路45でラッチされた入力信号は、内部回路の各部分に伝達される。カレントミラー回路は、外部から入力される信号を正確に受けるために使用される。なお、図4では、入力信号は1つだけで、入力回路も1つだけ示してあるが、実際には複数の入力信号があり、カレントミラー回路43と入力信号バッファ回路44とラッチ回路45で構成される入力回路が、入力信号の個数分存在する。
FIG. 4 is a diagram illustrating a conventional example of an input circuit of a receiving-side semiconductor device.
As shown in FIG. 4, in the input circuit 32, an externally input clock CLK is input to the clock current mirror circuit 41, and its output is transmitted from the clock buffer circuit 42 to each part in the semiconductor device as an internal clock. . Similarly, the input signal is input to the current mirror circuit 43 and then input to the latch circuit 45 via the input signal buffer circuit 44. The latch circuit 45 latches the input signal from the input signal buffer circuit 44 in synchronization with the rising edge of the internal clock from the clock buffer circuit 42. As a result, the input signal is taken into the semiconductor device. The input signal latched by the latch circuit 45 is transmitted to each part of the internal circuit. The current mirror circuit is used to accurately receive a signal input from the outside. 4 shows only one input signal and only one input circuit, there are actually a plurality of input signals, and the current mirror circuit 43, the input signal buffer circuit 44, and the latch circuit 45 There are as many input circuits as the number of input signals.

図4の回路では、クロックの入力回路とそれ以外の入力信号の入力回路は等価な回路構成を有しており、この半導体装置に入力してからラッチ回路45に伝達されるまでのクロックと入力信号の遅延量は同じになるようにしている。従って、半導体装置のクロック入力端子と入力端子に入力されるクロックと他の入力信号のタイミングの関係は、ラッチ回路135でも維持される。   In the circuit of FIG. 4, the clock input circuit and the other input signal input circuits have equivalent circuit configurations, and the clock and the input from the input to the semiconductor device to the transmission to the latch circuit 45 are input. The signal delay is the same. Therefore, the relationship between the clock input terminal of the semiconductor device and the timing of the clock input to the input terminal and other input signals is maintained in the latch circuit 135.

図5は、半導体装置システムにおけるクロックCLKと、バス上の信号を示す図である。駆動側半導体装置11は、クロックCLKの立ち上がりに同期して制御信号バス14、アドレス信号バス15、及び書き込みデータバス16に出力する信号を変化させる。これに応じて、受信側半導体装置12は、駆動側半導体装置11からの出力信号を入力信号としてクロックCLKの立ち上がりに同期して取り込む。なお、本明細書では、クロックCLKの立ち下がりに同期して出力信号が変化し、クロックCLKの立ち上がりに同期して入力信号として取り込まれる例を説明するが、クロックCLKの立ち上がりや立ち下がりからずれた位相で入力信号が変化し、ずれた位相で半導体装置内に取り込む場合もある。   FIG. 5 is a diagram illustrating a clock CLK and signals on the bus in the semiconductor device system. The driving-side semiconductor device 11 changes signals output to the control signal bus 14, the address signal bus 15, and the write data bus 16 in synchronization with the rising edge of the clock CLK. In response to this, the receiving-side semiconductor device 12 takes in the output signal from the driving-side semiconductor device 11 as an input signal in synchronization with the rising edge of the clock CLK. Note that in this specification, an example is described in which the output signal changes in synchronization with the falling edge of the clock CLK and is captured as an input signal in synchronization with the rising edge of the clock CLK. In some cases, the input signal changes with a different phase and is taken into the semiconductor device with a shifted phase.

半導体装置が入力信号を取り込む場合、取り込むタイミングの前後で入力信号が確定している必要のある期間が定められている。図5に示すように、取り込むタイミングの前に入力信号が確定している必要のある期間をセットアップ時間tSと呼び、取り込むタイミングの後で入力信号が確定している必要のある期間をホールド時間tHと呼んでいる。   When the semiconductor device captures an input signal, a period in which the input signal needs to be determined before and after the capture timing is determined. As shown in FIG. 5, a period in which the input signal needs to be determined before the capturing timing is called a setup time tS, and a period in which the input signal needs to be determined after the capturing timing is a hold time tH. It is called.

図6は、図2の半導体装置システムにおけるクロックCLKと、バス上の信号を示す図であり、上側に駆動側から出力される時のクロックCLK(D)と出力信号D0〜Dnを、下側にこれらの信号を受信側でクロックCLK(R)と出力信号Q0〜Qnとして取り込む時の状態を示している。駆動側半導体装置11は、クロックCLK(D)の立ち下がりに同期して出力信号D0〜Dnを変化させる。受信側半導体装置12は取り込んだクロック信号の立ち上がりに同期して出力信号D0〜Dnを入力信号Q0〜Qnとして取り込む。   FIG. 6 is a diagram showing the clock CLK and signals on the bus in the semiconductor device system of FIG. 2. The clock CLK (D) and the output signals D0 to Dn when output from the drive side are 7 shows the state when these signals are taken in as the clock CLK (R) and the output signals Q0 to Qn on the receiving side. The driving-side semiconductor device 11 changes the output signals D0 to Dn in synchronization with the falling edge of the clock CLK (D). The receiving-side semiconductor device 12 takes in the output signals D0 to Dn as input signals Q0 to Qn in synchronization with the rise of the fetched clock signal.

なお、図5及び図6ではクロックCLKの立ち下がりに同期して出力信号が変化し、クロックCLKの立ち上がりに同期して入力信号として取り込まれるとしたが、クロックCLKの立ち下がりや立ち上がりからずれた位相で入力信号が変化し、半導体装置内に取り込む場合もある。以下の例では、説明を簡単にするために、入力信号はクロックCLKの立ち下がりに同期して変化し、入力信号はクロックCLKの立ち上がりに同期して取り込まれるものとして説明するが、本発明はこれに限られるものではない。   5 and 6, the output signal changes in synchronization with the falling edge of the clock CLK and is taken in as an input signal in synchronization with the rising edge of the clock CLK. However, the output signal is shifted from the falling edge or rising edge of the clock CLK. In some cases, the input signal changes depending on the phase and is taken into the semiconductor device. In the following example, in order to simplify the description, the input signal changes in synchronization with the falling edge of the clock CLK, and the input signal is described as being captured in synchronization with the rising edge of the clock CLK. It is not limited to this.

特開平7−98617号JP-A-7-98617 特開平7−84946号JP-A-7-84946 特開平5−75594号Japanese Patent Laid-Open No. 5-75594

図2の半導体装置システムで、信号が駆動側半導体装置11から受信側半導体装置12に伝達される時間は、信号線の長さで規定されると共に、信号線の負荷によっても変化する。各信号線の長さと負荷をまったく同じにすることはできないので、図6に示すように、たとえ駆動側からクロックの立ち下がりに同期して出力信号が変化するように出力されても、受信側半導体装置12の入力端子に入力する時点では、信号間で位相差が生じる。図6では、クロックが駆動側から受信側に伝達されるのに時間tDを要している。すなわち、受信するクロックCLK(R)は駆動側半導体装置11から出力されたクロックCLK(D)よりtD遅れている。駆動側半導体装置11から出力された出力信号D0は、クロックより小さな遅延量で伝達されるため、入力信号Q0はクロックCLK(R)の立ち下がりより早く変化する。同様に、入力信号QnはクロックCLK(R)の立ち下がりから遅れて変化する。Q0がもっとも進んでおり、Qnがもっとも遅れているとすると、図6に示したQ0が変化してからQnが変化するまでの間は正しい信号が入力されない状態であり、この期間は信号が不確定な期間である。そのため、信号が有効となる期間は、信号の変化周期、すなわちクロックの1周期からこの信号が不確定な期間を除いた期間である。   In the semiconductor device system of FIG. 2, the time for which a signal is transmitted from the driving-side semiconductor device 11 to the receiving-side semiconductor device 12 is defined by the length of the signal line and also varies depending on the load of the signal line. Since the length of each signal line and the load cannot be exactly the same, as shown in FIG. 6, even if the output signal is output from the driving side so as to be synchronized with the falling edge of the clock, the receiving side At the time of input to the input terminal of the semiconductor device 12, a phase difference occurs between the signals. In FIG. 6, time tD is required for the clock to be transmitted from the driving side to the receiving side. That is, the received clock CLK (R) is delayed by tD from the clock CLK (D) output from the driving-side semiconductor device 11. Since the output signal D0 output from the driving-side semiconductor device 11 is transmitted with a delay amount smaller than the clock, the input signal Q0 changes earlier than the falling edge of the clock CLK (R). Similarly, the input signal Qn changes with a delay from the falling edge of the clock CLK (R). If Q0 is the most advanced and Qn is the most lagging, a correct signal is not input until Qn changes after Q0 shown in FIG. 6 changes. It is a definite period. For this reason, the period in which the signal is valid is a period obtained by excluding a period in which the signal is uncertain from one cycle of the signal, that is, one cycle of the clock.

近年、コンピュータ・システムにおけるCPUのクロックの高速化、或いは、他の様々な電子回路の処理速度の高速化に伴って、各半導体装置を結ぶインターフェース部分も高速化する必要に迫られている。このような高速の半導体装置を使用した高速のシステムでは、各半導体装置が入力信号を取り込むための入力確定時間がシステムの速度を規定するようになっており、半導体装置の入力確定時間を低減することが求められている。   In recent years, as the clock speed of a CPU in a computer system increases or the processing speed of various other electronic circuits increases, it is necessary to increase the speed of an interface portion connecting each semiconductor device. In a high-speed system using such a high-speed semiconductor device, the input confirmation time for each semiconductor device to take in an input signal defines the system speed, thereby reducing the input confirmation time of the semiconductor device. It is demanded.

低速のシステムでは、このような信号の不確定期間はクロック周期に比べて相対的に小さく問題にならないが、高速のシステムではクロック周期が非常に短くなるので大きな問題となる。そのため、高速のシステムでは、クロック信号線と他の信号線の長さをできるだけ同一にする等の対策を行っているが、配線長や負荷を完全に同一にすることは難しく、ある程度の位相差が生じることが避けられず、高速化する上での障害になっていた。   In a low-speed system, such an indefinite period of the signal is relatively small compared to the clock cycle, which is not a problem. However, in a high-speed system, the clock cycle becomes very short, which is a serious problem. Therefore, in high-speed systems, measures such as making the length of the clock signal line and other signal lines the same as much as possible are taken, but it is difficult to make the wiring length and load completely the same, and a certain phase difference This is an obstacle to speeding up.

更に、受信側半導体装置における位相差の問題もある。図7は、受信側半導体装置において必要な信号確定時間を説明する図である。図4の回路において、ラッチ回路45には動作の関係から必然的に必要なセットアップ時間tSとホールド時間tHがあり、図7ではその時間を回路動作から必要な入力確定時間として示してある。上記のように、図4の回路では、クロックの入力回路とそれ以外の入力信号の入力回路は等価な回路構成を有しており、この半導体装置に入力してからラッチ回路45に伝達されるまでのクロックと入力信号の遅延量は同じになるようにしている。しかし、実際には回路設計上まったく同じ回路にするのは不可能であり、できるだけ類似の遅延量になるようにするが、ある程度異なった回路や配線にせざるをえない。そのため、製造プロセスでのバラツキ、遅延量の温度依存性、電源電圧依存性を考えると、たとえ図4に示すようにクロックの入力回路とそれ以外の入力信号の入力回路を等価な回路としても、遅延量に差が生じる。この遅延量の差のため、回路動作から必要な入力確定時間は、図4に示すように条件1と2で、クロックCLKの立ち上がりに対してある程度バラツクことになる。従って、図7の入力確定時間が図6の信号有効時間内に入ることが必要であり、この条件を満たさない場合には、正常な入力信号の取込みが行えないことになる。従来は、回路動作から必要な入力確定時間にこのバラツキを考慮して、入力確定時間、すなわち、セットアップ時間tSとホールド時間tHを規定していた。   Further, there is a problem of phase difference in the receiving-side semiconductor device. FIG. 7 is a diagram for explaining the signal determination time required in the receiving-side semiconductor device. In the circuit of FIG. 4, the latch circuit 45 has a setup time tS and a hold time tH that are inevitably required from the relationship of operation, and FIG. As described above, in the circuit of FIG. 4, the clock input circuit and the other input signal input circuits have equivalent circuit configurations, and are input to the semiconductor device and then transmitted to the latch circuit 45. The delay amount of the clock and the input signal is made the same. However, in practice, it is impossible to make the circuit exactly the same in terms of circuit design, so that the delay amount is as similar as possible, but it must be a somewhat different circuit or wiring. Therefore, considering the variation in the manufacturing process, the temperature dependence of the delay amount, and the power supply voltage dependence, even if the clock input circuit and other input signal input circuits are equivalent as shown in FIG. A difference occurs in the delay amount. Due to this difference in delay amount, the input confirmation time required from the circuit operation varies to some extent with respect to the rising edge of the clock CLK under conditions 1 and 2 as shown in FIG. Therefore, it is necessary that the input confirmation time in FIG. 7 falls within the signal valid time in FIG. 6. If this condition is not satisfied, normal input signals cannot be captured. Conventionally, the input confirmation time, that is, the setup time tS and the hold time tH are defined in consideration of the variation in the input confirmation time required from the circuit operation.

近年、コンピュータ・システムにおけるCPUのクロックの高速化、或いは、他の様々な電子回路の処理速度の高速化に伴って、各半導体装置を結ぶインターフェース部分も高速化する必要に迫られている。このような高速の半導体装置を使用した高速のシステムでは、各半導体装置が入力信号を取り込むための入力確定時間がシステムの速度を規定するようになっており、半導体装置の入力確定時間を低減することが求められている。   In recent years, as the clock speed of a CPU in a computer system increases or the processing speed of various other electronic circuits increases, it is necessary to increase the speed of an interface portion connecting each semiconductor device. In a high-speed system using such a high-speed semiconductor device, the input confirmation time for each semiconductor device to take in an input signal defines the system speed, thereby reducing the input confirmation time of the semiconductor device. It is demanded.

本発明は、このような要求に答えるためのもので、受信側でクロックと信号の位相がずれていても、また受信側の半導体装置内部でクロック入力回路と他の信号の入力回路の間で位相差が生じる場合でもシステムを高速化し、更にそのようなシステムを構成するための半導体装置を実現することを目的とする。   The present invention is for responding to such a request. Even if the clock and the signal are out of phase on the receiving side, the present invention can be used between the clock input circuit and another signal input circuit within the semiconductor device on the receiving side. It is an object of the present invention to increase the speed of a system even when a phase difference occurs, and to realize a semiconductor device for configuring such a system.

図8は、本発明の第1の原理構成図である。
図8に示すように、本発明の半導体装置システムは、上記目的を達成するため、受信側半導体装置に、入力回路53−0、53−1、…、53−nが入力信号を有効で安定した状態で取り込むように、入力回路に供給されるクロックの位相を調整する入力タイミング調整回路54−0、54−1、…、54−nを設けることを特徴とする。図8において、参照番号51はクロック入力回路であり、55は入力回路53−0、53−1、…、53−nで取り込まれた入力信号及びクロックが供給される内部回路である。
FIG. 8 is a first principle configuration diagram of the present invention.
As shown in FIG. 8, in the semiconductor device system of the present invention, in order to achieve the above object, input circuits 53-0, 53-1,. Input timing adjustment circuits 54-0, 54-1,..., 54-n for adjusting the phase of the clock supplied to the input circuit are provided so as to capture in the above-described state. In FIG. 8, reference numeral 51 denotes a clock input circuit, and 55 denotes an internal circuit to which an input signal and a clock taken in by input circuits 53-0, 53-1,.

すなわち、本発明の半導体装置システムは、クロックに同期して動作する複数の半導体装置で構成され、半導体装置間で信号の送信を行う場合に、駆動側半導体装置はクロックを出力すると共にクロックに同期して出力信号を出力し、受信側半導体装置12は受信したクロックに同期して駆動側半導体装置から出力された出力信号を入力信号として取り込む半導体装置システムにおいて、受信側半導体装置12は、入力信号を取り込む入力回路53−0、53−1、…、53−nと、入力回路が入力信号を有効で安定した状態で取り込むように、入力回路に供給されるクロックの位相を調整する入力タイミング調整回路54−0、54−1、…、54−nとを備えることを特徴とする。   That is, the semiconductor device system of the present invention is composed of a plurality of semiconductor devices that operate in synchronization with a clock. When a signal is transmitted between the semiconductor devices, the driving-side semiconductor device outputs a clock and is synchronized with the clock. In the semiconductor device system that receives the output signal output from the drive-side semiconductor device as an input signal in synchronization with the received clock, the reception-side semiconductor device 12 receives the input signal. Input circuit 53-0, 53-1,..., 53-n, and input timing adjustment for adjusting the phase of the clock supplied to the input circuit so that the input circuit captures the input signal in a valid and stable state. Circuits 54-0, 54-1,..., 54-n are provided.

図示のように、入力タイミング調整回路は、各入力回路毎に設けることが望ましい。しかし、入力信号間のスキューが、入力信号群とクロックの間のスキューに比べて小さい場合には、複数の入力回路に共通に入力タイミング調整回路を設けることも可能である。
本発明の半導体装置システムでは、たとえクロックと入力信号の間にスキューがあっても、最適なタイミングになるように調整されるため実質的にスキューがゼロになり、入力回路において入力信号が有効になる期間を広げることができる。
As shown in the figure, it is desirable to provide an input timing adjustment circuit for each input circuit. However, when the skew between the input signals is smaller than the skew between the input signal group and the clock, it is possible to provide an input timing adjustment circuit in common for a plurality of input circuits.
In the semiconductor device system of the present invention, even if there is a skew between the clock and the input signal, the adjustment is made so that the optimum timing is obtained, so that the skew is substantially zero, and the input signal is made effective in the input circuit. Can extend the period.

入力タイミング調整回路は、受信したクロックに基づいて発生された内部クロックを遅延させて入力タイミングクロックとして出力し、遅延量が選択可能なディレイ回路と、入力タイミングクロックに同期して前記入力信号を取り込む信号入力回路と、入力タイミングクロックと入力信号の位相を比較する位相比較回路と、位相比較回路の判定結果に基づいて、入力タイミングクロックが入力信号に対して所定の位相になるようにディレイ回路の遅延量を変化させるディレイ制御回路とを備えるフィードバック回路で構成する。   The input timing adjustment circuit delays an internal clock generated based on the received clock and outputs it as an input timing clock, and captures the input signal in synchronization with the input timing clock and a delay circuit capable of selecting a delay amount Based on the determination result of the signal input circuit, the input timing clock and the phase of the input signal, and the phase comparison circuit, the delay circuit is configured so that the input timing clock has a predetermined phase with respect to the input signal. The feedback circuit includes a delay control circuit that changes the delay amount.

入力タイミング調整回路をこのようなフィードバック回路で構成した場合、フィードバック回路の制御値が収束するまである程度の時間が必要であり、このような半導体装置システムを起動した場合には、かならず所定の時間調整モードを行う必要である。この調整モードにおいては、入力タイミング調整回路のフィードバックに適した信号を入力することができる。そして、この調整モードが終了した後もそのままフィードバック制御を続けるか、調整モードが終了した時点の制御値を記憶して維持するかが考えられる。調整モードが終了した後もそのままフィードバック制御を続ける場合には、調整モード終了後に位相変化があっても対応可能であるが、調整モード終了後は通常の動作に伴う信号が入力されるため、このような通常動作の信号でフィードバック制御が行えることが必要である。また、調整モードが終了した時点の制御値を記憶して維持する場合、調整モード終了後もそのままフィードバック制御を続ける場合に比べて構成が簡単であるが、調整モード終了後に位相変化があっても対応できない。そのため、定期的に調整モードを設けることが望ましい。   When the input timing adjustment circuit is configured with such a feedback circuit, a certain amount of time is required until the control value of the feedback circuit converges. When such a semiconductor device system is started up, a predetermined time adjustment is always required. It is necessary to do the mode. In this adjustment mode, a signal suitable for feedback of the input timing adjustment circuit can be input. Then, it is conceivable whether the feedback control is continued as it is after the adjustment mode is finished or the control value at the time when the adjustment mode is finished is stored and maintained. When the feedback control is continued even after the adjustment mode is finished, it is possible to respond even if there is a phase change after the adjustment mode is finished. It is necessary to be able to perform feedback control with such a normal operation signal. In addition, when storing and maintaining the control value at the end of the adjustment mode, the configuration is simpler than when the feedback control is continued even after the adjustment mode is finished. I can not cope. Therefore, it is desirable to periodically provide an adjustment mode.

図9は、入力信号の取込みにおける位相比較の原理を説明する図である。2つの信号の位相を比較する場合、2つの信号の変化エッジにおける前後関係を比較して一方が他方に対して進んでいるか遅れているかを比較するのが一般的である。しかし、入力回路の場合、図示のように、入力タイミングクロックDCLKは入力信号が安定した状態で変化する信号であり、入力信号は入力タイミングクロックの立ち上がるセットアップ時間tSの前に安定し、入力タイミングクロックの立ち上がりからホールド時間tHの間安定していることが要求される。そのため、入力信号は、1クロックサイクルをtPとすると、入力タイミングクロックの立ち上がりのtP×tS/(tS+tH)前に変化することが望ましいといえる。このような入力信号と入力タイミングクロックDCLKの変化エッジでは位相を比較できない。そのため、入力タイミングクロックを所定の位相ずらして、入力信号と同一位相で変化するシフトクロックSCLKを発生させ、このシフトクロックと入力信号の位相を比較するか、入力信号を所定の位相ずらして、入力タイミングクロックとずらしたシフト入力信号の位相を比較する必要がある。シフトクロックSCLK又はずらした入力信号を受信側で発生させる場合には、位相を比較しながら入力タイミングクロックDCLKで入力信号を取り込むことが可能であり、上記の調整モード終了後もそのままフィードバック制御を続けることが可能である。しかし、駆動側で所定位相ずれた信号を発生させる場合には、そのような所定位相ずれた通常動作と異なる信号を受信側に送信する必要があり、通常モードではそのような信号は送信できない。従って、駆動側で所定位相ずれた信号を発生させるのは、調整モード終了後はフィードバック制御を行わない場合のみ可能である。受信側で所定位相ずらした入力信号を発生させる場合、入力信号をラッチすることなしに、カレントミラー回路とバッファ回路で受信した入力信号をそのまま比較に使用する必要があるが、これでは入力信号がなまっているため、良好な比較が行えない。そのため、受信側で所定位相ずれた信号を発生させる場合には、シフトクロックを発生させることが望ましい。また、駆動側でシフトクロックを発生させて調整モード時にはこのシフトクロックを送信することも考えられるが、クロックが同期動作の基準になっており、たとえ調整モード時でもクロックの位相が異なるのは好ましくないので、駆動側で所定位相ずれた信号を発生させて送信する場合には、調整モード時にはシフトクロックに同期して出力を行い、通常動作時にはクロックに同期して出力を行うことが望ましい。   FIG. 9 is a diagram for explaining the principle of phase comparison in capturing an input signal. When comparing the phases of two signals, it is common to compare the context at the changing edges of the two signals to compare whether one is ahead or behind the other. However, in the case of the input circuit, as shown in the figure, the input timing clock DCLK is a signal that changes in a stable state, and the input signal is stabilized before the setup time tS when the input timing clock rises. It is required to be stable for the hold time tH from the rise of. Therefore, it can be said that it is desirable that the input signal change before tP × tS / (tS + tH) of the rising edge of the input timing clock when one clock cycle is tP. The phase cannot be compared at such a change edge of the input signal and the input timing clock DCLK. Therefore, the input timing clock is shifted by a predetermined phase to generate a shift clock SCLK that changes in the same phase as the input signal, and the phase of this shift clock and the input signal is compared, or the input signal is shifted by a predetermined phase and input It is necessary to compare the phase of the shifted input signal shifted from the timing clock. When the shift clock SCLK or the shifted input signal is generated on the receiving side, the input signal can be taken in by the input timing clock DCLK while comparing the phases, and the feedback control is continued as it is after the adjustment mode is finished. It is possible. However, when a signal having a predetermined phase shift is generated on the driving side, a signal different from the normal operation having such a predetermined phase shift needs to be transmitted to the receiving side, and such a signal cannot be transmitted in the normal mode. Therefore, it is possible to generate a signal having a predetermined phase shift on the driving side only when feedback control is not performed after the adjustment mode is completed. When generating an input signal shifted by a predetermined phase on the receiving side, it is necessary to use the input signal received by the current mirror circuit and the buffer circuit as they are for comparison without latching the input signal. Because of the sluggishness, a good comparison cannot be made. Therefore, it is desirable to generate a shift clock when generating a signal having a predetermined phase shift on the receiving side. It is also possible to generate a shift clock on the drive side and transmit this shift clock in the adjustment mode, but the clock is the reference for the synchronous operation, and it is preferable that the clock phase is different even in the adjustment mode. Therefore, when a signal having a predetermined phase shift is generated and transmitted on the driving side, it is desirable to output in synchronization with the shift clock in the adjustment mode and to output in synchronization with the clock in normal operation.

位相比較を行う場合、ラッチする前の入力信号と入力タイミング信号又はシフトクロックとの位相を比較することが考えられるが、上記のように入力信号がなまっているため良好な位相比較が難しいという問題がある。そこで、本発明では、一方に変化する入力信号をその変化エッジ付近のタイミング信号でラッチした場合、位相が進んでいる場合と遅れている場合で、そのラッチした値が異なることを利用して位相比較を行う。   When performing phase comparison, it is conceivable to compare the phase of the input signal before latching with the input timing signal or the shift clock, but the problem is that it is difficult to make a good phase comparison because the input signal is blurred as described above. There is. Therefore, in the present invention, when an input signal that changes to one side is latched by a timing signal near the change edge, the phase is adjusted by utilizing the fact that the latched value differs depending on whether the phase is advanced or delayed. Make a comparison.

受信タイミング調整モード時がある場合には、信号入力回路に取り込む信号をかならず所定の周期で変化する信号とすることができ、例えば、クロックの1周期毎に変化する信号にすることができる。そのため、判定する信号値を取り込むタイミングの所定時間前、例えば1周期毎に変化する信号であれば半周期前の信号値を判定することにより、入力信号が「低」から「高」へ変化するのか「高」から「低」へ変化するのかが判定できる。これに対して、通常モードで判定する場合には、信号入力回路に取り込む信号は通常の信号であり、どのように変化するかは分からない。この場合には、判定する信号値を取り込むタイミングの前後の信号値を判定することにより、入力信号が変化したか、どちらの変化であるかが判定できる。   When there is a reception timing adjustment mode, a signal input to the signal input circuit can be a signal that changes at a predetermined cycle, for example, a signal that changes every clock cycle. Therefore, the input signal changes from “low” to “high” by determining the signal value of a half cycle before a predetermined time before the timing of capturing the signal value to be determined, for example, if the signal changes every cycle. Or whether it changes from “high” to “low”. On the other hand, when the determination is made in the normal mode, the signal taken into the signal input circuit is a normal signal, and it is not known how it changes. In this case, it is possible to determine whether the input signal has changed or which one has changed by determining the signal value before and after the timing of taking in the signal value to be determined.

次に、以上の説明に基づいた本発明の基本構成について説明する。まず、調整モード時には、駆動側から通常動作時に比べて所定位相ずれた出力信号が出力される場合の構成について説明する。
図10は、本発明の第1の態様の半導体装置システムの基本構成を示す図である。このシステムの駆動側半導体装置は、クロックとクロックを所定位相ずらしたシフトクロックとを発生させ、選択的に出力するクロック発生回路と、クロック発生回路の出力するクロック又はシフトクロックに同期して出力信号を出力する信号出力回路88−0、88−1、…、88−nとを備え、クロックに同期して出力信号を出力する通常モードと、シフトクロックに同期して出力信号を出力する受信側タイミング調整モードとが選択可能であることを特徴とする。図10では、クロック発生回路は、基礎クロックを発生するクロック源81と、シフトクロック発生回路82と、シフトクロック発生回路82から出力回路88−0、88−1、…、88−nに出力するクロックを基礎クロックとシフトクロックの間で選択するスイッチ87とを有する。また、調整モード時に出力する入力タイミング調整回路の調整に適した信号を出力するためにダミー出力発生回路84を設け、更に内部回路83からの出力とダミー出力発生回路84からの出力を選択するためのスイッチ85を設ける。このような構成により、調整モード時にはクロックの立ち上がりエッジで変化する出力信号を出力し、通常モード時にはクロックの立ち上がりエッジから所定位相ずれて変化する出力信号を出力できる。
Next, the basic configuration of the present invention based on the above description will be described. First, in the adjustment mode, a configuration in the case where an output signal having a predetermined phase shift from the driving side as compared with that in the normal operation is output will be described.
FIG. 10 is a diagram showing a basic configuration of the semiconductor device system according to the first aspect of the present invention. The drive-side semiconductor device of this system generates a clock and a shift clock in which the clock is shifted by a predetermined phase, selectively outputs a clock generation circuit, and an output signal in synchronization with the clock or shift clock output from the clock generation circuit Signal output circuits 88-0, 88-1,..., 88-n, and a receiving mode for outputting an output signal in synchronization with a shift clock. The timing adjustment mode can be selected. 10, the clock generation circuit outputs a clock source 81 for generating a basic clock, a shift clock generation circuit 82, and output from the shift clock generation circuit 82 to output circuits 88-0, 88-1,..., 88-n. And a switch 87 for selecting a clock between a basic clock and a shift clock. A dummy output generation circuit 84 is provided to output a signal suitable for adjustment of the input timing adjustment circuit that is output in the adjustment mode, and further, an output from the internal circuit 83 and an output from the dummy output generation circuit 84 are selected. The switch 85 is provided. With such a configuration, an output signal that changes at the rising edge of the clock can be output in the adjustment mode, and an output signal that changes by a predetermined phase shift from the rising edge of the clock can be output in the normal mode.

シフトクロック発生回路82は、各段の遅延量が同一で該遅延量が選択可能で、前段の出力が後段に入力され、初段には前記基礎クロックが入力される複数段のシフトディレイ回路と、複数段のシフトディレイ回路の最終段の出力と前記基礎クロックの位相を比較するクロック位相比較回路と、クロック位相比較回路の比較結果に基づいて、最終段の出力と前記基礎クロックの位相が一致するように複数段のシフトディレイ回路の遅延量を制御するディレイ制御回路とを備える。   The shift clock generating circuit 82 has the same amount of delay in each stage and the delay amount can be selected. Based on the comparison result of the clock phase comparison circuit, which compares the phase of the basic clock with the output of the final stage of the multi-stage shift delay circuit, the phase of the final clock and the basic clock match. A delay control circuit for controlling the delay amount of the plurality of shift delay circuits.

第1の態様の半導体装置システムの受信側では、調整モード時には受信したクロックと受信した入力信号の位相を比較して入力信号を取り込むタイミングを調整し、調整モードが終了して通常モードに入る時には調整モード終了時の制御値を記憶し、それ以後はその値を保持する。調整モード時に駆動側から送られる入力信号は、クロックの立ち上がりエッジで変化する信号であり、そのまま比較が可能であり、入力回路のラッチで取り込んだ値を判定に使用できる。   On the receiving side of the semiconductor device system of the first aspect, in the adjustment mode, the timing of taking in the input signal is adjusted by comparing the phase of the received clock with the received input signal, and when the adjustment mode ends and the normal mode is entered. The control value at the end of the adjustment mode is stored, and thereafter the value is retained. The input signal sent from the drive side in the adjustment mode is a signal that changes at the rising edge of the clock and can be compared as it is, and the value captured by the latch of the input circuit can be used for the determination.

図11は、第1の態様の半導体装置システムの受信側の基本構成を示す図である。図示のように、位相比較回路70は、変化情報検出回路68と位相判定回路69で構成され、位相判定回路69は入力ラッチ62のラッチした値と変化情報検出回路68の検出した入力信号が変化したか変化した場合にはどちらの方向の変化エッジであるかの検出結果に基づいて位相の比較を行う。特に、調整モード時に駆動側から送られる入力信号が、クロックの1サイクルで変化する信号の場合には、変化情報検出回路68は入力信号が変化したかを検出する必要はなく、単にどちらの方向の変化エッジであるかを検出できればよい。   FIG. 11 is a diagram showing a basic configuration on the receiving side of the semiconductor device system according to the first aspect. As shown in the figure, the phase comparison circuit 70 includes a change information detection circuit 68 and a phase determination circuit 69. The phase determination circuit 69 changes the value latched by the input latch 62 and the input signal detected by the change information detection circuit 68. If it has changed, the phase is compared based on the detection result of the change edge in which direction. In particular, when the input signal sent from the drive side in the adjustment mode is a signal that changes in one cycle of the clock, the change information detection circuit 68 does not need to detect whether the input signal has changed, but simply in which direction What is necessary is just to be able to detect whether it is a change edge.

図12は、第1の態様の半導体装置システムにおける受信タイミング調整モード(キャリブレーションモード)と通常モードにおける、駆動側から出力されるクロックCLKと出力信号の例を示す図で、ここでは調整モード時には出力信号がクロックの1サイクルで変化する例を示してある。図示のように、クロックCLKはキャリブレーションモードと通常モードで連続した同じ信号である。出力信号は、キャリブレーションモードではクロックの立ち上がりエッジ毎に変化する信号であり、通常モードでは変化する場合にはクロックの立ち下がりエッジで変化するが、かならず変化するとは限らない。   FIG. 12 is a diagram illustrating an example of the clock CLK and the output signal output from the drive side in the reception timing adjustment mode (calibration mode) and the normal mode in the semiconductor device system of the first aspect. An example in which the output signal changes in one cycle of the clock is shown. As shown, the clock CLK is the same signal that is continuous in the calibration mode and the normal mode. The output signal is a signal that changes at each rising edge of the clock in the calibration mode, and when it changes in the normal mode, it changes at the falling edge of the clock, but it does not always change.

次に、調整モード終了後も入力タイミング調整回路のフィードバック制御が行える構成について説明する。この場合は、駆動側半導体装置は従来通りの構成でよい。
図13は、本発明の第2の態様の受信側の半導体装置の基本構成を示す図である。図示のように、この半導体装置は、外部クロックECLKが入力され、内部クロックCLKを発生するクロック発生回路51と、入力バッファ61と入力ラッチ62を有する入力回路53と、入力回路が入力信号を有効で安定した状態で取り込むように、入力ラッチ62に供給される内部クロックCLKの位相を調整する入力タイミング調整回路54とを備え、入力タイミング調整回路54は、受信した内部クロックCLKを遅延させて入力タイミングクロックDCLKとして出力し、遅延量が選択可能なディレイ回路64と、入力タイミングクロックと入力信号の位相を判定する位相比較回路66と、位相比較回路の比較結果に基づいて、入力タイミングクロックが入力信号に対して所定の位相になるようにディレイ回路の遅延量を変化させるディレイ制御回路65と、入力タイミングクロックを所定の位相ずらして、入力信号と同一位相で変化するシフトクロックを発生させるシフトクロック発生回路70を備え、位相比較回路66は、シフトクロックに同期して入力信号をラッチするダミーラッチ67と、入力信号が変化したか及び変化の方向を検出する変化情報検出回路68と、ダミーラッチ67でラッチした値と変化情報検出回路68の検出結果に基づいて位相を判定する位相判定回路69とを備える。
Next, a configuration in which feedback control of the input timing adjustment circuit can be performed even after the adjustment mode is finished will be described. In this case, the driving-side semiconductor device may have a conventional configuration.
FIG. 13 is a diagram showing a basic configuration of a receiving-side semiconductor device according to the second aspect of the present invention. As shown in the figure, in this semiconductor device, an external clock ECLK is input, a clock generation circuit 51 that generates an internal clock CLK, an input circuit 53 having an input buffer 61 and an input latch 62, and an input circuit that validates an input signal. And an input timing adjustment circuit 54 that adjusts the phase of the internal clock CLK supplied to the input latch 62 so as to capture in a stable state. The input timing adjustment circuit 54 delays the received internal clock CLK and inputs it. A delay circuit 64 that is output as the timing clock DCLK and the delay amount is selectable, a phase comparison circuit 66 that determines the phase of the input timing clock and the input signal, and an input timing clock that is input based on the comparison result of the phase comparison circuit Change the delay amount of the delay circuit so that it has a predetermined phase with respect to the signal. A delay control circuit 65 that shifts the input timing clock by a predetermined phase and generates a shift clock that changes in the same phase as the input signal. The phase comparison circuit 66 is synchronized with the shift clock. A dummy latch 67 that latches the input signal, a change information detection circuit 68 that detects whether the input signal has changed and the direction of the change, and a phase determined based on the value latched by the dummy latch 67 and the detection result of the change information detection circuit 68 And a phase determination circuit 69.

シフトクロックは、入力タイミング信号から所定位相ずれた信号であり、入力タイミング信号の位相が調整されて変化した場合には、それに応じて変化する必要がある。そのため、第2の態様では、入力タイミング調整回路のディレイ回路から出力される入力タイミング信号からシフトクロックを発生させている。シフトクロック発生回路70は、図10のシフトクロック発生回路82と同じ構成が使用できる。
一方、クロック同期型の半導体装置では、装置内部で内部クロックの逆相のクロックを使用することが多く、正確に180°位相がずれた内部クロックを発生させることが多い。そこで、入力信号がクロックの立ち上がりエッジから180°ずれた位相で変化する場合、すなわち、入力信号がクロックの立ち下がりエッジで変化する場合には、この逆相のクロックがシフトクロックとして利用できる。図14は、このような場合に適用可能な本発明の第3の態様の受信側の半導体装置の基本構成を示す図である。図示のように、内部クロックCLKから正確に180°位相のずれた逆相クロック/CLKを発生するシフトクロック発生回路71が設けられ、ディレイ回路がそれぞれCLKと/CLKを同じ遅延量だけ遅延させる2つのディレイ回路−1とディレイ回路−2で構成される点が第2の態様と異なる。
The shift clock is a signal that is shifted by a predetermined phase from the input timing signal. When the phase of the input timing signal is changed and changed, the shift clock needs to be changed accordingly. Therefore, in the second aspect, the shift clock is generated from the input timing signal output from the delay circuit of the input timing adjustment circuit. The shift clock generation circuit 70 can use the same configuration as the shift clock generation circuit 82 of FIG.
On the other hand, in a clock synchronous semiconductor device, a clock having a phase opposite to that of the internal clock is often used inside the device, and an internal clock that is accurately 180 ° out of phase is often generated. Therefore, when the input signal changes at a phase shifted by 180 ° from the rising edge of the clock, that is, when the input signal changes at the falling edge of the clock, this opposite phase clock can be used as the shift clock. FIG. 14 is a diagram showing a basic configuration of a receiving-side semiconductor device according to the third aspect of the present invention applicable to such a case. As shown in the figure, there is provided a shift clock generation circuit 71 that generates a reverse phase clock / CLK that is exactly 180 ° out of phase with the internal clock CLK, and the delay circuits respectively delay CLK and / CLK by the same delay amount 2. It differs from the second embodiment in that it is composed of two delay circuits-1 and delay circuit-2.

以上説明した第2と第3の態様では、受信側で入力タイミング信号を所定位相ずらしたシフトクロックを発生させており、入力信号は通常動作時の信号であり、通常動作時でもフィードバック制御が行える。この第2と第3の態様の半導体装置は、調整モード終了後は終了時の制御値を維持する場合にも適用可能であり、その場合には、駆動側は入力タイミング調整回路の調整に適した信号を出力することが望ましい。   In the second and third aspects described above, a shift clock in which the input timing signal is shifted by a predetermined phase is generated on the receiving side, the input signal is a signal during normal operation, and feedback control can be performed even during normal operation. . The semiconductor devices according to the second and third aspects can also be applied to the case where the control value at the end is maintained after the end of the adjustment mode, in which case the drive side is suitable for the adjustment of the input timing adjustment circuit. It is desirable to output the correct signal.

更に、高速になると、入力信号の値が1クロックサイクル毎に変化した場合には入力信号が一方の値に十分に変化しないうちに次の値に変化するが、同じ値が連続した場合には一方の値に十分に変化しているため、次の値に変化する波形が異なり、位相差が生じる。従って、入力タイミングを調整する場合には、入力信号の前の状態を考慮することが必要である。そこで、本発明の半導体装置システムの受信側は、入力信号が直前の2クロックサイクルで連続して変化したことを検出する最小周期変化検出回路を備え、ディレイ制御回路は、入力信号が直前の2クロックサイクルで連続して変化した時のみ、ディレイ回路の遅延量を変化させるフィードバック制御を行い、それ以外の時にはフィードバック制御を行わないようにする。このような制御は、入力信号の値が1クロックサイクル毎に変化する時に最適なタイミングになるように調整することを意味するので、入力信号の値が連続した場合には、その分入力タイミング信号を補正することが望ましい。そこで、本発明の半導体装置システムの受信側は、信号入力回路での取込みのタイミングを所定量遅延させるかどうかを選択するタイミング補正回路と、入力信号が直前のクロックサイクルで変化したことを検出する直前変化検出回路とを備え、入力信号が直前のクロックサイクルで変化しない場合には、タイミング補正回路により信号入力回路での取込みのタイミングを所定量遅延させる。これにより、入力信号の値が1クロックサイクル毎に変化する場合も、連続する場合も適切なタイミングで入力信号が取り込まれる。   Furthermore, at higher speeds, when the value of the input signal changes every clock cycle, the input signal changes to the next value before changing sufficiently to one value, but when the same value continues Since it has changed sufficiently to one value, the waveform that changes to the next value is different and a phase difference occurs. Therefore, when adjusting the input timing, it is necessary to consider the state before the input signal. Therefore, the receiving side of the semiconductor device system of the present invention includes a minimum cycle change detection circuit that detects that the input signal has continuously changed in the immediately preceding two clock cycles, and the delay control circuit includes the input signal that has been input immediately before the input signal. Only when the clock cycle changes continuously, feedback control is performed to change the delay amount of the delay circuit, and at other times, feedback control is not performed. Such control means that the input signal value is adjusted so that the optimum timing is reached every clock cycle. Therefore, when the input signal value is continuous, the input timing signal is accordingly increased. It is desirable to correct Therefore, the receiving side of the semiconductor device system of the present invention detects a timing correction circuit that selects whether or not to delay the capture timing in the signal input circuit by a predetermined amount, and that the input signal has changed in the immediately preceding clock cycle. When the input signal does not change in the immediately preceding clock cycle, the timing correction circuit delays the capture timing in the signal input circuit by a predetermined amount. As a result, the input signal is fetched at an appropriate timing whether the value of the input signal changes every clock cycle or continuously.

図8の本発明の構成では、入力回路53−0、53−1、…、53−n毎に入力タイミング調整回路54−0、54−1、…、54−nを設けて入力タイミングを調整するため、各入力回路は最適なタイミングで入力信号を取り込むことができる。しかし、各入力回路53−0、53−1、…、53−nの出力には位相ずれがあり、同期していないことになる。内部回路55での動作もクロックに同期して行われるので、このような位相ずれは好ましくなく、内部回路へ入力される信号は同期していることが望ましい。そのため、本発明の半導体装置システムにおける受信側は、各入力回路の出力信号間の位相差を検出して、同一位相になるように調整する信号間タイミング調整回路を更に備える。   In the configuration of the present invention of FIG. 8, input timing adjustment circuits 54-0, 54-1,..., 54-n are provided for the input circuits 53-0, 53-1,. Therefore, each input circuit can capture an input signal at an optimal timing. However, the outputs of the input circuits 53-0, 53-1,..., 53-n have a phase shift and are not synchronized. Since the operation in the internal circuit 55 is also performed in synchronization with the clock, such a phase shift is not preferable, and the signals input to the internal circuit are preferably synchronized. Therefore, the receiving side in the semiconductor device system of the present invention further includes an inter-signal timing adjustment circuit that detects a phase difference between output signals of the input circuits and adjusts the phase to be the same.

信号間タイミング調整回路は、例えば、複数の入力回路の出力がすべて同一サイクルの信号である期間を検出して、この期間中に共通有効信号を出力する共通有効期間検出回路と、共通有効信号の期間中に複数の入力回路の出力をそれぞれラッチする複数のラッチ回路とを備えるように構成するか、複数の入力回路の出力を遅延させる信号ディレイ回路と、複数の入力回路の出力のうちもっとも遅い信号を検出し、もっとも遅い信号に合うように、信号ディレイ回路の遅延量を制御するディレイ制御レジスタとを備えるように構成する。このような調整を行うためには、入力信号がすべて同じパターンで変化することが必要であり、調整モードを設けて行う必要がある。各入力回路の出力の位相差は、各入力回路に設けられた入力タイミング調整回路の制御値により検出することもできる。そこで、信号間タイミング調整回路は、ディレイ制御回路の制御値に基づいて、各信号入力回路の出力信号間の位相差を検出するようにしてもよい。   The inter-signal timing adjustment circuit detects, for example, a period in which outputs of a plurality of input circuits are all signals in the same cycle, and outputs a common effective signal during this period, and a common effective signal It is configured to include a plurality of latch circuits that respectively latch the outputs of the plurality of input circuits during the period, or the signal delay circuit that delays the outputs of the plurality of input circuits and the slowest of the outputs of the plurality of input circuits A delay control register that detects the signal and controls the delay amount of the signal delay circuit so as to match the latest signal is provided. In order to perform such adjustment, it is necessary that all the input signals change in the same pattern, and it is necessary to provide an adjustment mode. The phase difference of the output of each input circuit can also be detected by the control value of the input timing adjustment circuit provided in each input circuit. Therefore, the inter-signal timing adjustment circuit may detect the phase difference between the output signals of the signal input circuits based on the control value of the delay control circuit.

以下、本発明の実施例を説明する。第1実施例は、図10に示した第1の態様の半導体装置システムに対応する。
図15は、本発明の第1実施例の半導体装置システムにおける駆動側半導体装置のクロック発生回路と信号出力回路の部分の構成を示す図である。第1実施例では、図12に示したように、通常モードと受信タイミング調整モードを有し、切り換えられるようになっている。システムを起動する時には、まず受信タイミング調整モードにしてタイミング調整を行った後、通常モードに移行する。また、必要に応じて通常モードを中断して受信タイミング調整モードに移行し、タイミング調整を行った後再び通常モードに戻るようにしてもよい。
Examples of the present invention will be described below. The first embodiment corresponds to the semiconductor device system of the first aspect shown in FIG.
FIG. 15 is a diagram showing the configuration of the clock generation circuit and the signal output circuit of the driving-side semiconductor device in the semiconductor device system according to the first embodiment of the present invention. In the first embodiment, as shown in FIG. 12, a normal mode and a reception timing adjustment mode are provided and can be switched. When starting up the system, first the timing is adjusted to the reception timing adjustment mode, and then the normal mode is entered. Further, if necessary, the normal mode may be interrupted to shift to the reception timing adjustment mode, the timing adjustment may be performed, and then the normal mode may be restored.

図15に示すように、第1実施例の駆動側半導体装置は、クロックCLKを発生して装置の各部に供給するクロック源81と、入力されるクロックCLKから出力タイミングの基礎となる基礎クロックとその半周期シフトした1/2シフトクロックを生成していずれかを出力するシフトクロック発生回路82と、シフトクロック発生回路82の出力するクロックの遅延量を調整して出力信号が外部に出力するクロックと同期するように出力タイミングクロックを調整して出力するディレイ調整回路83と、出力タイミングクロックを出力回路に分配するための等距離配線のクロック分配回路87と、クロック分配回路87からの出力タイミングクロックに同期して出力信号生成回路90の出力する信号を出力する出力回路88−1〜88−nと、出力回路88−1〜88−nに接続された出力端子89−1〜89−nと、ダミー信号生成回路91を有する出力信号生成回路90と、入力される出力回路88−0からの出力信号を受けるダミーカレントミラー回路62と、ダミーカレントミラー回路92の出力を受けてディレイ調整回路83に出力するダミーバッファ回路93とを有する。ディレイ調整回路83は、遅延量が調整できるディレイ回路84と、位相比較回路85と、ディレイ制御回路86とを有し、ダミーカレントミラー回路92とダミーバッファ回路93を介して入力される出力信号とシフトクロック位相シフト回路82の出力する出力タイミングクロックの位相を位相比較回路85で比較し、ディレイ制御回路86はその比較結果に基づいてディレイ回路84の遅延量を調整し、出力信号と出力タイミングクロックの位相が一致するように制御する。これにより内部回路の差にかかわらず、出力信号はクロックに同期して図9に示したようにクロックに対して同じ位相で出力されることになる。第1実施例の駆動側半導体装置は、シフトクロック発生回路82を有する点が特徴であり、他の回路部分についてはこれ以上の説明は省略する。   As shown in FIG. 15, the drive-side semiconductor device of the first embodiment includes a clock source 81 that generates a clock CLK and supplies it to each part of the device, and a basic clock that is the basis of output timing from the input clock CLK. A shift clock generation circuit 82 that generates a ½ shift clock that is shifted by a half cycle and outputs one of them, and a clock that adjusts the delay amount of the clock output from the shift clock generation circuit 82 and outputs an output signal to the outside Delay adjusting circuit 83 for adjusting and outputting the output timing clock so as to synchronize with the output, clock distribution circuit 87 for equidistant wiring for distributing the output timing clock to the output circuit, and output timing clock from clock distribution circuit 87 Output circuits 88-1 to 88-n for outputting signals output from the output signal generation circuit 90 in synchronization with , Output terminals 89-1 to 89-n connected to the output circuits 88-1 to 88-n, an output signal generation circuit 90 having a dummy signal generation circuit 91, and an output from the input output circuit 88-0. A dummy current mirror circuit 62 that receives the signal and a dummy buffer circuit 93 that receives the output of the dummy current mirror circuit 92 and outputs the output to the delay adjustment circuit 83 are included. The delay adjustment circuit 83 includes a delay circuit 84 that can adjust the delay amount, a phase comparison circuit 85, and a delay control circuit 86. The delay adjustment circuit 83 receives an output signal input via the dummy current mirror circuit 92 and the dummy buffer circuit 93. The phase comparison circuit 85 compares the phase of the output timing clock output from the shift clock phase shift circuit 82, and the delay control circuit 86 adjusts the delay amount of the delay circuit 84 based on the comparison result, and the output signal and the output timing clock. Are controlled so that the phases of the two coincide. As a result, the output signal is output in the same phase with respect to the clock as shown in FIG. The driving-side semiconductor device of the first embodiment is characterized in that it has a shift clock generation circuit 82, and further description of other circuit portions is omitted.

第1実施例のシフトクロック発生回路82について説明する前に、正確に所定位相ずれたクロックを発生させる回路について説明する。図16は、クロックCLKの位相を2πi/Nずらしたシフトクロックを発生させる回路構成を示す図である。図示のように、同一の構成を有するディレイ回路−A101とバッファ102、ディレイ回路−B103とバッファ104、…、ディレイ回路−N105とバッファ106の組が、前段の出力が後段の入力になるようにしてN段直列に接続されている。各ディレイ回路は、ディレイ制御回路108により同じ制御値が印加されるので遅延量は同時に変化され、各ディレイ回路の遅延量は同一である。位相比較回路107は最終段の組のバッファ106の出力とクロックCLKの位相を比較し、ディレイ制御回路108はその比較結果に基づいて、最終段の出力とクロックCLKの位相が一致するように、ディレイ回路の遅延量を変化させる。最終段の出力とクロックCLKの位相が一致した時には、各段の出力は1サイクルを正確に1/Nずつシフトした信号である。従って、いずれかの段の出力が所望の位相ずれたクロックであればよく、そのような位相ずれが生じるように段数を決定する。前述のように、ここでは、セットアップ時間とホールド時間が等しく、通常モードにおいては、出力信号がクロックの立ち下がりエッジに同期して変化し、入力回路はクロックの立ち上がりエッジに同期して入力信号を取り込むものとしているので、シフトクロックは180°、すなわち1/2クロックサイクルずれた信号であればよく、上記の段数を2段にすることにより実現できる。   Before describing the shift clock generation circuit 82 of the first embodiment, a circuit for generating a clock accurately shifted by a predetermined phase will be described. FIG. 16 is a diagram showing a circuit configuration for generating a shift clock in which the phase of the clock CLK is shifted by 2πi / N. As shown in the figure, the combination of the delay circuit-A101 and the buffer 102, the delay circuit-B103 and the buffer 104,... N stages are connected in series. Since the same control value is applied to each delay circuit by the delay control circuit 108, the delay amount is changed simultaneously, and the delay amount of each delay circuit is the same. The phase comparison circuit 107 compares the output of the buffer 106 in the final stage set with the phase of the clock CLK. Based on the comparison result, the delay control circuit 108 matches the phase of the final stage output and the clock CLK. Change the delay amount of the delay circuit. When the output of the last stage matches the phase of the clock CLK, the output of each stage is a signal that is exactly 1 / N shifted from one cycle. Accordingly, the output of any stage may be a clock having a desired phase shift, and the number of stages is determined so that such a phase shift occurs. As described above, here, the setup time and hold time are equal, and in the normal mode, the output signal changes in synchronization with the falling edge of the clock, and the input circuit changes the input signal in synchronization with the rising edge of the clock. Since the shift clock is taken in, the shift clock may be 180 °, that is, a signal shifted by 1/2 clock cycle, and can be realized by setting the number of stages to two.

図17は、第1実施例のシフトクロック発生回路82の構成を示す図である。図17に示すように、シフトクロック発生回路82は、同一の構成を有する第1と第2の1/2φディレイ回路110と116と、入力段122と、位相比較回路125と、ディレイ制御回路126と、選択回路127とを有する。第1と第2の1/2φディレイ回路110と116は、それぞれ入力段122と同一の入力段111又は117と、遅延量が調整可能なディレイ回路114又は120と、バッファ回路115又は121を有する。入力段111、117、122は、カレントミラー回路(CM)112、118、123と、バッファ回路113、119、124を有する回路である。カレントミラー回路は、入力される信号の変化を正確に取り込むための回路である。   FIG. 17 is a diagram showing the configuration of the shift clock generation circuit 82 of the first embodiment. As shown in FIG. 17, the shift clock generation circuit 82 includes first and second 1 / 2φ delay circuits 110 and 116 having the same configuration, an input stage 122, a phase comparison circuit 125, and a delay control circuit 126. And a selection circuit 127. The first and second 1 / 2φ delay circuits 110 and 116 each have the same input stage 111 or 117 as the input stage 122, a delay circuit 114 or 120 whose delay amount can be adjusted, and a buffer circuit 115 or 121. . The input stages 111, 117 and 122 are circuits having current mirror circuits (CM) 112, 118 and 123 and buffer circuits 113, 119 and 124. The current mirror circuit is a circuit for accurately capturing changes in an input signal.

入力段111から出力されたクロックは、ディレイ回路−A114で遅延された後、バッファ回路115と入力段117を介してディレイ回路−B120に入力され、ディレイ回路−A114の遅延量と同じ量遅延され、バッファ回路121と入力段122を介して位相比較回路125に入力される。位相比較回路125では、入力段111から出力されたクロックと入力段122から出力されたクロックの位相が比較され、ディレイ制御回路126はその比較結果に基づいて2つの位相が一致するようにディレイ回路−A114とディレイ回路−B120の遅延量を変化させる。2つの位相が一致した時には、ディレイ回路−A114からバッファ115と入力段117を介してディレイ回路−B120に入力するまでの経路と、ディレイ回路−B120からバッファ121と入力段122を介して位相比較回路125入力するまでの経路は同一であるから、ディレイ回路−B120に入力する信号の位相はディレイ回路−A114に入力する信号の位相とちょうど半周期ずれている。従って、バッファ回路115と121からそれぞれ出力されるクロックの位相も半周期ずれており、バッファ回路121からはクロック信号φ1が出力され、バッファ回路115からは半周期シフトした1/2シフトクロックφ1/2が出力されることになる。選択回路127は、モード選択信号に従ってクロック信号φ1と1/2シフトクロックφ1/2のいずれを出力するかを選択する回路で、モード選択信号が通常モードを示す時にはクロック信号φ1を、受信タイミング調整モードを示す時には1/2シフトクロックφ1/2が出力させるように選択する。なお、図から明らかなように、位相シフト回路82に入力されるクロックCLKとバッファ121から出力されるクロック信号φ1は同位相である。   The clock output from the input stage 111 is delayed by the delay circuit-A 114 and then input to the delay circuit-B 120 via the buffer circuit 115 and the input stage 117, and is delayed by the same amount as the delay amount of the delay circuit-A 114. The phase comparison circuit 125 is input via the buffer circuit 121 and the input stage 122. The phase comparison circuit 125 compares the phase of the clock output from the input stage 111 and the phase of the clock output from the input stage 122, and the delay control circuit 126 determines that the two phases match based on the comparison result. -A114 and the delay amount of the delay circuit -B120 are changed. When the two phases match, the path from the delay circuit-A 114 to the delay circuit-B 120 via the buffer 115 and the input stage 117 and the phase comparison from the delay circuit-B 120 via the buffer 121 and the input stage 122 Since the path to the input of the circuit 125 is the same, the phase of the signal input to the delay circuit-B120 is exactly half a period shifted from the phase of the signal input to the delay circuit-A114. Therefore, the phases of the clocks output from the buffer circuits 115 and 121 are also shifted by a half cycle, the clock signal φ1 is output from the buffer circuit 121, and the half-shift clock φ1 / shifted by a half cycle is output from the buffer circuit 115. 2 is output. The selection circuit 127 is a circuit that selects which of the clock signal φ1 and the ½ shift clock φ1 / 2 is output according to the mode selection signal. When the mode selection signal indicates the normal mode, the clock signal φ1 is adjusted. When the mode is indicated, it is selected so that the 1/2 shift clock φ1 / 2 is output. As is apparent from the figure, the clock CLK input to the phase shift circuit 82 and the clock signal φ1 output from the buffer 121 have the same phase.

図15に戻って、受信タイミング調整モード時には、出力信号生成回路90は、ダミー信号生成回路91が生成した受信タイミング調整のためのダミー出力信号を出力し、各出力回路88−0、88−1、…、88−nは1/2シフトクロックφ1/2に同期してダミー出力信号を出力する。ダミー出力信号は、例えば、クロックの周期で変化する信号である。図示していないが、クロック出力回路からは、クロックφ1が出力される。なお、受信タイミング調整モード時には、回路の他の部分は、すべてクロックCLK、すなわちクロックφ1に同期して動作しており、1/2シフトクロックφ1/2に同期して動作するのは、出力タイミングを調整する部分とダミー信号生成回路81のみである。出力タイミングを調整する部分は、シフトクロック発生回路82から出力する信号をクロックφ1に切り換えれば通常の動作を行い、ダミー信号生成回路91は通常モードでは必要ない回路であり、受信タイミング調整モードから通常モードに切り換えても何も問題は生じない。   Returning to FIG. 15, in the reception timing adjustment mode, the output signal generation circuit 90 outputs a dummy output signal for reception timing adjustment generated by the dummy signal generation circuit 91, and outputs each of the output circuits 88-0 and 88-1. ,..., 88-n output a dummy output signal in synchronization with the ½ shift clock φ1 / 2. The dummy output signal is, for example, a signal that changes with a clock cycle. Although not shown, the clock φ1 is output from the clock output circuit. In the reception timing adjustment mode, all other parts of the circuit operate in synchronization with the clock CLK, that is, the clock φ1, and operate in synchronization with the 1/2 shift clock φ1 / 2. Only the portion for adjusting the signal and the dummy signal generation circuit 81 are provided. The portion for adjusting the output timing performs a normal operation when the signal output from the shift clock generating circuit 82 is switched to the clock φ1, and the dummy signal generating circuit 91 is a circuit that is not required in the normal mode. Switching to normal mode will not cause any problems.

以上が第1実施例における駆動側半導体装置の説明である。次に受信側半導体装置について説明する。
図18は、第1実施例における受信側半導体装置のクロック入力回路と信号入力回路の部分の構成を示す図である。ここでは、クロック入力回路と、1組の入力回路と入力タイミング調整回路のみを示すが、実際には入力信号の個数分このような組が設けられており、図示したクロック入力回路から内部クロックCLKが供給される。
The above is the description of the driving side semiconductor device in the first embodiment. Next, the receiving semiconductor device will be described.
FIG. 18 is a diagram showing the configuration of the clock input circuit and the signal input circuit of the receiving-side semiconductor device in the first embodiment. Here, only a clock input circuit, a set of input circuits, and an input timing adjustment circuit are shown, but in reality, such a set is provided for the number of input signals, and the internal clock CLK from the illustrated clock input circuit is provided. Is supplied.

図18に示すように、第1実施例の受信側半導体装置は、駆動側半導体装置から送信されるクロックが入力され、内部クロックCLKを発生するクロック入力回路131と、駆動側半導体装置から送信される信号を入力信号として取り込む入力回路144を有する。入力回路144で取り込まれた入力信号は内部回路に送られる。これは従来通りである。クロック入力回路131は、クロックカレントミラー回路132とクロックバッファ回路133とを有する。入力回路144は、カレントミラー回路140とクロックバッファ回路141とラッチ回路142とを有する。前述のように、カレントミラー回路は送信されてくる信号を正確に受信するために使用される。カレントミラー回路、バッファ回路、及びラッチ回路は従来のものがそのまま使用される。従って、カレントミラー回路とバッファ回路については、ここでは説明を省略するが、ラッチ回路は他の部分の説明と関係するので、後述する。   As shown in FIG. 18, in the receiving-side semiconductor device of the first embodiment, the clock transmitted from the driving-side semiconductor device is input, and the clock-input circuit 131 that generates the internal clock CLK is transmitted from the driving-side semiconductor device. An input circuit 144 that captures the input signal as an input signal. The input signal captured by the input circuit 144 is sent to the internal circuit. This is conventional. The clock input circuit 131 includes a clock current mirror circuit 132 and a clock buffer circuit 133. The input circuit 144 includes a current mirror circuit 140, a clock buffer circuit 141, and a latch circuit 142. As described above, the current mirror circuit is used to accurately receive the transmitted signal. Conventional current mirror circuits, buffer circuits, and latch circuits are used as they are. Therefore, the description of the current mirror circuit and the buffer circuit is omitted here, but the latch circuit is related to the description of other parts and will be described later.

第1実施例の受信側半導体装置は、上記のような従来の構成に加えて、クロック入力回路131から出力される内部クロックCLKが入力され、指示された遅延量だけ遅延させるディレイ回路134と、ディレイ回路134の遅延量を制御するディレイ制御回路135と、ディレイ回路134から出力される遅延クロックDCLKを半周期分遅延させたクロックφ1/2Dを出力する1/2位相シフト回路136と、入力回路144と同等の構成を有するダミー入力回路145と、排他的論理和(EXOR)ゲート143とを有する。ダミー入力回路145は、入力回路144のカレントミラー回路140とクロックバッファ回路141とラッチ回路142とに相当するダミーカレントミラー回路137とダミークロックバッファ回路138とダミーラッチ回路139とを有する。クロックφ1/2Dはあまり正確な遅延量は必要ないため、1/2位相シフト回路136は適当な個数のインバータを接続することにより実現できる。入力信号は、入力回路144とダミー入力回路145に入力される。入力回路144のラッチ回路142は、遅延クロックDCLKに同期して入力信号を取り込む。またダミー入力回路145のダミーラッチ回路139は、クロックφ1/2Dに同期して入力信号を取り込む。ラッチ回路142とダミーラッチ回路139がラッチした信号値LDとDLDはEXORゲート143に入力され、そこで排他的論理和が計算されて位相のずれが判定される。ディレイ制御回路135は、位相のずれの判定結果に基づいて位相ずれを無くすようにディレイ回路134の遅延量を1段ずつ変化させる。   In addition to the conventional configuration as described above, the receiving-side semiconductor device according to the first embodiment receives an internal clock CLK output from the clock input circuit 131 and delays it by an instructed delay amount; A delay control circuit 135 that controls the delay amount of the delay circuit 134, a 1/2 phase shift circuit 136 that outputs a clock φ1 / 2D obtained by delaying the delay clock DCLK output from the delay circuit 134 by a half cycle, and an input circuit A dummy input circuit 145 having a configuration equivalent to that of 144, and an exclusive OR (EXOR) gate 143. The dummy input circuit 145 includes a dummy current mirror circuit 137, a dummy clock buffer circuit 138, and a dummy latch circuit 139 corresponding to the current mirror circuit 140, the clock buffer circuit 141, and the latch circuit 142 of the input circuit 144. Since the clock φ1 / 2D does not require a very accurate delay amount, the 1/2 phase shift circuit 136 can be realized by connecting an appropriate number of inverters. The input signal is input to the input circuit 144 and the dummy input circuit 145. The latch circuit 142 of the input circuit 144 takes in the input signal in synchronization with the delay clock DCLK. The dummy latch circuit 139 of the dummy input circuit 145 takes in the input signal in synchronization with the clock φ1 / 2D. The signal values LD and DLD latched by the latch circuit 142 and the dummy latch circuit 139 are input to the EXOR gate 143, where an exclusive OR is calculated to determine the phase shift. The delay control circuit 135 changes the delay amount of the delay circuit 134 step by step so as to eliminate the phase shift based on the determination result of the phase shift.

図19は、ディレイ回路134とディレイ制御回路135の構成例を示す図である。図示のように、ディレイ回路134は、複数のインバータを直列に接続したインバータ列151と、入力の一方がインバータ列151の2段毎の出力を受けるように設けられた複数のANDゲート152−1、152−2、…、152−nで構成されるANDゲート列と、各ANDゲートの出力がゲートに印加され、ソースは接地され、ドレインが共通に接続されているN−チャンネルトランジスタ153−1、153−2、…、153−nで構成されるトランジスタ列と、各N−チャンネルトランジスタのドレインが共通に接続される信号線と電源の高電位側の間に接続された抵抗154と、入力がこの信号線に接続され内部クロックDCLKを出力するバッファ155とを備える。ディレイ制御回路135は、EXORゲート143の出力CLKCのレベルに応じて、カウントアップとカウントダウンを切り換えるアップ・ダウンカウンタ156と、アップ・ダウンカウンタ156の出力をデコードするデコーダ157とを備える。アップ・ダウンカウンタ156がカウント動作を行うのは、モード選択信号が受信タイミング調整モードを示し、クロックφ1/2Dが立ち上がる時であり、その時のCLKCの値に応じてカウントアップとカウントダウンのいずれかを行う。デコーダ157は、アップ・ダウンカウンタ156の出力に応じて、いずれか1つの出力を「H」にし、他の出力を「L」にする。アップ・ダウンカウンタ156がカウントアップした場合には「H」にする出力位置を右にシフトし、カウントダウンする場合には「H」にする出力位置を左にシフトする。デコーダ157の出力は、順に各ANDゲート152−1、152−2、…、152−nのもう一方の入力に接続されており、デコーダ157から「H」が入力されるANDゲートだけが活性化される。そして、インバータ列の出力のうち、活性化されたANDゲートに入力される信号が内部クロックDCLKとして出力されることになり、どのANDゲートを活性化するかにより、インバータ列を通過する段数が変化するので、内部クロックの遅延量を選択することができる。従って、遅延量制御の調整単位はインバータ2個分の遅延量である。なお、図15や図16に示したディレイ回路とディレイ制御回路として図19に示した構成のものが使用可能である。   FIG. 19 is a diagram illustrating a configuration example of the delay circuit 134 and the delay control circuit 135. As shown in the figure, the delay circuit 134 includes an inverter train 151 in which a plurality of inverters are connected in series, and a plurality of AND gates 152-1 provided so that one of the inputs receives the output of every two stages of the inverter train 151. , 152-2,..., 152-n, and the output of each AND gate is applied to the gate, the source is grounded, and the drain is commonly connected. , 153-2,... 153-n, a resistor 154 connected between the signal line to which the drain of each N-channel transistor is connected in common and the high potential side of the power supply, and an input Includes a buffer 155 connected to the signal line and outputting an internal clock DCLK. The delay control circuit 135 includes an up / down counter 156 that switches between count-up and count-down according to the level of the output CLKC of the EXOR gate 143, and a decoder 157 that decodes the output of the up / down counter 156. The up / down counter 156 performs the counting operation when the mode selection signal indicates the reception timing adjustment mode and the clock φ1 / 2D rises, and either count up or count down is performed according to the value of CLKC at that time. Do. In accordance with the output of the up / down counter 156, the decoder 157 sets one of the outputs to “H” and sets the other output to “L”. When the up / down counter 156 counts up, the output position to be set to “H” is shifted to the right, and when it is counted down, the output position to be set to “H” is shifted to the left. The output of the decoder 157 is sequentially connected to the other input of each of the AND gates 152-1, 152-2, ..., 152-n, and only the AND gate to which "H" is input from the decoder 157 is activated. Is done. Of the outputs from the inverter array, the signal input to the activated AND gate is output as the internal clock DCLK, and the number of stages passing through the inverter array varies depending on which AND gate is activated. Therefore, the delay amount of the internal clock can be selected. Therefore, the adjustment unit of the delay amount control is a delay amount for two inverters. Note that the configuration shown in FIG. 19 can be used as the delay circuit and the delay control circuit shown in FIGS.

図20は、ラッチ回路142の回路構成を示す図であり、ダミーラッチ回路139も同じ回路構成を有する。この回路構成については広く知られているので、ここでは説明を省略する。
図21は、第1実施例のシステムの動作を説明するタイムチャートである。
受信タイミング調整モードでは、駆動側半導体装置11は、クロックCLK(D)の立ち上がりに同期して1周期毎に変化する出力信号CDを出力する。左側には、このような信号が受信側半導体装置12に伝達された時に、入力信号CQはクロックCLK(R)より更に遅れて伝達された場合を、右側には、入力信号CQはクロックCLK(R)より早く伝達された場合を示す。
FIG. 20 is a diagram showing a circuit configuration of the latch circuit 142, and the dummy latch circuit 139 has the same circuit configuration. Since this circuit configuration is widely known, a description thereof is omitted here.
FIG. 21 is a time chart for explaining the operation of the system of the first embodiment.
In the reception timing adjustment mode, the driving-side semiconductor device 11 outputs an output signal CD that changes every cycle in synchronization with the rising edge of the clock CLK (D). On the left side, when such a signal is transmitted to the receiving-side semiconductor device 12, the input signal CQ is transmitted further later than the clock CLK (R). On the right side, the input signal CQ is transmitted to the clock CLK ( R) Shows the case where it was transmitted earlier.

いま、ディレイ回路134での遅延量がクロックの1周期に等しいとすると、ディレイ回路134から出力される基礎クロックDCLKは、クロックCLK(R)をクロック入力回路131での遅延量分遅延させた信号と同じである。カレントミラー回路140とバッファ回路141はクロック入力回路131のクロックカレントミラー回路132とクロックバッファ回路133と同じであるから、入力信号CQがラッチ回路142に入力するまでの遅延量は、クロック入力回路131での遅延量と同じであり、入力信号CQをクロックCLK(R)の立ち上がりに同期して取り込むのと同じ位相関係である。また、同様の理由で、ダミーラッチ回路139は、入力信号をクロックCLK(R)の立ち下がりに同期して取り込むことになる。   If the delay amount in the delay circuit 134 is equal to one cycle of the clock, the basic clock DCLK output from the delay circuit 134 is a signal obtained by delaying the clock CLK (R) by the delay amount in the clock input circuit 131. Is the same. Since the current mirror circuit 140 and the buffer circuit 141 are the same as the clock current mirror circuit 132 and the clock buffer circuit 133 of the clock input circuit 131, the amount of delay until the input signal CQ is input to the latch circuit 142 is the clock input circuit 131. This is the same phase relationship as when the input signal CQ is captured in synchronism with the rising edge of the clock CLK (R). For the same reason, the dummy latch circuit 139 takes in the input signal in synchronization with the falling edge of the clock CLK (R).

図示のように、出力信号CDはクロックCLK(D)の立ち上がりに同期して1周期毎に変化するので、入力信号が立ち上がるのか立ち下がるのかが分かれば、ラッチ回路142がクロックCLK(R)の立ち上がりに同期して取り込んだ信号値を判定することにより、クロックCLK(R)の立ち上がりエッジが入力信号CQの変化エッジに対して進んでいるか遅れているかが判定できる。例えば、入力信号CQが立ち上がる時には、信号値が「L」であれば遅れており、信号値が「H」であれば進んでおり、立ち下がる時には逆である。入力信号CQは1周期毎に変化するので、半周期前の信号値を判定すれば次にどのように変化するかが分かる。第1実施例では、この判定をダミーラッチ回路139の信号値DLDを判定することにより行う。   As shown in the figure, the output signal CD changes every cycle in synchronization with the rising edge of the clock CLK (D). By determining the signal value acquired in synchronization with the rising edge, it can be determined whether the rising edge of the clock CLK (R) is advanced or delayed with respect to the changing edge of the input signal CQ. For example, when the input signal CQ rises, it is delayed if the signal value is “L”, advanced if the signal value is “H”, and vice versa when it falls. Since the input signal CQ changes every cycle, it can be understood how the signal changes next if the signal value of the previous half cycle is determined. In the first embodiment, this determination is performed by determining the signal value DLD of the dummy latch circuit 139.

ダミーラッチ回路139とラッチ回路142の出力DLDとLDは図示のように変化し、DLDとLDの排他的論理和CLKCは図示のように変化する。従って、カウントアップするかカウントダウンするかの判定は、DCLKが立ち上がってLDが変化した後からDCLKが立ち下がって次にDLDが変化するまでの間に行う必要がある。第1実施例では、図19に示したように、アップ・ダウン・カウンタ156のカウント動作を、クロックφ1/2Dが立ち上がる時のCLKCの値に応じて行うようにしている。すなわち、図21のCLKCの部分に矢印で示したタイミングで判定を行っている。従って、左側の入力信号CQがクロックCLK(R)より遅れている場合にはCLKCが「L」であり、基礎クロックCLK2が進んでいるのでアップ・ダウン・カウンタ156をカウントアップさせてディレイ回路134での遅延量を増加させる。また、右側の入力信号CQがクロックCLK(R)より進んでいる場合にはCLKCが「H」であり、アップ・ダウン・カウンタ156をカウントダウンさせてディレイ回路134での遅延量を減少させる。カウントアップ又はカウントダウンを繰り返して位相ずれがなくなると、交互にカウントアップとカウントダウンを繰り返すことになる。このような状態になったところで、モード選択信号を通常モードに切り換えると、図19のANDゲートによりアップ・ダウン・カウンタ156へのクロックの入力が遮断されるので、アップ・ダウン・カウンタ156はカウント値を保持することになる。この状態は、遅延クロックDCLKの立ち上がりエッジが、入力信号の変化エッジと一致する状態である。   The outputs DLD and LD of the dummy latch circuit 139 and the latch circuit 142 change as shown, and the exclusive OR CLKC of DLD and LD changes as shown. Therefore, it is necessary to determine whether to count up or to count down after DCLK rises and LD changes until DCLK falls and DLD changes next. In the first embodiment, as shown in FIG. 19, the counting operation of the up / down counter 156 is performed according to the value of CLKC when the clock φ1 / 2D rises. That is, the determination is performed at the timing indicated by the arrow in the CLKC portion of FIG. Accordingly, when the left input signal CQ is delayed from the clock CLK (R), CLKC is “L”, and the basic clock CLK2 is advanced, so the up / down counter 156 is counted up to delay circuit 134. Increase the amount of delay in When the input signal CQ on the right side is ahead of the clock CLK (R), CLKC is “H”, and the up / down counter 156 is counted down to reduce the delay amount in the delay circuit 134. When the phase shift is eliminated by repeating the count-up or count-down, the count-up and count-down are alternately repeated. In this state, when the mode selection signal is switched to the normal mode, the clock input to the up / down counter 156 is blocked by the AND gate of FIG. 19, so the up / down counter 156 counts. Will hold the value. This state is a state in which the rising edge of the delay clock DCLK coincides with the change edge of the input signal.

通常モード時には、駆動側半導体装置11から出力される出力信号CDは、クロックCLK(D)の立ち下がりに同期して変化するように切り換えられる。図16と図17で説明したように、正確に半周期分ずらすことが可能であるから、クロックCLK(D)の立ち上がりエッジは、出力信号CDの変化エッジのちょうど中間になる。受信側半導体装置12では、DCLKの立ち上がりエッジは上記のように調整されているので、入力信号が半周期分ずれた信号になると、DCLKの立ち上がりエッジが入力信号CQの変化エッジのちょうど中間になる。従って、入力信号が安定する必要のある期間は、ラッチ回路142がセットアップとホールドのために必要な時間の合計になり、最小限にできる。従って、クロックの周期がこの時間に等しくなるまで、クロック周波数を増加させることが可能で、高速化が図れる。   In the normal mode, the output signal CD output from the driving-side semiconductor device 11 is switched so as to change in synchronization with the falling edge of the clock CLK (D). As described with reference to FIGS. 16 and 17, since it is possible to accurately shift the half period, the rising edge of the clock CLK (D) is exactly in the middle of the changing edge of the output signal CD. In the receiving-side semiconductor device 12, the rising edge of DCLK is adjusted as described above. Therefore, when the input signal becomes a signal shifted by a half cycle, the rising edge of DCLK is just in the middle of the changing edge of the input signal CQ. . Therefore, the period during which the input signal needs to stabilize can be minimized by adding up the time required for the latch circuit 142 to set up and hold. Therefore, the clock frequency can be increased until the clock period becomes equal to this time, and the speed can be increased.

第1実施例では受信タイミング調整モードを設ける例を示したが、第2実施例では受信タイミング調整モードを設けず、通常モードで常時受信タイミングを調整する例を説明する。従って、第2実施例では、駆動側半導体装置は、クロックに同期して出力信号を出力すればよく、図15に示した構成から、シフトクロック発生回路82を除いた構成を使用すればよい。   Although an example in which the reception timing adjustment mode is provided is shown in the first embodiment, an example in which the reception timing adjustment mode is not provided in the second embodiment and the reception timing is always adjusted in the normal mode will be described. Therefore, in the second embodiment, the driving-side semiconductor device only needs to output an output signal in synchronization with the clock, and a configuration excluding the shift clock generation circuit 82 from the configuration shown in FIG. 15 may be used.

図22は、第2実施例の受信側半導体装置の受信部の構成を示す図である。第2実施例は、図14に示した第3の態様に対応する実施例である。
第2実施例の受信側半導体装置は、駆動側半導体装置から端子201に入力されるクロックECLKを取り込んで、内部クロックφ1とφ1を半周期ずらした1/2シフトクロックφ1/2を発生させるクロック発生回路202と、端子203−0〜203−nに入力されるクロックECLKに同期した入力信号D0〜Dnを取り込む入力部204−0、204−1、204−nを有する。
FIG. 22 is a diagram illustrating the configuration of the receiving unit of the receiving-side semiconductor device according to the second embodiment. The second embodiment corresponds to the third mode shown in FIG.
The receiving-side semiconductor device of the second embodiment takes in the clock ECLK input to the terminal 201 from the driving-side semiconductor device, and generates a ½ shift clock φ1 / 2 in which the internal clocks φ1 and φ1 are shifted by a half cycle. The generator circuit 202 and input sections 204-0, 204-1, and 204-n that capture input signals D0 to Dn synchronized with a clock ECLK input to terminals 203-0 to 203-n.

図23は、クロック発生回路202の構成を示す図である。図23において、参照番号210、216、222は同一の構成を有する入力回路−1、−2、−3であり、213と219は同一の構成を有するディレイ回路A、A1であり、214と220は同一の構成を有する補助ディレイ回路B、B1であり、215と221は同一の構成を有するバッファ回路であり、225は位相比較回路であり、226はディレイ制御回路である。図から明らかなように、図17に示したシフトクロック発生回路とほぼ同様の構成を有し、異なるのは選択回路127がなく、φ1とφ1/2が両方出力される点と、バッファ115と121の替わりに補助ディレイ回路214と220が設けられ、ディレイ回路213と219の出力ガバッファ215と221を介して出力される点である。図23のクロック発生回路も、図17のシフトクロック発生回路と同様に、正確に半周期ずれたクロック信号を出力することができる。   FIG. 23 is a diagram showing a configuration of the clock generation circuit 202. In FIG. 23, reference numerals 210, 216, and 222 are input circuits -1, -2, and -3 having the same configuration, and 213 and 219 are delay circuits A and A1 having the same configuration. Are auxiliary delay circuits B and B1 having the same configuration, 215 and 221 are buffer circuits having the same configuration, 225 is a phase comparison circuit, and 226 is a delay control circuit. As is apparent from the figure, the shift clock generation circuit shown in FIG. 17 has substantially the same configuration, except that there is no selection circuit 127, both φ1 and φ1 / 2 are output, In this case, auxiliary delay circuits 214 and 220 are provided in place of 121 and output via output gabuffers 215 and 221 of delay circuits 213 and 219. Similarly to the shift clock generation circuit of FIG. 17, the clock generation circuit of FIG. 23 can output a clock signal accurately shifted by a half cycle.

図24は、第2実施例の各入力部の構成を示す図である。図示のように、図18に示した構成と類似の構成を有しており、異なるのは、クロックφ1とφ1/2の位相を調整するために別々にディレイ回路231と232が設けられている点と、EXORゲート143の替わりにラッチ240と位相判定回路241が設けられている点である。   FIG. 24 is a diagram illustrating a configuration of each input unit according to the second embodiment. As shown in the figure, the configuration is similar to the configuration shown in FIG. 18, except that delay circuits 231 and 232 are separately provided to adjust the phases of the clocks φ1 and φ1 / 2. The point is that a latch 240 and a phase determination circuit 241 are provided instead of the EXOR gate 143.

第2実施例の入力回路では、通常の入力信号の取込みはクロックφ1に同期して行い、位相のずれを判定するための入力信号の取込みは、クロックφ1/2に同期してダミー入力回路で行う。従って、ラッチ回路に供給されるクロックφ1とφ1/2は、正確に半周期ずれている必要がある。そのため、ディレイ回路231と232はディレイ制御回路233により同一の遅延量になるように共通に制御され、ディレイ回路231と232から出力されるクロックは正確に半周期ずれた位相関係を維持している。これにより、クロックφ1/2に同期してダミー入力回路で取り込んだ信号値を判定して位相のずれを判定できることになる。   In the input circuit of the second embodiment, the normal input signal is taken in synchronization with the clock φ1, and the input signal for determining the phase shift is taken in the dummy input circuit in synchronization with the clock φ1 / 2. Do. Therefore, the clocks φ1 and φ1 / 2 supplied to the latch circuit need to be accurately shifted by a half cycle. Therefore, the delay circuits 231 and 232 are commonly controlled by the delay control circuit 233 so as to have the same delay amount, and the clocks output from the delay circuits 231 and 232 maintain the phase relationship that is accurately shifted by a half cycle. . As a result, the signal value captured by the dummy input circuit can be determined in synchronization with the clock φ1 / 2 to determine the phase shift.

入力信号は通常の信号であり、第1実施例のように所定のサイクルで変化する信号ではなく、変化する場合も変化しない場合もある。そのため、第2実施例では、クロックφ1/2の立ち上がりエッジの前後に半周期ずれた時点の信号値を検出して、3つの信号値を判定することにより、入力信号が変化したか、変化した場合にはどちらの方向の変化で、位相はどちらにずれているかを判定する。クロックφ1/2の立ち上がりエッジの前後の半周期ずれた時点の信号値は、入力信号を通常に取り込んだ信号であるので、ラッチ回路239の出力を利用する。前側に半周期ずれた時点で取り込んだ信号値は、後側に半周期ずれた時点で入力信号を取り込むと変化してしまうので、変化する前に記憶して1周期の間保持している必要がある。ラッチ240はこのための回路で、φ1の立ち上がりに同期してラッチ239の出力が変化する直前に記憶し、次にφ1が立ち上がるまでの1周期保持する。位相判定回路241は、このようなクロックφ1/2の立ち上がりエッジとその前後に半周期ずれた時点の3つの信号値から、入力信号が変化したか、変化した場合にはどちらの方向の変化で、位相はどちらにずれているかを判定する回路である。前側に半周期ずれた時点の信号値がRG0であり、クロックφ1/2の立ち上がりエッジの時点の信号値がRG1であり、後側に半周期ずれた時点の信号値がRG2である。   The input signal is a normal signal and is not a signal that changes in a predetermined cycle as in the first embodiment, and may or may not change. Therefore, in the second embodiment, the input signal has changed or has changed by detecting the signal value at a time point shifted by a half cycle before and after the rising edge of the clock φ1 / 2 and determining three signal values. In this case, it is determined in which direction the phase is shifted. Since the signal value at the time when the half period before and after the rising edge of the clock φ1 / 2 is shifted is a signal that normally takes the input signal, the output of the latch circuit 239 is used. Since the signal value captured when the half-cycle shifts to the front side changes when the input signal is captured when the half-cycle shifts to the rear side, it must be stored and held for one cycle before the change. There is. The latch 240 is a circuit for this purpose, and stores it immediately before the output of the latch 239 changes in synchronization with the rise of φ1, and holds it for one period until φ1 rises. The phase determination circuit 241 determines whether the input signal has changed or changes in which direction when the input signal has changed from the rising edge of the clock φ1 / 2 and the three signal values shifted by half a period before and after the rising edge. This is a circuit for determining which phase is shifted. The signal value at the time of the half cycle shift to the front side is RG0, the signal value at the time of the rising edge of the clock φ1 / 2 is RG1, and the signal value at the time of the half cycle shift to the rear side is RG2.

図25は、位相判定回路241の構成を示す回路図である。位相判定回路241の動作を図26から図29を参照して説明する。
位相ずれがない状態では、入力信号はφ1の立ち下がりエッジで変化する。状態1は入力信号が「H」のままで変化しない時であり、この時のRG0、RG1、RG2はすべて「H」であり、位相のずれは判定できないので、カウント動作をしないようにする。同様に、状態2は入力信号が「L」のままで変化しない時であり、この時のRG0、RG1、RG2はすべて「L」であり、位相のずれは判定できないので、カウント動作をしないようにする。
FIG. 25 is a circuit diagram showing a configuration of the phase determination circuit 241. The operation of the phase determination circuit 241 will be described with reference to FIGS.
When there is no phase shift, the input signal changes at the falling edge of φ1. State 1 is when the input signal remains “H” and does not change. At this time, RG0, RG1, and RG2 are all “H”, and the phase shift cannot be determined. Therefore, the count operation is not performed. Similarly, the state 2 is when the input signal remains “L” and does not change. At this time, RG0, RG1, and RG2 are all “L”, and the phase shift cannot be determined. To.

図27に示す状態3と4は、入力信号が「H」から「L」に変化する場合で、状態3のようにφ1/2の立ち上がりエッジに対して入力信号の変化エッジが遅れている場合には、RG0、RG1、RG2はそれぞれ「H」、「H」、「L」になる。この場合は、ディレイ回路231と232の遅延量を増加させる。状態4のようにφ1/2の立ち上がりエッジに対して入力信号の変化エッジが進んでいる場合には、RG0、RG1、RG2はそれぞれ「H」、「L」、「L」になる。この場合は、ディレイ回路231と232の遅延量を減少させる。   States 3 and 4 shown in FIG. 27 are cases where the input signal changes from “H” to “L”, and the change edge of the input signal is delayed with respect to the rising edge of φ1 / 2 as in state 3. RG0, RG1, and RG2 are “H”, “H”, and “L”, respectively. In this case, the delay amounts of the delay circuits 231 and 232 are increased. When the change edge of the input signal is advanced with respect to the rising edge of φ1 / 2 as in state 4, RG0, RG1, and RG2 are “H”, “L”, and “L”, respectively. In this case, the delay amounts of the delay circuits 231 and 232 are reduced.

図28に示す状態5と6は、入力信号が「L」から「H」に変化する場合で、状態5のようにφ1/2の立ち上がりエッジに対して入力信号の変化エッジが遅れている場合には、RG0、RG1、RG2はそれぞれ「L」、「L」、「H」になる。この場合は、ディレイ回路231と232の遅延量を増加させる。状態6のようにφ1/2の立ち上がりエッジに対して入力信号の変化エッジが進んでいる場合には、RG0、RG1、RG2はそれぞれ「L」、「H」、「H」になる。この場合は、ディレイ回路231と232の遅延量を減少させる。   States 5 and 6 shown in FIG. 28 are cases where the input signal changes from “L” to “H”, and the change edge of the input signal is delayed with respect to the rising edge of φ1 / 2 as in state 5. RG0, RG1, and RG2 become “L”, “L”, and “H”, respectively. In this case, the delay amounts of the delay circuits 231 and 232 are increased. When the change edge of the input signal is advanced with respect to the rising edge of φ1 / 2 as in state 6, RG0, RG1, and RG2 are “L”, “H”, and “H”, respectively. In this case, the delay amounts of the delay circuits 231 and 232 are reduced.

図29は、上記の各状態とその時のRG0、RG1、RG2の値と、必要な操作を表にしたものである。
図25の位相判定回路は、状態1と2の場合にはホールド信号として「L」を、アップ/ダウン信号として「H」を出力し、状態3から6の場合にはホールド信号として「H」を出力し、その上で、状態3と5の時にはアップ/ダウン信号としてカウントアップを指示する「H」を出力し、状態4と6の時にはアップ/ダウン信号としてカウントダウンを指示する「L」を出力する。
FIG. 29 is a table showing the above states, the values of RG0, RG1, and RG2 at that time, and the necessary operations.
The phase determination circuit of FIG. 25 outputs “L” as a hold signal in the states 1 and 2, “H” as the up / down signal, and “H” as the hold signal in the states 3 to 6. In the state 3 and 5, “H” is output as an up / down signal, and “L” is output as an up / down signal in the states 4 and 6. Output.

図30は、第2実施例のディレイ回路231及びディレイ制御回路233の構成を示す図である。図24に示すように、ディレイ回路231と同一の構成を有し、ディレイ制御回路233の同一の制御値で制御されるディレイ回路232が設けられているが、ここでは省略してある。図示のように、図19の構成を類似の構成を有しており、異なるのは、CLKCとしてアップ/ダウン信号が入力され、モード選択信号の替わりにホールド信号が入力され、φ1/2Dの替わりにディレイ回路−2から出力されるクロックφ1/2を分周回路159で分周した信号が入力される点である。位相判定回路241での演算及びその結果に基づくアップ・ダウンカウンタ156及びデコーダ157での制御値変更動作により、ディレイ回路134での遅延量が変化するまでにある程度の時間が必要であり、この時間がクロックの半周期より長い場合には、判定結果に基づいて遅延量を変化させても実際に遅延量が変化するのは次の判定が終了した後であり、フィードバックの時間遅れが生じる。このようなフィードバックの時間遅れがあると、位相が一致する付近で、ディレイ回路の2段分の時間範囲で遅延量が周期的に変動することになる。本実施例では、このような問題が生じないように、クロックφ1を分周回路159で分周した後入力している。これにより、フィードバックは数クロックに1回行われることになり、上記の問題は生じない。   FIG. 30 is a diagram showing the configuration of the delay circuit 231 and the delay control circuit 233 of the second embodiment. As shown in FIG. 24, a delay circuit 232 having the same configuration as the delay circuit 231 and controlled by the same control value of the delay control circuit 233 is provided, but is omitted here. As shown in the figure, the configuration of FIG. 19 has a similar configuration, except that an up / down signal is input as CLKC, a hold signal is input instead of a mode selection signal, and φ1 / 2D is replaced. In addition, a signal obtained by dividing the clock φ1 / 2 output from the delay circuit-2 by the frequency dividing circuit 159 is input. A certain amount of time is required until the delay amount in the delay circuit 134 changes due to the operation in the phase determination circuit 241 and the control value changing operation in the up / down counter 156 and the decoder 157 based on the result. Is longer than a half cycle of the clock, even if the delay amount is changed based on the determination result, the delay amount actually changes after the next determination is completed, and a feedback time delay occurs. When there is such a feedback time delay, the delay amount periodically fluctuates in the time range corresponding to two stages of the delay circuit in the vicinity of the phase matching. In this embodiment, the clock φ1 is input after being divided by the frequency dividing circuit 159 so that such a problem does not occur. As a result, feedback is performed once every several clocks, and the above problem does not occur.

第2実施例の半導体装置の入力回路では、半導体装置の動作中は常時位相ずれを調整する動作が行われる。従って、半導体装置の動作中は常時位相ずれを調整する動作が行われるので、温度変化等によって遅延量に差が生じても、自動的に位相ずれをなくすように調整が行われる。第2実施例の半導体装置の入力回路は、モードの切り換え等は行う必要がない。しかし、システムの起動直後は大きくずれている可能性があるので、適当なクロック数分イニシャライズ期間を設け、キャリブレーション動作を行う必要がある。そこで、第2実施例では、最大限ずれている状態から収束するまでに要するクロック数分の時間以上にイニシャライズ期間の時間を設定し、駆動側半導体装置にはダミー信号発生回路を設け、イニシャライズ期間には受信タイミングを調整するのに適した周期的に変化するダミー信号が出力されるようにしている。受信側半導体装置は、イニシャライズ期間中にこのダミー信号に基づいて入力タイミング調整回路の調整を行い、イニシャライズ期間終了後には通常の入力信号で入力タイミング調整回路の調整を行う。   In the input circuit of the semiconductor device of the second embodiment, an operation for adjusting the phase shift is always performed during the operation of the semiconductor device. Therefore, since the operation for adjusting the phase shift is always performed during the operation of the semiconductor device, the adjustment is performed so as to automatically eliminate the phase shift even if the delay amount is changed due to a temperature change or the like. The input circuit of the semiconductor device according to the second embodiment need not perform mode switching or the like. However, since there may be a large shift immediately after system startup, it is necessary to provide an initialization period for an appropriate number of clocks and perform a calibration operation. Therefore, in the second embodiment, the initialization period is set to be equal to or longer than the number of clocks required to converge from the state of maximum deviation, the drive-side semiconductor device is provided with a dummy signal generation circuit, and the initialization period Is configured to output a periodically changing dummy signal suitable for adjusting the reception timing. The receiving-side semiconductor device adjusts the input timing adjustment circuit based on this dummy signal during the initialization period, and adjusts the input timing adjustment circuit with a normal input signal after the initialization period ends.

図31は第3実施例の受信側半導体装置のクロック発生回路を、図32は第3実施例の受信側半導体装置の入力部の構成を示す図である。第3実施例は、第2実施例のクロック発生回路と入力回路の一部を変更した例で、基本的な構成は第2実施例と同じである。
図31に示すように、第3実施例のクロック発生回路は、図23に示した第2実施例のクロック発生回路から、入力回路216と222を除いたものである。2つの入力回路216と222が同時に除かれているので、ディレイ回路253からディレイ回路256に至る経路と、ディレイ回路256から位相比較回路259に至る経路は同じであり、クロックφ1とそれを正確に半周期ずらしたクロックφ1/2が出力される。カレントミラー回路は信号を正確なタイミングで取り込むために使用されるが、本発明では位相が調整されるので、この点の制約は少なく、カレントミラー回路を使用しなくてもよい。
FIG. 31 shows the clock generation circuit of the receiving-side semiconductor device of the third embodiment, and FIG. 32 shows the configuration of the input section of the receiving-side semiconductor device of the third embodiment. The third embodiment is an example in which a part of the clock generation circuit and the input circuit of the second embodiment is changed, and the basic configuration is the same as that of the second embodiment.
As shown in FIG. 31, the clock generation circuit of the third embodiment is obtained by removing the input circuits 216 and 222 from the clock generation circuit of the second embodiment shown in FIG. Since the two input circuits 216 and 222 are removed at the same time, the path from the delay circuit 253 to the delay circuit 256 is the same as the path from the delay circuit 256 to the phase comparison circuit 259. A clock φ1 / 2 shifted by a half cycle is output. The current mirror circuit is used to capture a signal at an accurate timing. However, since the phase is adjusted in the present invention, there are few restrictions on this point, and the current mirror circuit may not be used.

図32に示すように、第3実施例の入力部(入力回路と入力タイミング調整回路)は、図24に示した第2実施例の入力部から、カレントミラー回路237、バッファ回路238、ダミーカレントミラー回路234、ダミーバッファ回路235を除き、ラッチ回路の替わりにφディレイ回路276を設け、ディレイ制御回路273で判定結果に応じてカウント動作をするタイミングを調整するディレイ回路278を設けたものである。   As shown in FIG. 32, the input unit (input circuit and input timing adjustment circuit) of the third embodiment is connected to the current mirror circuit 237, the buffer circuit 238, the dummy current from the input unit of the second embodiment shown in FIG. Except for the mirror circuit 234 and the dummy buffer circuit 235, a φ delay circuit 276 is provided in place of the latch circuit, and a delay circuit 278 is provided for adjusting the timing at which the delay control circuit 273 performs the count operation according to the determination result. .

上記のように、カレントミラー回路は信号を正確なタイミングで取り込むために使用されるが、本発明では位相が調整されるので、この点の制約な少なく、カレントミラー回路を使用しなくてもよいので、カレントミラー回路を除いている。カレントミラー回路には常時電流が流れるため電力消費が大きいが、カレントミラー回路を使用しないので消費電力を低減できる。   As described above, the current mirror circuit is used to capture a signal at an accurate timing. However, since the phase is adjusted in the present invention, there is little restriction on this point, and the current mirror circuit need not be used. Therefore, the current mirror circuit is excluded. The current mirror circuit consumes a large amount of power because a current always flows. However, since the current mirror circuit is not used, the power consumption can be reduced.

また、第2実施例では、クロックφ1を分周回路で分周することによりフィードバックの遅れによる問題が生じないようにしていたが、第3実施例では、ディレイ回路278で適当なタイミング信号を生成し、このタイミング信号でアップ・ダウン・カウンタのカウント動作が行われるようにすることで、フィードバックの遅れを低減して、上記の問題が生じないようにしている。   In the second embodiment, the clock φ1 is divided by the frequency dividing circuit so as not to cause a problem due to feedback delay. In the third embodiment, the delay circuit 278 generates an appropriate timing signal. In addition, the count operation of the up / down counter is performed with this timing signal, so that the delay in feedback is reduced and the above problem does not occur.

第2実施例及び第3実施例では、クロック発生回路が内部クロックと内部クロックから正確に1/2周期ずれたシフトクロックを発生させ、入力タイミング調整回路にはそれぞれを遅延させる2つのディレイ回路を設けていたが、図13に示した第2の態様のように、入力タイミングを調整するためのディレイ回路の出力から正確に1/2周期ずれたシフトクロックを発生させることも可能である。第4実施例は、このような実施例である。
図33は、第4実施例の入力回路と入力タイミング調整回路の構成を示す図である。第4実施例の入力回路と入力タイミング調整回路は、図示のように、図24に示した第2実施例の回路と類似の構成を有しており、異なるのは、ディレイ回路が1つで、その出力からシフトクロックを発生させるシフトクロック発生回路289が設けられている点と、ダミーラッチ284には入力回路のバッファ回路287の出力が入力され、ダミーカレントミラー回路とダミーバッファ回路が除かれている点と、ディレイ制御回路282の制御値が変化しなくなったかを監視する制御値監視回路290が設けられている点である。シフトクロック発生回路289はこれまで説明したものが使用される。第4実施例の入力回路と入力タイミング調整回路は、上記の点を除けば、第2実施例の回路とほぼ同じ動作をする。
In the second and third embodiments, the clock generation circuit generates an internal clock and a shift clock that is exactly ½ cycle shifted from the internal clock, and the input timing adjustment circuit includes two delay circuits for delaying each. However, as in the second mode shown in FIG. 13, it is also possible to generate a shift clock that is exactly ½ cycle shifted from the output of the delay circuit for adjusting the input timing. The fourth embodiment is such an embodiment.
FIG. 33 is a diagram showing the configuration of the input circuit and input timing adjustment circuit of the fourth embodiment. As shown in the figure, the input circuit and input timing adjustment circuit of the fourth embodiment have the same configuration as that of the circuit of the second embodiment shown in FIG. 24, except that one delay circuit is used. A shift clock generation circuit 289 for generating a shift clock from the output is provided, and the output of the buffer circuit 287 of the input circuit is input to the dummy latch 284, and the dummy current mirror circuit and the dummy buffer circuit are excluded. And a control value monitoring circuit 290 that monitors whether the control value of the delay control circuit 282 has changed. The shift clock generation circuit 289 described above is used. The input circuit and input timing adjustment circuit of the fourth embodiment operate substantially the same as the circuit of the second embodiment except for the above points.

前述のように、第2実施例の回路では、システムの起動後のイニシャライズ期間を十分に長くして、たとえ最大限ずれている状態からでもイニシャライズ期間内には制御値が収束するようにしていた。第4実施例では、制御値監視回路290を設け、ディレイ制御回路282の制御値の変動を監視できるようにしている。入力タイミング信号が最適な状態に設定された時には、ディレイ制御回路282の制御値は変化しなくなると考えられるので、制御値監視回路290が同じ制御値が連続したことを検出した時には、入力タイミング信号が最適な状態に設定されたと判定する。   As described above, in the circuit of the second embodiment, the initialization period after starting the system is made sufficiently long so that the control value converges within the initialization period even from a state of maximum deviation. . In the fourth embodiment, a control value monitoring circuit 290 is provided so that fluctuations in the control value of the delay control circuit 282 can be monitored. When the input timing signal is set to the optimum state, it is considered that the control value of the delay control circuit 282 does not change. Therefore, when the control value monitoring circuit 290 detects that the same control value continues, the input timing signal Is determined to be in an optimal state.

図34は、第4実施例における動作モードを示す図である。システムの起動に応じてパワーオンリセット信号が出され、それに応じて初期化モード(キャリブレーションモード)が開始される。キャリブレーションモードでは、駆動側半導体装置は所定のサイクルで値が切り替わる信号を出力し、受信側半導体装置はこれを受けて入力タイミング調整回路の制御値を最適なタイミングになるように徐々に変化させる。入力タイミングが最適になった時点では、上記のように、ディレイ制御回路282の制御値が変化しなくなり、制御値監視回路290が同じ制御値が連続したことを検出して制御値監視信号をオンにする。これに応じてシステムはモード信号を通常モードを示すように切り換え、通常動作が開始される。受信側半導体装置の入力タイミング調整回路は、通常モードになっても、入力信号に対して位相比較を行い、その比較結果に基づいてフィードバック制御を続ける。   FIG. 34 is a diagram showing an operation mode in the fourth embodiment. A power-on reset signal is issued in response to system startup, and an initialization mode (calibration mode) is started accordingly. In the calibration mode, the driving-side semiconductor device outputs a signal whose value is switched in a predetermined cycle, and the receiving-side semiconductor device receives this and gradually changes the control value of the input timing adjustment circuit so as to reach an optimal timing. . As described above, when the input timing becomes optimal, the control value of the delay control circuit 282 does not change, and the control value monitoring circuit 290 detects that the same control value continues and turns on the control value monitoring signal. To. In response to this, the system switches the mode signal to indicate the normal mode, and normal operation is started. Even in the normal mode, the input timing adjustment circuit of the receiving-side semiconductor device performs phase comparison on the input signal and continues feedback control based on the comparison result.

以上説明した第1実施例から第4実施例では、実際に取り込んだ入力信号の値を判定することにより入力信号と入力タイミング信号の位相を比較し、最適なタイミングになるように調整している。ところでクロックの周期が非常に短くなった場合、入力信号が1クロックサイクル毎に変化した場合と、同じ値が連続した場合とでは、最適な入力タイミングに差が生じる。   In the first to fourth embodiments described above, the phase of the input signal and the input timing signal are compared by determining the value of the input signal that has actually been captured, and the timing is adjusted to the optimum timing. . By the way, when the clock cycle becomes very short, there is a difference in the optimum input timing between when the input signal changes every clock cycle and when the same value continues.

図35は、この問題を説明する図であり、実線が入力信号が1クロックサイクル毎に変化する場合の入力信号のレベルの変化を、破線が同じ値が連続した場合の入力信号のレベルの変化を示す。図示のように、入力信号が1クロックサイクル毎に変化すると、入力信号が十分なレベルまで変化しないうちに次のレベルに変化を始める。すなわち、入力信号は途中のレベルまでしか変化せず、振幅が小さくなる。これに対して入力信号が同じ値で連続した場合、入力信号は十分なレベルまで変化する。このような同じ値で連続して十分なレベルになった信号が変化した場合、直前の2サイクルで変化して途中のレベルまでしか変化していない場合に比べて振幅の変化が大きくなり、中間のレベルを通過して変化するまでの時間に遅れが生じる。従って、クロックCLKの立ち下がりエッジで位相比較を行う場合、入力信号の値が直前の2サイクルで変化した場合と、同じ値である場合で、位相比較の結果にこの遅れの分だけ差を生じることになる。このため、どのような入力信号のパターンに対して入力タイミングを調整するかにより、図の遅れの分だけずれが生じる。また、図示のように、変化した入力信号を取り込む場合の最適なタイミングも、入力信号の値が直前の2サイクルで変化した場合と、同じ値である場合で差が生じる。   FIG. 35 is a diagram for explaining this problem. A solid line indicates a change in the input signal level when the input signal changes every clock cycle, and a broken line indicates a change in the input signal level when the same value continues. Indicates. As shown in the figure, when the input signal changes every clock cycle, the input signal starts changing to the next level before changing to a sufficient level. That is, the input signal changes only to an intermediate level, and the amplitude becomes small. On the other hand, when the input signal continues with the same value, the input signal changes to a sufficient level. When the signal that has continuously reached a sufficient level at the same value changes, the change in amplitude becomes larger than that in the case where the signal changes only in the previous two cycles and changes only to the middle level. There is a delay in the time it takes to pass through the level and change. Therefore, when the phase comparison is performed at the falling edge of the clock CLK, a difference is generated in the phase comparison result between the case where the value of the input signal is the same as the value changed in the previous two cycles and the result of the phase comparison. It will be. For this reason, a shift corresponding to the delay in the figure occurs depending on what input signal pattern the input timing is adjusted. Further, as shown in the figure, the optimum timing when the changed input signal is taken in also differs between the case where the value of the input signal is the same value as that in the last two cycles.

第5実施例では、上記の入力タイミングの調整において入力信号パターンにより差が生じる問題を、入力信号の値が直前の2サイクルで変化した場合にのみ位相の比較を行って、フィードバック補正を行うことで解決する。
図36は、第5実施例の受信側半導体装置の入力回路と入力タイミング調整回路の構成を示す図である。図示のように、第5実施例の入力回路と入力タイミング調整回路は、図24に示した第2実施例の入力部と類似しており、ラッチ306の出力を更にラッチするラッチ307が設けられ、その出力が位相判定回路308にRG3として与えられることである。ラッチ307は、ラッチ306の出力を、ラッチ306と同様にディレイ回路−1の出力する入力タイミング信号に同期して取り込むので、ラッチ306の出力を更に1クロックサイクル保持する役割を行うことになる。また、ディレイ制御回路303の制御値を変更するタイミングとしてディレイ回路301の出力をディレイ回路309で遅延させた信号が入力されるが、これは図32に示した第3実施例の入力部と同じである。
In the fifth embodiment, the problem that a difference occurs due to the input signal pattern in the above-described input timing adjustment is performed by performing phase correction only when the value of the input signal changes in the immediately preceding two cycles and performing feedback correction. To solve.
FIG. 36 is a diagram illustrating the configuration of the input circuit and the input timing adjustment circuit of the receiving-side semiconductor device according to the fifth embodiment. As shown, the input circuit and the input timing adjustment circuit of the fifth embodiment are similar to the input section of the second embodiment shown in FIG. 24, and a latch 307 for further latching the output of the latch 306 is provided. The output is given to the phase determination circuit 308 as RG3. Since the latch 307 takes in the output of the latch 306 in synchronization with the input timing signal output from the delay circuit-1 in the same manner as the latch 306, it performs the role of holding the output of the latch 306 for one more clock cycle. Further, as a timing for changing the control value of the delay control circuit 303, a signal obtained by delaying the output of the delay circuit 301 by the delay circuit 309 is input, which is the same as the input unit of the third embodiment shown in FIG. It is.

図37は、第5実施例における入力信号のパターンと、各ラッチの取込み値と、位相判定の関係を説明する図である。ラッチ305、306、307は、それぞれ入力タイミング信号に同期して、入力信号、及び前段の出力を取り込み、RG2、RG0、RG3として出力し、ラッチ304は入力タイミング信号から正確に半周期ずれたタイミングで入力信号を取り込んで、RG1として出力するので、RG0、RG1、RG2、RG3は、図示のような関係になる。Qaは「高(H)」又は「低(L)」のままで変化しない入力信号を表し、Qbは1つ前のサイクルでは変化したが、直前のサイクルでは変化しなかった入力信号を表し、QcとQdは1つ前のサイクルでは変化しなかったが、直前のサイクルでは変化した入力信号を表し、Qcは入力タイミング信号DCLKの位相が進んでいる場合を、Qdは入力タイミング信号DCLKの位相が遅れている場合を表し、QeとQfは直前の2サイクルで連続して変化した場合を表し、Qeは入力タイミング信号DCLKの位相が進んでいる場合を、Qfは入力タイミング信号DCLKの位相が遅れている場合を表す。上記のように、第5実施例では、入力信号の値が直前の2サイクルで変化した場合にのみ位相の比較を行って、フィードバック補正を行うので、入力信号Qeの場合には入力タイミング信号DCLKを遅延させるようにディレイ制御回路303の制御値を変化させ、入力信号Qfの場合には入力タイミング信号DCLKを進ませるようにディレイ制御回路303の制御値を変化させ、それ以外の場合には、ディレイ制御回路303の制御値を維持する。   FIG. 37 is a diagram for explaining the relationship among the pattern of the input signal, the fetch value of each latch, and the phase determination in the fifth embodiment. The latches 305, 306, and 307 take the input signal and the previous stage output in synchronization with the input timing signal, and output them as RG2, RG0, and RG3. Since the input signal is taken in and output as RG1, RG0, RG1, RG2, and RG3 have the relationship shown in the figure. Qa represents an input signal that remains “high (H)” or “low (L)” and does not change, Qb represents an input signal that has changed in the previous cycle, but has not changed in the immediately preceding cycle, Qc and Qd do not change in the previous cycle, but represent the input signal changed in the immediately preceding cycle, Qc indicates that the phase of the input timing signal DCLK is advanced, and Qd indicates the phase of the input timing signal DCLK. Qe and Qf represent the case where the phase of the input timing signal DCLK is advanced, Qe represents the case where the phase of the input timing signal DCLK has advanced, and Qf represents the phase of the input timing signal DCLK. It represents the case where it is late. As described above, in the fifth embodiment, the phase is compared and the feedback correction is performed only when the value of the input signal has changed in the last two cycles. Therefore, in the case of the input signal Qe, the input timing signal DCLK The control value of the delay control circuit 303 is changed so as to delay the input timing signal DCLK, and the control value of the delay control circuit 303 is changed so as to advance the input timing signal DCLK. The control value of the delay control circuit 303 is maintained.

図38は位相判定回路308の回路図であり、図39はその真理値表である。図38の回路により図39の真理値表になるので、入力信号が図37のQeとQfの場合のみ、ホールド信号は「低(L)」になって、アップ/ダウン信号に応じてディレイ制御回路303の制御値を変化させ、入力信号が図37のQa〜Qdの場合には、ホールド信号は「高(H)」になって、ディレイ制御回路303の制御値を維持する。   FIG. 38 is a circuit diagram of the phase determination circuit 308, and FIG. 39 is a truth table thereof. Since the circuit of FIG. 38 provides the truth table of FIG. 39, the hold signal becomes “low (L)” only when the input signals are Qe and Qf of FIG. 37, and delay control is performed according to the up / down signal. When the control value of the circuit 303 is changed and the input signals are Qa to Qd in FIG. 37, the hold signal becomes “high (H)” and the control value of the delay control circuit 303 is maintained.

上記のように、変化した入力信号を取り込む場合の最適なタイミングも、入力信号の値が直前の2サイクルで変化した場合と、同じ値である場合で差が生じる。第6実施例では、第5実施例と同じように入力タイミングを調整した上で、入力信号が直前の2サイクルで異なる値の場合にはその入力タイミング信号に同期して入力信号を取り込むが、直前の2サイクルで同じ値の場合には、次の入力タイミング信号を所定量遅延させて取り込む。   As described above, the optimum timing for capturing a changed input signal also differs between the case where the value of the input signal is the same value as the case where the value of the input signal is changed in the previous two cycles. In the sixth embodiment, after adjusting the input timing as in the fifth embodiment, if the input signal has a different value in the previous two cycles, the input signal is captured in synchronization with the input timing signal. If the values are the same in the previous two cycles, the next input timing signal is fetched with a predetermined delay.

図40は、第6実施例の入力回路の構成を示す図であり、図36の第5実施例とは、スイッチ310と補正用ディレイ回路311が設けられ、ラッチ305に供給される入力タイミング信号DCLKを、補正制御信号H1に応じて、所定量遅延するかしないかの選択が可能になっている点が異なる。図41は第6実施例のスイッチ310と補正用ディレイ回路311の構成を示す図であり、トランスファーゲート321と322及びインバータ323がスイッチ310を構成し、2段のインバータ324と325が補正用ディレイ回路311を構成する。位相判定回路308から出力される補正制御信号H1は、入力信号の値が直前の2サイクルで変化した場合には「L」に、同じ値である場合には「H」になる。補正制御信号H1が「L」の時には、トランスファーゲート322が通過状態になり、入力タイミング信号DCLKは遅延されずにそのままラッチ305に入力され、補正制御信号H1が「H」の時には、トランスファーゲート321が通過状態になり、入力タイミング信号DCLKは2段のインバータ324と325の分遅延されてラッチ305に入力される。   FIG. 40 is a diagram showing the configuration of the input circuit of the sixth embodiment. The fifth embodiment of FIG. 36 is different from the fifth embodiment in that an input timing signal supplied to the latch 305 is provided with a switch 310 and a correction delay circuit 311. The difference is that it is possible to select whether or not DCLK is delayed by a predetermined amount in accordance with the correction control signal H1. 41 is a diagram showing the configuration of the switch 310 and the correction delay circuit 311 of the sixth embodiment. The transfer gates 321 and 322 and the inverter 323 constitute the switch 310, and the two-stage inverters 324 and 325 are the correction delay. The circuit 311 is configured. The correction control signal H1 output from the phase determination circuit 308 becomes “L” when the value of the input signal changes in the last two cycles, and becomes “H” when the value is the same. When the correction control signal H1 is “L”, the transfer gate 322 is in a passing state, and the input timing signal DCLK is input to the latch 305 without delay, and when the correction control signal H1 is “H”, the transfer gate 321 is passed. The input timing signal DCLK is delayed by the two-stage inverters 324 and 325 and input to the latch 305.

図42は第6実施例の位相判定回路312の構成を示す図であり、図43はその真理値表である。図38及び図39と比較して明らかなように、第5実施例の位相判定回路308に、直前の2サイクルで入力信号の値が異なるか判定する機能が付加されており、直前の2サイクルで入力信号の値が異なるQa、Qc及びQdの場合には補正制御信号H1が「H」になり、直前の2サイクルで入力信号の値が同じであるQb、Qe及びQfの場合には補正制御信号H1が「L」になる。   FIG. 42 is a diagram showing a configuration of the phase determination circuit 312 of the sixth embodiment, and FIG. 43 is a truth table thereof. As is apparent from comparison with FIGS. 38 and 39, the phase determination circuit 308 of the fifth embodiment is added with a function for determining whether the value of the input signal is different in the immediately preceding two cycles. In the case of Qa, Qc and Qd having different input signal values, the correction control signal H1 becomes “H”, and in the case of Qb, Qe and Qf having the same input signal value in the previous two cycles, correction is performed. The control signal H1 becomes “L”.

これまで説明した第1実施例から第6実施例では、受信側半導体装置は図8に示すような基本構成を有し、各入力回路毎に入力タイミング調整回路を設けて、各入力信号毎に最適なタイミングで取り込めるように調整していた。そのため、各入力回路から出力される信号の位相が異なるという問題が生じる。図44は、このような問題を説明する図である。図44では、各入力回路53−0、53−1、…、53−nに入力される時点の入力信号をQ0、Q1、Q2とし、各入力回路の出力が内部回路55に入力される時点の信号をQ00、Q10、Q20で表す。入力信号Q0、Q1、Q2の位相が図示のようにずれていると、各入力タイミング調整回路54−0、54−1、…、54−nは、各入力回路53−0、53−1、…、53−nが入力信号Q0、Q1、…、Qnをもっとも適当なタイミングで取り込むように内部クロックの位相を調整するので、各入力回路から出力されて内部回路55に入力される信号Q00、Q10、Q20の位相も同じようにずれている。図45は、信号Q00、Q10、Q20が1クロックサイクル内でどのようなサイクルの信号になるかを示した図であり、t0からt4は図44に示したタイミングを表す。図45に示すように、t0−t1の間では、Q00とQ20は同じサイクルの信号Q0BとQ2Bになるが、Q10は前のサイクルの信号Q1Aになる。同様に、t2−t3の間では、Q00とQ10は同じサイクルの信号Q0BとQ1Bになるが、Q20は次のサイクルの信号Q2Cになる。もし、内部回路55で、t0−t1やt2−t4の間の信号に基づいた処理が行われると、異なった信号の組みに対して処理が行われることになり、誤った処理が行われることになるという問題が生じる。   In the first to sixth embodiments described so far, the receiving-side semiconductor device has a basic configuration as shown in FIG. 8, and an input timing adjustment circuit is provided for each input circuit so that each input signal is provided. It was adjusted so that it could be taken in at the optimal timing. Therefore, there arises a problem that the phases of signals output from the respective input circuits are different. FIG. 44 is a diagram for explaining such a problem. 44, the input signals at the time of input to the input circuits 53-0, 53-1,..., 53-n are Q0, Q1, Q2, and the output of each input circuit is input to the internal circuit 55 These signals are represented by Q00, Q10, and Q20. When the phases of the input signals Q0, Q1, and Q2 are shifted as shown in the figure, the input timing adjustment circuits 54-0, 54-1, ..., 54-n are connected to the input circuits 53-0, 53-1, .., 53-n adjust the phase of the internal clock so that the input signals Q0, Q1,..., Qn are fetched at the most appropriate timing. The phases of Q10 and Q20 are similarly shifted. FIG. 45 is a diagram showing what cycle the signals Q00, Q10, and Q20 are in one clock cycle, and t0 to t4 represent the timing shown in FIG. As shown in FIG. 45, between t0 and t1, Q00 and Q20 become signals Q0B and Q2B in the same cycle, but Q10 becomes a signal Q1A in the previous cycle. Similarly, between t2 and t3, Q00 and Q10 become signals Q0B and Q1B in the same cycle, but Q20 becomes a signal Q2C in the next cycle. If the processing based on the signal between t0-t1 and t2-t4 is performed in the internal circuit 55, the processing is performed on a different set of signals, and erroneous processing is performed. The problem of becoming.

次に説明する実施例では、この問題が解決され、受信側でクロックと信号の位相がずれていても、また受信側の半導体装置内部でクロック入力回路と他の信号の入力回路の間で位相差が生じる場合でも高速の信号の受渡しが可能になる。
図46は、本発明の第7実施例の半導体装置の基本構成を示す図である。図46に示すように、第7実施例の半導体装置は、図8に示した本発明の基本構成に加えて、各入力回路の出力信号間の位相差を検出して、同一位相になるように調整する信号間タイミング調整回路を備える。なお、第7実施例の半導体装置システムは図3に示したようなシステムであるとする。
In the embodiment described below, this problem is solved, and even if the phase of the clock and the signal is shifted on the receiving side, the clock input circuit and another signal input circuit are positioned within the semiconductor device on the receiving side. Even when a phase difference occurs, high-speed signal delivery is possible.
FIG. 46 is a diagram showing a basic configuration of a semiconductor device according to a seventh embodiment of the present invention. As shown in FIG. 46, in addition to the basic configuration of the present invention shown in FIG. 8, the semiconductor device of the seventh embodiment detects the phase difference between the output signals of the input circuits so as to have the same phase. And an inter-signal timing adjustment circuit for adjusting the signal. It is assumed that the semiconductor device system of the seventh embodiment is a system as shown in FIG.

図47は、第7実施例における受信側半導体装置のクロック入力回路と入力部と信号間タイミング調整回路の構成を示す図である。
図47に示すように、第7実施例の受信側半導体装置は、駆動側半導体装置から送信されるクロックが入力され、内部クロックφとφ1/2を発生するクロック入力回路142と、駆動側半導体装置から送信される信号を入力信号として取り込む入力部144−0、144−1、…、144−nと、入力部の出力の論理積を算出するANDゲート401と、ディレイ回路402と、ディレイ制御回路403と、ラッチパルス発生回路404と、ラッチパルス発生回路404の出力するラッチパルスQSYNに従って入力部144−0、144−1、…、144−nの出力をラッチするラッチ回路405−0、405−1、…、405−nとを有する。クロック入力回路142と入力部144−0、144−1、…、144−nは、第2実施例と同じであり、クロック入力回路142は図23に示したような構成を有し、各入力部は図24に示したような構成を有する。従って、第7実施例の半導体装置の入力回路では、半導体装置の動作中は常時位相ずれを調整する動作を行うことができる。しかし、第7実施例では、モード信号が入力され、入力タイミング調整モード時のみ、調整動作が行われる。
FIG. 47 is a diagram showing the configuration of the clock input circuit, the input unit, and the inter-signal timing adjustment circuit of the receiving-side semiconductor device in the seventh embodiment.
As shown in FIG. 47, the receiving-side semiconductor device of the seventh embodiment has a clock input circuit 142 that receives a clock transmitted from the driving-side semiconductor device and generates internal clocks φ and φ1 / 2, and a driving-side semiconductor. , 144-n that takes in signals transmitted from the apparatus as input signals, AND gate 401 that calculates the logical product of the outputs of the input units, delay circuit 402, and delay control Circuit 403, latch pulse generation circuit 404, and latch circuits 405-0, 405 for latching the outputs of the input sections 144-0, 144-1,..., 144-n in accordance with the latch pulse QSYN output from the latch pulse generation circuit 404. -1, ..., 405-n. The clock input circuit 142 and the input sections 144-0, 144-1,..., 144-n are the same as in the second embodiment, and the clock input circuit 142 has a configuration as shown in FIG. The unit has a configuration as shown in FIG. Therefore, in the input circuit of the semiconductor device of the seventh embodiment, an operation for adjusting the phase shift can be performed at all times during the operation of the semiconductor device. However, in the seventh embodiment, the mode signal is input and the adjustment operation is performed only in the input timing adjustment mode.

図48は図47のディレイ制御回路403の構成を示す図であり、図49はディレイ回路402とラッチパルス発生回路404の構成を示す図であり、図50はディレイ制御回路403の動作を示すタイムチャートである。図47に示すように、ANDゲート401の出力QANDは、入力部144−0、144−1、…、144−nの出力Q00、Q10、…、Qn1がすべて「高(H)」の時に「H」になる。受信タイミング調整モードにおいて入力される入力信号は、「低(L)」が連続した中に特定サイクルのみ「H」になるパターンで変化する。この「H」になるサイクルの部分で、Q00、Q10、…、Qn1がすべて「H」になると、QANDが「H」のパルスになる。このQANDの立ち上がりは、一番遅れている入力信号が立ち上がるタイミングであり、QANDが「H」の期間は、Q00、Q10、…、Qn1がすべて同じサイクルの信号である期間を示している。従って、この期間に、ラッチ回路405−0、405−1、…、405−nで入力部144−0、144−1、…、144−nの出力をラッチすれば、すべての出力が揃うことになる。図48のa0、a1、…、amの信号は徐々に遅延されており、図50に示すように変化している。QANDが立ち上がると、フリップフロップF/Fがa0、a1、…、amの信号をラッチするが、QANDが立ち上がるタイミングでラッチする値が異なる。例えば、図48のb0、b1、…、bmは、b1までが「H」で、それ以降は「L」になる。このような信号が図48のNORゲート列に入力されると、変化点の部分の出力のみが「H」になる。図23では、c2のみが「H」になっている。このような信号c0、c1、…、cnがディレイ回路402に入力されると、cが「H」のディレイ回路のNANDゲートのみが通過状態になる。通過状態になるNANDゲートの位置でクロックφの遅延量が決定される。最終のNORゲートが、クロックφの立ち上がりから所定幅のパルスQSYNを発生させる。このようにして、QANDが立ち上がった直後にQSYNが出力され、ラッチ回路405−0、405−1、…、405−nがQANDが「H」の期間内に入力部144−0、144−1、…、144−nの出力Q00、Q10、…、Qn0をラッチする。   48 is a diagram illustrating the configuration of the delay control circuit 403 in FIG. 47, FIG. 49 is a diagram illustrating the configuration of the delay circuit 402 and the latch pulse generation circuit 404, and FIG. 50 is a time diagram illustrating the operation of the delay control circuit 403. It is a chart. As shown in FIG. 47, the output QAND of the AND gate 401 is “when the outputs Q00, Q10,..., Qn1 of the input units 144-0, 144-1,. H ". The input signal input in the reception timing adjustment mode changes in a pattern that becomes “H” only in a specific cycle while “low (L)” continues. When Q00, Q10,..., Qn1 all become “H” in the part of the cycle that becomes “H”, a QAND becomes an “H” pulse. The rising edge of QAND is the timing at which the most delayed input signal rises, and the period in which QAND is “H” indicates a period in which Q00, Q10,..., Qn1 are all signals of the same cycle. Therefore, if the outputs of the input units 144-0, 144-1,..., 144-n are latched by the latch circuits 405-0, 405-1,. become. 48, the signals a0, a1,..., Am are gradually delayed and changed as shown in FIG. When QAND rises, the flip-flop F / F latches the signals a0, a1,..., Am, but the value latched differs at the timing when QAND rises. For example, b0, b1,..., Bm in FIG. 48 are “H” up to b1, and “L” thereafter. When such a signal is input to the NOR gate row of FIG. 48, only the output at the change point becomes “H”. In FIG. 23, only c2 is “H”. When such signals c 0, c 1,..., Cn are input to the delay circuit 402, only the NAND gate of the delay circuit whose c is “H” is in a passing state. The delay amount of the clock φ is determined at the position of the NAND gate that is in the passing state. The final NOR gate generates a pulse QSYN having a predetermined width from the rising edge of the clock φ. In this way, immediately after QAND rises, QSYN is output, and the latch circuits 405-0, 405-1,..., 405-n are input units 144-0, 144-1 within the period when QAND is “H”. ,..., 144-n, and outputs Q00, Q10,.

図51は、第7実施例の半導体装置における入力タイミングの調整原理を説明する図である。図51に示すように、入力信号Q0、Q1、…、Qnは、クロックCLK(R)に対してずれていると同時に、相互にもずれている。このような入力信号を取り込む場合、入力信号Q0、Q1、…、Qnが安定した時点で取り込む必要がある。すなわち、図で点で示した時点でラッチすることが望ましい。そこで、入力回路では、点で示した時点でラッチするように内部クロックの位相を調整し、Q00、Q10、…、Qn0が出力される。1パルスの信号に対しては、図示のようにQ00、Q10、…、Qn0がすべて「H」になる時にQANDが「H」になり、これに応じてラッチパルスQSYNが出力され、Q00、Q10、…、Qn0がすべて揃った時点で後段のラッチ回路にラッチされる。   FIG. 51 is a diagram for explaining the principle of adjusting the input timing in the semiconductor device of the seventh embodiment. As shown in FIG. 51, the input signals Q0, Q1,..., Qn are shifted from each other at the same time as the clock CLK (R). When capturing such an input signal, it is necessary to capture when the input signals Q0, Q1,. That is, it is desirable to latch at the time indicated by the dots in the figure. Therefore, the input circuit adjusts the phase of the internal clock so as to be latched at the time indicated by the dots, and outputs Q00, Q10,..., Qn0. For one pulse signal, as shown in the figure, when Q00, Q10,..., Qn0 all become “H”, QAND becomes “H”. ,..., Qn0 are latched by the latch circuit at the subsequent stage when all of them are prepared.

図52は、第7実施例の入力タイミング調整を示す図である。図示のように、入力信号Q0、Q1、…、Qnは安定している期間が限られているが、各入力回路ではそれぞれこの限られた安定期間で入力信号を取り込み、Q00、Q10、…、Qn0を出力する。次いで、Q00、Q10、…、Qn0の同じサイクルの信号が揃った時点で、QSYNが出力され、次段のラッチ回路で同じサイクルの信号がラッチされてQ01、Q11、…、Qn1として出力される。   FIG. 52 is a diagram showing input timing adjustment according to the seventh embodiment. As shown in the figure, the input signals Q0, Q1,..., Qn have a limited period of stability, but each input circuit captures an input signal in this limited stable period, and Q00, Q10,. Qn0 is output. Next, when the signals of the same cycle of Q00, Q10,..., Qn0 are gathered, QSYN is output, and the signal of the same cycle is latched by the next stage latch circuit and output as Q01, Q11,. .

図53は、第7実施例の半導体装置の全体構成を示す図であり、SDRAMの場合を例として示してある。SDRAM400は、/RAS、/CAS、/WE等が入力される制御信号入力回路411と、アドレス信号が入力されるアドレス信号入力回路部412と、クロックCLKが入力されるクロック発生回路413と、データ信号が入力されるデータ信号入力回路部414と、モードレジスタ・デコーダ415と、信号間タイミング調整回路416とを有する。データ信号入力回路部414と、信号間タイミング調整回路416にこれまで説明した第1実施例の回路が適用されている。前述のように、SDRAMでは高速で信号の入出力を行う必要があるのは、データ信号であり、それ以外の制御信号やアドレス信号はデータ信号に比べて低速で信号の入出力を行えばよい。そこで、モード指示信号は、比較的低速で信号の入力が行われる信号端子、すなわち、制御信号やアドレス信号を組み合わせて行われ、モードレジスタ・デコーダ415で、制御信号からモードレジスタセットが指示されたかを判定し、その上でアドレス信号の値から処理の内容を判定する。   FIG. 53 is a diagram showing the entire configuration of the semiconductor device of the seventh embodiment, and shows the case of SDRAM as an example. The SDRAM 400 includes a control signal input circuit 411 to which / RAS, / CAS, / WE and the like are input, an address signal input circuit unit 412 to which an address signal is input, a clock generation circuit 413 to which a clock CLK is input, and data A data signal input circuit portion 414 to which a signal is input, a mode register / decoder 415, and an inter-signal timing adjustment circuit 416 are provided. The circuit of the first embodiment described so far is applied to the data signal input circuit unit 414 and the inter-signal timing adjustment circuit 416. As described above, it is a data signal that needs to be input / output at high speed in the SDRAM, and other control signals and address signals may be input / output at a lower speed than the data signal. . Therefore, the mode instruction signal is a signal terminal to which a signal is input at a relatively low speed, that is, a control signal and an address signal are combined, and the mode register / decoder 415 indicates a mode register set from the control signal. Then, the processing content is determined from the value of the address signal.

図54は、第7実施例における動作モードの判定と入力タイミング調整モードを説明する図である。図示のように、モードレジスタ・デコーダ415は、制御信号によりモードレジスタセットが指示されると、アドレス信号により入力タイミングを合わせる処理であることを解読し、これまで説明した入力タイミングを調整する処理が開始される。そして、再び制御信号によりモードレジスタセットが指示され、アドレス信号により入力タイミングを合わせる処理を終了する指示が行われると、タイミング調整を停止し、その時点の調整値を維持する。   FIG. 54 is a diagram for explaining operation mode determination and input timing adjustment mode in the seventh embodiment. As shown in the figure, when the mode register set is instructed by the control signal, the mode register / decoder 415 decodes the process of adjusting the input timing by the address signal, and performs the process of adjusting the input timing described so far. Be started. When the mode register set is instructed again by the control signal and the instruction to end the process of matching the input timing is instructed by the address signal, the timing adjustment is stopped and the adjustment value at that time is maintained.

図55は、入力タイミング調整モードを指示するために別の信号入力端子を設けた変形例を示す図であり、RESET信号が入力されると、SDRAMの内部がリセットされ、新たに入力タイミング調整モードが開始される。
図56は、この変形例における動作モードの判定と入力タイミング調整モードを説明する図である。入力タイミング調整モードの指示がRESET信号により行われる点以外は、図54と同じである。
FIG. 55 is a diagram showing a modification in which another signal input terminal is provided to instruct the input timing adjustment mode. When a RESET signal is input, the SDRAM is reset, and a new input timing adjustment mode is provided. Is started.
FIG. 56 is a diagram for explaining the operation mode determination and the input timing adjustment mode in this modification. It is the same as FIG. 54 except that the input timing adjustment mode is instructed by the RESET signal.

図57は、第8実施例の半導体装置の構成を示す図である。第7実施例と異なるのは、ラッチ回路405−0、405−1、…、405−nの代わりに、ディレイ回路431−0、431−1、…、431−nが設けれている…と、それに伴って、ディレイ制御レジスタ430が設けられている点である。また、第7実施例のディレイ回路402とディレイ制御回路403も除かれ、内部回路でこれらの入力信号を受けるレジスタ432が示されている。ディレイ制御レジスタ430には、QANDに加えて、各入力回路の出力Q00、Q10、…、Qn0が入力されている。ディレイ制御レジスタ430は、Q00、Q10、…、Qn0のうちもっとも遅い信号にあわせるように、各ディレイ回路431−0、431−1、…、431−nでの遅延量を設定する制御を行う。そのため、ディレイ制御レジスタ430では、QANDとQ00、Q10、…、Qn0の排他的論理和を算出してQ00、Q10、…、Qn0の遅延量を算出して記憶し、その記憶値に基づいてディレイ回路431−0、431−1、…、431−nでの遅延量を設定する。   FIG. 57 is a diagram showing the configuration of the semiconductor device of the eighth embodiment. Unlike the seventh embodiment, delay circuits 431-0, 431-1,..., 431-n are provided instead of the latch circuits 405-0, 405-1,. Along with this, a delay control register 430 is provided. Also, the delay circuit 402 and the delay control circuit 403 of the seventh embodiment are omitted, and a register 432 for receiving these input signals in the internal circuit is shown. In addition to QAND, outputs Q00, Q10,..., Qn0 of each input circuit are input to the delay control register 430. The delay control register 430 performs control to set the delay amount in each of the delay circuits 431-0, 431-1,..., 431-n so as to match the slowest signal among Q00, Q10,. Therefore, the delay control register 430 calculates the exclusive OR of QAND and Q00, Q10,..., Qn0, calculates and stores the delay amount of Q00, Q10,. A delay amount in the circuits 431-0, 431-1, ..., 431-n is set.

入力信号の受信タイミングの調整は調整モード時に行い、調整モード終了後は調整値を維持する。調整モードであることを認識するには、外部から入力されるモード指示信号を認識するモードレジスタ・デコーダを備えるようにする。この受信タイミング調整モード中には、駆動側半導体装置からは所定の信号パターンを有する信号が出力される。このパターンは、例えば、同じ論理値が連続した中に特定サイクルのみ異なる論理値になるパターンである。   The adjustment of the input signal reception timing is performed in the adjustment mode, and the adjustment value is maintained after the adjustment mode is completed. To recognize the adjustment mode, a mode register / decoder for recognizing a mode instruction signal input from the outside is provided. During the reception timing adjustment mode, a signal having a predetermined signal pattern is output from the driving-side semiconductor device. This pattern is, for example, a pattern in which the same logical value becomes a different logical value only in a specific cycle while it continues.

SDRAMでは高速で信号の入出力を行う必要があるのは、データ信号であり、それ以外の制御信号やアドレス信号はデータ信号に比べて低速で信号の入出力を行えばよい。そこで、モード指示信号は、比較的低速で信号の入力が行われる信号端子、すなわち、長い周期の入力信号の値を組み合わせて行うとよい。また、モード指示信号を入力する専用の入力信号端子を設けてもよい。モード指示信号として、例えば、リセット信号を使用してもよく、リセット信号が入力された場合には、自動的に所定期間調整モードに入るようにしてもよい。その場合、受信タイミング調整モードの終了を指示した後も、所定期間の間は所定の信号パターンの入力信号が入力されるようにすることが望ましい。   In SDRAM, it is a data signal that needs to be input / output at a high speed, and other control signals and address signals may be input / output at a lower speed than the data signal. Therefore, the mode instruction signal may be combined with a signal terminal to which a signal is input at a relatively low speed, that is, a long cycle input signal value. Further, a dedicated input signal terminal for inputting a mode instruction signal may be provided. As the mode instruction signal, for example, a reset signal may be used, and when the reset signal is input, the adjustment mode may be automatically entered for a predetermined period. In this case, it is desirable that an input signal having a predetermined signal pattern is input for a predetermined period even after the end of the reception timing adjustment mode is instructed.

図58は、本発明の第9実施例の半導体装置の基本構成を示す図である。図58に示すように、本発明の第9実施例の半導体装置は、入力回路部をカレントミラー回路等の入力バッファ441−0、441−1、…、441−nで構成し、各入力バッファの出力が所定の内部クロックで最適に取り込めるように、各入力バッファの出力の遅延量を調整した後に取り込むタイミング調整取込み回路443を備えることを特徴とする。タイミング調整取込み回路443は、入力信号のタイミングを調整するタイミング調整回路445−0、445−1、…、445−nと、タイミング制御回路444−0、444−1、…、444−nの組みが各入力信号毎に設けられている。この組みは、具体的には、入力バッファ回路441−0、441−1、…、441−nの出力を遅延させ、遅延量が選択可能なディレイ回路と、内部クロックに同期して前記入力バッファ回路の出力を取り込む信号入力回路と、信号入力回路の出力信号値を判定することにより、入力バッファ回路の出力の内部クロックに対する位相を判定する位相判定回路と、位相判定回路の判定結果に基づいて、入力バッファ回路の出力が内部クロックに対して所定の位相になるようにディレイ回路の遅延量を制御するディレイ制御回路とを備える。   FIG. 58 is a diagram showing the basic configuration of the semiconductor device according to the ninth embodiment of the present invention. As shown in FIG. 58, in the semiconductor device according to the ninth embodiment of the present invention, the input circuit section includes input buffers 441-0, 441-1,..., 441-n such as current mirror circuits. Is provided with a timing adjustment fetching circuit 443 that takes in after adjusting the delay amount of the output of each input buffer so that the output can be optimally taken in with a predetermined internal clock. Timing adjustment fetch circuit 443 is a combination of timing adjustment circuits 445-0, 445-1,..., 445-n and timing control circuits 444-0, 444-1,. Is provided for each input signal. More specifically, this combination delays the outputs of the input buffer circuits 441-0, 441-1,..., 441-n, and a delay circuit capable of selecting the delay amount, and the input buffer in synchronization with the internal clock. Based on the signal input circuit that captures the output of the circuit, the phase determination circuit that determines the phase of the output of the input buffer circuit relative to the internal clock by determining the output signal value of the signal input circuit, and the determination result of the phase determination circuit A delay control circuit for controlling the delay amount of the delay circuit so that the output of the input buffer circuit has a predetermined phase with respect to the internal clock.

図59は、第9実施例の半導体装置の構成を示す図である。第7実施例と異なるのは、内部回路で入力信号を受けるレジスタ456の近くに信号間タイミング調整回路455を配置し、その近くに、タイミング調整ラッチ回路454−0、454−1、…、454−nとシフトクロック発生回路453を配置し、入力部には、カレントミラー回路452−0、452−1、…、452−nのみを配置した…である。信号間タイミング調整回路455で各信号の位相が一致するように調整しても、信号間タイミング調整回路45からレジスタ456までの距離が長いと、その間に位相差が生じる恐れがある。そのため、信号間タイミング調整回路455はレジスタ456の近くに配置することが望ましい。入力信号を取り込む入力回路もこの近くに配置した方がよい。そのため、第9実施例では、第7実施例の入力回路を、カレントミラー回路と入力タイミングを調整してラッチする部分のタイミングラッチ回路とに分け、カレントミラー回路452−0、452−1、…、452−nは信号端子の近傍に配置し、タイミングラッチ回路454−0、454−1、…、454−nは信号間タイミング調整回路455の近傍に配置する。それに応じて、シフトクロック発生回路453もタイミングラッチ回路454−0、454−1、…、454−nの近傍に配置することが望ましい。   FIG. 59 is a diagram showing the configuration of the semiconductor device according to the ninth embodiment. A difference from the seventh embodiment is that an inter-signal timing adjustment circuit 455 is arranged near a register 456 that receives an input signal in an internal circuit, and timing adjustment latch circuits 454-0, 454-1,. -N and a shift clock generation circuit 453 are arranged, and only current mirror circuits 452-0, 452-1, ..., 452-n are arranged in the input section. Even if the inter-signal timing adjustment circuit 455 adjusts the phase of each signal to be the same, if the distance from the inter-signal timing adjustment circuit 45 to the register 456 is long, a phase difference may occur between them. Therefore, it is desirable to arrange the inter-signal timing adjustment circuit 455 near the register 456. It is better to arrange the input circuit for taking in the input signal in the vicinity. Therefore, in the ninth embodiment, the input circuit of the seventh embodiment is divided into a current mirror circuit and a timing latch circuit for adjusting and latching the input timing, and current mirror circuits 452-0, 452-1,. 452-n are arranged in the vicinity of the signal terminals, and the timing latch circuits 454-0, 454-1, ..., 454-n are arranged in the vicinity of the inter-signal timing adjustment circuit 455. Accordingly, it is desirable to arrange the shift clock generation circuit 453 in the vicinity of the timing latch circuits 454-0, 454-1,.

図60は、第9実施例における入力タイミング調整を説明する図である。図52に示した第7実施例の動作と異なるのは、入力信号が不確定な状態を含んだまま内部のタイミングラッチ回路454−0、454−1、…、454−nまで送られる点だけである。
図61は、第10実施例の半導体装置の構成を示す図である。この実施例は、第9実施例と同じように、入力信号端子に近い所にはカレントミラー回路452−0、452−1、…、452−nを配置するが、タイミング調整ラッチ回路454−0、454−1、…、454−nと信号間タイミング調整回路455の代わりにタイミング調整ラッチ回路458−0、458−1、…、458−nを配置した点である。
FIG. 60 is a diagram for explaining input timing adjustment in the ninth embodiment. The only difference from the operation of the seventh embodiment shown in FIG. 52 is that the input signal is sent to the internal timing latch circuits 454-0, 454-1,. It is.
FIG. 61 is a diagram showing the configuration of the semiconductor device according to the tenth embodiment. In this embodiment, as in the ninth embodiment, current mirror circuits 452-0, 452-1,..., 452-n are arranged near the input signal terminal, but the timing adjustment latch circuit 454-0 is arranged. , 454-n and inter-signal timing adjustment circuit 455, instead of timing adjustment latch circuits 458-0, 458-1,.

図62は、タイミング調整ラッチ回路458−0、458−1、…、458−nの1つの構成を示す図である。このタイミング調整ラッチ回路は、クロックを遅延させるのではなく、入力信号の遅延量を調整して入力信号Q0Z、Q1Z、…、Q2Zの位相をシフトクロック発生回路453から出力されるクロックφとφ1/2の位相に合わせる。ディレイ回路460、ディレイ制御回路461、ラッチ回路462と463と464、及び位相判定回路465は、図32に示したものと同じである。従って、これ以上の詳しい説明は省略する。   62 is a diagram showing one configuration of the timing adjustment latch circuits 458-0, 458-1,... 458-n. This timing adjustment latch circuit does not delay the clock, but adjusts the delay amount of the input signal to adjust the phase of the input signals Q0Z, Q1Z,..., Q2Z to the clocks φ and φ1 / Match the phase of 2. The delay circuit 460, the delay control circuit 461, the latch circuits 462, 463, and 464, and the phase determination circuit 465 are the same as those shown in FIG. Therefore, further detailed explanation is omitted.

図63は、第10実施例におけるタイミング調整を示す図である。Q0、Q1、Q2はカレントミラー回路452−0、452−1、…、452−nへの入力信号を、Q0Z、Q1Z、Q2Zはタイミング調整ラッチ回路454−0、454−1、…、454−nへの入力信号を、Q00、Q10、Q20はタイミング調整ラッチ回路の内部で位相を揃えた状態を、Q01、Q11、Q21はタイミング調整ラッチ回路からの出力を示す。図示のように、タイミング調整ラッチ回路454−0、454−1、…、454−nの内部で所定の内部クロックで最適に取り込めるように位相を揃えた上で、ラッチ回路に取り込まれるので、タイミング調整ラッチ回路から出力される信号の位相は揃っている。このように、第10実施例の半導体装置では、所定の内部クロックで最適に取り込めるように、入力信号の遅延量を調整する。従って、入力信号が複数ある場合でも、各入力信号毎にこの調整を行えば、すべての入力信号の位相が揃うので、それ以上のタイミング調整は必要ない。   FIG. 63 is a diagram showing timing adjustment in the tenth embodiment. Q0, Q1, Q2 are input signals to the current mirror circuits 452-0, 452-1,..., 452-n, and Q0Z, Q1Z, Q2Z are timing adjustment latch circuits 454-0, 454-1,. In the input signal to n, Q00, Q10, and Q20 indicate a state in which the phases are aligned inside the timing adjustment latch circuit, and Q01, Q11, and Q21 indicate outputs from the timing adjustment latch circuit. As shown in the figure, the timing adjustment latch circuits 454-0, 454-1,... The signals output from the adjustment latch circuit are in phase. As described above, in the semiconductor device of the tenth embodiment, the delay amount of the input signal is adjusted so as to be optimally captured with a predetermined internal clock. Therefore, even when there are a plurality of input signals, if this adjustment is performed for each input signal, the phases of all the input signals are aligned, so that no further timing adjustment is necessary.

図64は、入力信号間のずれ(スキュー)が、1クロックサイクル以上の場合を示している。この場合、第7実施例のように、入力回路でこれらの入力信号を取り込んでた出力Q00、Q10、…、Qn0は同じサイクルの部分が相互に重ならない。従って、図47に示した構成では、QANDが「H」になることがなく、入力信号間に位相を揃えることができない。第11実施例は、この問題を解決した実施例である。   FIG. 64 shows a case where the deviation (skew) between the input signals is one clock cycle or more. In this case, as in the seventh embodiment, the outputs Q00, Q10,..., Qn0 obtained by inputting these input signals in the input circuit do not overlap with each other in the same cycle. Therefore, in the configuration shown in FIG. 47, QAND does not become “H”, and the phases cannot be aligned between the input signals. The eleventh embodiment is an embodiment that solves this problem.

図65は、第11実施例の構成を示す図である。第7実施例の構成と異なるのは、入力回路501の部分に、遅延回路502と、1/2分周回路503と、ラッチ回路504と505とが追加され、ラッチパルス発生回路510からQSYNA、QSYNB、QSYNCが出力される点である。
図66図67は、第11実施例の半導体装置の動作を説明する図である。この図を参照して第11実施例の動作を説明する。
FIG. 65 is a diagram showing the configuration of the eleventh embodiment. The difference from the configuration of the seventh embodiment is that a delay circuit 502, a ½ divider circuit 503, and latch circuits 504 and 505 are added to the input circuit 501, and QSYNCA, This is the point where QSYNC and QSYNC are output.
FIG. 66 is a diagram for explaining the operation of the semiconductor device according to the eleventh embodiment. The operation of the eleventh embodiment will be described with reference to this figure.

1/2分周回路503からはクロックを1/2分周した逆相の1/2分周クロックが出力され、ラッチ回路504と505は逆相の1/2分周クロックに従って入力回路501の出力をラッチするので、ラッチ回路504はQ00Aをラッチし、ラッチ回路505はQ00Bをラッチする。他の入力信号についても同様である。ORゲート506−0でラッチ回路504と505の出力をとると、Q00AとQ00Bが「H」である期間を示す信号が出力される。いわば3クロックサイクルに広げられた入力信号が出力されることになる。従って、これをANDゲート507に入力すると、その出力QANDは、3クロックサイクルに広げられた入力信号が重なる期間を示すことになる。入力信号の位相差が3クロックサイクル以下であれば、QANDが「H」に変化することになる。後は、第1実施例と同様に、QSYNAが生成される。ラッチ回路504と505はラッチした入力信号を2クロックサイクルにわたって保持し、ラッチ回路504と505の出力する信号は1クロックサイクルずれた信号である。ラッチ回路511−0は、ラッチ回路504の出力する信号を更に1クロックサイクル保持する動作を行う。ラッチ回路504と505の出力及びラッチ回路511−0の出力はラッチ/選択回路512−0に入力されるので、各入力信号の遅延量に応じて、ラッチ/選択回路512−0はこれらのうちのいずれかを選択してラッチする。QSYNBとQSYNCはこのためのラッチ信号である。   The ½ divider circuit 503 outputs a ½ divided clock of the opposite phase obtained by dividing the clock by ½, and the latch circuits 504 and 505 are connected to the input circuit 501 according to the ½ divided clock of the opposite phase. Since the output is latched, the latch circuit 504 latches Q00A, and the latch circuit 505 latches Q00B. The same applies to other input signals. When the outputs of the latch circuits 504 and 505 are taken by the OR gate 506-0, a signal indicating a period in which Q00A and Q00B are “H” is outputted. In other words, an input signal spread over three clock cycles is output. Therefore, when this is input to the AND gate 507, the output QAND indicates a period in which the input signals spread over three clock cycles overlap. If the phase difference of the input signals is 3 clock cycles or less, QAND changes to “H”. Thereafter, QSYNA is generated as in the first embodiment. The latch circuits 504 and 505 hold the latched input signal for two clock cycles, and the signals output from the latch circuits 504 and 505 are signals shifted by one clock cycle. The latch circuit 511-0 performs an operation of holding the signal output from the latch circuit 504 for one more clock cycle. Since the outputs of the latch circuits 504 and 505 and the output of the latch circuit 511-0 are input to the latch / select circuit 512-0, the latch / select circuit 512-0 depends on the delay amount of each input signal. Select one of the latches. QSYNC and QSYNC are latch signals for this purpose.

図68は第12実施例の入力信号を示す図である。第12実施例では、クロックCLKの2倍の周波数でデータ信号が入力される。そして、一旦取り込まれたデータ信号は連続した2つのデータ信号が並列のデータ信号に変換されて処理される。第12実施例では、第11実施例で示した構成を利用して、この変化を行う。   FIG. 68 is a diagram showing input signals of the twelfth embodiment. In the twelfth embodiment, a data signal is input at a frequency twice that of the clock CLK. The once captured data signal is processed by converting two continuous data signals into parallel data signals. In the twelfth embodiment, this change is made using the configuration shown in the eleventh embodiment.

図69は、第12実施例の半導体装置の構成を示す図であり、第11実施例と異なるのは、ラッチ/選択回路512−0、…、512−nが連続した2つの信号を出力する点と、それをラッチするラッチ回路513−0、…、513−nが設けられている点である。
図70と図71は、第12実施例の半導体装置の動作を説明する図である。この図を参照して第12実施例の動作を説明する。
FIG. 69 is a diagram showing the configuration of the semiconductor device of the twelfth embodiment. The difference from the eleventh embodiment is that the latch / select circuits 512-0,..., 512-n output two continuous signals. And latch circuits 513-0,..., 513-n for latching the points.
70 and 71 are diagrams for explaining the operation of the semiconductor device of the twelfth embodiment. The operation of the twelfth embodiment will be described with reference to this figure.

ラッチ回路511−1は、Q01Aに対してQ01Bを1クロックサイクル遅れて出力する。そして、ラッチ/選択回路512−0、…、512−nは同じクロックサイクルの信号の位相を合わせて出力する。すなわち、次のクロックサイクルの信号Q01BはQ01Aに対して1クロックサイクル遅れて出力される。しかし、Q01AとQ11Aは位相が一致しており、Q01BとQ11Bも位相が一致している。これをラッチ回路513−0、…、513−nが、QSYNCに同期してラッチすることにより、ラッチ回路513−0、…、513−nから出力されるQ02A、Q02B、Q12A、Q12Bの位相がすべて一致する。これにより、信号を並列にする変換が行われたことになる。   Latch circuit 511-1 outputs Q01B with a delay of one clock cycle with respect to Q01A. The latch / selection circuits 512-0,..., 512-n output the same clock cycle signal in phase. That is, the signal Q01B of the next clock cycle is output with a delay of one clock cycle with respect to Q01A. However, Q01A and Q11A have the same phase, and Q01B and Q11B have the same phase. The latch circuits 513-0,..., 513-n latch in synchronization with QSYNC, so that the phases of Q02A, Q02B, Q12A, Q12B output from the latch circuits 513-0,. Match all. Thereby, the conversion which makes a signal parallel is performed.

図72は、第13実施例の構成を示す図である。第13実施例は、第10実施例において、入力信号の位相が1クロックサイクル以上ずれている場合にも、入力タイミングの調整が行えるようにするものである。図72に示すように、カレントミラー回路452の出力を1/2分周する1/2分周回路521と、タイミング調整ライッチ回路455へ入力する信号を、カレントミラー回路452の出力と、1/2分周回路521の出力との間で切り換える切り換え回路522が設けられている。この場合、受信タイミング調整モードの初期段階では、1/2分周回路の出力がタイミング調整ライッチ回路455へ入力されるように切り換え、その後カレントミラー回路452出力がタイミング調整ライッチ回路455へ入力されるように切り換える。この場合、受信タイミング調整モードでは、入力信号として4クロックサイクルの周期以上の周期で変化するパターンの信号を入力する。   FIG. 72 is a diagram showing the configuration of the thirteenth embodiment. In the thirteenth embodiment, the input timing can be adjusted even when the phase of the input signal is shifted by one clock cycle or more in the tenth embodiment. As shown in FIG. 72, the signal input to the 1/2 frequency divider 521 that divides the output of the current mirror circuit 452 by 1/2 and the timing adjustment lit circuit 455 A switching circuit 522 that switches between the output of the divide-by-2 circuit 521 is provided. In this case, at the initial stage of the reception timing adjustment mode, switching is performed so that the output of the 1/2 frequency divider circuit is input to the timing adjustment lit circuit 455, and then the output of the current mirror circuit 452 is input to the timing adjustment lit circuit 455. Switch as follows. In this case, in the reception timing adjustment mode, a signal having a pattern that changes at a period of 4 clock cycles or more is input as an input signal.

以上説明した第7実施例から第13実施例では、入力タイミング調整されて取り込まれた入力信号を再同期化するのに、所定のパターンで変化する入力信号が必要である。そのため、調整モード時を設け、調整モード時には駆動側からそのようなパターンで変化する信号を出力する必要がある。回路における遅延量は、温度変化や電源電圧の変化に応じて変化する。そのため、定期的に調整モードを設けて、このような変化があっても最適なタイミングで入力信号を取り込むと共に、再同期化する必要がある。しかし、このような調整モードを設けずに、常時フィードバック制御して最適なタイミングで入力信号を取り込むと共に、再同期化できることが望まれる。   In the seventh to thirteenth embodiments described above, an input signal that changes in a predetermined pattern is required to resynchronize an input signal that has been input and adjusted in timing. Therefore, it is necessary to provide an adjustment mode and output a signal that changes in such a pattern from the drive side in the adjustment mode. The amount of delay in the circuit changes according to temperature changes and power supply voltage changes. For this reason, it is necessary to periodically provide an adjustment mode, capture an input signal at an optimal timing, and resynchronize even if such a change occurs. However, without providing such an adjustment mode, it is desirable to be able to perform resynchronization while taking in an input signal at an optimal timing by always performing feedback control.

前述のように、第2実施例から第6実施例では、調整モードを設けずに、最適なタイミングで入力信号を取り込むようにフィードバック調整が行える。そこで、入力信号にかかわらず再同期化が行えれば、常時フィードバック制御して最適なタイミングで入力信号を取り込むと共に、再同期化できることになる。第14実施例はこのようなことを可能にした実施例である。第14実施例では、各入力回路における入力タイミング信号が、入力回路から出力される信号の位相に対応することに着目して、入力タイミング信号を利用してもっとも遅い入力信号を検出する。   As described above, in the second to sixth embodiments, feedback adjustment can be performed so as to capture an input signal at an optimal timing without providing an adjustment mode. Therefore, if resynchronization can be performed regardless of the input signal, it is possible to always perform feedback control and capture the input signal at an optimal timing and to resynchronize. The fourteenth embodiment is an embodiment that enables this. In the fourteenth embodiment, paying attention to the fact that the input timing signal in each input circuit corresponds to the phase of the signal output from the input circuit, the latest input signal is detected using the input timing signal.

図73は、第14実施例の受信側半導体装置の構成を示す図である。図示のように、第14実施例の半導体装置は、ANDゲート401に入力する信号を入力タイミング信号を分周した信号DK0、…、DKnとした以外は、図47に示した第7実施例と同じである。図74は、第14実施例の入力回路の構成を示す図である。図示のように、1/2分周回路521が設けられている点を除けば、図24に示した回路と同じである。   FIG. 73 is a diagram showing a configuration of the receiving-side semiconductor device according to the fourteenth embodiment. As shown, the semiconductor device of the fourteenth embodiment is the same as that of the seventh embodiment shown in FIG. 47 except that the signal input to the AND gate 401 is a signal DK0,. The same. FIG. 74 is a diagram showing the configuration of the input circuit of the fourteenth embodiment. As shown in the figure, the circuit is the same as the circuit shown in FIG. 24 except that a 1/2 frequency dividing circuit 521 is provided.

図75は、第14実施例の半導体装置の動作を説明する図である。各入力タイミング信号DCLKは、各入力回路の出力Q00、Q10、…、Qn0が変化する直前に立ち上がる、クロックと同じ周期の信号である。従って、1/2分周回路521で入力タイミング信号DCLKを分周すると、ほぼQ00、Q10、…、Qn0と同じように変化する信号DK0、…、DKnになる。ここで、パワーオンリセット時に、信号DK0、…、DKnが同じ位相になるようにすれば、信号DK0、…、DKnは入力タイミング信号DCLKの立ち上がりエッジで変化するクロックの2倍の周期で変化する信号となる。従って、信号DK0、…、DKnをANDゲート401に入力すれば、第7実施例と同じように、再同期化することができる。   FIG. 75 is a diagram for explaining the operation of the semiconductor device according to the fourteenth embodiment. Each input timing signal DCLK is a signal having the same cycle as the clock, which rises immediately before the output Q00, Q10,..., Qn0 of each input circuit changes. Therefore, when the input timing signal DCLK is frequency-divided by the 1/2 frequency divider 521, the signals DK0,..., DKn change in substantially the same manner as Q00, Q10,. Here, if the signals DK0,..., DKn have the same phase at the power-on reset, the signals DK0,..., DKn change at a cycle twice that of the clock that changes at the rising edge of the input timing signal DCLK. Signal. Therefore, if the signals DK0,..., DKn are input to the AND gate 401, resynchronization can be performed as in the seventh embodiment.

入力回路で取り込んだ入力信号を内部回路に供給する場合、信号間タイミング調整回路は内部回路の近傍に設けることが望ましい。更に、入力部はカレントミラー回路等の入力バッファとし、ラッチ回路や入力タイミング調整回路は内部回路の近傍に設けるようにしてもよい。
入力タイミング調整回路は、複数個まとめて配置し、クロックの位相を調整するためのディレイ回路等を共用することが望ましい。これにより、回路規模を低減できる。
入力信号の位相ずれが1クロックサイクル以上の場合には、複数の入力回路の出力がすべて重なる状態は存在しないため、その論理積は変化しない。そのため、そのような場合には、入力回路に、前記入力信号を取り込んだ後入力信号の連続する2つの信号を並列の信号に変換する並列変換回路を設け、それらの出力が重なる期間を検出するようにする。そして、信号間タイミング調整回路は、並列変換回路の出力を同一サイクルの信号が同一位相になるように調整する。更に、SDRAMでは、データ信号のサイクルがクロックのサイクルより短く、入力信号の連続した複数のサイクルの信号で組みをなす場合がある。このような場合には、この並列変換回路を利用して連続する入力信号の並列信号への変換を行うようにする。この場合、信号間タイミング調整回路は、1組の並列変換回路の出力を同一位相になるように調整する。
When an input signal taken in by the input circuit is supplied to the internal circuit, it is desirable to provide the inter-signal timing adjustment circuit in the vicinity of the internal circuit. Further, the input unit may be an input buffer such as a current mirror circuit, and the latch circuit and the input timing adjustment circuit may be provided in the vicinity of the internal circuit.
It is desirable that a plurality of input timing adjustment circuits be arranged together and share a delay circuit or the like for adjusting the clock phase. Thereby, the circuit scale can be reduced.
When the phase shift of the input signal is 1 clock cycle or more, there is no state in which the outputs of the plurality of input circuits all overlap, and the logical product does not change. For this reason, in such a case, the input circuit is provided with a parallel conversion circuit that takes in the input signal and converts two consecutive signals of the input signal into a parallel signal, and detects a period in which the outputs overlap. Like that. The inter-signal timing adjustment circuit adjusts the output of the parallel conversion circuit so that signals in the same cycle have the same phase. Further, in the SDRAM, the cycle of the data signal is shorter than the cycle of the clock, and there is a case where a set of signals having a plurality of consecutive input signals is formed. In such a case, this parallel conversion circuit is used to convert a continuous input signal into a parallel signal. In this case, the inter-signal timing adjustment circuit adjusts the outputs of the pair of parallel conversion circuits so as to have the same phase.

以上説明したように、第7実施例から第13実施例では、信号経路の伝達時間の差のために、受信したクロックと入力信号の間に位相ずれがあっても、位相ずれをなくした状態で取り込まれ、しかも取り込んで出力される信号にも位相ずれがないので、誤動作等を生じなくなる。
第1実施例から第13実施例における受信側半導体装置は、図8に示すように、各入力回路毎に入力タイミング調整回路を有している。これにより各入力信号間にスキューがある場合でも、各入力信号を最適なタイミングで取り込むことができる。しかし、このような半導体装置は、各入力信号毎に入力タイミング調整回路を設ける必要があるので、回路が大きくなるという問題がある。半導体装置システムでは、配線や負荷の関係から、クロックと入力信号群の間のスキューは大きいが、入力信号間のスキューは小さいという例が数多くある。そのような場合には、1つの代表的な入力信号についてこれまで説明した入力タイミング調整回路を設け、他の入力信号については同じ入力タイミング信号に同期して取り込むようにしてもよい。これであれば回路規模は大幅に縮小できる上、ほぼ最適なタイミングで入力信号を取り込むことができる。
As described above, in the seventh to thirteenth embodiments, the phase shift is eliminated even if there is a phase shift between the received clock and the input signal due to the difference in the transmission time of the signal path. In addition, since there is no phase shift in the signal that is captured and output after being captured, malfunction or the like does not occur.
As shown in FIG. 8, the receiving-side semiconductor device in the first to thirteenth embodiments has an input timing adjustment circuit for each input circuit. As a result, even when there is a skew between the input signals, the input signals can be captured at the optimum timing. However, such a semiconductor device has a problem that the circuit becomes large because it is necessary to provide an input timing adjustment circuit for each input signal. In the semiconductor device system, there are many examples in which the skew between the clock and the input signal group is large but the skew between the input signals is small due to the relationship between the wiring and the load. In such a case, the input timing adjustment circuit described so far for one typical input signal may be provided, and the other input signals may be captured in synchronization with the same input timing signal. If this is the case, the circuit scale can be greatly reduced, and an input signal can be fetched at almost optimum timing.

また、半導体装置システムでは、図1に示すように、駆動側半導体装置11から受信側半導体装置12への信号の伝達を行う配線をできるだけ平行に配置することで信号間のスキューをできるだけ小さくしている。そのため、受信側半導体装置の端子に入力されるクロックと入力信号間のスキューは無視できる程度に小さい場合がある。受信側半導体装置の内部回路は、受信したクロックから発生された内部クロックに同期して動作するため、内部クロックを内部の各所に分配する必要があり、しかも各部は内部クロックに同期して動作するため、分配された内部クロックは位相差が小さいことが必要である。内部クロックの分配の個数が多く装置内に分散している場合、内部クロック発生回路から分配先までの配線長が長くなる上、途中に多数のクロックバッファを設ける必要があるため、分配された内部クロックは入力されたクロックに対して大きな遅延を生じることになる。入力回路がこのような遅延した内部クロックに同期して入力信号を取り込む場合、たとえ入力端子の所ではクロックと入力信号のスキューが小さくても、入力回路が入力信号を取り込む内部クロック、すなわち入力タイミング信号と入力信号の間には大きな位相差が生じることになる。このような場合には、上記のように、代表的な1つの入力信号についてこれまで説明した入力タイミング調整回路を設け、そこで調整した入力タイミング信号に同期して入力信号を取り込むことが考えられる。しかし、入力タイミング調整ができるようにするには、図16に示すようなシフトクロック発生回路を駆動側又は受信側のいずれかに設ける必要があり、更にディレイ回路やディレイ制御回路を有する入力タイミング調整を設ける必要があり、そのための回路規模が大きいという問題がある。そこで、入力タイミング調整ができるようにするための回路をできるだけ小さな規模で実現することが要求される。   Further, in the semiconductor device system, as shown in FIG. 1, the wiring between the driving side semiconductor device 11 and the receiving side semiconductor device 12 is arranged in parallel as much as possible to reduce the skew between signals as much as possible. Yes. Therefore, the skew between the clock input to the terminal of the receiving semiconductor device and the input signal may be small enough to be ignored. Since the internal circuit of the receiving-side semiconductor device operates in synchronization with the internal clock generated from the received clock, it is necessary to distribute the internal clock to various internal locations, and each unit operates in synchronization with the internal clock. Therefore, the distributed internal clock needs to have a small phase difference. When the number of internal clock distribution is large and distributed in the device, the wiring length from the internal clock generation circuit to the distribution destination becomes long, and it is necessary to provide a large number of clock buffers along the way. The clock causes a large delay with respect to the input clock. When the input circuit captures the input signal in synchronization with the delayed internal clock, even if the skew between the clock and the input signal is small at the input terminal, the input circuit captures the input signal, that is, the input timing. There will be a large phase difference between the signal and the input signal. In such a case, as described above, it is conceivable that the input timing adjustment circuit described so far is provided for one typical input signal, and the input signal is captured in synchronization with the input timing signal adjusted there. However, in order to be able to adjust the input timing, it is necessary to provide a shift clock generating circuit as shown in FIG. 16 on either the driving side or the receiving side, and further to adjust the input timing having a delay circuit and a delay control circuit. There is a problem that the circuit scale for this is large. Therefore, it is required to realize a circuit for adjusting the input timing on the smallest possible scale.

上記のような、クロック分配システムによる遅延で分配されるクロックと入力信号の間に生じる位相差が問題である場合、クロック分配システムは、かなりの回路規模になるため、そこでの遅延量は温度や電源電圧により変動する。そのため、上記の位相差は環境により変動する可能性があり、タイミングを一定量ずらすだけでは良好なタイミングで入力信号を取り込むことはできない。この位相差は、半導体装置内で内部クロックを分配する分配システムにおける遅延であり、いいかえれば入力されたクロックと分配されたクロックの位相差であるといえる。そこで、第15実施例では、入力されたクロックと分配されたクロックの位相差をなくすように調整する。   When the phase difference between the clock distributed by the clock distribution system and the input signal as described above is a problem, the clock distribution system has a considerable circuit scale. Varies with the power supply voltage. For this reason, the above phase difference may vary depending on the environment, and it is not possible to capture an input signal with good timing only by shifting the timing by a certain amount. This phase difference is a delay in the distribution system that distributes the internal clock within the semiconductor device. In other words, it can be said to be a phase difference between the input clock and the distributed clock. Therefore, in the fifteenth embodiment, adjustment is made to eliminate the phase difference between the input clock and the distributed clock.

図76は、本発明の第15実施例の受信側半導体装置の内部クロック発生回路と信号入力回路の部分の構成を示す図である。
図76において、参照番号610は外部クロックCLKから内部クロックCLK2を発生するクロック発生回路であり、620はダミー入力回路であり、630は信号入力回路である。図76では、信号入力回路は1個だけ示してあるが、入力信号の個数分存在する。また、ダミー入力回路620は、すべての信号入力回路に共通に1個設けるが、複数の信号入力回路で構成される組み毎に設ける場合も、各信号入力回路毎に設けてもよい。クロック発生回路610は、従来例のクロック入力回路と同様に、入力された外部クロックCLKを正確に受けるためのクロックカレントミラー回路611と、クロックカレントミラー回路611の出力をバッファリングするクロックバッファ回路612とを備え、更に、ディレイ回路613とディレイ回路613での遅延量を制御するディレイ制御回路614とを備える。
FIG. 76 is a diagram showing the configuration of the internal clock generation circuit and the signal input circuit of the receiving-end semiconductor device according to the fifteenth embodiment of the present invention.
In FIG. 76, reference numeral 610 is a clock generation circuit for generating the internal clock CLK2 from the external clock CLK, 620 is a dummy input circuit, and 630 is a signal input circuit. In FIG. 76, only one signal input circuit is shown, but there are as many input signals as there are input signals. One dummy input circuit 620 is provided in common for all signal input circuits. However, the dummy input circuit 620 may be provided for each set of signal input circuits or for each signal input circuit. Similar to the conventional clock input circuit, the clock generation circuit 610 includes a clock current mirror circuit 611 for accurately receiving the input external clock CLK, and a clock buffer circuit 612 for buffering the output of the clock current mirror circuit 611. And a delay control circuit 614 for controlling the delay amount in the delay circuit 613.

信号入力回路630は、従来の信号入力回路と同様に、入力信号を受けるカレントミラー回路631と、入力バッファ回路632と、ラッチ回路633とを備える。信号入力回路630は信号入力端子の近くに設けられるのが一般的であり、本実施例でも信号入力端子の近くに設けられる。ダミー入力回路620は、信号入力回路630と同等の構成を有する回路であり、外部クロックCLKが入力されるカレントミラー回路631と、入力バッファ回路632と、ラッチ回路633に対応するダミーカレントミラー回路621と、ダミー入力バッファ回路622と、ダミーラッチ回路623とを備える。ダミー入力回路620も、外部クロックCLKが入力されるクロック入力端子の近くに設けられる。それぞれのカレントミラー回路、バッファ回路、及びラッチ回路は従来のものがそのまま使用される。従って、カレントミラー回路とバッファ回路については、ここでは説明を省略する。また、ラッチ回路は図20に示したような構成を有し、ディレイ回路613及びディレイ制御回路614は図19のような構成を有する。   Similar to the conventional signal input circuit, the signal input circuit 630 includes a current mirror circuit 631 that receives an input signal, an input buffer circuit 632, and a latch circuit 633. The signal input circuit 630 is generally provided near the signal input terminal, and is also provided near the signal input terminal in this embodiment. The dummy input circuit 620 is a circuit having a configuration equivalent to that of the signal input circuit 630, and a dummy current mirror circuit 621 corresponding to the current mirror circuit 631 to which the external clock CLK is input, the input buffer circuit 632, and the latch circuit 633. A dummy input buffer circuit 622 and a dummy latch circuit 623. The dummy input circuit 620 is also provided near the clock input terminal to which the external clock CLK is input. Conventional current mirror circuits, buffer circuits, and latch circuits are used as they are. Therefore, description of the current mirror circuit and the buffer circuit is omitted here. The latch circuit has a configuration as shown in FIG. 20, and the delay circuit 613 and the delay control circuit 614 have a configuration as shown in FIG.

図77は、図76の動作を示すタイムチャートである。
図77に示すように、入力信号は、外部クロックCLKの立ち上がりの前後で有効になるように入力される。クロックカレントミラー回路611の出力CLK0とクロックバッファ回路612の出力CLK1は、それぞれの回路での遅延のために、図示のようになる。破線の矢印で示したように、CLK1はディレイ回路613でクロックの約1サイクル分遅延されて出力される。カレントミラー回路631の出力SIG0と入力信号バッファ回路632の出力SIG1は、入力信号がそれぞれの回路で遅延されるために、有効な期間は図示のようになる。ダミーカレント回路621には外部クロックCLKが入力されるが、ダミーカレント回路621とダミーバッファ回路622は、カレントミラー回路631と入力信号バッファ回路632の遅延量と同じ遅延を生じるので、その出力DCLK0とDCLK1は図示のようになる。すなわち、DCLK1はSIG1の有効期間に対し、最適なタイミングで立ち上がる。従って、内部クロックCLK2がDCLK1と同じタイミングで立ち上がるようにディレイ回路613における遅延量を調整すればよい。
FIG. 77 is a time chart showing the operation of FIG.
As shown in FIG. 77, the input signal is input so as to be effective before and after the rising edge of the external clock CLK. The output CLK0 of the clock current mirror circuit 611 and the output CLK1 of the clock buffer circuit 612 are as shown in the figure due to delays in the respective circuits. As indicated by the dashed arrow, CLK1 is delayed by about one cycle of the clock by the delay circuit 613 and output. The effective period of the output SIG0 of the current mirror circuit 631 and the output SIG1 of the input signal buffer circuit 632 is as shown in the figure because the input signals are delayed in the respective circuits. Although the external clock CLK is input to the dummy current circuit 621, the dummy current circuit 621 and the dummy buffer circuit 622 generate the same delay as the delay amount of the current mirror circuit 631 and the input signal buffer circuit 632, so that the output DCLK0 DCLK1 is as shown. That is, DCLK1 rises at an optimal timing with respect to the effective period of SIG1. Therefore, the delay amount in the delay circuit 613 may be adjusted so that the internal clock CLK2 rises at the same timing as DCLK1.

ダミーラッチ回路623では、内部クロックCLK2に応じてDCLK1がラッチされる。DCLK1が内部クロックCLK2より先に立ち上がるか後で立ち上がるかによってダミーラッチ回路623の出力CLKCが異なるので、CLKCに応じてディレイ制御回路614のアップ・ダウンカウンタをカウントアップさせるかカウントダウンさせ、内部クロックCLK2がDCLK1と同じタイミングで立ち上がるようにディレイ回路613における遅延量をフィードバック調整する。   In the dummy latch circuit 623, DCLK1 is latched according to the internal clock CLK2. Since the output CLKC of the dummy latch circuit 623 differs depending on whether DCLK1 rises before or after the internal clock CLK2, the up / down counter of the delay control circuit 614 is counted up or down according to CLKC, and the internal clock CLK2 is The delay amount in the delay circuit 613 is feedback adjusted so that it rises at the same timing as DCLK1.

図78はDCLK1が内部クロックCLK2に対して進んでいる場合を示すタイムチャートであり、図79はDCLK1が内部クロックCLK2に対して遅れている場合を示すタイムチャートである。
図78に示すように、入力信号は外部クロックCLKの立ち上がりの前後の適切な期間有効であるとする。クロック発生回路610から出力されダミーラッチ回路623に入力される内部クロックCLK2に対して、ダミーバッファ回路622から出力されるDCLK1がaだけ進んでいるとする。この場合、ダミーラッチ回路623の出力CLKCは図示のように変化し、内部クロックCLK2が「H」である期間「H」である。ディレイ制御回路614は、CLKCが「H」で内部クロックCLK2が立ち下がる時にディレイ回路613での遅延量を減少させる。これにより、内部クロックCLK2はDCLK1と立ち上がりが一致するように変化する。逆に、図79に示すように、内部クロックCLK2に対してDCLK1がbだけ遅れている場合、CLKCは図示のようにほぼ全期間にわたって「L」である。ディレイ制御回路614は、CLKCが「L」で内部クロックCLK2が立ち下がる時にディレイ回路613での遅延量を増加させる。これにより、内部クロックCLK2はDCLK1と立ち上がりが一致するように変化する。
78 is a time chart showing a case where DCLK1 is advanced with respect to the internal clock CLK2, and FIG. 79 is a time chart showing a case where DCLK1 is delayed with respect to the internal clock CLK2.
As shown in FIG. 78, it is assumed that the input signal is valid for an appropriate period before and after the rising edge of the external clock CLK. It is assumed that DCLK1 output from the dummy buffer circuit 622 is advanced by a with respect to the internal clock CLK2 output from the clock generation circuit 610 and input to the dummy latch circuit 623. In this case, the output CLKC of the dummy latch circuit 623 changes as shown, and is the period “H” during which the internal clock CLK2 is “H”. The delay control circuit 614 reduces the delay amount in the delay circuit 613 when CLKC is “H” and the internal clock CLK2 falls. As a result, the internal clock CLK2 changes so as to coincide with the rising edge of DCLK1. On the contrary, as shown in FIG. 79, when DCLK1 is delayed by b with respect to the internal clock CLK2, CLKC is “L” over almost the entire period as shown. The delay control circuit 614 increases the delay amount in the delay circuit 613 when CLKC is “L” and the internal clock CLK2 falls. As a result, the internal clock CLK2 changes so as to coincide with the rising edge of DCLK1.

以上説明したように、第15実施例では、信号入力回路と等価なダミー入力回路に外部クロックを入力し、内部クロックでラッチした時の値から、信号入力回路で入力信号を内部クロックでラッチする場合のタイミングがどちらにずれているか検出し、その検出結果に基づいて最適なタイミングになるように調整しているため、温度条件や電源電圧にかかわらず、常に最適なタイミングで入力信号を取り込むことができる。   As described above, in the fifteenth embodiment, an external clock is input to a dummy input circuit equivalent to the signal input circuit, and the input signal is latched by the internal clock from the value when latched by the internal clock. Because the timing is detected to be shifted to the optimal timing based on the detection result, the input signal is always captured at the optimal timing regardless of temperature conditions and power supply voltage. Can do.

図80は、第16実施例の半導体装置のクロック発生回路と信号入力回路の部分の構成を示す図である。第15実施例と異なるのは、クロック発生回路610で発生された内部クロックを、半導体装置内の各部分に分配するクロック分配回路640が設けられており、クロック分配回路640から分配される内部クロックがダミー入力回路625と信号入力回路635に入力される点と、ダミー入力回路625と信号入力回路635が、外部クロックCLK又は入力信号がラッチ回路に直接入力されるラッチ型である点である。   FIG. 80 is a diagram showing the configuration of the clock generation circuit and the signal input circuit of the semiconductor device according to the sixteenth embodiment. A difference from the fifteenth embodiment is that a clock distribution circuit 640 for distributing the internal clock generated by the clock generation circuit 610 to each part in the semiconductor device is provided, and the internal clock distributed from the clock distribution circuit 640 is provided. Are input to the dummy input circuit 625 and the signal input circuit 635, and the dummy input circuit 625 and the signal input circuit 635 are of a latch type in which the external clock CLK or the input signal is directly input to the latch circuit.

既に説明したように、外部からの信号を受ける部分にカレントミラー回路を使用するのは、信号の変化を正確に取り込むためである。信号を取り込む時の誤差はそのままタイミングの誤差になるため、従来は信号の変化を正確に取り込むことが可能なカレントミラー回路を使用していた。カレントミラー回路は信号の変化を正確に取り込むことが可能であるが、常時電流が流れるため消費電力が大きくなるという問題があった。本発明を適用すれば、半導体装置の内部で入力信号が所定の適切なタイミングで取り込まれるように調整されるため、カレントミラー回路を使用しなくても信号を取り込む時のタイミングの誤差は発生しない。従って、図示のように、信号入力回路35を、カレントミラー回路を使用せずに、入力信号ラッチ回路636とバッファ回路637で構成することができる。もちろん、ダミー入力回路625も、等価なダミーラッチ回路626とダミーバッファ回路627で構成する。これにより消費電力が低減できる。   As already described, the reason that the current mirror circuit is used in the portion that receives the signal from the outside is to capture the change of the signal accurately. Since the error when the signal is captured becomes the timing error as it is, a current mirror circuit that can accurately capture the change of the signal has been used conventionally. Although the current mirror circuit can accurately capture a change in signal, there is a problem in that power consumption increases because a current always flows. By applying the present invention, the input signal is adjusted so as to be captured at a predetermined appropriate timing inside the semiconductor device. Therefore, even if the current mirror circuit is not used, a timing error does not occur when the signal is captured. . Therefore, as shown in the figure, the signal input circuit 35 can be constituted by the input signal latch circuit 636 and the buffer circuit 637 without using the current mirror circuit. Of course, the dummy input circuit 625 is also composed of an equivalent dummy latch circuit 626 and dummy buffer circuit 627. Thereby, power consumption can be reduced.

図81は、第16実施例における、クロック分配回路640と、クロック発生回路610と、ダミー入力回路(DSC)625と、複数の信号入力回路の配置例を示す図である。
図示のように、この半導体装置には、複数の信号Sig−1、Sig−2、…、Sig−nが入力されるので、入力信号毎に信号入力回路(SC−1、SC−2、…、SC−n)35−1、35−2、…、35−nが設けられている。クロック分配回路640は、バッファ回路(CB1、CB21、…、CB34)641から647を介して、クロック発生回路610からの内部クロックを半導体装置内に分配するが、分配先までの配線長と経由するバッファ回路の個数がすべて同じになる等距離配線になっている。従って、図81においては、各信号入力回路635−1、635−2、…、635−nとダミー入力回路625に入力される内部クロックの位相はすべて一致している。従って、ダミー入力回路625で外部クロックCLKに対する内部クロックの位相の進み具合を判定して、判定結果に基づいてクロック発生回路610での遅延量を調整すれば、すべての信号入力回路635−1、635−2、…、635−nで、入力信号Sig−1、Sig−2、…、Sig−nを適切なタイミングで取り込むことができる。
FIG. 81 is a diagram showing an arrangement example of a clock distribution circuit 640, a clock generation circuit 610, a dummy input circuit (DSC) 625, and a plurality of signal input circuits in the sixteenth embodiment.
As shown in the figure, since a plurality of signals Sig-1, Sig-2,..., Sig-n are input to this semiconductor device, signal input circuits (SC-1, SC-2,. , SC-n) 35-1, 35-2,..., 35-n are provided. The clock distribution circuit 640 distributes the internal clock from the clock generation circuit 610 in the semiconductor device via the buffer circuits (CB1, CB21,..., CB34) 641 to 647, but via the wiring length to the distribution destination. The equidistant wiring is the same in the number of buffer circuits. Accordingly, in FIG. 81, the signal input circuits 635-1, 635-2,..., 635-n and the internal clock input to the dummy input circuit 625 are all in phase. Accordingly, if the dummy input circuit 625 determines the progress of the phase of the internal clock relative to the external clock CLK, and adjusts the delay amount in the clock generation circuit 610 based on the determination result, all the signal input circuits 635-1, 635-2, 635-n, the input signals Sig-1, Sig-2, ..., Sig-n can be captured at an appropriate timing.

図82は、第17実施例の半導体装置のクロック発生回路と信号入力回路の部分の構成を示す図であり、図83は第17実施例の動作を示すタイムチャートである。クロック発生回路610、ダミー入力回路620、及び入力回路630は第15実施例と同じものであり、第15実施例と異なるのは、PLL回路680が設けられている点である。第1実施例では、入力信号は外部クロックの立ち上がりの前後の所定期間有効であったが、入力信号が外部クロックの立ち上がり又は立ち下がりに対してずれた位相を中心として所定期間有効になる場合もある。図83に示すように、第17実施例では、入力信号は、外部クロックCLKの立ち上がりと立ち下がりのちょうど中間のCLKが「L」の時点で切り換わり、CLKが「H」のCLKの立ち上がりと立ち下がりのちょうど中間の時点で取り込まれるとして示してある。ダミー入力回路で、タイミングを判定するには、入力信号と同じ位相のCLKが「H」のCLKの立ち上がりと立ち下がりのちょうど中間の時点で変化する信号をダミー入力回路に入力する必要がある。このような信号を外部クロックCLKを遅延させて生成することも考えられるが、その場合にはCLKを遅延させるための回路での誤差が問題になり、正確な判定が行えない。そのため、図82に示すように、外部クロックCLKからクロックの1/4サイクル分遅延させた信号DCLKaを生成し、これをダミー入力回路に入力するようにしている。PLL回路の替わりにDLL(Deley Locked Loop)回路を使用することも可能である。   FIG. 82 is a diagram showing the configuration of the clock generation circuit and signal input circuit of the semiconductor device of the seventeenth embodiment, and FIG. 83 is a time chart showing the operation of the seventeenth embodiment. The clock generation circuit 610, the dummy input circuit 620, and the input circuit 630 are the same as those in the fifteenth embodiment. The difference from the fifteenth embodiment is that a PLL circuit 680 is provided. In the first embodiment, the input signal is valid for a predetermined period before and after the rising edge of the external clock. However, the input signal may be valid for a predetermined period around the phase shifted from the rising or falling edge of the external clock. is there. As shown in FIG. 83, in the seventeenth embodiment, the input signal is switched at the time when the intermediate CLK between the rising edge and the falling edge of the external clock CLK is “L” and the rising edge of the CLK whose CLK is “H”. It is shown as being captured at the midpoint of the fall. In order to determine the timing in the dummy input circuit, it is necessary to input a signal that changes at a time just between the rise and fall of the CLK having the same phase as the input signal to the dummy input circuit. Although it is conceivable to generate such a signal by delaying the external clock CLK, in that case, an error in a circuit for delaying CLK becomes a problem, and accurate determination cannot be performed. Therefore, as shown in FIG. 82, a signal DCLKa delayed from the external clock CLK by a quarter cycle of the clock is generated and input to the dummy input circuit. It is also possible to use a DLL (Deley Locked Loop) circuit instead of the PLL circuit.

以上説明したように、本発明によれば、信号経路の伝達時間の差のために、受信したクロックと入力信号の間に位相ずれがあっても、位相ずれをなくした状態で取り込まれるため、入力確定時間を回路動作から必要な最低限の長さにできる。しかも、取り込んで出力される信号は再同期化されるので、位相ずれがなく、御動作などを生じなくなる。   As described above, according to the present invention, even if there is a phase shift between the received clock and the input signal due to a difference in the transmission time of the signal path, it is captured in a state in which the phase shift is eliminated. The input confirmation time can be set to the minimum necessary length from the circuit operation. In addition, since the signals that are fetched and output are resynchronized, there is no phase shift and no operation occurs.

半導体装置システムの構成例を示す図である。It is a figure which shows the structural example of a semiconductor device system. クロックに同期した信号の伝達システムの基本構成を示す図である。1 is a diagram illustrating a basic configuration of a signal transmission system synchronized with a clock. FIG. 半導体装置システムにおけるクロック同期伝送の構成を示す図である。It is a figure which shows the structure of clock synchronous transmission in a semiconductor device system. 半導体装置の入力回路の従来例を示す図である。It is a figure which shows the prior art example of the input circuit of a semiconductor device. 半導体装置システムにおけるクロックと他の信号の相対関係の例を示す図である。It is a figure which shows the example of the relative relationship of the clock and another signal in a semiconductor device system. 半導体装置システムにおけるクロックと他の信号の相対関係に起因する有効期間を示す図である。It is a figure which shows the effective period resulting from the relative relationship of the clock and another signal in a semiconductor device system. 従来の半導体装置システムにおける問題点を説明する図である。It is a figure explaining the problem in the conventional semiconductor device system. 本発明の原理構成図である。It is a principle block diagram of this invention. 本発明における入力信号取込みにおける位相判定の原理を説明する図である。It is a figure explaining the principle of the phase determination in the input signal acquisition in this invention. 本発明の第1の態様の半導体装置システムの基本構成を示す図である。It is a figure which shows the basic composition of the semiconductor device system of the 1st aspect of this invention. 第1の態様における受信側の基本構成を示す図である。It is a figure which shows the basic composition on the receiving side in a 1st aspect. 第1の態様における基本動作を示す図である。It is a figure which shows the basic operation | movement in a 1st aspect. 本発明の第2の態様の受信側半導体装置の基本構成を示す図である。It is a figure which shows the basic composition of the receiving side semiconductor device of the 2nd aspect of this invention. 本発明の第3の態様の受信側半導体装置の基本構成を示す図である。It is a figure which shows the basic composition of the receiving side semiconductor device of the 3rd aspect of this invention. 本発明の第1実施例の駆動側半導体装置のクロック発生回路と出力タイミング調整部の構成を示す図である。It is a figure which shows the structure of the clock generation circuit and output timing adjustment part of the drive side semiconductor device of 1st Example of this invention. 第1実施例のシフトクロック発生回路の基本構成を示す図である。It is a figure which shows the basic composition of the shift clock generation circuit of 1st Example. 第1実施例のシフトクロック発生回路の構成を示す図である。It is a figure which shows the structure of the shift clock generation circuit of 1st Example. 第1実施例の受信側半導体装置のクロック発生回路と入力回路の構成を示す図である。It is a figure which shows the structure of the clock generation circuit and input circuit of the receiving side semiconductor device of 1st Example. 第1実施例の受信側半導体装置のディレイ回路と、ディレイ制御回路の構成例を示す図である。It is a figure which shows the structural example of the delay circuit of the receiving side semiconductor device of 1st Example, and a delay control circuit. ラッチ回路の構成例を示す図である。It is a figure which shows the structural example of a latch circuit. 第1実施例の動作を説明するためのタイムチャートである。It is a time chart for demonstrating operation | movement of 1st Example. 第2実施例の受信側半導体装置の入力部の構成を示す図である。It is a figure which shows the structure of the input part of the receiving side semiconductor device of 2nd Example. 第2実施例のクロック発生回路の構成を示す図である。It is a figure which shows the structure of the clock generation circuit of 2nd Example. 第2実施例の入力回路の構成を示す図である。It is a figure which shows the structure of the input circuit of 2nd Example. 位相判定回路の構成を示す図である。It is a figure which shows the structure of a phase determination circuit. 第2実施例での位相判定動作を説明する図である。It is a figure explaining the phase determination operation | movement in 2nd Example. 第2実施例での位相判定動作を説明する図である。It is a figure explaining the phase determination operation | movement in 2nd Example. 第2実施例での位相判定動作を説明する図である。It is a figure explaining the phase determination operation | movement in 2nd Example. 第2実施例での位相判定動作の真理値表である。It is a truth table of the phase determination operation | movement in 2nd Example. 第2実施例の受信側半導体装置のディレイ回路と、ディレイ制御回路の構成例を示す図である。It is a figure which shows the structural example of the delay circuit of the receiving side semiconductor device of 2nd Example, and a delay control circuit. 第3実施例のクロック発生回路の構成を示す図である。It is a figure which shows the structure of the clock generation circuit of 3rd Example. 第3実施例の入力回路の構成を示す図である。It is a figure which shows the structure of the input circuit of 3rd Example. 第4実施例の入力回路の構成を示す図である。It is a figure which shows the structure of the input circuit of 4th Example. 第4実施例の動作モードを示す図である。It is a figure which shows the operation mode of 4th Example. 入力信号のパターンによる最適タイミングの差を示す図である。It is a figure which shows the difference of the optimal timing by the pattern of an input signal. 第5実施例の入力回路の構成を示す図である。It is a figure which shows the structure of the input circuit of 5th Example. 第5実施例の位相判定動作を説明する示す図である。It is a figure explaining the phase determination operation | movement of 5th Example. 第5実施例の位相判定回路の構成を示す図である。It is a figure which shows the structure of the phase determination circuit of 5th Example. 第5実施例の位相判定回路の真理値表を示す図である。It is a figure which shows the truth table of the phase determination circuit of 5th Example. 第6実施例の入力回路の構成を示す図である。It is a figure which shows the structure of the input circuit of 6th Example. 第6実施例のタイミング補正回路の構成を示す図である。It is a figure which shows the structure of the timing correction circuit of 6th Example. 第6実施例の位相判定回路の構成を示す図である。It is a figure which shows the structure of the phase determination circuit of 6th Example. 第6実施例の位相判定回路の真理値表を示す図である。It is a figure which shows the truth table of the phase determination circuit of 6th Example. 図8の本発明の入力回路の問題点を説明する図である。It is a figure explaining the problem of the input circuit of this invention of FIG. 図8の本発明の入力回路の出力の1クロックサイクル内の信号値の変化を示す図である。It is a figure which shows the change of the signal value within 1 clock cycle of the output of the input circuit of this invention of FIG. 本発明の第7実施例の基本構成を示す図である。It is a figure which shows the basic composition of 7th Example of this invention. 本発明の第7実施例の受信側半導体装置の構成を示す図である。It is a figure which shows the structure of the receiving side semiconductor device of 7th Example of this invention. 第7実施例のディレイ制御回路の構成例を示す図である。It is a figure which shows the structural example of the delay control circuit of 7th Example. 第7実施例のディレイ回路とラッチパルス発生回路の構成を示す図である。It is a figure which shows the structure of the delay circuit and latch pulse generation circuit of 7th Example. 第7実施例のディレイ制御回路の動作を説明する図である。It is a figure explaining operation | movement of the delay control circuit of 7th Example. 第7実施例における入力タイミング調整の原理を説明する図である。It is a figure explaining the principle of the input timing adjustment in 7th Example. 第7実施例における入力タイミング調整の動作を示す図である。It is a figure which shows the operation | movement of the input timing adjustment in 7th Example. 第7実施例の半導体装置の全体構成を示す図である。It is a figure which shows the whole structure of the semiconductor device of 7th Example. 第7実施例における動作モードの切り換えを示す図である。It is a figure which shows switching of the operation mode in 7th Example. タイミング調整を指示する信号端子を設けた変形例を示す図である。It is a figure which shows the modification which provided the signal terminal which instruct | indicates timing adjustment. 変形例における動作モードの切り換えを示す図である。It is a figure which shows switching of the operation mode in a modification. 本発明の第8実施例の受信側半導体装置の構成を示す図である。It is a figure which shows the structure of the receiving side semiconductor device of 8th Example of this invention. 本発明の第9実施例の受信側半導体装置の基本構成を示す図である。It is a figure which shows the basic composition of the receiving side semiconductor device of 9th Example of this invention. 本発明の第9実施例の受信側半導体装置の構成を示す図である。It is a figure which shows the structure of the receiving side semiconductor device of 9th Example of this invention. 第9実施例における入力タイミング調整の動作を示す図である。It is a figure which shows the operation | movement of the input timing adjustment in 9th Example. 本発明の第10実施例の受信側半導体装置の構成を示す図である。It is a figure which shows the structure of the receiving side semiconductor device of 10th Example of this invention. 本発明の第10実施例におけるタイミング調整ディレイ回路の構成を示す図である。It is a figure which shows the structure of the timing adjustment delay circuit in 10th Example of this invention. 第10実施例における入力タイミング調整の動作を示す図である。It is a figure which shows the operation | movement of the input timing adjustment in 10th Example. スキューが1クロックサイクル以上の場合の問題点を説明する図である。It is a figure explaining the problem in case a skew is 1 clock cycle or more. 本発明の第11実施例の受信側半導体装置の構成を示す図である。It is a figure which shows the structure of the receiving side semiconductor device of 11th Example of this invention. 第11実施例における入力タイミング調整の動作を示す図である。It is a figure which shows the operation | movement of the input timing adjustment in 11th Example. 第11実施例における入力タイミング調整の動作を示す図である。It is a figure which shows the operation | movement of the input timing adjustment in 11th Example. 本発明の第12実施例における入力信号を示す図である。It is a figure which shows the input signal in 12th Example of this invention. 本発明の第12実施例の受信側半導体装置の構成を示す図である。It is a figure which shows the structure of the receiving side semiconductor device of 12th Example of this invention. 第12実施例における入力タイミング調整の動作を示す図である。It is a figure which shows the operation | movement of the input timing adjustment in 12th Example. 第12実施例における入力タイミング調整の動作を示す図である。It is a figure which shows the operation | movement of the input timing adjustment in 12th Example. 本発明の第13実施例の受信側半導体装置の構成を示す図である。It is a figure which shows the structure of the receiving side semiconductor device of 13th Example of this invention. 本発明の第14実施例の受信側半導体装置の構成を示す図である。It is a figure which shows the structure of the receiving side semiconductor device of 14th Example of this invention. 第14実施例の入力回路の構成を示す図である。It is a figure which shows the structure of the input circuit of 14th Example. 第14実施例における入力タイミング調整の動作を示す図である。It is a figure which shows the operation | movement of the input timing adjustment in 14th Example. 本発明の第15実施例の半導体装置の入力部の構成を示す図である。It is a figure which shows the structure of the input part of the semiconductor device of 15th Example of this invention. 第15実施例の動作を示すタイムチャートである。It is a time chart which shows operation | movement of 15th Example. 第15実施例の動作を説明するためのタイムチャートである。It is a time chart for demonstrating operation | movement of 15th Example. 第15実施例の動作を説明するためのタイムチャートである。It is a time chart for demonstrating operation | movement of 15th Example. 第16実施例の半導体装置の入力部の構成を示す図である。It is a figure which shows the structure of the input part of the semiconductor device of 16th Example. 第16実施例のクロック分配回路の構成と、クロック発生回路、信号入力回路、ダミー入力回路の配置を示す図である。It is a figure which shows the structure of the clock distribution circuit of 16th Example, and arrangement | positioning of a clock generation circuit, a signal input circuit, and a dummy input circuit. 本発明の第17実施例の構成を示す図である。It is a figure which shows the structure of 17th Example of this invention. 第17実施例の動作を示す図である。It is a figure which shows operation | movement of 17th Example.

符号の説明Explanation of symbols

10 クロック発生回路
11 クロックカレントミラー回路
12 クロックバッファ回路
13 ディレイ回路
14 ディレイ制御回路
20 ダミー入力回路
21 ダミーカレントミラー回路
22 ダミーバッファ回路
23 ダミーラッチ回路
30 信号入力回路
31 カレントミラー回路
32 バッファ回路
33 ラッチ回路
40 クロック分配回路
DESCRIPTION OF SYMBOLS 10 Clock generation circuit 11 Clock current mirror circuit 12 Clock buffer circuit 13 Delay circuit 14 Delay control circuit 20 Dummy input circuit 21 Dummy current mirror circuit 22 Dummy buffer circuit 23 Dummy latch circuit 30 Signal input circuit 31 Current mirror circuit 32 Buffer circuit 33 Latch circuit 40 Clock distribution circuit

Claims (9)

受信したクロックに基づいて内部クロックを発生するクロック発生回路と、
外部から入力される入力信号を受ける入力バッファ回路と、
前記クロック発生回路から供給される前記内部クロックに同期して入力信号を取り込んで出力する入力回路とを備える半導体装置において、
前記入力回路は、
前記入力バッファ回路の出力を遅延させ、遅延量が選択可能なディレイ回路と、
前記内部クロックに同期して前記入力バッファ回路の出力を取り込む入力回路と、
該入力回路の出力信号値を判定することにより、前記入力バッファ回路の出力の前記内部クロックに対する位相を判定する位相判定回路と、
該位相判定回路の判定結果に基づいて、前記入力バッファ回路の出力が前記内部クロックに対して所定の位相になるように前記ディレイ回路の遅延量を制御するディレイ制御回路とを備える半導体装置。
A clock generation circuit for generating an internal clock based on the received clock;
An input buffer circuit for receiving an input signal input from the outside;
In a semiconductor device comprising: an input circuit that captures and outputs an input signal in synchronization with the internal clock supplied from the clock generation circuit;
The input circuit is
A delay circuit capable of delaying an output of the input buffer circuit and selecting a delay amount;
An input circuit for capturing the output of the input buffer circuit in synchronization with the internal clock;
A phase determination circuit for determining a phase of the output of the input buffer circuit with respect to the internal clock by determining an output signal value of the input circuit;
A semiconductor device comprising: a delay control circuit that controls a delay amount of the delay circuit so that an output of the input buffer circuit is in a predetermined phase with respect to the internal clock based on a determination result of the phase determination circuit.
請求項1に記載の半導体装置であって、
入力信号の受信タイミング調整モードであることを指示する外部から入力されるモード指示信号を認識するモードレジスタ・デコーダを備え、
前記ディレイ制御回路は、前記受信タイミング調整モード中は、前記位相判定回路の判定結果に基づいて遅延量を変化させ、それ以外の時には、前記ディレイ制御回路が遅延量を保持する半導体装置。
The semiconductor device according to claim 1,
A mode register / decoder for recognizing a mode instruction signal input from the outside instructing the input signal reception timing adjustment mode,
The delay control circuit changes the delay amount based on the determination result of the phase determination circuit during the reception timing adjustment mode, and the delay control circuit holds the delay amount at other times.
請求項2に記載の半導体装置であって、
前記入力バッファ回路の出力を1/2分周する1/2分周回路と、
前記ディレイ回路へ入力する信号を、前記入力バッファ回路の出力と、前記1/2分周回路の出力との間で切り換える切り換え回路とを備え、
前記受信タイミング調整モード中は、所定のパターンの入力信号が入力され、
前記受信タイミング調整モードの初期段階では、前記1/2分周回路の出力が前記ディレイ回路へ入力されるように切り換え、その後前記入力バッファ回路の出力が前記ディレイ回路へ入力されるように切り換える半導体装置。
The semiconductor device according to claim 2,
A 1/2 divider circuit for dividing the output of the input buffer circuit by 1/2;
A switching circuit for switching a signal input to the delay circuit between an output of the input buffer circuit and an output of the ½ divider circuit;
During the reception timing adjustment mode, an input signal of a predetermined pattern is input,
In the initial stage of the reception timing adjustment mode, the semiconductor is switched so that the output of the 1/2 frequency divider circuit is input to the delay circuit, and then the output of the input buffer circuit is switched to be input to the delay circuit. apparatus.
外部から入力される外部クロックに基づいて内部クロックを発生するクロック発生回路と、
前記外部クロックに同期して外部から入力される入力信号を受け、前記クロック発生回路で発生された内部クロックに同期して前記入力信号を当該半導体装置内に取り込む信号入力回路とを備える半導体装置において、
前記外部クロックと同じ周波数を有する前記入力信号に同期した信号が入力され、該入力される信号を前記クロック発生回路で発生された内部クロックに同期して取り込んだ時の出力信号値を判定することにより、前記信号入力回路の前記入力信号の取り込みタイミングが前記内部クロックに対して進んでいるか遅れているかを判定するダミー入力回路を備え、
前記クロック発生回路は、
前記ダミー入力回路の判定結果に基づいて、入力された前記外部クロックを選択的に遅延させて前記内部クロックを生成するデイレイ回路と、
前記ダミー入力回路の判定結果に基づいて、前記ディレイ回路での遅延量を制御するディレイ制御回路とを備えることを特徴とする半導体装置。
A clock generation circuit for generating an internal clock based on an external clock input from the outside;
In a semiconductor device comprising: a signal input circuit that receives an input signal input from the outside in synchronization with the external clock and takes the input signal into the semiconductor device in synchronization with an internal clock generated by the clock generation circuit ,
A signal synchronized with the input signal having the same frequency as the external clock is input, and an output signal value is determined when the input signal is captured in synchronization with the internal clock generated by the clock generation circuit. A dummy input circuit for determining whether the input timing of the input signal of the signal input circuit is advanced or delayed with respect to the internal clock,
The clock generation circuit includes:
A delay circuit that selectively delays the input external clock to generate the internal clock based on the determination result of the dummy input circuit;
A semiconductor device comprising: a delay control circuit that controls a delay amount in the delay circuit based on a determination result of the dummy input circuit.
請求項4に記載の半導体装置であって、
前記入力信号は、前記外部クロックの立ち上がり又は立ち下がりの前後の所定期間有効となる信号であり、
前記ダミー入力回路には、前記外部クロックが入力される半導体装置。
The semiconductor device according to claim 4,
The input signal is a signal that is valid for a predetermined period before and after the rising or falling of the external clock,
A semiconductor device in which the external clock is input to the dummy input circuit.
請求項4に記載の半導体装置であって、
前記入力信号の有効期間は、前記外部クロックの立ち上がり又は立ち下がりに対し、所定位相ずれた信号であり、
入力される前記外部クロックから、該外部クロックと同一の周期で、位相の異なる信号を生成する位相ずれクロック生成回路を備え、
前記ダミー入力回路には、前記位相ずれクロック生成回路の出力する前記入力信号に同期するクロックが入力される半導体装置。
The semiconductor device according to claim 4,
The effective period of the input signal is a signal shifted by a predetermined phase with respect to the rising or falling edge of the external clock,
A phase shift clock generation circuit that generates signals having different phases from the input external clock in the same cycle as the external clock,
A semiconductor device in which a clock synchronized with the input signal output from the phase shift clock generation circuit is input to the dummy input circuit.
請求項4から6のいずれか1項に記載の半導体装置であって、
前記クロック発生回路から、前記信号入力回路と前記ダミー入力回路に前記内部クロックを伝達する信号経路は同じ遅延量を有する半導体装置。
A semiconductor device according to any one of claims 4 to 6,
A semiconductor device in which a signal path for transmitting the internal clock from the clock generation circuit to the signal input circuit and the dummy input circuit has the same delay amount.
請求項7に記載の半導体装置であって、
前記クロック発生回路から、前記信号入力回路と前記ダミー入力回路に前記内部クロックを伝達する信号経路は、等距離配線である半導体装置。
The semiconductor device according to claim 7,
A semiconductor device in which a signal path for transmitting the internal clock from the clock generation circuit to the signal input circuit and the dummy input circuit is equidistant wiring.
請求項4から8のいずれか1項に記載の半導体装置であって、
前記信号入力回路と前記ダミー入力回路は、前記入力信号が直接入力されるラッチ回路を有するラッチ型である半導体装置。
A semiconductor device according to any one of claims 4 to 8,
The signal input circuit and the dummy input circuit are a latch type semiconductor device having a latch circuit to which the input signal is directly input.
JP2007185841A 1996-09-17 2007-07-17 Semiconductor device Expired - Fee Related JP4516979B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007185841A JP4516979B2 (en) 1996-09-17 2007-07-17 Semiconductor device

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP24511896 1996-09-17
JP27009096 1996-10-11
JP33420896 1996-12-13
JP2007185841A JP4516979B2 (en) 1996-09-17 2007-07-17 Semiconductor device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP17071497A Division JP4090088B2 (en) 1996-09-17 1997-06-26 Semiconductor device system and semiconductor device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2010094266A Division JP2010220230A (en) 1996-09-17 2010-04-15 Method of manufacturing liquid crystal display device

Publications (2)

Publication Number Publication Date
JP2007293911A true JP2007293911A (en) 2007-11-08
JP4516979B2 JP4516979B2 (en) 2010-08-04

Family

ID=38764400

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007185841A Expired - Fee Related JP4516979B2 (en) 1996-09-17 2007-07-17 Semiconductor device

Country Status (1)

Country Link
JP (1) JP4516979B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2110951A2 (en) 2008-04-11 2009-10-21 Fujitsu Ltd. Phase controlling apparatus, phase-control printed board, and controlling method
CN110675899A (en) * 2018-07-03 2020-01-10 爱思开海力士有限公司 Delay circuit and semiconductor system using the same
CN112305413A (en) * 2019-12-17 2021-02-02 成都华微电子科技有限公司 Reference clock loss detection circuit and detection method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02107036A (en) * 1988-10-17 1990-04-19 Nec Corp Bit phase synchronizing circuit
JPH04293332A (en) * 1991-03-22 1992-10-16 Hitachi Ltd Bit phase synchronizing circuit
JPH0575594A (en) * 1991-09-11 1993-03-26 Nec Corp Parallel bit synchronizing system
JPH05110550A (en) * 1991-10-16 1993-04-30 Fujitsu Ltd Skew cancel system
JPH05304446A (en) * 1992-04-24 1993-11-16 Mitsubishi Electric Corp Clock skew correcting device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02107036A (en) * 1988-10-17 1990-04-19 Nec Corp Bit phase synchronizing circuit
JPH04293332A (en) * 1991-03-22 1992-10-16 Hitachi Ltd Bit phase synchronizing circuit
JPH0575594A (en) * 1991-09-11 1993-03-26 Nec Corp Parallel bit synchronizing system
JPH05110550A (en) * 1991-10-16 1993-04-30 Fujitsu Ltd Skew cancel system
JPH05304446A (en) * 1992-04-24 1993-11-16 Mitsubishi Electric Corp Clock skew correcting device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2110951A2 (en) 2008-04-11 2009-10-21 Fujitsu Ltd. Phase controlling apparatus, phase-control printed board, and controlling method
US8089308B2 (en) 2008-04-11 2012-01-03 Fujitsu Limited Phase controlling apparatus, phase-control printed board, and controlling method
CN110675899A (en) * 2018-07-03 2020-01-10 爱思开海力士有限公司 Delay circuit and semiconductor system using the same
CN110675899B (en) * 2018-07-03 2023-01-31 爱思开海力士有限公司 Delay circuit and semiconductor system using the same
CN112305413A (en) * 2019-12-17 2021-02-02 成都华微电子科技有限公司 Reference clock loss detection circuit and detection method
CN112305413B (en) * 2019-12-17 2023-05-30 成都华微电子科技股份有限公司 Reference clock loss detection circuit and detection method

Also Published As

Publication number Publication date
JP4516979B2 (en) 2010-08-04

Similar Documents

Publication Publication Date Title
JP4090088B2 (en) Semiconductor device system and semiconductor device
US6995591B2 (en) Register controlled delay locked loop with low power consumption
US6593786B2 (en) Register controlled DLL reducing current consumption
JP3993717B2 (en) Semiconductor integrated circuit device
US6636110B1 (en) Internal clock generating circuit for clock synchronous semiconductor memory device
US7825710B2 (en) Delay-locked loop circuits and method for generating transmission core clock signals
USRE46231E1 (en) Duty detection circuit, clock generation circuit including the duty detection circuit, and semiconductor device
US7777543B2 (en) Duty cycle correction circuit apparatus
JPH11316706A (en) Data fast transfer synchronous system and data fast transfer synchronizing method
KR101046227B1 (en) DLD circuit
US8392744B2 (en) Clock distribution apparatus, systems, and methods
US7098712B2 (en) Register controlled delay locked loop with reduced delay locking time
US20100213991A1 (en) Delay-locked loop circuit and method for synchronization by delay-locked loop
US20080054964A1 (en) Semiconductor memory device
WO2009154906A2 (en) Apparatus and method for multi-phase clock generation
JPH10171774A (en) Semiconductor integrated circuit
JPH10320074A (en) Skewness reduction circuit and semiconductor device
JP5005928B2 (en) Interface circuit and storage control device including the interface circuit
KR100525096B1 (en) DLL circuit
JP4516979B2 (en) Semiconductor device
JP3776847B2 (en) Clock synchronization circuit and semiconductor device
JP2010220230A (en) Method of manufacturing liquid crystal display device
GB2356089A (en) Clock synchronisation with timing adjust mode
JP3819005B2 (en) Semiconductor integrated circuit
JP3742044B2 (en) Memory system and memory module

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20080730

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100223

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100415

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100511

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100517

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20130521

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20140521

Year of fee payment: 4

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees