CN101521500B - Data Latch Circuit Using Phase Selector - Google Patents
Data Latch Circuit Using Phase Selector Download PDFInfo
- Publication number
- CN101521500B CN101521500B CN200810082309A CN200810082309A CN101521500B CN 101521500 B CN101521500 B CN 101521500B CN 200810082309 A CN200810082309 A CN 200810082309A CN 200810082309 A CN200810082309 A CN 200810082309A CN 101521500 B CN101521500 B CN 101521500B
- Authority
- CN
- China
- Prior art keywords
- clock signal
- data
- data latch
- signal
- clock
- 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.)
- Active
Links
- 238000001514 detection method Methods 0.000 claims description 12
- 238000001914 filtration Methods 0.000 claims description 6
- 238000000034 method Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 4
- 238000005070 sampling Methods 0.000 description 4
- 230000007704 transition Effects 0.000 description 4
- 239000003990 capacitor Substances 0.000 description 2
- 241001269238 Data Species 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000009499 grossing Methods 0.000 description 1
- 230000010349 pulsation Effects 0.000 description 1
Images
Landscapes
- Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
The invention provides a data latch circuit. The data latch circuit includes: a first data latch unit for latching a first input data according to a first clock signal and outputting a first output data; a second data latch unit for latching the first output data according to a second clock signal and outputting a second output data; a third data latch unit for latching the second output data according to a third clock signal and outputting an output data; and a phase selector, coupled to the second data latch unit, for generating the second clock signal to the second data latch unit according to a phase relationship between the first and third clock signals.
Description
Technical field
The present invention relates to a kind of data sink and method, particularly a kind of data-latching circuit of adopting phase selector and method.
Background technology
In the perhaps more large-scale chip of some interface systems; Keeping each local clock of chip identical is to the maximum challenge of system; Usually all can comprise digital circuit part and artificial circuit part in the existing chip; And the digital circuit part has almost accounted for the main area more than 80% of chip; So; Circuit designers is normally gone to estimate the driving force and the capacity effect that the circuit layout cabling is produced of the clock partly exported from digital circuit by the Design of Digital Circuit aspect when the sequence problem of the whole integrated circuit of planning, and via analyzing and estimating the retardation between the clock of last arrival artificial circuit part and clock that original clock source is exported; Partly solve the problem of clock phase mistake at last via digital circuit; A kind of in addition situation that sequence problem can take place is for when having two clock generators in the system, and these two clock generator institute clock signals are under nonsynchronous situation, and the problem (Timing Violation) on the sequential can take place for trigger or data latching element.
In general circuit design, will avoid clock inconsistent, prior art is to use two continuous D flip-flops to be used as the data latching element, goes the data that input is come in are carried out repeated sampling, to guarantee the correctness of data sampling.As shown in Figure 1, available data latch cicuit 100 includes the trigger 102,104,106 of three serial connections, wherein, receives input data D
InTrigger 102 be by one first clock CLK
iTrigger, two follow-up continuous trigger devices 104,106 are then by another second clock CLK
2Trigger, the data output end by trigger 106 latchs a dateout D at last
OutYet if the setting-up time (setup time) of trigger and data duration (hold time) are not enough, lock circuit 100 still can have the problem of error in data, and is as shown in Figure 2, as trigger 104 sampled data D
1Obtain data D
2The time, the input data D if trigger 102 is being taken a sample
In, then because data D
1Logical value just on the turn, so trigger 104 resulting data D
2Just can't guarantee correctly, thereby can further influence the dateout D of last generation
OutCorrectness.In other words, latch the correctness that element (that is trigger 104,106) promotes sampled data even available data latch cicuit 100 is used two continuous datas, yet it still can receive the first clock CLK
1With second clock CLK
2Between improper phase relation influence and have the probability of missampling.
Summary of the invention
Therefore one of main purpose of the present invention is to provide a kind of data-latching circuit of adopting phase selector and method to solve the problems referred to above.
According to embodiments of the invention, it discloses a kind of data-latching circuit.This data-latching circuit includes: one first data latch unit is used for importing data according to one first clock signal to latch one first, and exports one first dateout; One second data latch unit is used for according to a second clock signal latching this first dateout, and exports one second dateout; One the 3rd data latch unit is used for according to one the 3rd clock signal latching this second dateout, and exports a dateout; And a phase selector, be coupled to this second data latch unit, be used for producing this second clock signal to this second data latch unit according to the phase relation of this first, the 3rd clock signal.
Description of drawings
Fig. 1 is the sketch map of available data latch cicuit.
Fig. 2 is the time sequential routine figure of data-latching circuit shown in Figure 1.
Fig. 3 is the sketch map of an embodiment of data-latching circuit of the present invention.
Fig. 4 is the circuit diagram of an embodiment of phase selector shown in Figure 3.
Fig. 5 is the phase difference of first, second clock signal and the first corresponding relation sketch map of voltage.
Fig. 6 is the phase difference of first, second clock signal and the second corresponding relation sketch map of voltage.
Fig. 7 is the circuit diagram of another embodiment of phase selector shown in Figure 3.
Fig. 8 is the flow chart of an embodiment of data latching method of the present invention.
The reference numeral explanation
100、300 | Data- |
102、104、106、302、304、306 | |
308 | |
402 | |
404 | |
406 | |
408 | Multiplexer |
410 | |
412 | Delay cell |
Embodiment
See also Fig. 3, Fig. 3 is the sketch map of an embodiment of data-latching circuit 300 of the present invention.In the present embodiment, data-latching circuit 300 includes trigger (for example D flip-flop) 302,304,306 and one phase selector 308 of three serial connections, wherein, receives input data D
InTrigger 302 be by one first clock CLK
1Trigger, the trigger 306 that produces dateout at last is then by another the 3rd clock CLK
3Trigger.For the trigger 304 in the middle of the place, position, it is by a second clock CLK
2Trigger and second clock CLK
2Be according to the first clock CLK by phase selector 308
1With the 3rd clock CLK
3Between phase relation produce, in the present embodiment, phase selector 308 is according to the first clock CLK
1With the 3rd clock CLK
3Between phase relation come optionally to use the 3rd clock CLK
3Or the 3rd clock CLK
3Inversion signal be used as second clock CLK
2Yet,, the present invention is not exceeded with inversion signal, also can adopt the 3rd clock CLK
3Delay clock signals as inventive embodiment.
See also Fig. 4, Fig. 4 is the circuit diagram of an embodiment of phase selector 308 shown in Figure 3.Phase selector 308 includes phase detectors 402, a filter 404, a magnetic hysteresis (hysteresis) buffer 406, a multiplexer 408 and an inverter 410.Among this embodiment; Phase detectors 402 are to be implemented by an xor logic door, and filter 404 is the low pass filters that are made up of a resistance R and a capacitor C, and magnetic hysteresis (hysteresis) buffer 406 is to be implemented by Schmidt trigger (Schmitt trigger); Please note; Above-mentioned xor logic door, low pass filter and Schmidt trigger only are used as phase detectors 402, filter 404 explains that with the example of hysteresis buffer 406 in addition, inverter 410 also can be replaced by delay circuit; To produce needed clock phase, those elements are not to be necessary restrictive condition of the present invention.As shown in the figure, phase detectors 402 are the first clock CLK relatively
1With the 3rd clock CLK
3Phase relation export a detection signal S
d, then, filter 404 can be to detection signal S
dCarry out Filtering Processing (that is LPF) and come smoothing detection signal S
dWaveform to produce a filtering signal S
f, wherein, an end of capacitor C can be set up filtering signal S
fCorresponding voltage V
aBecause hysteresis buffer 406 has hysteresis characteristic, supposes that hysteresis characteristic is by two critical value V
TH_ 01 and V
TH_ 10 (V
TH_ 01>V
TH_ 10) define, that is, as the hysteresis buffer 406 present control signal S that export
cLogic level be " 0 " and voltage V
aRise to and meet or exceed critical value V
TH_ 01 o'clock, then hysteresis buffer 406 can make control signal S
cBy logic level " 0 " transition to logic level " 1 "; On the other hand, as the hysteresis buffer 406 present control signal S that export
cLogic level be " 1 " and voltage V
aDrop to and reach or subcritical value V
TH_ 10 o'clock, then hysteresis buffer 406 can make control signal S
cBy logic level " 1 " transition to logic level " 0 ".In the present embodiment, use hysteresis buffer 406 can avoid multiplexer 408 because voltage V
aSlight fluctuations promptly at the 3rd clock signal clk
3With its inversion signal CLK
3Constantly switch between _ the B, thereby cause the output of phase selector 308 unstable, possibly cause missampling at last.Yet, note that hysteresis buffer 406 can be omitted (optional) element if the slight output pulsation of phase selector 308 can not cause under the situation of system mistake.
See also Fig. 5 and Fig. 6, Fig. 5 is the first, the 3rd clock signal clk
1, CLK
3Phase difference and voltage V
aThe first corresponding relation sketch map, and Fig. 6 is the first, the 3rd clock signal clk
1, CLK
3Phase difference and voltage V
aThe second corresponding relation sketch map.If the first, the 3rd clock signal clk
1, CLK
3Have identical cycle (period) and work period (duty cycle), then when the first, the 3rd clock signal clk
1, CLK
3(positive edge differs from 180 degree) can make voltage V when inverting each other
aCorrespond to maximum V
Dd(V
DdBe detection signal S
dThe counterlogic level " 1 " time voltage level), and when the first, the 3rd clock signal clk
1, CLK
3Same phase time (positive edge alignment) can make voltage V
aCorrespond to minimum value 0, wherein, phase difference PA, the equal corresponding critical value V of PD
TH_ 10, and phase difference PB, the equal corresponding critical value V of PC
TH_ 01.In addition, if the first, the 3rd clock signal clk
1, CLK
3Have the identical cycle, but have different duty cycles, then the first, the 3rd clock signal clk respectively
1, CLK
3Phase difference and voltage V
aRelation just as shown in Figure 6, suppose the first, the 3rd clock signal clk
1, CLK
3Cycle be T, and in the period of one-period T, first clock signal clk
1The time span and the 3rd clock signal clk of logic level " 1 "
3Time difference of time span of logic level " 1 " be T
DcSo,, when the first, the 3rd clock signal clk
1, CLK
3(positive edge differs 180 degree) can be because time difference T when inverting each other
DcA direct current side-play amount (T who is caused
Dc/ T) * V
DdAnd make voltage V
aOnly can rise to V
Dd-(T
Dc/ T) * V
DdBut not aforementioned maximum V
Dd, and when the first, the 3rd clock signal clk
1, CLK
3Same phase time (positive edge alignment) can be because time difference T
DcDc offset (the T that is caused
Dc/ T) * V
DdAnd make voltage V
aOnly can drop to (T
Dc/ T) * V
DdBut not aforementioned minimum value 0.In sum, via suitable critical value V
TH_ 01, V
TH_ 10 set, and hysteresis buffer 406 just can normal operation under the different clocks condition.
At last, two inputs of multiplexer 408 can receive the 3rd clock signal clk respectively
3And correspondence the 3rd clock signal clk of being exported by inverter 410
3Inversion signal CLK
3_ B, and multiplexer 408 is just according to control signal S
cLogic level export inversion signal CLK
3_ B or the 3rd clock signal clk
3With as triggering the required second clock CLK of trigger 304
2
See also Fig. 7, Fig. 7 is the circuit diagram of another embodiment of phase selector 308 shown in Figure 3.Except element shown in Figure 4, the phase selector 308 in the present embodiment includes a delay cell 412 in addition, is coupled to the output of multiplexer 408, is used for applying a retardation T
dGive output signal (the 3rd clock signal clk of inverter 410
3Or corresponding to the 3rd clock signal clk
3Inversion signal CLK
3_ B), just export desired second clock signal CLK at last
2The setting of delay cell 412 is to be used for further finely tuning the phase relation between trigger 302,304 employed clock signals, that is lets first clock signal clk
1With second clock signal CLK
2The desirable rp state of convergence more, with further improvement because the data sampling problem that caused of the setting-up time (setup time) of trigger and data duration (hold time), in brief, the retardation T that delay cell 412 is provided
dCan increase margin (margin) to avoid the generation of data sampling mistake.How to set the retardation T that delay cell 412 is applied
dTo detail down.
For the ease of explanation retardation T
dSetting, below only with the first, the 3rd clock signal clk
1, CLK
3Having identical cycle and work period is example.Please consult Fig. 5 and Fig. 7 simultaneously, when the first, the 3rd clock signal clk
1, CLK
3Between phase difference be promoted to above PB or be reduced to and be lower than PC, control signal S then
cCan by logic level be " 0 " transition to logic level " 1 ", in addition, as control signal S
cPresent logic level is " 1 ", and the first, the 3rd clock signal clk
1, CLK
3Between phase difference drop in the scope of PA-PD control signal S then
cLogic level still can remain " 1 ".As control signal S
cLogic level when being " 1 ", expression the first, the 3rd clock signal clk
1, CLK
3Than convergence anti-phase relation, therefore, multiplexer 408 can be selected output the 3rd clock signal clk
3By on can know, select output the 3rd clock signal clk at multiplexer 408
3Situation under, retardation T
dThis moment, maximum only can a corresponding phase difference (360-PD), so, at control signal S
cLogic level be under the mode of operation of " 1 ", retardation T
dJust have like limit:
On the other hand, when the first, the 3rd clock signal clk
1, CLK
3Between phase difference be reduced to and be lower than PA or be promoted to, control signal S then above PD
cCan by logic level be " 1 " transition to logic level " 0 ", in addition, as control signal S
cPresent logic level is " 0 ", and the first, the 3rd clock signal clk
1, CLK
3Between phase difference do not drop in the scope of PB-PC control signal S then
cLogic level still be maintained " 0 ".As control signal S
cLogic level when being " 0 ", expression the first, the 3rd clock signal clk
1, CLK
3Than the same phase relation of convergence, therefore, multiplexer 408 can be selected output inversion signal CLK
3_ B.By on can know, select output inversion signal CLK at multiplexer 408
3Under the situation of _ B, because the running of inverter 410 is equivalent to the delay that applies the 180 degree phase deviations of a correspondence, so retardation T
dThis moment, maximum only can a corresponding phase difference (180-PB), so, at control signal S
cLogic level be under the mode of operation of " 0 ", retardation T
dJust have like limit:
In sum, for delay circuit 412 of the present invention, retardation T
dSetting must meet following formula:
In formula (3), min{} gets minimum operation.
See also Fig. 8, Fig. 8 is the flow chart of an embodiment of data latching method of the present invention.Data latching method of the present invention is to be implemented by above-mentioned data-latching circuit 300, and its running is summarized as follows.Note that defined step execution sequence only is for the ease of explanation in the flow chart shown in Figure 8, is not to be restrictive condition of the present invention, and for example, under the prerequisite that obtains identical result, its execution order can carried out or exchange to some step synchronously.
Step 800: phase relation and the 3rd clock signal according to the first, the 3rd clock signal produce the second clock signal;
Step 802: carry out the phase place fine setting? If then carry out step 804; Otherwise, carry out step 806;
Step 804: apply a retardation and give the second clock signal and adjust its phase place, then execution in step 806;
Step 806: use first clock signal to trigger first data latch unit and with input data latching that its data input pin received at its data output end;
Step 808: use second clock signal triggering second data latch unit and with input data latching that its data input pin received at its data output end; And
Step 810: use the 3rd clock signal to trigger the 3rd data latch unit and with input data latching that its data input pin received at its data output end.
In above-mentioned steps, first, second, third clock signal is corresponding above-mentioned CLK respectively
1, CLK
2, CLK
3, first, second, third data latch unit is then distinguished corresponding above-mentioned trigger 302,304,306.Note that because the running of data-latching circuit 300 is detailed as above, so its performed corresponding data latching method gets the running of thin portion and does not just give unnecessary details in addition.
Data-latching circuit of the present invention has many different application categories in the application of reality, with data-latching circuit 300, the first clock CLK of first embodiment
1With the 3rd clock CLK
3Can be produced or different clock generators produces by same clock generator, perhaps in this data-latching circuit 300, trigger 302 is arranged in the analog circuit; 304,306 on trigger is arranged in the digital circuit, and opposite, trigger 302 also can be arranged in the digital circuit; Then 304,306 on trigger is arranged in the analog circuit, and in addition, data-latching circuit 300 also possibly be arranged on the different chips; For example; Trigger 302 is the outputs that are set at a chip, and trigger 304,306 and phase selector 308 then are set at the input of another chip, when trigger 302 outputting data signals; 304 a certain pin positions (Pin) that see through chip of trigger receive this data-signal, accomplish latching of data.
The above is merely preferred embodiment of the present invention, and all equalizations of doing according to claim of the present invention change and modify, and all should belong to covering scope of the present invention.
Claims (15)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810082309A CN101521500B (en) | 2008-02-29 | 2008-02-29 | Data Latch Circuit Using Phase Selector |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810082309A CN101521500B (en) | 2008-02-29 | 2008-02-29 | Data Latch Circuit Using Phase Selector |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101521500A CN101521500A (en) | 2009-09-02 |
CN101521500B true CN101521500B (en) | 2012-08-29 |
Family
ID=41081907
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200810082309A Active CN101521500B (en) | 2008-02-29 | 2008-02-29 | Data Latch Circuit Using Phase Selector |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101521500B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102122480A (en) * | 2010-01-12 | 2011-07-13 | 瑞鼎科技股份有限公司 | Data transmission method and data transmission structure |
US8499265B2 (en) * | 2011-02-14 | 2013-07-30 | Nanya Technology Corporation | Circuit for detecting and preventing setup fails and the method thereof |
CN102780485B (en) * | 2012-07-27 | 2014-07-16 | 华南理工大学 | Configurable D latch for chaos computing |
CN104375426B (en) * | 2014-10-15 | 2017-05-10 | 成都振芯科技股份有限公司 | Information processing and delay control circuit for phases between on-chip signals |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5369672A (en) * | 1991-08-23 | 1994-11-29 | Nec Corporation | Interface circuit capable of performing exact data transfer |
CN2872451Y (en) * | 2005-11-01 | 2007-02-21 | 智多微电子(上海)有限公司 | Dynamic switching circuit of clock |
-
2008
- 2008-02-29 CN CN200810082309A patent/CN101521500B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5369672A (en) * | 1991-08-23 | 1994-11-29 | Nec Corporation | Interface circuit capable of performing exact data transfer |
CN2872451Y (en) * | 2005-11-01 | 2007-02-21 | 智多微电子(上海)有限公司 | Dynamic switching circuit of clock |
Non-Patent Citations (1)
Title |
---|
JP昭62-168415A 1987.07.24 |
Also Published As
Publication number | Publication date |
---|---|
CN101521500A (en) | 2009-09-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109477861B (en) | Self-reference on-chip voltage droop detector | |
Saleh et al. | Clock skew verification in the presence of IR-drop in the power distribution network | |
JP5355401B2 (en) | Pulse counter with clock edge recovery | |
US20070174647A1 (en) | Coordinating data synchronous triggers on multiple devices | |
US20030145296A1 (en) | Formal automated methodology for optimal signal integrity characterization of cell libraries | |
CN101521500B (en) | Data Latch Circuit Using Phase Selector | |
CN102077505A (en) | Clock transfer circuit and tester using the same | |
CN107025092A (en) | A kind of random number extracting method based on latch structure real random number generators | |
CN107357347A (en) | A kind of monitoring point bias adjustment circuit and method based on semipath sequential early warning method | |
CN112526326A (en) | Time sequence testing method, system, device and storage medium | |
CN101192820A (en) | A delay module and its open loop control device and method | |
CN114546083B (en) | A reset synchronizer circuit and clock gating method thereof | |
TW200816638A (en) | Data latch circuit with a phase selector | |
KR101334111B1 (en) | Quad-data rate controller and realization method thereof | |
CN103219970B (en) | Single event transient pulse width method for widening and circuit | |
Brezeanu et al. | Design and verification of a high frequency, SPI control block | |
TW419588B (en) | Method and system to search for critical path | |
Tarawneh et al. | Formal verification of clock domain crossing using gate-level models of metastable flip-flops | |
US8638149B1 (en) | Equalized rise and fall slew rates for a buffer | |
CN106201950B (en) | Method for SOC asynchronous clock domain signal interface | |
JPS62171302A (en) | Oscillation device | |
Herrera et al. | Blade-OC asynchronous resilient template | |
US6067647A (en) | Method and apparatus for inserting an error signal onto a bidirectional signal line | |
US9473140B2 (en) | Series arranged multiplexers specification support enablement circuit and method | |
Borriello | Synthesis of mixed synchronous/asynchronous control logic |
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 |