CN100446124C - Method for detecting data strobe signal - Google Patents
Method for detecting data strobe signal Download PDFInfo
- Publication number
- CN100446124C CN100446124C CNB2004100738820A CN200410073882A CN100446124C CN 100446124 C CN100446124 C CN 100446124C CN B2004100738820 A CNB2004100738820 A CN B2004100738820A CN 200410073882 A CN200410073882 A CN 200410073882A CN 100446124 C CN100446124 C CN 100446124C
- Authority
- CN
- China
- Prior art keywords
- signal
- data
- logic level
- gating signal
- information gating
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
- 238000000034 method Methods 0.000 title claims abstract description 55
- 230000001360 synchronised effect Effects 0.000 claims abstract description 12
- 238000012546 transfer Methods 0.000 claims description 5
- 230000004913 activation Effects 0.000 claims 5
- 238000001514 detection method Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000012986 modification Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 230000007547 defect Effects 0.000 description 3
- 238000013461 design Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000000630 rising effect Effects 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- ATJFFYVFTNAWJD-UHFFFAOYSA-N Tin Chemical compound [Sn] ATJFFYVFTNAWJD-UHFFFAOYSA-N 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Landscapes
- Dram (AREA)
Abstract
Description
技术领域 technical field
本发明涉及一种关于侦测双倍资料传输率同步动态随机存取记忆体(Double Data Rate Synchronous DRAM,DDR SDRAM)的输出资料选通(strobe)信号的方法,,特别是涉及一种关于DDR SDRAM输出资料时,侦测资料选通信号的方法。The present invention relates to a method for detecting an output data strobe (strobe) signal of a double data rate synchronous dynamic random access memory (Double Data Rate Synchronous DRAM, DDR SDRAM), in particular to a method for DDR When SDRAM outputs data, it detects the method of data strobe signal.
背景技术 Background technique
在目前一般的资料处理系统(data process system)中,同步动态存取记忆体(Synchronous DRAM,SDRAM)架构常被使用于记忆体单元。其与系统同步运作,每一资料存取动作都在系统时脉的正缘(rising edge)触发之下进行,因此能够较传统时脉独立的记忆体架构提供更快速的资料传输效率。In current general data processing systems (data process systems), synchronous dynamic access memory (Synchronous DRAM, SDRAM) architecture is often used in memory units. It operates synchronously with the system, and each data access operation is triggered by the rising edge of the system clock, so it can provide faster data transmission efficiency than traditional clock-independent memory architectures.
而新一代被称为双倍资料传输率(Double Data Rate,DDR)SDRAM的SDRAM架构,类似于一般的SDRAM架构。但不同的是,系统时脉的正缘及负缘(falling edge)皆会触发一笔资料存取动作,因此在理论上DDR SDRAM能提供两倍于一般SDRAM架构的资料传输效率,且在架构上仅须做微幅的修改即可。但随着系统时脉不断的提升,一些新的问题也随之而来。The new generation of SDRAM architecture called Double Data Rate (DDR) SDRAM is similar to the general SDRAM architecture. But the difference is that both the positive edge and the falling edge of the system clock will trigger a data access action, so theoretically DDR SDRAM can provide twice the data transfer efficiency of the general SDRAM architecture, and in the architecture Only minor modifications are required. However, as the system clock continues to increase, some new problems also arise.
请参阅图1所示,其为传统方法对DDR SDRAM的资料读取时序图。其中,信号CLK为系统时脉,当对DDR SDRAM发出一个时脉的低逻辑位准(lowlogic level)致能信号RC做为读取指令(read command)后,并经过一段潜伏(latency)时间102,资料便会以一个时脉两笔的速率出现在资料线DQ上以供读取,在此假设一次资料读取作业中可读取八笔资料,即资料D0至资料D7。在将资料提供至资料线DQ上的同时,DDR SDRAM同时会提供一与资料线DQ上的资料同步运作的资料选通(strobe)信号DQS,其每一正缘及负缘皆表示资料线DQ上一笔资料的到达,并且在资料线DQ上的第一笔资料D0出现前提供一个时脉周期的低逻辑位准前置(preamble)104以表示资料即将到达,以及在最后以半个时脉周期的低逻辑位准后置(post amble)106来表示资料线DQ上资料的结束,在这些情况之外,信号DQS皆处于一介于高逻辑位准(high logic level)与低逻辑位准状态之间的高阻抗(highimpedance,HI-Z)状态,因此资料选通信号DQS为一三态信号。Please refer to Figure 1, which is a timing diagram for reading data from DDR SDRAM in a traditional method. Among them, the signal CLK is the system clock, when a clock low logic level (lowlogic level) enabling signal RC is sent to the DDR SDRAM as a read command (read command), and after a period of latency (latency)
当DDR SDRAM回传了资料及资料选通信号DQS之后,下一步便是要将资料线DQ上的资料接收。一般说来,接收单元可在读取指令信号RC发出的一段时间后,开启输入致能(input enable)信号TNI来接收资料线DQ及资料选通信号DQS。当输入致能信号TNI在侦测到资料选通信号DQS的前置104之后,会维持高逻辑位准的致能状态直到后置106为止。在输入致能信号TNI的致能期间,资料接收单元可提供一与资料选通信号DQS同步的资料读取信号ZI用以作资料接收的控制,资料接收单元会在资料读取信号ZI的正缘及负缘皆对资料线DQ上的资料作读取的动作。After the DDR SDRAM returns the data and the data strobe signal DQS, the next step is to receive the data on the data line DQ. Generally speaking, the receiving unit can turn on the input enable signal TNI to receive the data line DQ and the data strobe signal DQS after a period of time after the read command signal RC is sent. When the input enable signal TNI detects the
但因为系统时脉的提升以及各产品中所使用记忆体模组及主机板布线的不同等种种因素,使得潜伏时间102在不同的产品之间非为一定值,其会随着产品及产品使用状况的不同而产生变化,连带使资料选通信号DQS的前置104出现时间也会跟着变化。而输入致能信号TNI在传统的做法上是在发出读取指令信号RC后,经过一固定时间即对资料选通信号DQS的前置进行侦测。此时若因潜伏时间102的延长,使输入致能信号TNI侦测到资料选通信号DQS的高阻抗部分,会使资料读取信号ZI产生一未知(unknow)的状态。又若因潜伏时间102的缩短,使输入致能信号TNI在错过资料选通信号DQS的前置之后才行侦测,则会造成资料的错失。这些状况皆会产生资料读取错误,严重降低了资料的读取效率。However, due to various factors such as the improvement of the system clock frequency and the differences in the memory modules used in each product and the wiring of the motherboard, the
由此可见,上述现有的方法显然仍存在有不便与缺陷,而亟待加以进一步改进。为了解决现有的方法存在的问题,相关厂商莫不费尽心思来谋求解决之道,但长久以来一直未见适用的设计被发展完成。This shows that above-mentioned existing method obviously still has inconvenience and defect, and demands urgently further improving. In order to solve the problems existing in the existing methods, relevant manufacturers have tried their best to find a solution, but no suitable design has been developed for a long time.
有鉴于上述现有的方法存在的缺陷,由上述可知,可对资料接收单元侦测资料到达的方式进行改良,对资料选通信号的前置进行更加准确的撷取,以减少资料的错失,提高资料读取单元对DDR SDRAM资料的读取效率。In view of the defects in the above-mentioned existing methods, it can be seen from the above that the method of detecting the arrival of data by the data receiving unit can be improved, and the front end of the data strobe signal can be captured more accurately to reduce the loss of data. Improve the reading efficiency of data reading unit to DDR SDRAM data.
发明内容 Contents of the invention
本发明的目的在于,克服现有的侦测资料选通信号的方法存在的缺陷,而提供一种新的侦测DDR SDRAM架构中,输出资料到达信号的方法。The object of the present invention is to overcome the defects of the existing method for detecting data strobe signal, and provide a new method for detecting the arrival signal of output data in DDR SDRAM architecture.
本发明的另一目的在于,提供一种对DDR SDRAM架构的资料侦测方法,用以提高资料的读取效率。Another object of the present invention is to provide a data detection method for the DDR SDRAM architecture, so as to improve the data reading efficiency.
本发明的再一目的在于,提供一种使用于资料接收单元的资料侦测方法,当应用此种资料接收单元在各种不同的条件下接收DDR SDRAM模组中的资料时,皆可维持一定的资料读取效率。Another object of the present invention is to provide a data detection method used in a data receiving unit. When using this data receiving unit to receive data in a DDR SDRAM module under various conditions, it can maintain a certain data reading efficiency.
本发明的目的及解决其技术问题是采用以下技术方案来实现的。依据本发明提出的一种侦测资料选通信号前置的方法,包括以下步骤:首先估算一潜伏时间,包括以下步骤:当发出一读取指令信号时,致能一第一信号并根据比较该资料选通信号的位准电压以及一参考电压决定一第二信号的状态;当该第一信号由非致能转为致能时,根据一参考时脉开始计算一计数值;以及当该第二信号由致能状态转为非致能状态时,停止根据该参考时脉计算该计数值;所得到的计数值即为该潜伏时间;而后,当发出另一读取指令信号时,根据该潜伏时间和所述参考时脉进行计数;当计数值等于该潜伏时间时,发出一信号用以标示出该资料选通信号的前置。The purpose of the present invention and the solution to its technical problems are achieved by adopting the following technical solutions. According to a method for detecting the preamble of a data strobe signal proposed by the present invention, the method includes the following steps: first estimating a latency time, including the following steps: when a read command signal is sent, enabling a first signal and according to the comparison The level voltage of the data strobe signal and a reference voltage determine the state of a second signal; when the first signal is turned from inactive to enabled, a count value is calculated according to a reference clock; When the second signal changes from an enabled state to a non-enabled state, stop calculating the count value based on the reference clock; the obtained count value is the latency time; then, when another read command signal is issued, according to The latency time and the reference clock are counted; when the count value is equal to the latency time, a signal is sent to mark the lead of the data strobe signal.
本发明的目的及解决其技术问题还可采用以下技术措施进一步实现。The purpose of the present invention and its technical problems can also be further realized by adopting the following technical measures.
前述的侦测资料选通信号的方法,其中所述的参考电压范围介于该资料选通信号的高阻抗状态电压以及该资料选通讯号的低逻辑位准电压之间。In the aforementioned method for detecting a data strobe signal, wherein the reference voltage range is between a high impedance state voltage of the data strobe signal and a low logic level voltage of the data strobe signal.
前述的侦测资料选通信号的方法,其中若该资料选通信号的位准电压大于该参考电压,则非致能该第二信号,若该资料选通信号的位准电压小于该参考电压,则致能该第二信号。The aforementioned method for detecting a data strobe signal, wherein if the level voltage of the data strobe signal is greater than the reference voltage, the second signal is disabled, and if the level voltage of the data strobe signal is lower than the reference voltage , the second signal is enabled.
前述的侦测资料选通信号的方法,其中所述的第一信号的初始状态为非致能状态,该第二信号的初始状态为非致能状态。In the aforementioned method for detecting data strobe signals, the initial state of the first signal is a disabled state, and the initial state of the second signal is a disabled state.
前述的侦测资料选通信号的方法,其中所述的第一信号的非致能位准为低逻辑位准,致能位准为高逻辑位准。In the aforementioned method for detecting a data strobe signal, the disabled level of the first signal is a low logic level, and the enabled level is a high logic level.
前述的侦测资料选通信号的方法,其中所述的第二信号的非致能位准为高逻辑位准,致能位准为低逻辑位准。In the aforementioned method for detecting a data strobe signal, the disabled level of the second signal is a high logic level, and the enabled level is a low logic level.
前述的侦测资料选通信号的方法,其中该方法是用于读取一双倍资料传输率同步动态随机记忆体的资料。The aforementioned method for detecting a data strobe signal, wherein the method is used for reading data of a double data transfer rate synchronous dynamic random memory.
本发明与现有技术相比具有明显的优点和有益效果。由以上技术方案可知,为了达到前述发明目的,必须先在一开始时先对由DDR SDRAM架构所组成的记忆体单元发出一资料读取指令,使记忆体单元送出资料。在资料读取指令送出的同时,启动计数器开始循序计数,待接收到由记忆体单元所送出的第一笔资料时停止计数,并将此时的计数值储存起来。在之后对同一个记忆体单元的资料读取作业中,利用此储存值可有效地侦测资料到达的时间。Compared with the prior art, the present invention has obvious advantages and beneficial effects. As can be seen from the above technical solutions, in order to achieve the aforementioned object of the invention, it is necessary to send a data read command to the memory unit formed by the DDR SDRAM structure at the beginning, so that the memory unit sends data. At the same time when the data read command is sent, the startup counter starts counting sequentially, and stops counting when the first data sent by the memory unit is received, and the count value at this time is stored. In subsequent data reading operations on the same memory unit, the stored value can be used to effectively detect the arrival time of data.
经由上述可知,本发明是关于一种侦测资料选通信号的方法,其是用于资料接收单元,用来预测由双倍资料传输率同步动态随机记忆体(DoubleData Rate Synchronous Dynamic Random Access Memory,DDR SDRAM)所输出资料的到达时间。作业初始先对DDR SDRAM进行一次资料读取程序,并将此次读取作业当中所花费的潜伏(latency)时间纪录下来,以利于后续的资料读取作业中,能够对资料选通信号中前置(preamble)部分的到达时间加以预测。It can be seen from the above that the present invention relates to a method for detecting a data strobe signal, which is used in a data receiving unit to predict a double data rate synchronous dynamic random access memory (Double Data Rate Synchronous Dynamic Random Access Memory, The arrival time of data output by DDR SDRAM). At the beginning of the operation, a data reading program is performed on the DDR SDRAM, and the latency time spent in this reading operation is recorded, so as to facilitate the subsequent data reading operation, and the previous data strobe signal can be detected. The arrival time of the preamble part is predicted.
综上所述,本发明特殊的侦测资料选通信号的方法,可在系统运作初始及运作过程中,定时或随时地进行,以更新资料读取潜伏时间的数值,持续保持最佳的资料读取效率;同时,本发明提供的一种使用于资料接收单元的资料侦测方法,当应用此种资料接收单元在各种不同的条件下接收DDRSDRAM模组中的资料时,皆可维持一定的资料读取效率。其具有上述诸多的优点及实用价值,并在同类方法中未见有类似的设计公开发表或使用而确属创新,其不论在方法上或功能上皆有较大的改进,在技术上有较大的进步,并产生了好用及实用的效果,且较现有的侦测资料选通信号的方法具有增进的多项功效,从而更加适于实用,而具有产业的广泛利用价值,诚为一新颖、进步、实用的新设计。To sum up, the special method for detecting the data strobe signal of the present invention can be carried out at regular intervals or at any time during the initial operation and operation of the system to update the value of the data reading latency and keep the best data continuously. Reading efficiency; at the same time, a kind of data detection method used in the data receiving unit provided by the present invention can maintain a certain data reading efficiency. It has the above-mentioned many advantages and practical value, and there is no similar design published or used in similar methods, so it is indeed an innovation. It has great improvements in both methods and functions, and has a relatively large technical advantage. It has made great progress, and has produced easy-to-use and practical effects, and has improved multiple functions compared with the existing method of detecting data strobe signals, so it is more suitable for practical use, and has wide application value in the industry. Sincerely A novel, progressive and practical new design.
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,并可依照说明书的内容予以实施,以下以本发明的较佳实施例并配合附图详细说明如后。The above description is only an overview of the technical solutions of the present invention. In order to understand the technical means of the present invention more clearly and implement them according to the contents of the description, the preferred embodiments of the present invention and accompanying drawings are described in detail below.
附图说明 Description of drawings
图1是传统方法对DDR SDRAM的资料读取时序图。Figure 1 is a timing diagram of reading data from DDR SDRAM by traditional methods.
图2是本发明撷取资料读取潜伏时间的方法时序图。FIG. 2 is a sequence diagram of a method for acquiring data read latency according to the present invention.
图3是本发明方法中计算潜伏时间的方法流程图。Fig. 3 is a flowchart of a method for calculating latency in the method of the present invention.
图4是本发明的方法流程图。Fig. 4 is a flow chart of the method of the present invention.
102:潜伏时间 104:前置102: Latency time 104: Front
106:后置 202:潜伏时间106: Rear position 202: Latency time
204:信号负缘 206:信号正缘204: Signal negative edge 206: Signal positive edge
208:信号正缘 210:信号负缘208: Signal positive edge 210: Signal negative edge
212:信号正缘212: Positive signal edge
310:TINDQS信号以及ZIX信号为除能的初始状态310: TINDQS signal and ZIX signal are in the initial state of disabling
320:当发出读取指令信号时,致能TINDQS信号并开始计数320: When the read command signal is issued, enable the TINDQS signal and start counting
330:根据参考时脉以及资料选通信号DQS决定ZIX信号的状态330: Determine the state of the ZIX signal according to the reference clock and the data strobe signal DQS
340:当ZIX信号由致能状态转为除能状态时,停止计数340: Stop counting when the ZIX signal changes from the enabled state to the disabled state
350:储存该计数值为潜伏时间350: Store the count as the latency
410:估算潜伏时间410: Estimating Latency
420:当发出读取命令信号时,根据潜伏时间开始计数420: When the read command signal is issued, start counting according to the latency
430:当计数时间等于潜伏时间时,发出一信号用以标示出资料选通信号的前置430: When the counting time is equal to the latency time, send a signal to mark the leading edge of the data strobe signal
CLK:系统时脉 RC:读取指令信号CLK: system clock RC: read command signal
DQ:资料线 DQS:资料选通信号DQ: data line DQS: data strobe signal
TNI:输入致能信号 ZI:资料读取信号TNI: input enabling signal ZI: data reading signal
D0-D7:资料 TNDQS:信号D0-D7: data TNDQS: signal
ZIX:信号 COUNT:计数暂存器ZIX: signal COUNT: count register
PHASE:计数暂存器PHASE: count register
具体实施方式 Detailed ways
为更进一步阐述本发明为达成预定发明目的所采取的技术手段及功效,以下结合附图及较佳实施例,对依据本发明提出的侦测资料选通信号的方法其具体实施方式、方法、步骤、特征及其功效,详细说明如后。In order to further explain the technical means and effects that the present invention adopts to achieve the intended invention purpose, below in conjunction with the accompanying drawings and preferred embodiments, the specific implementation methods, methods, Steps, features and effects thereof are described in detail below.
由上述可知,在不同的资讯产品中,当一如中央处理单元(CentralProcess Unit,CPU)的资料接收单元对一DDR SRAM架构的记忆单元作资料读取的动作时,记忆体单元回传资料及资料选通信号的时间点是有可能不同而造成资料接收单元在设计侦测及接收资料的时间点上的困难。因此,在本发明实施例中,便是不将侦测时间点设计为一定值,而是在系统开始运作时,先将资料读取的潜伏时间计数出来并记录,接着依据此计数值便可推断出资料及资料选通信号中前置的到达时间,此时再对资料选通信号进行侦测,当对资料选通信号有着准确的侦测之后,即可对记忆体单元做有效率的资料读取。As can be seen from the above, in different information products, when a data receiving unit such as a central processing unit (Central Process Unit, CPU) reads data from a memory unit of a DDR SRAM architecture, the memory unit returns data and The time point of the data strobe signal may be different, which causes difficulties in designing the time point of detecting and receiving data for the data receiving unit. Therefore, in the embodiment of the present invention, the detection time point is not designed to be a certain value, but when the system starts to operate, the latency time of data reading is first counted and recorded, and then the count value can be used Infer the arrival time of the data and the data strobe signal, and then detect the data strobe signal. After the data strobe signal is detected accurately, the memory unit can be efficiently processed. Data read.
请参阅图2所示,其是本发明撷取资料读取潜伏时间的方法时序图。如图2所示,其描述了本方法的一实施例,其中系统时脉CLK、读取指令信号RC、资料线DQ与资料选通信号DQS的作用与动作皆与前述同。而本方法的目的便是要计数出资料读取的潜伏时间202。Please refer to FIG. 2 , which is a sequence diagram of the method for acquiring data and reading latency of the present invention. As shown in FIG. 2 , it describes an embodiment of the method, wherein the functions and actions of the system clock CLK, the read command signal RC, the data line DQ, and the data strobe signal DQS are the same as those described above. The purpose of this method is to count the
在本实施例中,首先定义一信号TNDQS,其可为高逻辑位准或低逻辑位准致能信号,在此例中为高逻辑位准致能信号。在资料存取单元产生读取指令信号RC的同时,驱动信号TNDQS产生致能正缘208,并由资料选通信号DQS的第一个正缘206驱动产生除能负缘210。也就是说,信号TNDQS的致能期间近似于潜伏时间202,但因为其除能负缘210与资料选通信号DQS第一个正缘206之间会有一些延迟存在,因此须再定义一信号ZIX。In this embodiment, a signal TNDQS is firstly defined, which can be a high logic level enable signal or a low logic level enable signal, and in this example is a high logic level enable signal. When the data access unit generates the read command signal RC, the driving signal TNDQS generates an enable
信号ZIX同样可为高逻辑位准或低逻辑位准致能信号,在此例中为低逻辑位准致能信号。原则上信号ZIX为一由资料选通信号DQS及信号TNDQS所控制的信号。当信号TNDQS为除能状态,即处于低逻辑位准时,信号ZIX则为高逻辑位准的除能状态。而当信号TNDQS在致能状态,即处于高逻辑位准时,信号ZIX则与资料选通信号DQS同步。但其中资料选通信号DQS的高阻抗状态在信号ZIX中则会被转换为高逻辑位准的除能状态,此由高阻抗状态转换至高逻辑位准的程序可利用一般为此项技艺者所熟知的电压比较方法来加以实现。例如,可利用一位于低逻辑位准电压与高阻抗状态电压之间的参考电压与资料选通信号DQS做电压比较。因为当资料选通信号DQS为高逻辑位准或高阻抗状态时的电压皆会比参考电压高,所以假设此时会输出一高逻辑位准电压,而此高逻辑位准电压便可使信号ZIX成为高逻辑准位的除能状态。The signal ZIX can also be a high logic level enable signal or a low logic level enable signal, and in this example is a low logic level enable signal. In principle, the signal ZIX is a signal controlled by the data strobe signal DQS and the signal TNDQS. When the signal TNDQS is in a disabled state, that is, at a low logic level, the signal ZIX is in a high logic level disabled state. And when the signal TNDQS is in the enabled state, that is, at a high logic level, the signal ZIX is synchronized with the data strobe signal DQS. However, the high-impedance state of the data strobe signal DQS will be converted into a high-logic-level disable state in the signal ZIX, and the procedure for switching from the high-impedance state to the high-logic level can be used generally by those skilled in the art. Well-known voltage comparison method to achieve. For example, a reference voltage between the low logic level voltage and the high impedance state voltage can be used for voltage comparison with the data strobe signal DQS. Because the voltage of the data strobe signal DQS is higher than the reference voltage when it is in a high logic level or a high impedance state, it is assumed that a high logic level voltage will be output at this time, and this high logic level voltage can make the signal ZIX becomes the disable state of high logic level.
如图2所示,信号ZIX的正缘212会与资料选通信号DQS的第一正缘206几近同步。而TNDQS信号致能正缘208至信号ZIX的正缘212中间的这段时间即为资料读取的潜伏时间202,所以可利用正缘208来起动初值为0的计数暂存器COUNT与计数暂存器PHASE循序计数,再利用正缘212来停止,并将计数值闩锁(latch)在计数暂存器COUNT与计数暂存器PHASE里。其中,计数暂存器COUNT为一以两倍于系统时脉CLK的速度计数的计数暂存器,而计数暂存器PHASE则为一以四倍于系统时脉CLK的速度计数的计数暂存器,以提供更高的时间分辨率(resolution)。在实际的应用上可视需求来设计计数暂存器的计数速度,并不为本实施例所限定。此时,计数暂存器COUNT及计数暂存器PHASE中的数值皆可做为图1中输入致能信号TNI,在后续资料读取作业里侦测前置的时间点依据。例如,当资料接收单元再度发送出一读取指令信号后,可同时启动一与计数暂存器COUNT相同的计数暂存器开始计数,当此计数暂存器计数至与计数暂存器COUNT的储存值相同的数值时即代表已经过一段潜伏时间,便可在此时致能输入致能信号TNI以进行资料线DQ及资料选通信号DQS的读取。或者,也可启动另一与计数暂存器PHASE相同的计数暂存器开始计数,当此计数暂存器计数至与计数暂存器PHASE的储存值相同的数值时,便致能输入致能信号TNI以进行资料线DQ及资料选通信号DQS的读取。比较起来,利用计数暂存器PHASE做为侦测的依据,能够提供较高的时间分辨率。As shown in FIG. 2 , the rising
请参阅图3所示,其是本发明方法中计算潜伏时间的方法流程图。如图3所示,在步骤310中,先初始化信号TINDQS及信号ZIX的状态为初始状态。在步骤320中,当读取指令信号被发出时,信号TINDQS被致能(高逻辑位准),并开始计数。在步骤330中,根据资料选通信号DQS的逻辑位准电压以及一参考电压来比较决定信号ZIX的逻辑状态,此时若资料选通信号DQS的电位大于参考电压时,则信号ZIX为除能状态(高逻辑位准),若资料选通信号DQS的电位小于参考电压时,则信号ZIX信号为致能的状态(低逻辑位准)。在步骤340中,待信号ZIX由致能转成除能状态时,停止计数。在步骤350中,将停止计数后的计数直储存起来,此一计数值就近似于潜伏时间。Please refer to FIG. 3 , which is a flowchart of a method for calculating latency in the method of the present invention. As shown in FIG. 3 , in
请参阅图4所示,其是本发明的方法流程图。如图4所示,首先在步骤410中,先对记忆体单元发出一资料读取指令,如图1及图2中所示的读取指令信号RC,并依据上述方法取得一潜伏时间值。接着在步骤420中根据潜伏时间值开始计数;最后在步骤430中,当计数时间等于潜伏时间值时,此时信号TIN被致能,用以标示出前置到达的时间点。Please refer to FIG. 4 , which is a flow chart of the method of the present invention. As shown in FIG. 4 , first in
以上所述,仅是本发明的较佳实施例而已,并非对本发明作任何形式上的限制,虽然本发明已以较佳实施例揭露如上,然而并非用以限定本发明,任何熟悉本专业的技术人员,在不脱离本发明技术方案范围内,当可利用上述揭示的方法及技术内容作出些许的更动或修饰为等同变化的等效实施例,但凡是未脱离本发明技术方案的内容,依据本发明的技术实质对以上实施例所作的任何简单修改、等同变化与修饰,均仍属于本发明技术方案的范围内。The above description is only a preferred embodiment of the present invention, and does not limit the present invention in any form. Although the present invention has been disclosed as above with preferred embodiments, it is not intended to limit the present invention. Anyone familiar with this field Those skilled in the art, without departing from the scope of the technical solution of the present invention, may use the method and technical content disclosed above to make some changes or modifications to equivalent embodiments with equivalent changes, but if they do not depart from the technical solution of the present invention, Any simple modifications, equivalent changes and modifications made to the above embodiments according to the technical essence of the present invention still fall within the scope of the technical solutions of the present invention.
Claims (7)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB2004100738820A CN100446124C (en) | 2004-09-07 | 2004-09-07 | Method for detecting data strobe signal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB2004100738820A CN100446124C (en) | 2004-09-07 | 2004-09-07 | Method for detecting data strobe signal |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1588553A CN1588553A (en) | 2005-03-02 |
| CN100446124C true CN100446124C (en) | 2008-12-24 |
Family
ID=34604776
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNB2004100738820A Expired - Lifetime CN100446124C (en) | 2004-09-07 | 2004-09-07 | Method for detecting data strobe signal |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN100446124C (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6198674B1 (en) * | 1998-12-30 | 2001-03-06 | Hyundai Electronics Industries Co., Ltd. | Data strobe signal generator of semiconductor device using toggled pull-up and pull-down signals |
| CN1392464A (en) * | 2002-07-08 | 2003-01-22 | 威盛电子股份有限公司 | Output circuit for strobe signal and parallel data signal |
| CN1508804A (en) * | 2002-12-10 | 2004-06-30 | ���ǵ�����ʽ���� | Synchronous semiconductor memory device and method of generating output control signal therein |
-
2004
- 2004-09-07 CN CNB2004100738820A patent/CN100446124C/en not_active Expired - Lifetime
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6198674B1 (en) * | 1998-12-30 | 2001-03-06 | Hyundai Electronics Industries Co., Ltd. | Data strobe signal generator of semiconductor device using toggled pull-up and pull-down signals |
| CN1392464A (en) * | 2002-07-08 | 2003-01-22 | 威盛电子股份有限公司 | Output circuit for strobe signal and parallel data signal |
| CN1508804A (en) * | 2002-12-10 | 2004-06-30 | ���ǵ�����ʽ���� | Synchronous semiconductor memory device and method of generating output control signal therein |
Also Published As
| Publication number | Publication date |
|---|---|
| CN1588553A (en) | 2005-03-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| TWI474178B (en) | Dynamic data strobe detection | |
| US6697926B2 (en) | Method and apparatus for determining actual write latency and accurately aligning the start of data capture with the arrival of data at a memory device | |
| US7382665B2 (en) | Method for detecting data strobe signal | |
| CN101692346B (en) | Memory data sampling device and sampling controller | |
| US10665286B2 (en) | Pseudo static random access memory and control method thereof | |
| EP2808801B1 (en) | Multiple data rate memory with read timing information | |
| CN108899057B (en) | Reading DQS signal gate gating training method, device and data transmission system | |
| EP1294149A2 (en) | Data receiver, in particular for memory devices | |
| KR20060101334A (en) | Memory interface control circuit | |
| CN1885430A (en) | Parallel Datapath Architecture | |
| US20130003475A1 (en) | Memory Access Alignment In A Double Data Rate ('DDR') System | |
| US9892771B2 (en) | Memory controller with dynamic core-transfer latency | |
| CN100474436C (en) | Methods and apparatus for delay circuit | |
| CN106297889B (en) | memory test system and test method thereof | |
| US8804441B1 (en) | Methods and systems for detecting and correcting timing signal drift in memory systems | |
| CN101075474A (en) | Semiconductor memory and operating method of same | |
| US6853594B1 (en) | Double data rate (DDR) data strobe receiver | |
| CN101527555A (en) | Sampling circuit and sampling method | |
| TWI460727B (en) | Data input device for semiconductor memory device and method thereof | |
| CN112802537B (en) | Test equipment and chip modules | |
| CN100446124C (en) | Method for detecting data strobe signal | |
| TW202318409A (en) | Electronic device, data strobe gate signal generator circuit, and data strobe gate signal generating method | |
| US7397727B2 (en) | Write burst stop function in low power DDR sDRAM | |
| US12223205B2 (en) | Systems, methods and devices for reading a memory of a storage device | |
| CN109003638A (en) | Semiconductor devices, semiconductor system and the operating method for semiconductor system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CX01 | Expiry of patent term | ||
| CX01 | Expiry of patent term |
Granted publication date: 20081224 |