TWI734531B - Code shift calculation circuit and method for calculating code shift value - Google Patents
Code shift calculation circuit and method for calculating code shift value Download PDFInfo
- Publication number
- TWI734531B TWI734531B TW109120433A TW109120433A TWI734531B TW I734531 B TWI734531 B TW I734531B TW 109120433 A TW109120433 A TW 109120433A TW 109120433 A TW109120433 A TW 109120433A TW I734531 B TWI734531 B TW I734531B
- Authority
- TW
- Taiwan
- Prior art keywords
- rate
- change
- extreme
- temperature
- code
- Prior art date
Links
- 238000004364 calculation method Methods 0.000 title claims abstract description 60
- 238000000034 method Methods 0.000 title claims description 10
- 238000006073 displacement reaction Methods 0.000 claims description 26
- 238000006243 chemical reaction Methods 0.000 claims 1
- 230000009466 transformation Effects 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 8
- 239000004065 semiconductor Substances 0.000 description 6
- 230000000630 rising effect Effects 0.000 description 4
- 102100036464 Activated RNA polymerase II transcriptional coactivator p15 Human genes 0.000 description 3
- 101000713904 Homo sapiens Activated RNA polymerase II transcriptional coactivator p15 Proteins 0.000 description 3
- 229910004444 SUB1 Inorganic materials 0.000 description 3
- 229910004438 SUB2 Inorganic materials 0.000 description 3
- 101100311330 Schizosaccharomyces pombe (strain 972 / ATCC 24843) uap56 gene Proteins 0.000 description 3
- 101150018444 sub2 gene Proteins 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000007423 decrease Effects 0.000 description 2
- 230000008054 signal transmission Effects 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000006903 response to temperature Effects 0.000 description 1
Images
Landscapes
- Control Of Transmission Device (AREA)
Abstract
Description
本發明是有關於ZQ校準,且特別是有關於依據電壓變化以及溫度變化來調整通過ZQ校準的驅動強度代碼。 The present invention relates to ZQ calibration, and particularly relates to adjusting the drive strength code through ZQ calibration according to voltage changes and temperature changes.
隨著電子設備的操作速度增加,在電子設備內的半導體存儲裝置之間傳送的信號的擺動寬度(swing width)減小,以最小化傳送信號所花費的延遲時間。然而,隨著擺動寬度減小,信號傳送在更大程度上受外部噪聲影響,並且在接口端的信號反射由于阻抗不匹配而增加。阻抗不匹配由製造過程、供應電壓以及操作溫度(Process-Voltage-Temperature,PVT)的變化引起。阻抗不匹配將使得從半導體存儲裝置輸出的信號失真,在接收失真的信號的相對應的半導體存儲裝置中可導致如設置/保持失敗(set up/hold failure)或信號水平誤判的故障。為了要互相匹配傳輸線之阻抗與輸出電路之輸出阻抗,必須調整半導體存儲裝置的輸出阻抗以便匹配傳輸線之阻抗。 As the operating speed of the electronic device increases, the swing width of the signal transferred between the semiconductor storage devices in the electronic device decreases to minimize the delay time taken to transfer the signal. However, as the swing width decreases, signal transmission is affected by external noise to a greater extent, and signal reflection at the interface end increases due to impedance mismatch. Impedance mismatch is caused by changes in the manufacturing process, supply voltage, and operating temperature (Process-Voltage-Temperature, PVT). The impedance mismatch will distort the signal output from the semiconductor storage device, and may cause failures such as set up/hold failure or misjudgment of signal level in the corresponding semiconductor storage device receiving the distorted signal. In order to match the impedance of the transmission line with the output impedance of the output circuit, the output impedance of the semiconductor memory device must be adjusted to match the impedance of the transmission line.
ZQ校準電路用以調整半導體存儲裝置之輸出阻抗,並提 供ZQ接腳來做為半導體存儲裝置中的ZQ校準端子。外部ZQ校準命令,例如ZQCS(ZQ Calibration Short)命令被輸入至ZQ接腳之內。當輸入外部ZQ校準命令時,ZQ校準操作在此命令所界定之週期內執行,以利用所產生的代碼來改變輸出驅動器的電阻值。為了提高ZQ校準後輸出驅動器的電阻精度,可以採取提高分辨率(improve resolution)的做法,也就是增加代碼的方式。然而,由於ZQCS命令所界定之週期較短,若是在增加一個ZQCS命令可以移動的代碼的寬度下來提高分辨率,則可能導致信號傳輸不符合規範(即ZQCS命令所界定之週期)的風險。相對地,若是在不增加一個ZQCS命令可以移動的代碼的寬度的前提下來提高分辨率,將難以消除由溫度變化或電壓變化所帶來的輸出阻抗的變化。 The ZQ calibration circuit is used to adjust the output impedance of the semiconductor memory device and improve The ZQ pin is used as the ZQ calibration terminal in the semiconductor storage device. External ZQ calibration commands, such as ZQCS (ZQ Calibration Short) commands are input into the ZQ pin. When an external ZQ calibration command is input, the ZQ calibration operation is executed within the period defined by the command to use the generated code to change the resistance value of the output driver. In order to improve the resistance accuracy of the output driver after ZQ calibration, the method of improving resolution can be adopted, that is, the method of increasing the code. However, since the period defined by the ZQCS command is shorter, if the width of the code that can be moved by the ZQCS command is increased to increase the resolution, it may lead to the risk of signal transmission not conforming to the specification (that is, the period defined by the ZQCS command). In contrast, if the resolution is increased without increasing the width of the code that can be moved by a ZQCS command, it will be difficult to eliminate the change in output impedance caused by temperature changes or voltage changes.
因此,需要其他的解決方案,以在不增加一個ZQCS命令可以移動的代碼的寬度的前提下來提高分辨率,並消除由溫度變化或電壓變化所帶來的輸出阻抗的變化,即由溫度變化或電壓變化所帶來的驅動強度代碼的偏差。 Therefore, other solutions are needed to improve the resolution without increasing the width of the code that can be moved by a ZQCS command, and to eliminate the change in output impedance caused by temperature changes or voltage changes, that is, temperature changes or The deviation of the drive strength code caused by the voltage change.
本發明提供一種代碼移位計算電路以及代碼位移值的計算方法,可以藉由位移通過ZQ校準的驅動強度代碼,來消除由溫度變化或電壓變化所帶來的驅動強度代碼的偏差。 The present invention provides a code shift calculation circuit and a code shift value calculation method, which can eliminate the deviation of the drive strength code caused by the temperature change or the voltage change by shifting the drive strength code calibrated by ZQ.
本發明的代碼移位計算電路用以產生位移值以調整通過 ZQ校準的驅動強度代碼。代碼移位計算電路包括第一運算電路、第二運算電路以及第三運算電路。第一運算電路用以依據溫度差值以及驅動強度代碼對溫度的第一變化率來產生第一輸出值。其中,溫度差值為獲取先前ZQ命令時的先前溫度與獲取當前ZQ命令時的當前溫度之間的差值。第二運算電路用以依據電壓差值以及驅動強度代碼對電壓的第二變化率來產生第二輸出值。其中,電壓差值為獲取先前ZQ命令時的先前工作電壓與獲取當前ZQ命令時的當前工作電壓之間的差值。第三運算電路用以對第一輸出值以及第二輸出值進行加總以產生位移值,藉此調整驅動強度代碼。 The code shift calculation circuit of the present invention is used to generate a shift value to adjust the pass The drive strength code for ZQ calibration. The code shift calculation circuit includes a first arithmetic circuit, a second arithmetic circuit, and a third arithmetic circuit. The first arithmetic circuit is used for generating the first output value according to the temperature difference and the first rate of change of the drive strength code to the temperature. The temperature difference is the difference between the previous temperature when the previous ZQ command is acquired and the current temperature when the current ZQ command is acquired. The second arithmetic circuit is used for generating a second output value according to the voltage difference and the second rate of change of the drive strength code to the voltage. Wherein, the voltage difference is the difference between the previous working voltage when the previous ZQ command is acquired and the current working voltage when the current ZQ command is acquired. The third arithmetic circuit is used for summing the first output value and the second output value to generate a displacement value, thereby adjusting the drive strength code.
本發明的代碼位移值的計算方法用以產生位移值以調整通過ZQ校準的驅動強度代碼。所述方法包括:依據溫度差值以及驅動強度代碼對溫度的第一變化率來產生第一輸出值,其中溫度差值為獲取先前ZQ命令時的先前溫度與獲取當前ZQ命令時的當前溫度之間的差值;依據電壓差值以及驅動強度代碼對電壓的第二變化率來產生第二輸出值,其中電壓差值為獲取先前ZQ命令時的先前工作電壓與獲取當前ZQ命令時的當前工作電壓之間的差值;以及對第一輸出值以及第二輸出值進行加總以產生位移值,藉此調整驅動強度代碼。 The code displacement value calculation method of the present invention is used to generate a displacement value to adjust the drive strength code calibrated by ZQ. The method includes: generating a first output value according to a temperature difference value and a first rate of change of the drive strength code to temperature, wherein the temperature difference value is the difference between the previous temperature when the previous ZQ command is acquired and the current temperature when the current ZQ command is acquired The second output value is generated according to the voltage difference and the second rate of change of the drive strength code to the voltage, where the voltage difference is the previous working voltage when the previous ZQ command is obtained and the current working when the current ZQ command is obtained The difference between the voltages; and summing the first output value and the second output value to generate a displacement value, thereby adjusting the drive strength code.
基於上述,本發明可以依據溫度差值以及工作電壓的電壓差值來產生代碼的位移值,藉此調整通過ZQ校準的驅動強度代碼。因此,本發明可以在提高分辨率的前提下,同時消除由溫度 變化或電壓變化所帶來的驅動強度代碼的偏差。 Based on the above, the present invention can generate the displacement value of the code according to the temperature difference and the voltage difference of the working voltage, thereby adjusting the drive strength code calibrated by ZQ. Therefore, the present invention can improve the resolution while eliminating temperature The deviation of the drive strength code caused by changes or voltage changes.
100:代碼移位計算裝置 100: Code shift calculation device
110:電阻分壓器電路 110: Resistance divider circuit
120:或閘 120: Or gate
130:溫度變化與電壓變化計算電路 130: Temperature change and voltage change calculation circuit
140:代碼移位計算電路 140: Code shift calculation circuit
150:熔斷器 150: Fuse
300:代碼移位計算電路 300: Code shift calculation circuit
310:第一運算電路 310: The first arithmetic circuit
311:比例計算電路 311: proportional calculation circuit
3111、3115:除法器 3111, 3115: divider
3112~3114、 3116~3118:乘法器 3112~3114, 3116~3118: Multiplier
312:乘法器 312: Multiplier
320:第二運算電路 320: second arithmetic circuit
321:比例計算電路 321: proportional calculation circuit
3211、3215:除法器 3211, 3215: divider
322:乘法器 322: Multiplier
330:加法器 330: Adder
a1~a20:值 a1~a20: value
AD1、AD2:加法器 AD1, AD2: adder
CSV1:第一輸出值 CSV1: The first output value
CSV2:第二輸出值 CSV2: Second output value
CSV3:位移值 CSV3: Displacement value
CT:當前溫度 CT: current temperature
CV:當前電壓 CV: current voltage
DT:溫度變化量 DT: Temperature change
DV:電壓變化量 DV: voltage change
FF0~FF4:正反器 FF0~FF4: flip-flop
HT:高溫 HT: high temperature
HV:高壓 HV: high voltage
LT:低溫 LT: low temperature
LV:低壓 LV: low pressure
OP:放大器 OP: Amplifier
PU/PD:上拉/下拉信號 PU/PD: pull-up/pull-down signal
R(V)_CT、R(T)_CV、R(T)_HV、R(T)_LV、R(V)_HT、R(V)_LT、R(V)_T0~R(V)_T3、R(T)_V0~R(T)_V3:變化 率 R(V)_CT, R(T)_CV, R(T)_HV, R(T)_LV, R(V)_HT, R(V)_LT, R(V)_T0~R(V)_T3, R( T)_V0~R(T)_V3: change Rate
S1~S4:多工器 S1~S4: Multiplexer
S610~S630:步驟 S610~S630: steps
SF:移位器 SF: shifter
SUB1、SUB2:減法器 SUB1, SUB2: subtractor
T0~T3:溫度 T0~T3: temperature
T_C:溫度代碼 T_C: temperature code
V0~V3:電壓 V0~V3: Voltage
VBGR:基準電壓 VBGR: reference voltage
VDD:工作電壓 VDD: working voltage
VDD_C:電壓代碼 VDD_C: voltage code
ZQCL:命令 ZQCL: Command
ZQCS:命令 ZQCS: Command
圖1繪示為本發明的代碼移位計算裝置的方塊示意圖。 FIG. 1 is a block diagram of the code shift calculation device of the present invention.
圖2A繪示為代碼對溫度的變化率相對於電壓的關係曲線圖。 Figure 2A is a graph showing the relationship between the rate of change of code versus temperature and voltage.
圖2B繪示為代碼對電壓的變化率相對於溫度的關係曲線圖。 FIG. 2B is a graph showing the relationship between the rate of change of the code and the voltage with respect to the temperature.
圖3繪示為本發明的代碼移位計算電路的方塊示意圖。 FIG. 3 is a block diagram of the code shift calculation circuit of the present invention.
圖4繪示為本發明一實施例的比例計算電路311的方塊示意圖。
FIG. 4 is a block diagram of the
圖5繪示為本發明一實施例的比例計算電路321的方塊示意圖。
FIG. 5 is a block diagram of the
圖6繪示為本發明的代碼位移值計算方法的步驟流程圖。 Fig. 6 is a flowchart showing the steps of the code displacement value calculation method of the present invention.
圖1繪示為本發明的代碼移位計算裝置的方塊示意圖。請見圖1,代碼移位計算裝置100包括電阻分壓器電路110、放大器OP、或(OR)閘120、溫度變化與電壓變化計算電路130、代碼移位計算電路140、熔斷器150、移位器SF以及正反器FF4。電阻分壓器電路110用以提供工作電壓VDD的分壓電壓。放大器OP接收工作電壓VDD的分壓電壓以及基準電壓VBGR,以輸出代表工作電壓VDD的電壓值的電壓代碼VDD_C。
FIG. 1 is a block diagram of the code shift calculation device of the present invention. Please refer to Figure 1. The code
溫度變化與電壓變化計算電路130接收電壓代碼VDD_C以及代表溫度值的溫度代碼T_C。溫度變化與電壓變化計算電路130包括正反器FF0~FF3以及減法器SUB1與SUB2。正反器FF0~FF3由ZQCS命令或ZQCL命令來觸發。舉例來說,在ZQCS命令的當前上升緣的時間點,正反器FF0輸出對應此時間點的電壓代碼VDD_C做為當前電壓CV,正反器FF1則輸出對應ZQCS命令的先前上升緣的時間點的電壓代碼VDD_C做為先前電壓。減法器SUB1依據當前電壓CV以及先前電壓代碼,計算出先前上升緣的時間點到當前上升緣的時間點之間的電壓變化量DV。類似地,正反器FF2輸出當前溫度CT,正反器FF3輸出先前溫度,減法器SUB2則用以產生溫度變化量DT。
The temperature change and voltage
代碼移位計算電路140可以依據當前電壓CV、電壓變化量DV、當前溫度CT以及溫度變化量DT,來計算用以調整通過ZQ校準的驅動強度代碼的位移值。藉此,本發明可以因應溫度變化或電壓變化來調整(或稱位移)通過ZQ校準的驅動強度代碼。需說明的是,進行代碼移位計算所需的驅動強度代碼在高/低壓下對溫度的變化率,以及驅動強度代碼在高/低溫下對電壓的變化率,可以透過熔斷器(fuse)150預先地被儲存。然而,本發明並非只能以熔斷器來儲存上述變化率,任何具備儲存功能的存儲器件(例如記憶體電路)皆應在本發明的保護範疇之內。
The code
移位器SF接收代碼移位計算電路140所計算出來的位移值,以及上拉/下拉信號(up/down signal)PU/PD。移位器SF依
據位移值來調整上拉/下拉信號PU/PD,並輸出經調整的上拉/下拉信號PU/PD至正反器FF4。正反器FF4在被觸發後輸出經調整的上拉/下拉信號PU/PD(代碼形式)。在一實施例中,移位器SF可以加法器來實現。
The shifter SF receives the displacement value calculated by the code
圖2A繪示為代碼對溫度的變化率相對於電壓的關係曲線圖。請看圖2A,R(T)_LV代表在低壓LV下代碼對電壓的變化率,R(T)_HV代表在高壓HV下代碼對電壓的變化率。其中,上述的「高壓」以及「低壓」可以是正常工作電壓範圍的兩個極端值。變化率R(T)_LV以及變化率R(T)_HV的數值可以由實驗得出,並預先儲存至熔斷器150。代碼移位計算電路140可以假設代碼對溫度的變化率相對於電壓的變化是線性的,藉此依據所接收的變化率R(T)_LV、變化率R(T)_HV的數值以及當前電壓CV(例如為電壓V0~V3的任一個)來計算對應的代碼對電壓的變化率(例如為變化率R(T)_V0~R(T)_V3的任一個)。需說明的是,雖然圖2A僅示例電壓V0~V3,但本發明不以此為限。在其他實施例中,電壓LV與電壓HV之間可以區分出更多的電壓數值。
Figure 2A is a graph showing the relationship between the rate of change of code versus temperature and voltage. Please look at Figure 2A, R(T)_LV represents the rate of change of code to voltage under low voltage LV, and R(T)_HV represents the rate of change of code to voltage under high voltage HV. Among them, the above-mentioned "high voltage" and "low voltage" can be the two extreme values of the normal operating voltage range. The values of the rate of change R(T)_LV and the rate of change R(T)_HV can be obtained by experiments and stored in the
圖2B繪示為代碼對電壓的變化率相對於溫度的關係曲線圖。請看圖2B,R(V)_LT代表在低溫LT下代碼對電壓的變化率,R(V)_HT代表在高溫HT下代碼對電壓的變化率。其中,上述的「高溫」以及「低溫」可以是正常工作溫度範圍的兩個極端值。變化率R(V)_LT以及變化率R(V)_HT的數值可以由實驗得出,並預先儲存至熔斷器150。代碼移位計算電路140可以假設代
碼對電壓的變化率相對於溫度的變化是線性的,藉此依據所接收的變化率R(V)_LT、變化率R(V)_HT的數值以及當前溫度CT(例如為溫度T0~T3的任一個)來計算對應的代碼對電壓的變化率(例如為變化率R(V)_T0~R(V)_T3的任一個)。需說明的是,雖然圖2B僅示例溫度T0~T3,但本發明不以此為限。在其他實施例中,低溫LT與高溫HT之間可以區分出更多的溫度數值。
FIG. 2B is a graph showing the relationship between the rate of change of the code and the voltage with respect to the temperature. Please look at Figure 2B, R(V)_LT represents the rate of change of code to voltage at low temperature LT, and R(V)_HT represents the rate of change of code to voltage at high temperature HT. Among them, the above-mentioned "high temperature" and "low temperature" can be the two extreme values of the normal operating temperature range. The values of the rate of change R(V)_LT and the rate of change R(V)_HT can be obtained through experiments and stored in the
圖3繪示為本發明的代碼移位計算電路的方塊示意圖。請見圖3,代碼移位計算電路300包括第一運算電路310、第二運算電路320以及加法器330。第一運算電路310包括比例計算電路311以及乘法器312。比例計算電路311接收變化率R(T)_HV、變化率R(T)_LV以及當前電壓CV。比例計算電路311並依據上述的三個數值計算出對應當前電壓CV的代碼對溫度的變化率R(T)_CV以做為第一變化率。乘法器312用以接收變化率R(T)_CV以及溫度變化量DT,並計算變化率R(T)_CV以及溫度變化量DT的乘積做為第一輸出值CSV1。
FIG. 3 is a block diagram of the code shift calculation circuit of the present invention. Please refer to FIG. 3, the code
第二運算電路320包括比例計算電路321以及乘法器322。比例計算電路321接收變化率R(V)_HT、變化率R(V)_LT以及當前溫度CT。比例計算電路321並依據上述的三個數值計算出對應當前溫度CT的代碼對電壓的變化率R(V)_CT做為第二變化率。乘法器322用以接收變化率R(V)_CT以及電壓變化量DV,並計算變化率R(V)_CT以及電壓變化量DV的乘積做為第二輸出值CSV2。最後,透過加法器330用以對第一輸出值CSV1以及第
二輸出值CSV2進行加法運算,以得到用以調整驅動強度代碼的位移值CSV3。
The
圖4繪示為本發明一實施例的比例計算電路311的方塊示意圖。請見圖4,在本實施例中,比例計算電路311包括除法器3111與3115、乘法器3112~3114與3116~3118,多工器S1與S2,以及加法器AD1。除法器3111接收變化率R(T)_HV,並對變化率R(T)_HV進行除8的運算以得到值a1。乘法器3112~3114接收值a1,並分別對值a1進行乘3、乘5以及乘7的運算,以得到值a2~a4。多工器S1用以依據當前電壓CV,以自值a1~a4當中選擇對應當前電壓CV的一個值進行輸出,稱做值a5。
FIG. 4 is a block diagram of the
類似地,除法器3115接收變化率R(T)_LV,並對變化率R(T)_LV進行除8的運算以得到值a6。乘法器3116~3118接收值a6,並分別對值a6進行乘3、乘5以及乘7的運算,以得到值a7~a9。多工器S2用以依據當前電壓CV,以自值a6~a9當中選擇對應當前電壓CV的一個值進行輸出,稱做值a10。加法器AD1用以對值a5與值a10進行加法運算,以得到對應當前電壓CV的代碼對溫度的變化率R(T)_CV。
Similarly, the
請同時參照圖2A與圖4,當當前電壓CV的值與電壓V0的值相等時,多工器S1與S2將分別選擇值a1與a6做為輸出。當當前電壓CV的值與電壓V1的值相等時,多工器S1與S2將分別選擇值a2與a7做為輸出。當當前電壓CV的值與電壓V2的值相等時,多工器S1與S2將分別選擇值a3與a8做為輸出。當當 前電壓CV的值與電壓V3的值相等時,多工器S1與S2將分別選擇值a4與a9做為輸出。 Please refer to FIGS. 2A and 4 at the same time. When the value of the current voltage CV is equal to the value of the voltage V0, the multiplexers S1 and S2 will respectively select the values a1 and a6 as output. When the value of the current voltage CV is equal to the value of the voltage V1, the multiplexers S1 and S2 will respectively select the values a2 and a7 as output. When the value of the current voltage CV is equal to the value of the voltage V2, the multiplexers S1 and S2 will respectively select the values a3 and a8 as output. Dangdang When the value of the previous voltage CV is equal to the value of the voltage V3, the multiplexers S1 and S2 will respectively select the values a4 and a9 as outputs.
圖5繪示為本發明一實施例的比例計算電路321的方塊示意圖。請見圖5,在本實施例中,比例計算電路321包括除法器3211與3215、乘法器3212~3214與3216~3218,多工器S3與S4,以及加法器AD2。除法器3211接收變化率R(V)_HT,並對變化率R(V)_HT進行除8的運算以得到值a11。乘法器3212~3214接收值a11,並分別對值a11進行乘3、乘5以及乘7的運算,以得到值a12~a14。多工器S3用以依據當前溫度CT,以自值a11~a14當中選擇對應當前溫度CT的一個值進行輸出,稱做值a15。
FIG. 5 is a block diagram of the
類似地,除法器3215接收變化率R(V)_LT,並對變化率R(V)_LT進行除8的運算以得到值a16。乘法器3216~3218接收值a16,並分別對值a16進行乘3、乘5以及乘7的運算,以得到值a17~a19。多工器S4用以依據當前電壓CV,以自值a16~a19當中選擇對應當前溫度CT的一個值進行輸出,稱做值a20。加法器AD2用以對值a15與值a20進行加法運算,以得到對應當前溫度CT的代碼對電壓的變化率R(V)_CT。
Similarly, the
請同時參照圖2B與圖5,當當前溫度CT的值與溫度T0的值相等時,多工器S1與S2將分別選擇值a11與a16做為輸出。當當前溫度CT的值與溫度T1的值相等時,多工器S1與S2將分別選擇值a12與a17做為輸出。當當前溫度CT的值與溫度T2的值相等時,多工器S1與S2將分別選擇值a13與a18做為輸出。 當當前溫度CT的值與溫度T3的值相等時,多工器S1與S2將分別選擇值a14與a19做為輸出。 Please refer to FIG. 2B and FIG. 5 at the same time. When the value of the current temperature CT is equal to the value of the temperature T0, the multiplexers S1 and S2 will respectively select the values a11 and a16 as output. When the value of the current temperature CT is equal to the value of the temperature T1, the multiplexers S1 and S2 will respectively select the values a12 and a17 as output. When the value of the current temperature CT is equal to the value of the temperature T2, the multiplexers S1 and S2 will respectively select the values a13 and a18 as output. When the value of the current temperature CT is equal to the value of the temperature T3, the multiplexers S1 and S2 will respectively select the values a14 and a19 as output.
特別一提的是,圖4與圖5中的乘法器與除法器的數量以及所對應的運算,是關聯於高/低溫、高/低壓的範圍設定以及前述範圍的區分細度。在其他實施例中,可以採用數量更多以及對應不同運算的乘法器與除法器,以取得更精密的計算結果。 In particular, the number of multipliers and dividers in FIGS. 4 and 5 and the corresponding operations are related to the high/low temperature, high/low pressure range setting, and the distinction between the aforementioned ranges. In other embodiments, a larger number of multipliers and dividers corresponding to different operations can be used to obtain more precise calculation results.
圖6繪示為本發明的代碼位移值計算方法的步驟流程圖。請同時參考圖3與圖6,步驟S610為依據溫度差值(即溫度變化量DT)以及驅動強度代碼對溫度的第一變化率(即變化率R(T)_CV)來產生第一輸出值CSV1。其中,溫度變化量DT為獲取先前ZQ命令時的先前溫度與獲取當前ZQ命令時的當前溫度之間的差值。步驟S620為依據電壓差值(電壓變化量DV)以及驅動強度代碼對電壓的第二變化率(即變化率R(V)_CT)來產生第二輸出值CSV2。其中,電壓變化量DV為獲取先前ZQ命令時的先前工作電壓與獲取當前ZQ命令時的當前工作電壓之間的差值。步驟S630為對第一輸出值CSV1以及第二輸出值CSV2進行加總以產生位移值CSV3,藉此調整驅動強度代碼。 Fig. 6 is a flowchart showing the steps of the code displacement value calculation method of the present invention. Please refer to Figure 3 and Figure 6 at the same time. Step S610 is to generate the first output value according to the temperature difference (ie the temperature change amount DT) and the first rate of change of the drive strength code to the temperature (ie the rate of change R(T)_CV) CSV1. Wherein, the temperature change DT is the difference between the previous temperature when the previous ZQ command is acquired and the current temperature when the current ZQ command is acquired. Step S620 is to generate the second output value CSV2 according to the voltage difference value (the amount of voltage change DV) and the second rate of change of the drive strength code to the voltage (ie, the rate of change R(V)_CT). Wherein, the voltage variation DV is the difference between the previous working voltage when the previous ZQ command is acquired and the current working voltage when the current ZQ command is acquired. Step S630 is to add the first output value CSV1 and the second output value CSV2 to generate a displacement value CSV3, thereby adjusting the drive strength code.
綜上所述,本發明可以依據溫度差值以及工作電壓的電壓差值來產生代碼的位移值,藉此調整通過ZQ校準的驅動強度代碼。因此,本發明可以在提高分辨率的前提下,同時消除由溫度變化或電壓變化所帶來的驅動強度代碼的偏差。 In summary, the present invention can generate the displacement value of the code according to the temperature difference and the voltage difference of the working voltage, thereby adjusting the drive strength code calibrated by ZQ. Therefore, the present invention can eliminate the deviation of the drive strength code caused by the temperature change or the voltage change under the premise of improving the resolution.
300:代碼移位計算電路 300: Code shift calculation circuit
310:第一運算電路 310: The first arithmetic circuit
311:比例計算電路 311: proportional calculation circuit
312:乘法器 312: Multiplier
320:第二運算電路 320: second arithmetic circuit
321:比例計算電路 321: proportional calculation circuit
322:乘法器 322: Multiplier
330:加法器 330: Adder
CT:當前溫度 CT: current temperature
CV:當前電壓 CV: current voltage
DT:溫度變化量 DT: Temperature change
DV:電壓變化量 DV: voltage change
R(V)_CT、R(T)_CV、R(T)_HV、 R(T)_LV、R(V)_HT、R(V)_LT:變化率 R(V)_CT, R(T)_CV, R(T)_HV, R(T)_LV, R(V)_HT, R(V)_LT: rate of change
CSV1:第一輸出值 CSV1: The first output value
CSV2:第二輸出值 CSV2: Second output value
CSV3:位移值 CSV3: Displacement value
Claims (14)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW109120433A TWI734531B (en) | 2020-06-17 | 2020-06-17 | Code shift calculation circuit and method for calculating code shift value |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW109120433A TWI734531B (en) | 2020-06-17 | 2020-06-17 | Code shift calculation circuit and method for calculating code shift value |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TWI734531B true TWI734531B (en) | 2021-07-21 |
| TW202201391A TW202201391A (en) | 2022-01-01 |
Family
ID=77911219
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW109120433A TWI734531B (en) | 2020-06-17 | 2020-06-17 | Code shift calculation circuit and method for calculating code shift value |
Country Status (1)
| Country | Link |
|---|---|
| TW (1) | TWI734531B (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9825631B1 (en) * | 2016-05-11 | 2017-11-21 | Samsung Electronics Co., Ltd. | Impedance calibration circuit of semiconductor memory device, semiconductor memory device and method of operating the same |
| US10192607B2 (en) * | 2016-05-31 | 2019-01-29 | Qualcomm Incorporated | Periodic ZQ calibration with traffic-based self-refresh in a multi-rank DDR system |
| US10607667B2 (en) * | 2018-06-01 | 2020-03-31 | SK Hynix Inc. | Data output circuit |
-
2020
- 2020-06-17 TW TW109120433A patent/TWI734531B/en active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9825631B1 (en) * | 2016-05-11 | 2017-11-21 | Samsung Electronics Co., Ltd. | Impedance calibration circuit of semiconductor memory device, semiconductor memory device and method of operating the same |
| US10192607B2 (en) * | 2016-05-31 | 2019-01-29 | Qualcomm Incorporated | Periodic ZQ calibration with traffic-based self-refresh in a multi-rank DDR system |
| US10607667B2 (en) * | 2018-06-01 | 2020-03-31 | SK Hynix Inc. | Data output circuit |
Also Published As
| Publication number | Publication date |
|---|---|
| TW202201391A (en) | 2022-01-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7528626B2 (en) | Semiconductor memory device with ZQ calibration circuit | |
| KR100853466B1 (en) | On-die termination device and method for speeding up its calibration operation | |
| KR101138834B1 (en) | Inpedance code generation circuit and semiconductor device including the same, method for setting termination impedance | |
| US7893710B2 (en) | Termination circuit and impedance matching device including the same | |
| US8120381B2 (en) | Impedance adjusting device | |
| US11972833B2 (en) | Calibration circuit and semiconductor device including the same | |
| US8384424B2 (en) | Real time averaged impedance calibration for on-die termination | |
| CN220022770U (en) | Impedance matching circuit | |
| US20060226868A1 (en) | Semiconductor device capable of controlling OCD and ODT circuits and control method used by the semiconductor device | |
| US8213213B2 (en) | Reference current generator for resistance type memory and method thereof | |
| KR20130093231A (en) | Resistance measuring circuit, method for measuring resistance and circuit for controlling impedance | |
| TWI734531B (en) | Code shift calculation circuit and method for calculating code shift value | |
| US20130162286A1 (en) | Impedance code generation circuit and semiconductor memory device including the same | |
| US11264988B2 (en) | Code shift calculation circuit and method for calculating code shift value | |
| CN113889171B (en) | Code shift calculation circuit and code shift value calculation method | |
| KR102359599B1 (en) | Code shift calculation circuit and method for calculating code shift value | |
| KR100980423B1 (en) | I / O device of semiconductor integrated circuit | |
| US7907661B2 (en) | Testability technique for phase interpolators | |
| JP2023122380A (en) | Semiconductor device and memory system | |
| CN114598302A (en) | Clock duty cycle calibration device | |
| CN114913888A (en) | Semiconductor device performing calibration operation and semiconductor system using the same | |
| KR20120099908A (en) | Impedance adjusting circuit | |
| JP4886615B2 (en) | Test device and pattern generation device | |
| KR100948066B1 (en) | On-die termination device and its calibration method | |
| KR102636020B1 (en) | Pam-4 transmitter with zq calibration |