WO2013042233A1 - 半導体装置 - Google Patents

半導体装置 Download PDF

Info

Publication number
WO2013042233A1
WO2013042233A1 PCT/JP2011/071525 JP2011071525W WO2013042233A1 WO 2013042233 A1 WO2013042233 A1 WO 2013042233A1 JP 2011071525 W JP2011071525 W JP 2011071525W WO 2013042233 A1 WO2013042233 A1 WO 2013042233A1
Authority
WO
WIPO (PCT)
Prior art keywords
signal
delay
phase
unit
dqphase
Prior art date
Application number
PCT/JP2011/071525
Other languages
English (en)
French (fr)
Inventor
宣幸 ▲徳▼▲廣▼
Original Assignee
富士通株式会社
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 富士通株式会社 filed Critical 富士通株式会社
Priority to PCT/JP2011/071525 priority Critical patent/WO2013042233A1/ja
Priority to JP2013534536A priority patent/JP5673842B2/ja
Publication of WO2013042233A1 publication Critical patent/WO2013042233A1/ja
Priority to US14/196,345 priority patent/US8976619B2/en

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C7/00Arrangements for writing information into, or reading information out from, a digital store
    • G11C7/22Read-write [R-W] timing or clocking circuits; Read-write [R-W] control signal generators or management 
    • G11C7/222Clock generating, synchronizing or distributing circuits within memory device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus
    • G06F13/1668Details of memory controller
    • G06F13/1689Synchronisation and timing concerns

Definitions

  • the present invention relates to a semiconductor device.
  • DDR Double Data Rate
  • JEDEC JESD79-3E DDR (Double Data Rate) memory interface
  • the DDR memory interface is used in a RAM constituted by a semiconductor integrated circuit used in a personal computer such as DDR SDRAM (Synchronous Dynamic Random Access Memory).
  • the DDR memory is a memory that transfers data at a data transfer rate that is twice the clock frequency by inputting and outputting data at both the rising edge (positive edge) and the falling edge (negative edge) of the clock signal. .
  • an internal clock signal (CK signal) generated inside the memory controller is transmitted to a DIMM (Dual In-line Memory Module).
  • the DIMM generates a data strobe signal (DQS signal) based on the CK signal received from the DDR memory, and transmits the DQS signal together with the data signal (DQ signal) to the memory controller.
  • DQS signal data strobe signal
  • the memory controller receives the DQS signal and the DQ signal.
  • the DQ signal is retimed by the DQS signal, and further switched to the internal clock.
  • the timing relationship between the internal CK signal and the reception data signal needs to be within a certain range.
  • Factors that cause variation include, for example, the arrangement position of the memory controller and the DIMM, and environmental changes such as power supply and temperature.
  • the variation varies depending on the DIMM slot to be accessed.
  • An object of the present invention is to provide a semiconductor device capable of absorbing variations on the memory controller side and speeding up operation switching during continuous operation in order to solve the above-described problems caused by the prior art.
  • the first delay amount is continuously generated during the read operation period based on the phase difference between the received external clock signal and the internal clock signal.
  • a phase detection unit that detects a period of time that is equal to or longer than a read time for one data signal and is less than a certain time from the start of the read operation to the output of the received data signal.
  • a generation unit configured to generate a second control signal by delaying the first control signal to be started by a second delay amount whose sum with the first delay amount is the predetermined time;
  • a delay control unit that delays the data signal by the first delay amount detected by the phase detection unit at the start of an effective period of the second control signal generated by the unit.
  • FIG. 1 is a block diagram of an example of the semiconductor device according to the first embodiment.
  • FIG. 2 is a timing chart showing an operation example of the present invention.
  • FIG. 3 is a block diagram of the semiconductor device according to the second embodiment.
  • FIG. 4 is an explanatory diagram showing an example of the DQPHASE signal.
  • FIG. 5 is an explanatory diagram showing an example representing the phase of the DQPHASE signal.
  • FIG. 6 is an explanatory diagram illustrating a detailed example of the generation unit 122.
  • FIG. 7 is a timing chart (part 1) illustrating an operation example of the generation unit 122.
  • FIG. 8 is a timing chart (part 2) illustrating an operation example of the generation unit 122.
  • FIG. 9 is an explanatory diagram showing a detailed example of the signal restoration circuit 112.
  • FIG. 1 is a block diagram of an example of the semiconductor device according to the first embodiment.
  • FIG. 2 is a timing chart showing an operation example of the present invention.
  • FIG. 3 is a
  • FIG. 10 is an explanatory diagram illustrating an example in which a read operation is continuously performed on the memory 101.
  • FIG. 11 is a block diagram of an example of the semiconductor device according to the third embodiment.
  • FIG. 12 is an explanatory diagram illustrating a conventional example in the case where read operations are continuously performed on different memories 101.
  • FIG. 13 is an explanatory diagram showing an example of the present invention in the case where read operations are continuously performed on different memories 101.
  • FIG. 14 is a block diagram of the semiconductor device according to the fourth embodiment.
  • FIG. 15 is a block diagram illustrating an example of a motherboard.
  • a memory controller is described as an example of a semiconductor device.
  • the present invention is not limited to this, and a CPU or a motherboard may be used.
  • Example 1 In the first embodiment, even if the effective period of the control signal for determining the delay amount of the continuously changing data signal is as short as the reading time of one data signal, the sum of the control signal and the delay amount of the data signal is a fixed time. Delay to be That is, the control signal can be validated during the data signal delay processing. As a result, it is possible to speed up the switching of the operation during continuous operation (reading or writing) while making the response of the data signal a certain time. Therefore, the entire operation period during the continuous operation can be shortened.
  • FIG. 1 is a block diagram of an example of the semiconductor device according to the first embodiment.
  • a memory controller 100 is given as an example of the semiconductor device.
  • the memory controller 100 is an example of the memory controller 100 of the present disclosure, and is an interface circuit of the memory 101 and is a data input / output unit.
  • the memory controller 100 receives, for example, a DQS signal as a data signal or a DQS signal as a data signal from the memory 101 (DIMM) as a reception signal.
  • the memory 101 is a signal source.
  • the memory 101 is, for example, a DDR SDRAM.
  • the DDR SDRAM transfers data at a double rate of the clock (CK) signal (both rising and falling edges of the clock signal).
  • the memory controller 100 has a signal reception circuit 111 and a signal restoration circuit 112.
  • the signal receiving circuit 111 includes a generation unit 122, a clock generation unit 131, a clock output unit 124, a phase setting unit 125, a first phase delay unit 132, a second phase delay unit 133, and a phase detection unit. 121 and a data holding unit 127. Each unit is realized by an analog circuit, a logic circuit, an FF, or the like.
  • the DQS signal, the dqs90 signal, and the ddqs signal are data strobe signals.
  • the CLK signal, the output signal of the clock generation unit 131, and the output signal of the clock generation unit 141 are internal clock signals.
  • the DQ signal, dq-odd signal, dq-even signal, ddq-even signal, ddq-odd signal, ldq-even signal, ldq-odd signal, dq0 signal, and IN signal are data Signal.
  • the delay control unit 123 includes a clock generation unit 131, a first phase delay unit 132, a second phase delay unit 133, and a signal restoration circuit 112.
  • the delay control unit 123 can output the data signal as a DQ OUT signal in synchronization with the CLK signal when a predetermined time has elapsed from the start of the read operation.
  • the delay control unit 123 the clock generation unit 131, the first phase delay unit 132, and the second phase delay unit 133 are synchronized with the reference CLK signal by delaying the DQ signal. A data signal is generated.
  • the signal restoration circuit 112 outputs a data signal as a DQ OUT signal when a predetermined time has elapsed since the start of the read operation.
  • the DQPHASE signal which is a delay signal is the delay amount of each part of the delay control unit 123. If the DQPHASE signal changes while each part of the delay control unit 123 is delaying the data signal based on the DQPHASE signal, the delay amount is not determined, so a logical whisker pulse or the like is generated in the data signal. Or the data signal is shifted. Therefore, each part of the delay control unit 123 prevents the DQPHASE signal from changing based on the control signal while delaying the data signal.
  • the clock generator 131 divides the CLK signal to generate a multi-phase CLK signal.
  • the clock output unit 124 receives the CLK signal from the clock generation unit 131, generates a CK signal, and outputs the CK signal to the memory 101.
  • the memory 101 When reading data from the memory 101, the memory 101 generates a DQS signal based on the CK signal received from the memory controller 100, and generates a DQ signal synchronized with the DQS signal.
  • the DQS signal and the DQ signal are in phase.
  • the phase detection unit 121 compares the signal having the same frequency as the DQS signal obtained by dividing the CLK signal by the clock generation unit 131 with the signal obtained by delaying the DQS signal from the first phase delay unit 132, and compares the phase difference.
  • the delay amount based on is continuously detected during the readout period.
  • the DQPHASE signal is an information signal representing a delay amount based on a phase difference between a signal having the same frequency as the DQS obtained by dividing the CLK signal and a signal obtained by delaying the DQS signal.
  • the DQPHASE signal has information on the number of laps, CLK selection, and DL.
  • the number of laps of the DQPHASE signal indicates how many times the phase has been made
  • CLK selection of the DQPHASE signal indicates CLK selection in units of a predetermined phase difference
  • DL of the DQPHASE signal is a predetermined phase difference (for example, 180 degrees) Represents a delay adjustment amount of less than
  • phase detection unit 121 stores a DQPHASE signal at the end of the readout period.
  • the generation unit 122 described later can delay the control signal using the stored DQPHASE signal.
  • the phase setting unit 125 receives the DQS signal and the DQ signal from the memory 101 during a period (valid period) when the I / O INH signal is “H”. Then, the phase setting unit 125 sets a phase shift of a predetermined phase (90 degrees) in the DQS signal and the DQ signal. A signal obtained by phase shifting the DQS signal is a dqs90 signal.
  • the I / O INH signal is information indicating that the phase setting unit 125 is performing a reception operation.
  • the phase setting unit 125 does not receive the DQS signal and the DQ signal during the period when the I / O INH signal is “L” (non-valid period). Further, the phase setting unit 125 divides the DQ signal into two data signals (a dq-even signal and a dq-odd signal, respectively), a data signal when the DQS signal rises and a data signal when the DQS signal falls. Output to the first phase delay unit 132.
  • the first phase delay unit 132 delays the DQS signal in a range less than a predetermined phase difference based on the DQPHASE signal when the DL2 DLIR INH signal changes from “L” to “H”. Furthermore, the first phase delay unit 132 applies a phase delay to the DQ signal based on the DQPHASE signal when the DL2 DLIR INH signal changes from “L” to “H”. Specifically, the first phase delay unit 132 has a variable delay circuit. The first phase delay unit 132 receives the DQPHASE signal and sets a delay amount less than a predetermined phase difference in the DQS signal.
  • the first phase delay unit 132 changes from “L” to “H” even if the value of the DQPHASE signal is changed by the phase detection unit 121 during the period (effective period) when the DL2 DLIR INH signal is “H”.
  • a delay amount based on the value of the DQPHASE signal when changed is applied to the DQS signal and the DQ signal.
  • the first phase delay unit 132 may include a latch circuit for storing the DQPHASE signal when the DL2 DLIR INH signal changes from “L” to “H”.
  • the phase detection unit 121 continuously detects the DQPHASE signal, if the PHSEL INH signal is “H” during the period in which the first phase delay unit 132 delays the data signal, the delay amount is increased.
  • the DQPHASE signal used does not change. Therefore, it is possible to prevent logical whisker pulses caused by fluctuations in the DQPHASE signal.
  • the second phase delay unit 133 captures the ddq-odd signal and the ddq-even signal of the second phase delay unit body based on the DQPHASE signal when the PHSEL INH signal changes from “L” to “H”. Determine timing.
  • the second phase delay unit 133 is configured to change from “L” to “H” even if the value of the DQPHASE signal is changed by the phase detection unit 121 during the period (effective period) when the PHSEL INH signal is “H”. Based on the value of the DQPHASE signal, the timing for capturing the ddq-even signal and the ddq-odd signal is maintained.
  • the second phase delay unit 133 may include a latch circuit for storing a DQPHASE signal when the PHSEL INH signal changes from “L” to “H”.
  • the second phase delay unit 133 includes a clock generation unit 141 and a second phase delay unit main body 142.
  • the clock generation unit 141 divides the CLK signal to generate a multi-phase CLK signal.
  • the clock generation unit 141 selects one divided CLK signal from a plurality of CLK signals divided based on the DQPHASE signal when the PHSEL INH signal changes from “L” to “H”. Output to the second phase delay unit main body 142.
  • the second phase delay unit main body 142 receives the CLK signal divided from the clock generation unit 141. Then, the second phase delay unit main body 142 takes in the ddq-even signal and the ddq-odd signal based on the DQPHASE signal when the PHSEL INH signal changes from “L” to “H”. The second phase delay unit main body 142 outputs the ldq-even signal obtained by retiming the ddq-even signal and the ldq-odd signal obtained by retiming the ddq-odd signal to the selector 126.
  • the phase detection unit 121 continuously detects the DQPHASE signal, if the PHSEL INH signal is “H” during the period in which the second phase delay unit 133 delays the data signal, the delay amount or The DQPHASE signal used for the clock selection signal does not change. Therefore, it is possible to prevent logical whisker pulses caused by fluctuations in the DQPHASE signal.
  • the selector 126 selects a plurality of outputs from the second phase delay unit 133. Specifically, the selector 126 receives the CLK signal generated by the clock generation unit 141, and alternately selects the ldq-even signal and the ldq-odd signal using the CLK signal as selection information. More specifically, the selector 126 alternately selects the ldq-even signal for the rising edge of the DQS signal and the ldq-odd signal for the falling signal of the DQS signal.
  • the data holding unit 127 holds the ldq-even signal or ldq-odd signal selected by the selector 126 and switches the clock of the data signal to the reference CLK signal. Therefore, a reference CLK signal given from inside or outside the memory controller 100 is added to the data holding unit 127 from the input side of the clock generation unit 131.
  • the data holding unit 127 holds the dq0 signal in synchronization with the reference CLK signal, switches the clock to the reference CLK signal, and outputs the dq0 signal as an IN signal. Then, the data holding unit 127 outputs the IN signal to the signal restoration circuit 112.
  • the phase of the received data in the DQ signal varies depending on environmental factors such as power supply voltage and device temperature. Therefore, after changing to the internal clock, the received data also varies.
  • the DQ signal is normalized with the internal clock signal.
  • the signal restoration circuit 112 performs a delay control of the IN signal based on the DQPHASE signal when the LC INH signal changes from “L” to “H”, and realizes a process of reproducing the pulse width of the data. Yes. Further, the signal restoration circuit 112 prohibits the change of the DQPHASE signal while the LC INH signal is “H”.
  • the phase detection unit 121 continuously detects the DQPHASE signal, if the LC INH signal is “H” during the period in which the signal restoration circuit 112 delays the data signal (IN signal), the delay amount The DQPHASE signal used for the clock selection signal does not change. Therefore, it is possible to prevent logical whisker pulses caused by fluctuations in the DQPHASE signal.
  • the signal restoration circuit 112 may have a latch circuit for storing a DQPHASE signal when the LC INH signal changes from “L” to “H”.
  • the signal restoration circuit 112 has a FIFO (First-In First-Out) function sufficient to absorb delay variations in data, and a delay that passes through the FIFO according to the delay amount of the DQPHASE signal. Increase or decrease time. As a result, the delay of the reception signal output from the signal reception circuit 111, that is, the DQ signal is kept constant, and the data pulse width is reproduced.
  • FIFO First-In First-Out
  • the signal restoration processing by the signal restoration circuit 112 will be described more specifically.
  • the FIFO may be passed through the FIFO by the delay amount.
  • the data signal can be output after a certain time from the start of the read operation by increasing or decreasing the delay amount. Therefore, it is possible to prevent variations in response of read data.
  • the data pulse width is always constant, and the output signal (DQ OUT signal) of the signal restoration circuit 112 is generated.
  • the DQ OUT signal becomes a stable received signal. That is, the original data signal can be restored faithfully.
  • the generation unit 122 delays the control signal by a delay amount that makes a sum of the delay amount by which the data signal (IN signal) is delayed by the signal restoration circuit 112 a predetermined time, thereby generating a new control signal.
  • the new control signals are I / O INH signal, DL2 DLIR INH signal, PHSEL INH signal, and LC INH signal.
  • the difference in delay amount between the I / O INH signal, the DL2 DLIR INH signal, the PHSEL INH signal, and the LC INH signal is determined in advance depending on the circuit configuration of each part to be controlled.
  • the period (valid period) when the I / O INH signal, DL2 DLIR INH signal, PHSEL INH signal, and LC INH signal are “H” (valid period) is the same time width as the control signal “H” period (valid period).
  • FIG. 2 is a timing chart showing an operation example of the present invention. As shown in the timing chart 200, the period from the start of the read operation to the output of read data is a fixed time. ⁇ is the 1 / reference CLK signal. In FIG. 2, x, y, z, and i are fixed values determined in advance by the semiconductor device designer at the time of design.
  • the time from the rise time of the control signal to the time when the read data is output from the DQ OUT signal is fixed by the signal restoration circuit 112 and the generation unit 122 shown in FIG.
  • the delay time corresponding to the second delay amount from the rise time of the control signal to the rise time of the PHSEL INH signal is x ⁇ + (i ⁇ 1) ⁇ .
  • the delay time corresponding to the first delay amount from the time when read data is input to the signal restoration circuit 112 to the time when the data signal appears in the DQ OUT signal is y ⁇ + (1 to i) ⁇ . (1-i) and (i-1) are determined by the DQPHASE signal. That is, the first delay amount and the second delay amount are contradictory.
  • the time from the DQ OUT signal to the time when read data is output is 24 ⁇ .
  • the time from the rise time of the control signal to the rise time of the PHSEL INH signal is 6+ (16 to 1) ⁇ , that is, 22 to 7 ⁇ .
  • the time from the time when read data is input to the signal restoration circuit 112 to the time when read data is output from the DQ OUT signal is 1+ (1 to 16) ⁇ , that is, 2 to 17 ⁇ .
  • the sum of the delay amount for delaying the read data signal and the delay amount for delaying the control signal is kept constant.
  • the control signal is valid only during the delay process of the read data signal. Therefore, if the effective period of the control signal is not the entire period of the read period but at least the read time width of one data signal, it is possible to prevent the read data signal from being affected by the change in the DQPHASE signal. And since the effective period of a control signal can be shortened, switching of continuous operation
  • Example 2 Next, in a second embodiment, a detailed example of each part of the memory controller shown in the first embodiment will be described. Therefore, in Example 2, the same effect as Example 1 is acquired. In the second embodiment, the same components as those shown in the first embodiment are denoted by the same reference numerals.
  • FIG. 3 is a block diagram of the semiconductor device according to the second embodiment.
  • the clock generation unit 131 includes a clock generator 201 and a selector 202.
  • the clock generator 201 generates a multi-phase CLK signal.
  • the clock generator 201 may have a frequency dividing circuit.
  • the clock generator 201 divides the CLK signal by a frequency dividing circuit to generate a multi-phase CLK signal.
  • the clock generator 201 divides the CLK signal of 2 [GHz] by 2 by the clock generator 201 to obtain the CLK signal of 1 [GHz], and has a 2-phase of 0 degrees and 180 degrees.
  • CLK signals (CLK0 deg1 signal and CLK180 deg1 signal respectively) are generated.
  • the selector 202 uses the value obtained by inverting the DQPHASE signal (which will be described later as a lower fifth bit of the DQPHASE signal) by the inverter 222 as a selection signal, and selects one of the CLK0Deg1 signal and the CLK180Deg1 signal as a phase detection unit. To 121.
  • the clock output unit 124 includes a flip-flop (FF) 205 and an output buffer 206, receives a 180-degree CLK signal (CLK180deg1) divided by two from the clock generator 201, and outputs the CK signal to the memory 101.
  • CLK180deg1 180-degree CLK signal
  • the two CK signals between the output buffer 206 of the clock output unit 124 and the input buffer 231 of the memory 101 indicate a differential pair. More specifically, in the clock output unit 124, the FF 205 receives the CLK180deg1 signal, and the output buffer 206 outputs the CK signal to the memory 101 by the output of the FF 205.
  • the memory 101 When reading data from the memory 101, the memory 101 generates a DQS signal based on the CK signal received by the input buffer 231, and generates a DQ signal synchronized with the DQS signal.
  • the output buffer 232 outputs a DQS signal
  • the output buffer 233 outputs a DQ signal.
  • the DQS signal and the DQ signal are in phase.
  • the phase setting unit 125 receives the DQS signal and the DQ signal while the I / O INH signal is “H”, and sets a predetermined phase (90 degrees).
  • the phase setting unit 125 includes an input buffer 207 on the DQS signal side, a delay circuit (hereinafter simply referred to as “DL”) 209, and an inverter 210, and an input buffer 208, FF211 and FF212 on the DQ signal side, Have
  • the input buffer 207 receives and outputs the DQS signal while the I / O INH signal is “H”, and does not transmit the DQS signal to the inside during the “L” period.
  • the DL 209 performs a 90 ° phase shift on the DQS signal received by the input buffer 207 and outputs a dqs90 signal.
  • the DQS signal that has passed through the DL 209 is a CLK signal of 1 [GHz].
  • the input buffer 208 receives and outputs the DQ signal while the I / O INH signal is “H”, and does not transmit the DQ signal to the inside during the “L” period.
  • the FF 211 captures the DQ signal received by the input buffer 208 in synchronization with the dqs90 signal and outputs it as a dq-even signal.
  • the FF 212 takes in the DQ signal received by the input buffer 208 in synchronization with the signal obtained by inverting the dqs90 signal by the inverter 210, and outputs it as a dq-odd signal.
  • the FF 211 and the FF 212 divide the DQ signal into a data signal (dq-even signal) when the dqs90 signal rises and a data signal (dq-odd signal) when the dqs90 signal falls.
  • the first phase delay unit 132 delays the phase of the dqs90 signal within a range of less than 180 degrees based on the DQPHASE signal when the DL2 DLIR INH signal changes from “L” to “H”. Further, the first phase delay unit 132 delays the dq-even signal and the dq-odd signal based on the DQPHASE signal when the DL2 DLIR INH signal changes from “L” to “H”.
  • the first phase delay unit 132 includes delay circuits (DL) 215, 216, and 217.
  • the DLs 215, 216, and 217 set and output variable delay amounts for the input signals.
  • the DL 215 receives the DQPHASE signal (which will be described later, the lower 4 bits of the DQPHASE signal), and outputs a ddqs signal by setting a delay amount of less than 180 degrees, which is the limit value of the DL 215 delay capability, to the dqs90 signal.
  • DL 216 delays the dq-even signal from the FF 211 side
  • DL 217 delays the dq-odd signal from the FF 212 side.
  • the phase delay in this case is a delay amount of less than 180 degrees, which is the limit value of the delay capability of DL 216, 217.
  • the first phase delay unit 132 may have a latch circuit for storing the DQPHASE signal when it changes from “L” to “H”. You may output to DL215,216,217. Thereby, even if the phase detection unit 121 continuously detects the DQPHASE signal, if the DL2 DLIR INH signal is “H” during the period in which the first phase delay unit 132 delays the data signal, the delay amount The DQPHASE signal used for is not changed.
  • the phase detection unit 121 compares the clock signal generated by the clock generation unit 131 with the ddqs signal whose phase is set in the dqs90 signal during the read operation period (the period in which the Read sig signal is enabled). Then, the phase detector 121 detects a phase difference based on the comparison result. And the phase detection part 121 outputs delay information (DQPHASE signal) as phase information showing a phase difference.
  • DQPHASE signal delay information
  • the phase detection unit 121 includes a sample hold (S / H) circuit 213 and a phase detector 214.
  • the S / H circuit 213 samples and holds the ddqs signal obtained by delaying the dqs90 signal by the first phase delay unit 132, and generates two clock signals for phase comparison.
  • the phase detector 214 compares the two clock signals generated by the S / H circuit 213 with the signal (CLK0 deg1 signal or CLK180 deg1 signal) output from the selector 202 to detect a phase difference and outputs a DQPHASE signal.
  • the DQPHASE signal is an information signal representing the delay amount of the DQS signal, and is output from the signal receiving circuit 111 as phase difference information and also output to the first phase delay unit 132 and the signal restoration circuit 112.
  • the DQPHASE signal is inverted by the inverter 222 and then output to the selector 222 as a selection signal. Further, after being inverted by the DQPHASE signal inverter 223, it is output to the selector 223 as a selection signal.
  • FIG. 4 is an explanatory diagram showing an example of the DQPHASE signal.
  • FIG. 5 is an explanatory diagram showing an example representing the phase of the DQPHASE signal.
  • the phase tracking range is determined by how many [Bits] represent the DQPHASE signal.
  • the DQPHASE signal is an 8-digit binary number.
  • the DQPHASE signal is a digital quantity having an arbitrary bit [Bit] length, and its initial value is, for example, “000000000000”.
  • one delay (0 to 15/16 ⁇ 180 degrees) of the 180 degree phase divided into 16 parts is realized.
  • the angles are black circles, spotted circles, hatched circles, and white circles on the circumference.
  • the DQPHASE signal in the first quadrant (I) has the DQPHASE signal “xxxx0xxxx”.
  • the DQPHASE signal in the second quadrant (II) has the DQPHASE signal “xxxx1xxxx”.
  • the lower 5 [Bit] is the same.
  • DL 215 As an example, if a delay line is used and the length of the delay line is infinite, phase adjustment is possible only with DL 215. However, in reality, the length of the delay line is finite, and the phase cannot be adjusted only by DL215. Moreover, in the DL 215, a delay can be added, but a minus delay cannot be made.
  • the lower 4 [Bit] of the DQPHASE signal becomes an adjustment amount of less than 180 degrees.
  • the middle 1 [Bit] of the DQPHASE signal is information indicating which phase is used in units of 180 degrees, and is used to select a clock signal having a phase delay in units of 180 degrees (selector 202 and selector 204 selection signals).
  • the upper 4 [Bit] of the DQPHASE signal is a signal indicating how many times the phase has been rotated, and is a signal indicating -7 to 7 described later.
  • the upper 4 [Bit] of the DQPHASE signal is represented by a two's complement, which is 0 when “0000”, 7 when “0111”, ⁇ 1 when “1111”, In the case of “1001”, it is ⁇ 7.
  • the second phase delay unit 133 determines the DQ signal in units of 180 degrees based on the DQPHASE signal when the PHSEL INH signal changes from “L” to “H”. Change the capture timing. Thereby, the second phase delay unit 133 performs switching from the phase of the DQS signal to the clock phase of the internal signal.
  • the clock generation unit 141 includes a clock generator 203 and a selector 204.
  • the clock generator 203 generates a multi-phase CLK signal.
  • the clock generator 203 may have a frequency dividing circuit.
  • the clock generator 203 divides the CLK signal by a frequency dividing circuit to generate a multi-phase CLK signal.
  • the clock generator 203 divides the CLK signal of 2 [GHz] by 2 by the clock generator 203 to obtain the CLK signal of 1 [GHz], and has a 2-phase of 0 degree and 180 degrees.
  • CLK signals (CLK0 deg2 signal and CLK180 deg2 signal respectively) are generated.
  • the selector 204 uses a value obtained by inverting the DQPHASE signal (the lower fifth bit value of the DQPHASE signal described later) determined by the PHSEL INH signal by the inverter 223 as a selection signal. Then, the selector 204 outputs one of the CLK0 deg2 signal and the CLK180 deg2 signal to the second phase delay unit main body 142 based on the selection signal.
  • the second phase delay unit main body 142 includes FFs 218 and 219 and an inverter 220.
  • the FF 218 takes in the ddq-even signal in synchronization with the clock signal selected by the selector 204 based on the inverted signal of the DQPHASE signal, and outputs the ldq-even signal.
  • the FF 219 takes in the ddq-odd signal in synchronization with the clock signal obtained by inverting the clock signal selected by the selector 204 by the inverter 220 based on the inverted signal of the DQPHASE signal, and outputs the ldq-odd signal.
  • the ldq-even signal and the dq-odd signal become data signals switched to the internal clock phase.
  • the first phase delay unit 132 may have a latch circuit for storing the DQPHASE signal when it changes from “L” to “H”. You may output to DL215,216,217. Thereby, even if the phase detection unit 121 continuously detects the DQPHASE signal, if the DL2 DLIR INH signal is “H” during the period in which the first phase delay unit 132 delays the data signal, the delay amount The DQPHASE signal used for is not changed.
  • the selector 126 selects one of the ldq-even signal and the ldq-odd signal output from the second phase delay unit 133 based on the clock signal output from the selector 204. Therefore, the selector 126 outputs a data signal synchronized with the rising edge and falling edge of the clock signal output from the selector 204.
  • the data holding unit 127 holds the data signal output from the selector 126 in synchronization with the CLK signal.
  • the data holding unit 127 has an FF 221.
  • the FF 221 holds the output from the selector 126 in synchronization with the CLK signal (a signal having a period twice the DQS signal), and outputs the held value to the signal restoration circuit 112 as an IN signal.
  • the IN signal is switched from the phase of the DQS signal to the phase of the CLK signal.
  • the generation unit 122 generates a new control signal by delaying the control signal and outputs it to each unit.
  • generation part 122 is demonstrated using FIG.
  • FIG. 6 is an explanatory diagram illustrating a detailed example of the generation unit 122.
  • the generator 122 delays the control signal according to the DQPHASE signal to generate a DL2, DLIR INH signal, PHSEL INH signal, I / O INH signal, and LC INH signal.
  • the generation unit 122 includes a plurality of storage elements (FFs 601 to 617) and a plurality of selectors 621 to 634.
  • the FFs 601 to 615 store the control signals arranged in the order of input from the arrangement start position based on the number of circulations of the DQPHASE signal.
  • the FFs 601 to 615 output the stored control signals in the order of arrangement in synchronization with the CLK signal.
  • the output results are DL2 DLIR INH signal and I / O INH signal.
  • the FF 616 takes in the output of the FF 615 in synchronization with the CLK signal and outputs the PHSEL INH signal. Then, the FF 617 takes in the output of the FF 616 in synchronization with the CLK signal and outputs the LC INH signal.
  • the selectors 621 to 634 are storage control units that control the FFs 601 to 615.
  • the selectors 621 to 634 select the array start position based on the number of rounds of the DQPHASE signal. More specifically, the FFs 601 to 615 are connected like selectors via selectors 621 to 634.
  • the delay amount between the DL2 DLIR INH signal and the I / O INH signal and the PHSEL INH signal, and the delay amount between the PHSEL INH signal and the LC INH signal are determined by the design of the memory controller 100, respectively.
  • the data signal passes through the second phase delay unit 133 after one clock from the first phase delay unit 132 and the phase setting unit 125. Therefore, there is FF 616 between the DL2 DLIR INH signal and the I / O INH signal and the PHSEL INH signal.
  • the data signal passes through the signal restoration circuit 112 after one clock from the second phase delay unit 133. Therefore, there is FF 617 between the LC INH signal and the PHSEL INH signal.
  • FIG. 7 is a timing chart (part 1) illustrating an operation example of the generation unit 122.
  • a period from the rising edge of the CLK signal to immediately before the next rising edge is defined as one cycle, and numbers are sequentially assigned to the CLK signal for easy understanding.
  • the rising edge of the first clock is indicated by an arrow in FIG.
  • the number of circulations of the DQPHASE signal is 7.
  • the control signal changes from “L” to “H” at the rising edge of the second clock, and becomes “H” during the period corresponding to the reading time of one data signal. Since the number of rounds of the DQPHASE signal is 7, the selector 621 selects and outputs the control signal. Therefore, the node a that is the output of the FF 601 remains “L”.
  • the node b which is the output of the FF 602 changes from “L” to “H” at the rising edge of the second clock.
  • the node c which is the output of the FF 603, changes from “L” to “H” at the rising edge of the third clock.
  • the node d which is the output of the FF 604, changes from “L” to “H” at the rise of the fourth clock.
  • the node e which is the output of the FF 605, changes from “L” to “H” at the rising edge of the fifth clock.
  • DL2 DLIR INH signal and I / O INH signal change from “L” to “H” at the 16th clock rise.
  • the PHSEL INH signal changes from “L” to “H” at the rising edge of the 17th clock.
  • the LC INH signal changes from “L” to “H” at the rising edge of the 18th clock.
  • FIG. 8 is a timing chart (part 2) illustrating an operation example of the generation unit 122.
  • the number of laps of the DQPHASE signal is ⁇ 7.
  • the control signal changes from “L” to “H” at the rising edge of the second clock, and becomes “H” during the period corresponding to the reading time of one data signal. Since the DQPHASE signal is -7, the selector 634 selects and outputs the control signal.
  • the selectors 621 to 633 other than the selector 634 receive the output of the preceding FF. Therefore, the nodes a to e remain “L”. Then, the DL2 DLIR INH signal changes from “L” to “H” at the rising edge of the second clock. Then, the PHSEL INH signal changes from “L” to “H” at the rising edge of the third clock. Then, the LC INH signal changes from “L” to “H” at the rise of the fourth clock.
  • the time from the rise time of the control signal to the rise time of the PHSEL INH signal is 1 ⁇ .
  • x ⁇ + (i ⁇ 1) ⁇ shown in FIG. 2 since x is 0 and the number of rounds of the DQPHASE signal is ⁇ 7, 1 ⁇ . -7 to 7 of the number of laps of the DQPHASE signal correspond to 1 to 15 of i, respectively.
  • the signal restoration circuit 112 performs delay control of the IN signal according to the DQPHSE signal when the LC INH signal changes from “L” to “H”, and the pulse width of the IN signal.
  • the process to play is realized. More specifically, the signal restoration circuit 112 has a FIFO function sufficient to absorb data delay variation, and increases or decreases the delay time passing through the FIFO according to the delay amount of the DQPHASE signal. As a result, the delay of the reception signal output from the signal reception circuit 111, that is, the DQ signal is kept constant, and the data pulse width is reproduced.
  • FIG. 9 is an explanatory diagram showing a detailed example of the signal restoration circuit 112.
  • the signal restoration circuit 112 includes a storage unit 902 and a storage control unit 901.
  • the storage unit 902 stores the IN signals arranged in the order of input, and can read the IN signals in the order of arrangement.
  • the storage unit 902 includes FF921 to FF936.
  • the storage control unit 901 selects an array start position in the storage unit 902 based on the DQPHASE signal when the LC INH signal changes from “L” to “H”. More specifically, the storage control unit 901 has a selector group 911.
  • the selector group 911 has selectors 941 to 955.
  • the selection signal provided to the selectors 621 to 634 included in the generation unit 122 and the selection signal provided to the selectors 941 to 955 included in the signal restoration circuit 112 are contradictory. That is, in the generation unit 122 and the signal restoration circuit 112, the handling of the DQPHASE signal is reversed. Thereby, the sum of the delay amount attached to the read data and the delay amount attached to the control signal can be kept constant.
  • FIG. 10 is an explanatory diagram illustrating an example in which a read operation is continuously performed on the memory 101.
  • the memory controller 100 continuously performs the reading operation of the slot 1 and the reading operation of the slot 2.
  • the effective period of the control signal (the period of “H” of the control signal) does not overlap. Therefore, in the timing chart 1000, there is a defined period (6 tCK in the example of DDR3) from the first control signal falling to the next control signal rising. In the timing chart 1000, the reading operation for the slot 2 is started with the rise of the next control signal. Therefore, by making the effective period of the control signal equal to or longer than the reading time of one data signal and less than a certain time, the total reading period when the reading operation is continuously performed can be shortened. Further, not only the read operation but also the write operation can be performed, and the operation switching can be performed at higher speed as the entire circuit that speeds up the operation switching.
  • the DQPHASE signal used in each part is determined by the control signal so that the continuously changing DQPHASE signal does not fluctuate while the data signal passes through each part, thereby preventing a logical whisker pulse from being generated. Can do.
  • the same effect as the first embodiment can be obtained.
  • Example 3 when there are a plurality of read destination memories (DIMMs), the phase detection unit for detecting the delay amount is provided for each memory, thereby delaying the data signal by the delay amount along the read destination memory. Can do. Thereby, even if access to different memories operates continuously, the operation can be switched at high speed. Therefore, the entire operation period can be shortened.
  • the same components as those in the first and second embodiments are denoted by the same reference numerals, and detailed description thereof is omitted.
  • FIG. 11 is a block diagram of an example of the semiconductor device according to the third embodiment.
  • FIG. 11 shows an example in which there are a plurality of memories 101 (memory 101-1 to memory 101-n (n ⁇ 2)).
  • the phase detector 121 corresponding to the memory 101 to be read is selected by the DIMM selection signal.
  • phase detectors 121-1 to 121-n store the DQPHASE signal at the end of the read period to the corresponding memories 101-1 to 101-n, respectively.
  • FIG. 12 is an explanatory diagram showing a conventional example in the case where read operations are continuously performed on different memories 101.
  • FIG. 13 is an explanatory diagram showing an example of the present invention in the case where read operations are continuously performed on different memories 101.
  • the control signal is “H” in the read period from the start of the read operation to the end of the read operation for each read operation.
  • the control signal is “H” in the read time period for one data signal from the start of the read operation.
  • the operation can be switched at high speed. Therefore, the entire operation period can be shortened.
  • the fourth embodiment shows an example in which the clock generators shown in the first and second embodiments are shared.
  • the same components as those in the first and second embodiments are denoted by the same reference numerals, and detailed description thereof is omitted.
  • FIG. 14 is a block diagram of the semiconductor device according to the fourth embodiment.
  • the second phase delay unit 133 does not have the clock generation unit 141, and the output of the clock generation unit 131 is used by the phase delay unit main body 142. Therefore, the PHSEL INH signal is input to the clock generation unit 131.
  • the clock generator 131 divides the CLK signal to generate a multi-phase CLK signal. Then, the clock generation unit 131 selects one CLK signal from a plurality of CLK signals based on the DQPHASE signal when the PHSEL INH signal changes from “L” to “H”, and the second phase delay unit The data is output to the main body 142 and the phase detection unit 121.
  • the clock generation unit 131 may include a latch circuit for storing a DQPHASE signal when the PHSEL INH signal changes from “L” to “H”.
  • the same effect as in the first and second embodiments can be obtained. Furthermore, according to the fourth embodiment, the circuit scale of the memory controller 100 can be reduced compared to the first and second embodiments by not having the same clock generation unit 141 as the clock generation unit 131.
  • the memory controller 100 shown in the first to fourth embodiments may be provided on a substrate such as a mother board on which the memory 101 board is mounted, for example.
  • FIG. 15 is a block diagram illustrating an example of a motherboard.
  • the mother board 1500 is provided with a CPU (Central Processing Unit) 1501 and a socket 1502.
  • the CPU 1501 is provided with a memory controller 100.
  • a memory board 1503 is attached to the socket 1502.
  • a plurality of sockets 1502 may be provided on the mother board 1500.
  • the control signal is delayed even if the effective period of the control signal for determining the delay amount of the continuously changing data signal is shorter than the readout period. To enable it during the delay processing of the data signal. Further, the sum of the delay amount for delaying the control signal and the delay amount for delaying the data signal is made constant. Accordingly, since the effective period of the control signal can be shortened, switching of a plurality of operations can be speeded up during continuous operation while suppressing variation in read response. Therefore, the entire operation time during continuous operation can be shortened.
  • the delay amount of the control signals can be adjusted by controlling the first input position to the array. Furthermore, when the data signals are input to the array in the input order and output in the array order, the delay amount of the data signals can be adjusted by controlling the second input position to the array. Furthermore, since the first arrangement start position and the second arrangement start position are contradictory, the sum of the delay amount of the control signal and the delay amount of the data signal can be made constant.
  • Memory Controller 1500 Motherboard 1501 CPU 101 Memory 121 Phase detection unit 122 Generation unit 123 Delay control unit 601 to 617 FF 621 to 634 Selector 901 Storage control unit 902 Storage unit

Abstract

 メモリコントローラ(100)は、位相検出部(121)と、生成部(122)と、遅延制御部(123)と、を有している。位相検出部(121)は、受信した外部クロック信号と内部クロック信号との位相差に基づき、読み出し動作期間中連続的に第1の遅延量を検出する。生成部(122)は、1データ信号分の読み出し時間以上で、読み出し動作開始から受信したデータ信号を出力するまでの一定時間未満の有効期間であり、読み出し動作開始時に有効期間が開始する制御信号を、第1の遅延量との和が一定時間となる第2の遅延量分遅延させることで、あらたな制御信号を生成する。あらたな制御信号は、DL2 DLIR INH信号、PHSEL INH信号、LC INH信号である。遅延制御部(123)は、生成部(122)によって生成された制御信号の有効期間の開始時に位相検出部(121)により検出された第1の遅延量分、データ信号を遅延させる。

Description

半導体装置
 本発明は、半導体装置に関する。
 従来、高速のメモリインタフェイス規格として、DDR(Double Data Rate)メモリインタフェイス(JEDEC JESD79-3E)がある。DDRメモリインタフェイスは、たとえば、DDR SDRAM(Synchronous Dynamic Randam Access Memory)などのパーソナルコンピュータで使用される半導体集積回路で構成されるRAMで用いられる。
 DDRメモリインタフェイスでは、メモリコントローラからの要求(コマンド)によって、RAM内の記憶内容を読み書きすることができる。DDRメモリは、クロック信号の立ち上がりエッジ(ポジティブエッジ)と立ち下がりエッジ(ネガティブエッジ)の双方でデータの入出力をすることで、クロック周波数の2倍のデータ転送レートでデータ転送をするメモリである。
 DDRメモリでは、メモリコントローラの内部で生成させた内部クロック信号(CK信号)をDIMM(Dual In-line Memory Module)に送信する。DIMMはDDRメモリから受信したCK信号によってデータストローブ信号(DQS信号)を生成し、DQS信号をデータ信号(DQ信号)とともにメモリコントローラに送信する。
 メモリコントローラでは、DQS信号およびDQ信号を受信する。メモリコントローラでは、DQS信号によってDQ信号をリタイミングし、さらに内部クロックに乗り換える。このとき、受信点のラッチ回路で確実にデータ信号を受信するには、内部CK信号と受信データ信号のタイミング関係が一定範囲内にあることが必要である。
 また、関連する技術としては、ある信号が入力されてから出力されるまでに遅延させる場合、微小遅延を生成する回路と、粗遅延を生成する回路とを有することで、必要な遅延時間を回路の組み合わせで生成する技術が公開されている。
特開2009-130455号公報
 しかしながら、読み出し動作時においては、メモリコントローラがリードコマンドを発行してから、DQS信号およびDQ信号がメモリコントローラに返ってくるまでの時間(=フライトタイム)は、ばらつく。ばらつく要因としては、たとえば、メモリコントローラとDIMMとの配置位置や、電源、温度などの環境変化が挙げられる。さらに、同一DIMMチャネル内に多スロットのDIMMを搭載した場合、アクセス対象とするDIMMスロットによってばらつきが異なる。
 また、異なるスロットに連続して読み出しまたは書き込み動作が行われる際、高速にスロットを切り替えながら、ばらつきを抑えるのは困難である。
 本発明は、上述した従来技術による問題点を解消するため、メモリコントローラ側にてばらつきを吸収し、連続動作時の動作切り替えを高速化させることができる半導体装置を提供することを目的とする。
 上述した課題を解決し、目的を達成するため、本発明の一側面によれば、受信した外部クロック信号と内部クロック信号との位相差に基づき、読み出し動作期間中連続的に第1の遅延量を検出する位相検出部と、1データ信号分の読み出し時間以上で、前記読み出し動作開始から受信したデータ信号を出力するまでの一定時間未満の有効期間であり、前記読み出し動作開始時に前記有効期間が開始される第1の制御信号を、前記第1の遅延量との和が前記一定時間となる第2の遅延量分遅延させることで、第2の制御信号を生成する生成部と、前記生成部によって生成された前記第2の制御信号の有効期間の開始時に前記位相検出部により検出された前記第1の遅延量分、前記データ信号を遅延させる遅延制御部と、を有する半導体装置が提案される。
 本発明の一側面によれば、メモリコントローラ側にてばらつきを吸収し、連続動作時の動作切り替えを高速化させることができるという効果を奏する。
図1は、実施例1にかかる半導体装置の一例を示すブロック図である。 図2は、本発明の一動作例を示すタイミングチャートである。 図3は、実施例2にかかる半導体装置を示すブロック図である。 図4は、DQPHASE信号の一例を示す説明図である。 図5は、DQPHASE信号の位相を表す例を示す説明図である。 図6は、生成部122の詳細例を示す説明図である。 図7は、生成部122の動作例を示すタイミングチャート(その1)である。 図8は、生成部122の動作例を示すタイミングチャート(その2)である。 図9は、信号復元回路112の詳細例を示す説明図である。 図10は、メモリ101に対して連続して読み出し動作を行う例を示す説明図である。 図11は、実施例3にかかる半導体装置の一例を示すブロック図である。 図12は、異なるメモリ101に対して読み出し動作が連続した場合の従来例を示す説明図である。 図13は、異なるメモリ101に対して読み出し動作が連続した場合の本発明例を示す説明図である。 図14は、実施例4にかかる半導体装置を示すブロック図である。 図15は、マザーボードの一例を示すブロック図である。
 以下に添付図面を参照して、本発明にかかる半導体装置の実施の形態を詳細に説明する。本実施の形態では、半導体装置の一例として、メモリコントローラを挙げて説明するが、これに限らず、CPUやマザーボードであってもよい。
(実施例1)
 実施例1では、連続的に変化するデータ信号の遅延量を確定させる制御信号の有効期間が1データ信号の読み出し時間程度まで短くても、制御信号をデータ信号の遅延量との和が一定時間となるように遅延させる。すなわち、データ信号の遅延処理中に制御信号を有効化させることができる。これにより、データ信号の応答を一定時間にしつつ、連続動作(読み出しまたは書き込み)時の動作の切り替えを高速化させることができる。したがって、連続動作時の全体の動作期間を短縮することができる。
 図1は、実施例1にかかる半導体装置の一例を示すブロック図である。図1では、半導体装置の一例として、メモリコントローラ100が挙げられている。メモリコントローラ100は、本開示のメモリコントローラ100の一例であって、メモリ101のインターフェイス回路であって、データの入出力手段である。
 そのため、メモリコントローラ100は、受信信号としてたとえば、メモリ101(DIMM)から外部クロック信号としてDQS信号やデータ信号としてDQ信号を受信する。この場合、メモリ101は信号源である。メモリ101は、たとえば、DDR SDRAMである。DDR SDRAMは、クロック(CK)信号の2倍レート(クロック信号の立ち上がりおよび立ち下がりの両方のエッジ)によりデータ転送する。
 メモリコントローラ100は、信号受信回路111と、信号復元回路112と、を有している。信号受信回路111は、生成部122と、クロック生成部131と、クロック出力部124と、位相設定部125と、第一の位相遅延部132と、第二の位相遅延部133と、位相検出部121と、データ保持部127と、を有している。各部は、アナログ回路、論理回路、FFなどによって実現される。
 ここで、各信号について説明する。DQS信号と、dqs90信号と、ddqs信号とは、データストローブ信号である。CLK信号と、クロック生成部131の出力信号と、クロック生成部141の出力信号とは、内部クロック信号である。DQ信号と、dq-odd信号と、dq-even信号と、ddq-even信号と、ddq-odd信号と、ldq-even信号と、ldq-odd信号と、dq0信号と、IN信号とは、データ信号である。
 また、遅延制御部123は、クロック生成部131と、第一の位相遅延部132と、第二の位相遅延部133と、信号復元回路112と、を有している。遅延制御部123によって、読み出し動作開始時から一定時間経過時にデータ信号をCLK信号に同期させてDQ OUT信号として出力させることができる。
 より具体的には、遅延制御部123のうち、クロック生成部131と、第一の位相遅延部132と、第二の位相遅延部133とが、DQ信号を遅延させて基準CLK信号に同期したデータ信号を生成している。そして、遅延制御部123のうち、信号復元回路112が、読み出し動作開始時から一定時間経過時にデータ信号をDQ OUT信号として出力する。
 実施例1では、遅延信号であるDQPHASE信号が、遅延制御部123の各部の遅延量となっている。遅延制御部123の各部が、DQPHASE信号に基づいてデータ信号を遅延させている最中に、DQPHASE信号が変化してしまうと、遅延量が定まらないため、データ信号に論理的なヒゲパルスなどが発生したりデータ信号がずれたりする問題点がある。そこで、遅延制御部123の各部は、データ信号を遅延させている最中に、制御信号に基づいてDQPHASE信号が変化しないようにする。
 まず、クロック生成部131は、CLK信号を分周して、複数相のCLK信号を生成する。クロック出力部124は、クロック生成部131からCLK信号を受け、CK信号を生成してメモリ101へ出力する。
 メモリ101からデータを読み出す場合、メモリ101はメモリコントローラ100から受信したCK信号によりDQS信号を生成し、DQS信号に同期したDQ信号を生成する。DQS信号及びDQ信号は同相である。
 位相検出部121は、クロック生成部131によりCLK信号が分周されたDQS信号と同一周波数の信号と、第一の位相遅延部132からのDQS信号を遅延させた信号とを比較して位相差に基づく遅延量を、読み出し期間中連続的に検出する。ここで、DQPHASE信号が、CLK信号が分周されたDQSと同一周波数の信号と、DQS信号が遅延された信号と、の位相差に基づく遅延量を表す情報信号である。より具体的な例は後述するが、DQPHASE信号は、周回数と、CLK選択と、DLと、の情報を有している。DQPHASE信号の周回数は、位相が何周したかを表し、DQPHASE信号のCLK選択は、所定位相差を単位とするCLK選択を表し、DQPHASE信号のDLは、所定位相差(たとえば、180度)未満の遅延調整量を表す。
 さらに、位相検出部121は、読み出し期間終了時に、DQPHASE信号を記憶する。これにより、つぎの読み出し動作開始時に、後述する生成部122が、記憶されたDQPHASE信号を用いて制御信号を遅延させることができる。
 つぎに、位相設定部125は、メモリ101からDQS信号とDQ信号とをI/O INH信号が“H”の期間(有効期間)に受信する。そして、位相設定部125は、DQS信号およびDQ信号に所定の位相(90度)の位相シフトを設定する。DQS信号を位相シフトさせた信号がdqs90信号である。また、I/O INH信号は、位相設定部125が受信動作中であることを示す情報である。
 また、位相設定部125は、DQS信号とDQ信号とをI/O INH信号が“L”の期間(非有効期間)に受信しない。さらに、位相設定部125は、DQ信号をDQS信号の立ち上がり時のデータ信号と、DQS信号の立ち下がり時のデータ信号との2つのデータ信号(それぞれdq-even信号、dq-odd信号)に分けて、第一の位相遅延部132へ出力する。
 第一の位相遅延部132は、DL2 DLIR INH信号が“L”から“H”に変化した時のDQPHASE信号に基づいて、所定位相差未満の範囲でDQS信号を遅延させる。さらに、第一の位相遅延部132は、DL2 DLIR INH信号が“L”から“H”に変化した際のDQPHASE信号に基づいて、DQ信号に位相遅延を施す。具体的には、第一の位相遅延部132は、可変遅延回路を有する。第一の位相遅延部132は、DQPHASE信号を受け、所定位相差未満の遅延量をDQS信号に設定する。
 また、第一の位相遅延部132は、DL2 DLIR INH信号が“H”の期間(有効期間)中に位相検出部121によりDQPHASE信号の値が変化しても、“L”から“H”に変化した時のDQPHASE信号の値に基づく遅延量をDQS信号やDQ信号に施す。たとえば、第一の位相遅延部132は、DL2 DLIR INH信号が“L”から“H”に変化した時のDQPHASE信号を記憶させるためにラッチ回路を有していてもよい。
 これにより、位相検出部121が連続的にDQPHASE信号を検出していても、第一の位相遅延部132がデータ信号を遅延させる期間中、PHSEL INH信号が“H”であれば、遅延量に用いるDQPHASE信号は変化しない。したがって、DQPHASE信号の変動によって生じる論理的なヒゲパルスなどを防止することができる。
 第二の位相遅延部133は、PHSEL INH信号が“L”から“H”に変化した時のDQPHASE信号に基づいて、第二の位相遅延部本体のddq-odd信号とddq-even信号の取り込みタイミングを決定する。第二の位相遅延部133は、PHSEL INH信号が“H”の期間(有効期間)中に位相検出部121によりDQPHASE信号の値が変化しても、“L”から“H”に変化した時のDQPHASE信号の値に基づきddq-even信号、ddq-odd信号の取りこむタイミングを保つ。たとえば、第二の位相遅延部133は、PHSEL INH信号が“L”から“H”に変化した時のDQPHASE信号を記憶させるためにラッチ回路を有していてもよい。
 より具体的には、第二の位相遅延部133は、クロック生成部141と、第二の位相遅延部本体142とを有している。クロック生成部141は、CLK信号を分周して、複数相のCLK信号を生成する。そして、クロック生成部141は、PHSEL INH信号が“L”から“H”に変化した時のDQPHASE信号に基づいて分周された複数相のCLK信号から1つの分周されたCLK信号を選択して、第二の位相遅延部本体142へ出力する。
 第二の位相遅延部本体142は、クロック生成部141から分周されたCLK信号を受ける。そして、第二の位相遅延部本体142は、PHSEL INH信号が“L”から“H”に変化した時のDQPHASE信号に基づいて、ddq-even信号と、ddq-odd信号とを取り込む。第二の位相遅延部本体142は、ddq-even信号をリタイミングしたldq-even信号と、ddq-odd信号をリタイミングしたldq-odd信号をセレクタ126へ出力する。
 これにより、位相検出部121が連続的にDQPHASE信号を検出していても、第二の位相遅延部133がデータ信号を遅延させる期間中、PHSEL INH信号が“H”であれば、遅延量やクロック選択信号に用いるDQPHASE信号は変化しない。したがって、DQPHASE信号の変動によって生じる論理的なヒゲパルスなどを防止することができる。
 セレクタ126は、第二の位相遅延部133の複数出力を選択する。具体的には、セレクタ126は、クロック生成部141で生成されたCLK信号を受け、CLK信号を選択情報としてldq-even信号と、ldq-odd信号とを交互に選択する。より具体的には、セレクタ126は、DQS信号の立ち上がりエッジに対するldq-even信号と、DQS信号の立ち下がり信号に対するldq-odd信号とを交互に選択する。
 データ保持部127は、セレクタ126で選択されたldq-even信号またはldq-odd信号を保持するとともに、データ信号のクロックを基準CLK信号に乗り換える。そこで、データ保持部127には、メモリコントローラ100の内部または外部から与えられた基準CLK信号がクロック生成部131の入力側から加えられる。データ保持部127では、基準CLK信号に同期してdq0信号を保持し、クロックを基準CLK信号に乗り換え、dq0信号をIN信号として出力する。そして、データ保持部127は、IN信号を信号復元回路112へ出力する。
 DQ信号における受信データの位相は、電源電圧、装置温度等の環境要因により変動している。そのため、内部クロックに乗り換えた後、受信データも同様に変動する。信号受信回路111では、内部クロック信号でDQ信号が正規化されたようになる。
 しかしながら、内部クロック位相に乗り換えた受信データは、その取り込みクロックをタイムリーに進めたり遅らせたりしている。そのため、この影響でパルス幅はクロックを切り換えたと同時に1クロック幅分(=tCK/2=2相クロックの相間遅延差分)だけ狭くなったり、広くなったりする。
 そこで、信号復元回路112は、LC INH信号が“L”から“H”に変化した時のDQPHASE信号に基づいて、IN信号の遅延制御を行い、データのパルス幅を再生する処理を実現している。さらに、信号復元回路112は、LC INH信号が“H”の期間中、DQPHASE信号の変化を禁止する。
 これにより、位相検出部121が連続的にDQPHASE信号を検出していても信号復元回路112がデータ信号(IN信号)を遅延させる期間中、LC INH信号が“H”であれば、遅延量やクロック選択信号に用いるDQPHASE信号は変化しない。したがって、DQPHASE信号の変動によって生じる論理的なヒゲパルスなどを防止することができる。たとえば、信号復元回路112は、LC INH信号が“L”から“H”に変化した時のDQPHASE信号を記憶させるためにラッチ回路を有していてもよい。
 より具体的には、信号復元回路112は、データの遅延ばらつきを吸収するに十分なFIFO(First-In First-Out)機能を有し、DQPHASE信号が持つ遅延量に応じ、FIFOを通過する遅延時間を増加又は減少させる。これにより、信号受信回路111から出力される受信信号即ち、DQ信号の遅延を一定に保つとともに、データパルス幅を再生している。
 信号復元回路112による信号復元処理について、より具体的に述べる。DQPHASE信号が持つ遅延量が大きくなった場合(=クロック乗り換えのための遅延が大きい場合)には、遅延量分だけFIFOを早く通過するようにすればよい。また、DQPHASE信号が持つ遅延量が小さくなれば、遅延量分だけFIFOを遅く通過するようにすればよい。このように、遅延量の増加又は減少により、データ信号を読み出し動作開始時から一定時間後に出力させることができる。したがって、読み出しデータの応答のばらつきを防止させることができる。
 データパルス幅が常に一定になり、信号復元回路112の出力信号(DQ OUT信号)が生成される。そして、DQ OUT信号が安定した受信信号となる。即ち、原データ信号を忠実に復元することができる。
 つぎに、生成部122は、信号復元回路112でデータ信号(IN信号)が遅延される遅延量との和が一定時間となる遅延量分、制御信号を遅延させることで、あらたな制御信号を生成する。あらたな制御信号は、I/O INH信号、DL2 DLIR INH信号、PHSEL INH信号、LC INH信号である。I/O INH信号とDL2 DLIR INH信号と、PHSEL INH信号と、LC INH信号との間での遅延量の差は、制御対象となる各部の回路の構成によってあらかじめ決定される。
 また、I/O INH信号、DL2 DLIR INH信号、PHSEL INH信号、LC INH信号が“H”の期間(有効期間)は、制御信号の“H”の期間(有効期間)と同一時間幅であってもよいし、制御信号の“H”の期間に対してマージンがあってもよい。I/O INH信号は、DQ信号とDQS信号の受信を制御するため、マージンを持たせることで、DQ信号とDQS信号の取り込み精度を向上させることができる。
 図2は、本発明の一動作例を示すタイミングチャートである。タイミングチャート200で示すように、読み出し動作開始から読み出しデータが出力されるまでの期間が一定時間となる。τは、1/基準CLK信号である。そして、図2中、x,y,z,iは、半導体装置の設計者があらかじめ設計時に定める固定値である。
 たとえば、制御信号の立ち上がり時刻から、DQ OUT信号から読み出しデータが出力される時刻までの時間は、図1で示した信号復元回路112と生成部122によって一定となる。そして、たとえば、制御信号の立ち上がり時刻からPHSEL INH信号の立ち上がり時刻までの第2の遅延量分の遅延時間は、xτ+(i~1)τである。そして、たとえば、読み出しデータが信号復元回路112に入力される時刻から、DQ OUT信号にデータ信号が表れる時刻までの第1の遅延量分の遅延時間は、yτ+(1~i)τである。(1~i)および(i~1)は、DQPHASE信号によって決定される。すなわち、第1の遅延量と第2の遅延量とは、相反している。
 たとえば、x=6,y=1,z=2,i=16の場合、DQ OUT信号から読み出しデータが出力される時刻までの時間は、24τとなる。そして、制御信号の立ち上がり時刻からPHSEL INH信号の立ち上がり時刻までの時間は、6+(16~1)τであり、すなわち、22~7τである。そして、読み出しデータが信号復元回路112に入力される時刻から、DQ OUT信号から読み出しデータが出力される時刻までの時間は、1+(1~16)τであり、すなわち、2~17τである。
 実施例1によれば、図2で示すように、読み出しデータ信号を遅延させる遅延量と制御信号を遅延させる遅延量の和を一定に保つ。これにより、読み出しデータ信号の遅延処理中のみ制御信号が有効期間となる。したがって、制御信号の有効期間が、読み出し期間中すべてでなく、少なくとも1データ信号の読み出し時間幅あれば、読み出しデータ信号にDQPHASE信号の変化による影響が発生するのを防止できる。そして、制御信号の有効期間を短縮化させることができるため、連続動作の切り替えを高速化させることができる。したがって、連続動作中の合計の動作期間を短縮させることができる。
(実施例2)
 つぎに、実施例2では、実施例1で示したメモリコントローラの各部の詳細例について説明する。したがって、実施例2では、実施例1と同様の効果が得られる。また、実施例2では、実施例1で示した構成と同一構成については同一符号を付す。
 図3は、実施例2にかかる半導体装置を示すブロック図である。まず、クロック生成部131は、クロックジェネレータ201と、セレクタ202とを有している。クロックジェネレータ201は複数相のCLK信号を生成する。たとえば、クロックジェネレータ201は、分周回路を有していてもよい。たとえば、クロックジェネレータ201は、分周回路によりCLK信号を分周し、複数相のCLK信号を生成する。
 より具体的には、たとえば、クロックジェネレータ201は、2[GHz]のCLK信号をクロックジェネレータ201によって2分周して1[GHz]のCLK信号を得て、0度、180度の2相のCLK信号(それぞれCLK0deg1信号、CLK180deg1信号)を生成している。
 セレクタ202は、DQPHASE信号(後述するがDQPHASE信号の下位5ビット目の値)をインバータ222で反転された値を選択信号として、CLK0Deg1信号とCLK180Deg1信号のうち、いずれか一方の信号を位相検出部121へ出力する。
 クロック出力部124は、フリップフロップ(FF)205および出力バッファ206を有し、クロックジェネレータ201から2分周された180度のCLK信号(CLK180deg1)を受け、CK信号をメモリ101へ出力する。クロック出力部124の出力バッファ206とメモリ101の入力バッファ231との間のCK信号が2本あるのは、差動対を示している。より具体的には、クロック出力部124では、FF205がCLK180deg1信号を受け、FF205の出力により出力バッファ206が、CK信号をメモリ101に対して出力する。
 メモリ101からデータを読み出す場合、メモリ101は、入力バッファ231で受信したCK信号によりDQS信号を生成し、DQS信号に同期したDQ信号を生成する。メモリ101では、出力バッファ232がDQS信号を出力し、出力バッファ233がDQ信号を出力する。DQS信号およびDQ信号は同相である。
 位相設定部125は、DQS信号およびDQ信号をI/O INH信号が“H”の期間中受信し、所定の位相(90度)を設定する。位相設定部125は、DQS信号側に入力バッファ207、遅延回路(Delay Circuit、以下、単に「DL」と称する)209、インバータ210を有し、DQ信号側に入力バッファ208、FF211、FF212と、を有する。
 入力バッファ207は、I/O INH信号が“H”の期間中にDQS信号を受信して内部に出力し、“L”の期間中にDQS信号を内部に伝達しない。DL209は、入力バッファ207で受けたDQS信号に90度の位相シフトを施し、dqs90信号を出力する。DL209を通過したDQS信号は、1〔GHz〕のCLK信号である。
 入力バッファ208は、I/O INH信号が“H”の期間中にDQ信号を受信して内部に出力し、“L”の期間中にDQ信号を内部に伝達しない。FF211が、入力バッファ208が受信したDQ信号をdqs90信号に同期して取り込み、dq-even信号として出力する。また、FF212は、入力バッファ208が受信したDQ信号をインバータ210でdqs90信号が反転された信号に同期して取り込み、dq-odd信号として出力する。ここでは、FF211とFF212によって、dqs90信号の立ち上がり時のデータ信号(dq-even信号)と、dqs90信号の立ち下がり時のデータ信号(dq-odd信号)とにDQ信号を分けている。
 第一の位相遅延部132は、DL2 DLIR INH信号が“L”から“H”に変化したときのDQPHASE信号に基づいて、180度未満の範囲でdqs90信号の位相を遅延させる。さらに、第一の位相遅延部132は、DL2 DLIR INH信号が“L”から“H”に変化したときのDQPHASE信号に基づいて、dq-even信号とdq-odd信号とを遅延させる。
 そこで、第一の位相遅延部132は、遅延回路(DL)215,216,217を有している。DL215,216,217は可変遅延量を入力された信号に対して設定して出力する。DL215は、DQPHASE信号(後述するがDQPHASE信号の下位4ビット)を受け、DL215の遅延能力の限界値である、180度未満の遅延量をdqs90信号に設定することで、ddqs信号を出力する。
 また、DL216は、FF211側からのdq-even信号を遅延させ、DL217は、FF212側からのdq-odd信号を遅延させる。この場合の位相遅延は、DL216,217の遅延能力の限界値である、180度未満の遅延量である。
 また、たとえば、第一の位相遅延部132は、“L”から“H”に変化した時のDQPHASE信号を記憶させるためにラッチ回路を有していてもよく、ラッチ回路から出力される信号をDL215,216,217へ出力してもよい。これにより、位相検出部121が連続的にDQPHASE信号を検出していても、第一の位相遅延部132がデータ信号を遅延させる期間中、DL2 DLIR INH信号が“H”であれば、遅延量に用いるDQPHASE信号は変化しない。
 位相検出部121は、クロック生成部131に生成されたクロック信号と、dqs90信号に位相が設定されたddqs信号とを、読み出し動作期間(Read sig信号がEnabelの期間)中に比較する。そして、位相検出部121は、比較結果に基づいて位相差を検出する。そして、位相検出部121は、位相差を表す位相情報として遅延情報(DQPHASE信号)を出力する。
 そこで、位相検出部121は、サンプルホールド(S/H)回路213と、位相検出器214とを有する。S/H回路213は、第一の位相遅延部132でdqs90信号が位相遅延されたddqs信号をサンプルホールドし、位相比較のための2つのクロック信号を生成する。
 位相検出器214は、S/H回路213が生成した2つのクロック信号と、セレクタ202から出力された信号(CLK0deg1信号またはCLK180deg1信号)とを比較して位相差を検出し、DQPHASE信号を出力する。DQPHASE信号は、DQS信号の遅延量を表す情報信号であって、信号受信回路111から位相差情報として出力されるとともに、第一の位相遅延部132や信号復元回路112に出力される。また、DQPHASE信号はインバータ222で反転した後、選択信号としてセレクタ222に出力される。また、DQPHASE信号インバータ223で反転した後、選択信号としてセレクタ223に出力される。
 図4は、DQPHASE信号の一例を示す説明図である。図5は、DQPHASE信号の位相を表す例を示す説明図である。位相追従範囲は、DQPHASE信号を何[Bit]で表すかによって決定される。たとえば、DQPHASE信号は、8桁2進数である。DQPHASE信号は、図4に示すように、任意のビット[Bit]長のディジタル量であり、初期値をたとえば、“000000000”とする。実施例2では、180度位相を16等分したうちの一つの遅延(0~15/16×180度)を実現している。図5に示すように、周回上の黒丸、斑丸、斜線丸、白丸の角度である。
 1周期の360度を32等分して表現しているので、図5において、第一象限(I)のDQPHASE信号は、DQPHASE信号が“xxxx0xxxx”となる。第二象限(II)のDQPHASE信号は、DQPHASE信号が“xxxx1xxxx”となる。そして、遅延がm周した場合には、下5[Bit]が同じになる。
 ここで、DL215を例に挙げると、遅延線を用いて、遅延線の長さが無限であれば、DL215のみで位相調整が可能である。しかしながら、現実には遅延線の長さは有限であり、DL215のみで位相調整をすることができない。しかも、DL215では、遅延を付加することはできるが、マイナス遅延はできない。
 そこで、位相調整において、180度を16等分(360度を32等分)した精度で遅延調整する場合には、DQPHASE信号の下位4[Bit]が180度未満の調整量となる。この場合、DQPHASE信号の中位1[Bit]は、180度単位でどの位相を使うかの情報であって、180度を単位とする位相遅延を持つクロック信号の選択に用いる(セレクタ202やセレクタ204の選択信号)。
 また、DQPHASE信号の上位4[Bit]は、位相を何周したかを表す信号であり、後述する-7~7を表す信号である。たとえば、DQPHASE信号の上位4[Bit]が、2の補数で表され、“0000”の場合、0であり、“0111”の場合、7であり、“1111”の場合、-1であり、“1001”の場合、-7である。
 つぎに、図3の説明に戻って、第二の位相遅延部133は、PHSEL INH信号が“L”から“H”に変化した際のDQPHASE信号に基づいて、180度を単位としてDQ信号の取り込みタイミングを変化させる。これにより、第二の位相遅延部133は、DQS信号の位相から内部信号のクロック位相への乗り換えが行われる。
 そこで、クロック生成部141は、クロックジェネレータ203と、セレクタ204とを有している。クロックジェネレータ203は複数相のCLK信号を生成する。たとえば、クロックジェネレータ203は、分周回路を有していてもよい。たとえば、クロックジェネレータ203は、分周回路によりCLK信号を分周し、複数相のCLK信号を生成する。
 より具体的には、たとえば、クロックジェネレータ203は、2[GHz]のCLK信号をクロックジェネレータ203によって2分周して1[GHz]のCLK信号を得て、0度、180度の2相のCLK信号(それぞれCLK0deg2信号、CLK180deg2信号)を生成している。
 セレクタ204は、PHSEL INH信号によって確定された、DQPHASE信号(後述するDQPHASE信号の下位5ビット目の値)をインバータ223で反転された値を選択信号とする。そして、セレクタ204は、選択信号に基づいて、CLK0deg2信号とCLK180deg2信号のうち、いずれか一方の信号を第2の位相遅延部本体142へ出力する。
 そこで、第二の位相遅延部本体142は、FF218,219およびインバータ220を有する。FF218は、DQPHASE信号の反転信号により、セレクタ204で選択されたクロック信号に同期してddq-even信号を取り込み、ldq-even信号を出力する。FF219は、DQPHASE信号の反転信号により、セレクタ204で選択されたクロック信号をインバータ220で反転させたクロック信号に同期してddq-odd信号を取り込み、ldq-odd信号を出力する。これにより、ldq-even信号とdq-odd信号とは、内部クロック位相に乗り換えたデータ信号となる。
 また、たとえば、第一の位相遅延部132は、“L”から“H”に変化した時のDQPHASE信号を記憶させるためにラッチ回路を有していてもよく、ラッチ回路から出力される信号をDL215,216,217へ出力してもよい。これにより、位相検出部121が連続的にDQPHASE信号を検出していても、第一の位相遅延部132がデータ信号を遅延させる期間中、DL2 DLIR INH信号が“H”であれば、遅延量に用いるDQPHASE信号は変化しない。
 セレクタ126は、セレクタ204から出力されたクロック信号に基づいて、第二の位相遅延部133から出力されたldq-even信号と、ldq-odd信号とのうち、いずれか一方の信号を選択する。したがって、セレクタ126は、セレクタ204から出力されたクロック信号の立ち上がりエッジと立ち下がりエッジに同期したデータ信号を出力する。
 データ保持部127は、セレクタ126から出力されたデータ信号をCLK信号に同期して保持する。データ保持部127は、FF221を有している。FF221は、セレクタ126からの出力をCLK信号(DQS信号の2倍周期の信号)に同期して保持し、保持した値をIN信号として信号復元回路112へ出力する。これにより、IN信号は、DQS信号の位相からCLK信号の位相に乗り換えられる。
 つぎに、生成部122は、制御信号を遅延させてあらたな制御信号を生成し、各部に出力する。ここで、図6を用いて生成部122の詳細例について説明する。
 図6は、生成部122の詳細例を示す説明図である。生成部122は、DQPHASE信号に応じて、制御信号を遅延させてDL2 DLIR INH信号、PHSEL INH信号、I/O INH信号、LC INH信号を生成する。具体的には、生成部122は、複数の記憶素子(FF601~617)と複数のセレクタ621~634とを有している。
 FF601~615は、制御信号をDQPHASE信号の周回数に基づく配列開始位置から入力順に配列させて記憶する。そして、FF601~615は、記憶された制御信号をCLK信号に同期して配列順に出力する。出力結果が、DL2 DLIR INH信号、I/O INH信号である。
 さらに、FF616が、CLK信号に同期してFF615の出力を取り込み、PHSEL INH信号を出力する。そして、FF617は、CLK信号に同期してFF616の出力を取り込み、LC INH信号を出力する。
 セレクタ621~634は、FF601~615を制御する記憶制御部である。セレクタ621~634は、DQPHASE信号の周回数に基づき配列開始位置を選択する。より具体的には、FF601~615は、セレクタ621~634を介して、シフトレジスタのように接続されている。
 DL2 DLIR INH信号およびI/O INH信号とPHSEL INH信号との間の遅延量、PHSEL INH信号とLC INH信号との間の遅延量は、それぞれメモリコントローラ100の設計によって決定される。
 図3のメモリコントローラ100の例では、データ信号が、第一の位相遅延部132や位相設定部125よりも1クロック分後で第二の位相遅延部133を通過する。そのため、DL2 DLIR INH信号およびI/O INH信号と、PHSEL INH信号との間にFF616がある。
 図3のメモリコントローラ100の例では、データ信号が、第二の位相遅延部133よりも1クロック分後で信号復元回路112を通過する。そのため、LC INH信号と、PHSEL INH信号との間にFF617がある。
 また、図6の例では、x=0の場合を例に挙げているが、x=6の場合には、FF615の後段であり、かつDL2 DLIR INH信号の前にシフトレジスタ(FIFO)状態の6個のFFが配置される。図6中、ノードa~eは、図7と図8で示すタイミングチャートの説明用に付されている。
 図7は、生成部122の動作例を示すタイミングチャート(その1)である。タイミングチャート700では、CLK信号の立ち上がりから次の立ち上がりの直前までを1周期として、理解の容易化のために、CLK信号の上に順に番号を付している。1クロック目の立ち上がりは、図7中矢印の箇所である。図7の例では、DQPHASE信号の周回数が7である。
 タイミングチャート700では、制御信号が2クロック目の立ち上がりで“L”から“H”に変化し、1データ信号の読み出し時間分の期間中“H”となる。DQPHASE信号の周回数が7であるため、セレクタ621が、制御信号を選択して出力する。そのため、FF601の出力であるノードaは、“L”のままである。
 そして、FF602の出力であるノードbは、2クロック目の立ち上がりで、“L”から“H”に変化する。そして、FF603の出力であるノードcは、3クロック目の立ち上がりで、“L”から“H”に変化する。そして、FF604の出力であるノードdは、4クロック目の立ち上がりで、“L”から“H”に変化する。そして、FF605の出力であるノードeは、5クロック目の立ち上がりで、“L”から“H”に変化する。
 DL2 DLIR INH信号およびI/O INH信号は、16クロック目の立ち上がりで“L”から“H”に変化する。そして、PHSEL INH信号は、17クロック目の立ち上がりで“L”から“H”に変化する。LC INH信号は、18クロック目の立ち上がりで“L”から“H”に変化する。
 よって、DQPHASE信号の周回数が7の場合、制御信号の立ち上がり時刻からPHSEL INH信号の立ち上がり時刻までの時間は、16τである。図2で示したxτ+(i~1)τにおいて、xが0であり、DQPHASE信号の周回数が7であるため、15τとなる。DQPHASE信号の周回数の-7~7は、それぞれiの1~15に対応する。
 図8は、生成部122の動作例を示すタイミングチャート(その2)である。図8の例では、DQPHASE信号の周回数が-7である。タイミングチャート800では、2クロック目の立ち上がりで制御信号が“L”から“H”に変化し、1データ信号の読み出し時間分の期間中“H”となる。DQPHASE信号が-7であるため、セレクタ634は、制御信号を選択して出力する。
 セレクタ634以外のセレクタ621~633は、前段のFFの出力を入力とする。そのため、ノードa~eは“L”のままである。そして、DL2 DLIR INH信号が、2クロック目の立ち上がりで“L”から“H”に変化する。そして、PHSEL INH信号が、3クロック目の立ち上がりで“L”から“H”に変化する。そして、LC INH信号が、4クロック目の立ち上がりで“L”から“H”に変化する。
 よって、DQPHASE信号の周回数が-7の場合、制御信号の立ち上がり時刻からPHSEL INH信号の立ち上がり時刻までの時間は、1τである。図2で示したxτ+(i~1)τにおいて、xが0であり、DQPHASE信号の周回数が-7であるため、1τとなる。DQPHASE信号の周回数の-7~7は、iの1~15にそれぞれ対応する。
 つぎに、図3に戻って、信号復元回路112は、LC INH信号が“L”から“H”に変化した時のDQPAHSE信号に応じて、IN信号の遅延制御を行い、IN信号のパルス幅を再生する処理を実現している。より具体的には、信号復元回路112は、データの遅延ばらつきを吸収するに十分なFIFO機能を有し、DQPHASE信号が持つ遅延量に応じ、FIFOを通過する遅延時間を増加又は減少させる。これにより、信号受信回路111から出力される受信信号即ち、DQ信号の遅延を一定に保つとともに、データパルス幅を再生している。
 図9は、信号復元回路112の詳細例を示す説明図である。信号復元回路112は、記憶部902と記憶制御部901とを有している。まず、記憶部902は、IN信号を入力順に配列させて記憶し、配列順にIN信号の読み出しが可能である。記憶部902には、FF921~FF936を有している。
 記憶制御部901は、LC INH信号が“L”から“H”に変化したときのDQPHASE信号に基づいて、記憶部902における配列開始位置を選択する。より具体的には、記憶制御部901は、セレクタ群911を有している。セレクタ群911は、セレクタ941~955を有している。
 ここで、生成部122が有するセレクタ621~634に与える選択信号と、信号復元回路112が有するセレクタ941~955に与える選択信号とは、相反している。すなわち、生成部122と、信号復元回路112では、DQPHASE信号の取り扱いが逆である。これにより、読み出しデータに付ける遅延量と制御信号に付ける遅延量の和を一定に保つことができる。
 図10は、メモリ101に対して連続して読み出し動作を行う例を示す説明図である。タイミングチャート1000では、メモリ101がスロット1とスロット2とを有している場合に、メモリコントローラ100が、スロット1の読み出し動作とスロット2の読み出し動作を連続して行った場合を示している。
 タイミングチャート1000では、スロット1に対する読み出し期間中であっても、制御信号の有効期間(制御信号の“H”の期間)が重ならない。そのため、タイミングチャート1000では、初めの制御信号の立ち下がりから次の制御信号の立ち上がりを定義された期間(DDR3の例では、6tCK)分空けている。そして、タイミングチャート1000では、次の制御信号の立ち上がりと共に、スロット2に対する読み出し動作を開始している。したがって、制御信号の有効期間を1データ信号の読み出し時間以上で、一定時間未満にすることで、連続して読み出し動作を行った際の合計の読み出し期間を短縮させることができる。また、読み出し動作に限らず、書き込み動作を行うこともでき、動作の切り替えを高速化す回路全体として、より高速に動作切り替えを行うことが可能となる。
 また、連続的に変化するDQPHASE信号が、データ信号が各部を通過中に変動しないように、制御信号によって各部で用いるDQPHASE信号が確定することで、論理的なヒゲパルスが発生するのを防止することができる。実施例2によれば、実施例1と同様の効果が得られる。
(実施例3)
 実施例3では、読み出し先のメモリ(DIMM)が複数ある場合に、遅延量を検出する位相検出部をメモリごとに設けることで、読み出し先のメモリに沿った遅延量でデータ信号を遅延させることができる。これにより、異なるメモリへのアクセスが連続して動作しても、動作の切り替えを高速に行うことができる。したがって、全体の動作期間を短縮させることができる。また、実施例3では、実施例1,2と同一構成については同一符号を付し、詳細な説明を省略する。
 図11は、実施例3にかかる半導体装置の一例を示すブロック図である。図11では、メモリ101(メモリ101-1~メモリ101-n(n≧2))が複数ある場合の例を示している。メモリ101ごとに位相検出部121がある。位相検出部121-1~121-nのうち、DIMM選択信号によって読み出し対象となるメモリ101に対応する位相検出部121が選択される。
 また、位相検出部121-1~121-nは、それぞれ対応するメモリ101-1~101-nへの読み出し期間終了時に、DQPHASE信号を記憶する。
 図12は、異なるメモリ101に対して読み出し動作が連続した場合の従来例を示す説明図である。図13は、異なるメモリ101に対して読み出し動作が連続した場合の本発明例を示す説明図である。タイミングチャート1200では、読み出し動作ごとに読み出し動作の開始から読み出し動作の終了までの読み出し期間で制御信号が“H”となっている。一方、タイミングチャート1300では、読み出し動作ごとに読み出し動作の開始から1データ信号分の読み出し時間の期間で制御信号が“H”となっている。
 実施例3によれば、異なるDIMMへのアクセスが連続して動作しても、動作の切り替えを高速に行うことができる。したがって、全体の動作期間を短縮させることができる。
(実施例4)
 実施例4は、実施例1,2で示したクロック生成部が共通化される例を示す。また、実施例4では、実施例1,2と同一構成については同一符号を付し、詳細な説明を省略する。
 図14は、実施例4にかかる半導体装置を示すブロック図である。実施例4では、第二の位相遅延部133でクロック生成部141を有さずに、クロック生成部131の出力を位相遅延部本体142で用いる。そのため、PHSEL INH信号がクロック生成部131に入力される。
 クロック生成部131は、CLK信号を分周して、複数相のCLK信号を生成する。そして、クロック生成部131は、PHSEL INH信号が“L”から“H”に変化した時のDQPHASE信号に基づいて複数相のCLK信号から1つのCLK信号を選択して、第二の位相遅延部本体142や位相検出部121へ出力する。また、たとえば、クロック生成部131は、PHSEL INH信号が“L”から“H”に変化した時のDQPHASE信号を記憶させるためにラッチ回路を有していてもよい。
 実施例4によれば、実施例1,2と同様の効果が得られる。さらに、実施例4によれば、クロック生成部131と同一のクロック生成部141を有さないことで、実施例1,2と比較してメモリコントローラ100の回路規模を縮小することができる。
 また、実施例1~4で示したメモリコントローラ100は、たとえば、メモリ101ボードが装着されるマザーボードなどの基板に設けられていてもよい。
(マザーボードに適用した例)
 図15は、マザーボードの一例を示すブロック図である。図15に示すように、マザーボード1500には、CPU(Central Processing Unit、中央演算処理装置)1501およびソケット1502が設けられている。CPU1501には、メモリコントローラ100が設けられている。ソケット1502には、メモリボード1503が取り付けられる。また、ソケット1502はマザーボード1500上に複数設けられていてもよい。
 以上説明したように、実施例1~4で示した半導体装置によれば、連続的に変化するデータ信号の遅延量を確定させる制御信号の有効期間が読み出し期間より短くても、制御信号を遅延させて、データ信号の遅延処理中に有効化する。さらに、制御信号を遅延させる遅延量と、データ信号を遅延させる遅延量との和を一定にする。これにより、制御信号の有効期間を短縮化させることができるため、読み出し応答のばらつきを抑えつつ、連続動作時に複数の動作の切り替えを高速化させることができる。したがって、連続動作時の全体の動作時間を短縮することができる。
 また、制御信号の入力順に配列へ入力し、配列順に出力する際に、配列への第1の入力位置を制御することで、制御信号の遅延量を調整することができる。さらに、データ信号の入力順に配列へ入力し、配列順に出力する際に、配列への第2の入力位置を制御することで、データ信号の遅延量を調整することができる。さらに、第1の配列開始位置と、第2の配列開始位置が、相反することで、制御信号の遅延量と、データ信号の遅延量との和を一定にすることができる。
 100 メモリコントローラ
 1500 マザーボード
 1501 CPU
 101 メモリ
 121 位相検出部
 122 生成部
 123 遅延制御部
 601~617 FF
 621~634 セレクタ
 901 記憶制御部
 902 記憶部

Claims (4)

  1.  受信した外部クロック信号と内部クロック信号との位相差に基づき、読み出し動作期間中連続的に第1の遅延量を検出する位相検出部と、
     1データ信号分の読み出し時間以上で、前記読み出し動作開始から受信したデータ信号を出力するまでの一定時間未満の有効期間であり、前記読み出し動作開始時に前記有効期間が開始される第1の制御信号を、前記第1の遅延量との和が前記一定時間となる第2の遅延量分遅延させることで、第2の制御信号を生成する生成部と、
     前記生成部によって生成された前記第2の制御信号の有効期間の開始時に前記位相検出部により検出された前記第1の遅延量分、前記データ信号を遅延させる遅延制御部と、
     を有することを特徴とする半導体装置。
  2.  前記生成部は、
     前記第1の制御信号を第1の配列開始位置から入力順に配列させて記憶し、配列順に前記第2の制御信号として出力する第1の記憶部と、
     前記第2の遅延量に基づき前記第1の配列開始位置を選択する第1の記憶制御部と、
     を有することを特徴とする請求項1に記載の半導体装置。
  3.  前記遅延制御部は、
     前記データ信号を第2の配列開始位置から入力順に配列させて記憶し、配列順に前記データ信号の読み出しが可能な第2の記憶部と、
     前記第1の遅延量に基づき前記第2の配列開始位置を選択する第2の記憶制御部と、
     を有することを特徴とする請求項2に記載の半導体装置。
  4.  前記第1の記憶部の配列数と前記第2の記憶部の配列数とが同一であり、前記第1の配列開始位置と、前記第2の配列開始位置とが相反することを特徴とする請求項3に記載の半導体装置。
PCT/JP2011/071525 2011-09-21 2011-09-21 半導体装置 WO2013042233A1 (ja)

Priority Applications (3)

Application Number Priority Date Filing Date Title
PCT/JP2011/071525 WO2013042233A1 (ja) 2011-09-21 2011-09-21 半導体装置
JP2013534536A JP5673842B2 (ja) 2011-09-21 2011-09-21 半導体装置
US14/196,345 US8976619B2 (en) 2011-09-21 2014-03-04 Semiconductor apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2011/071525 WO2013042233A1 (ja) 2011-09-21 2011-09-21 半導体装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/196,345 Continuation US8976619B2 (en) 2011-09-21 2014-03-04 Semiconductor apparatus

Publications (1)

Publication Number Publication Date
WO2013042233A1 true WO2013042233A1 (ja) 2013-03-28

Family

ID=47914044

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2011/071525 WO2013042233A1 (ja) 2011-09-21 2011-09-21 半導体装置

Country Status (3)

Country Link
US (1) US8976619B2 (ja)
JP (1) JP5673842B2 (ja)
WO (1) WO2013042233A1 (ja)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015138485A (ja) * 2014-01-24 2015-07-30 富士通株式会社 メモリコントローラ及び情報処理装置
JP2016224605A (ja) * 2015-05-28 2016-12-28 株式会社ソシオネクスト 受信回路、受信回路のタイミング調整方法、半導体装置

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016202367A1 (en) * 2015-06-16 2016-12-22 Telefonaktiebolaget Lm Ericsson (Publ) Frequency divider, phase-locked loop, transceiver, radio station and method of frequency dividing
CN108139993B (zh) * 2016-08-29 2020-06-16 华为技术有限公司 内存装置、内存控制器、数据缓存装置及计算机系统

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011077573A1 (ja) * 2009-12-25 2011-06-30 富士通株式会社 信号受信回路、メモリコントローラ、プロセッサ、コンピュータ及び位相制御方法
WO2011077574A1 (ja) * 2009-12-25 2011-06-30 富士通株式会社 信号復元回路、レイテンシ調整回路、メモリコントローラ、プロセッサ、コンピュータ、信号復元方法及びレイテンシ調整方法
JP2011176816A (ja) * 2010-02-23 2011-09-08 Samsung Electronics Co Ltd オンダイ終端回路、オンダイ終端及びトレーニング回路、メモリ装置、終端インピーダンスを提供する方法、オンダイ終端及びトレーニング方法、メモリモジュール、並びにコンピューティングシステム

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100866958B1 (ko) * 2007-02-08 2008-11-05 삼성전자주식회사 고속 dram의 정확한 독출 레이턴시를 제어하는 방법 및장치
JP5369430B2 (ja) 2007-11-20 2013-12-18 富士通株式会社 可変遅延回路,メモリ制御回路,遅延量設定装置,遅延量設定方法および遅延量設定プログラム
KR101585213B1 (ko) * 2009-08-18 2016-01-13 삼성전자주식회사 라이트 레벨링 동작을 수행하기 위한 메모리 장치의 제어 방법, 메모리 장치의 라이트 레벨링 방법, 및 라이트 레벨링 동작을 수행하는 메모리 컨트롤러, 메모리 장치, 및 메모리 시스템
KR20120119441A (ko) * 2011-04-21 2012-10-31 에스케이하이닉스 주식회사 레이턴시 조절 회로, 이를 포함하는 반도체 메모리 장치 및 레이턴시 조절 방법

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011077573A1 (ja) * 2009-12-25 2011-06-30 富士通株式会社 信号受信回路、メモリコントローラ、プロセッサ、コンピュータ及び位相制御方法
WO2011077574A1 (ja) * 2009-12-25 2011-06-30 富士通株式会社 信号復元回路、レイテンシ調整回路、メモリコントローラ、プロセッサ、コンピュータ、信号復元方法及びレイテンシ調整方法
JP2011176816A (ja) * 2010-02-23 2011-09-08 Samsung Electronics Co Ltd オンダイ終端回路、オンダイ終端及びトレーニング回路、メモリ装置、終端インピーダンスを提供する方法、オンダイ終端及びトレーニング方法、メモリモジュール、並びにコンピューティングシステム

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015138485A (ja) * 2014-01-24 2015-07-30 富士通株式会社 メモリコントローラ及び情報処理装置
JP2016224605A (ja) * 2015-05-28 2016-12-28 株式会社ソシオネクスト 受信回路、受信回路のタイミング調整方法、半導体装置

Also Published As

Publication number Publication date
JP5673842B2 (ja) 2015-02-18
US8976619B2 (en) 2015-03-10
US20140185391A1 (en) 2014-07-03
JPWO2013042233A1 (ja) 2015-03-26

Similar Documents

Publication Publication Date Title
KR102261670B1 (ko) 메모리 디바이스내 상이한 클럭 주파수들의 내부 클럭 신호들을 제공하기 위한 장치들 및 방법들
JP5537568B2 (ja) 信号受信回路、メモリコントローラ、プロセッサ、コンピュータ及び位相制御方法
CN109643566B (zh) 用于调整命令信号路径的延迟的设备及方法
US7751261B2 (en) Method and apparatus for controlling read latency of high-speed DRAM
US9754650B2 (en) Memory device and system supporting command bus training, and operating method thereof
US7027336B2 (en) Semiconductor memory device for controlling output timing of data depending on frequency variation
JP5331902B2 (ja) 信号復元回路、レイテンシ調整回路、メモリコントローラ、プロセッサ、コンピュータ、信号復元方法及びレイテンシ調整方法
US9330741B2 (en) Semiconductor devices
US9959918B2 (en) Memory device and system supporting command bus training, and operating method thereof
US10354701B2 (en) DQS-offset and read-RTT-disable edge control
US7672191B2 (en) Data output control circuit
US20100052739A1 (en) Device and control method of device
JP2008052335A (ja) インターフェース回路
JP2013232152A (ja) 制御デバイス、メモリシステムおよびメモリモジュール
US10283186B2 (en) Data alignment circuit of a semiconductor memory device, a semiconductor memory device and a method of aligning data in a semiconductor memory device
JP5673842B2 (ja) 半導体装置
US7181638B2 (en) Method and apparatus for skewing data with respect to command on a DDR interface
KR100903365B1 (ko) 반도체 메모리 장치
US8947956B2 (en) Delay circuit and latency control circuit of memory, and signal delay method thereof
JP5113433B2 (ja) メモリコントローラ
US10867648B2 (en) Memory system and operating method thereof
KR20160075058A (ko) 반도체 메모리 장치 및 그의 동작 방법
CN116230061A (zh) 用于延迟测量初始化的设备及方法
CN115881184A (zh) 一种数据采样电路及半导体存储器

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11872736

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2013534536

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11872736

Country of ref document: EP

Kind code of ref document: A1