CN103633969A - Asynchronous signal transmission circuit - Google Patents
Asynchronous signal transmission circuit Download PDFInfo
- Publication number
- CN103633969A CN103633969A CN201210296880.2A CN201210296880A CN103633969A CN 103633969 A CN103633969 A CN 103633969A CN 201210296880 A CN201210296880 A CN 201210296880A CN 103633969 A CN103633969 A CN 103633969A
- Authority
- CN
- China
- Prior art keywords
- clock
- signal
- type flip
- flop
- asynchronous
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
The invention disclose an asynchronous signal transmission circuit comprising a first D-trigger, a second D-trigger, a third D-trigger, an inverter and an AND gate. A clock signal to be transmitted of a source clock domain is transmitted to a target clock domain by utilizing the first D-trigger and the second D-trigger. The clock signal to be transmitted of the source clock domain is inputted to reset ends of the three D-triggers. Then the acquired clock signal of the target clock domain is adjusted to be width of one target clock period by utilizing the third D-trigger so that an objective of signal transmission among asynchronous clock domains is achieved. Transmission of the signal between two asynchronous clock domains can be processed by the asynchronous signal transmission circuit. Besides, the asynchronous signal transmission circuit is simple in circuit realization, and meta-stability, leakage sampling and repetitive sampling problems which are liable to appear in signal transmission among the asynchronous clock domains are greatly handled simultaneously.
Description
Technical field
The present invention relates to the asynchronous signal transfer circuit that between two asynchronous clock domains of a kind of processing, signal transmits.
Background technology
Signal transmission between two asynchronous clock domains, is the problem to be processed that needs in many Design of Digital Circuit, and the signal of Direct Sampling out of phase, can cause metastable state problem.And the signal of sampling different frequency, in the situation that target clock zone clock frequency is slower than source clock zone clock frequency, can causes and Lou adopt; In target clock zone clock frequency, faster than source clock zone clock frequency in the situation that, can cause heavily and adopt, the signal that signal of a source clock cycle width can many target clock cycle width of collected one-tenth, is unfavorable for processing.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of asynchronous signal transfer circuit, and circuit is realized simple, can effectively reduce between asynchronous clock domain the metastable state occurring when signal transmits, and the probability that leaks sampling and resample.
For solving the problems of the technologies described above, asynchronous signal transfer circuit of the present invention, comprising:
One first d type flip flop, its data input pin D is input logic level"1" signal fixedly;
One second d type flip flop, its data input pin D is connected with the output Q of described the first d type flip flop;
One 3d flip-flop, its data input pin D is connected with an input of door with the output Q and of described the second d type flip flop;
One reverser, its input is connected with the output Q of described 3d flip-flop, and its output is connected with another input of door with described;
The clock signal of the input end of clock input target clock zone of described the first d type flip flop, the second d type flip flop and 3d flip-flop; The reset terminal R of described the first d type flip flop, the second d type flip flop and 3d flip-flop inputs the clock signal of source clock zone to be passed;
Output described and door is exactly the output of described asynchronous signal transfer circuit, and output is delivered to a wide signal of target clock cycle of target clock zone.
The present invention utilizes two d type flip flops that source clock signal is collected in target clock zone; Wherein, source clock signal to be passed is input to the reset terminal of d type flip flop.Recycle a d type flip flop target clock zone signal previously having collected is adjusted to a target clock cycle width, thereby reach the object that signal transmits between asynchronous clock domain.
The present invention can process the transmission of signal between two asynchronous clock domains; Adopt that fairly simple circuit is goodish has processed the metastable state problem being prone to when signal between asynchronous clock domain transmits, and the problem of leaking sampling and resampling, effectively reduce the frequency of appearance.
When the present invention is specially adapted to asynchronous clock signal and need to transmits, the clock of target clock zone is not situation about always existing; Or the clock frequency of target clock zone is slower than the situation of the clock frequency of source clock zone.
Accompanying drawing explanation
Below in conjunction with accompanying drawing and embodiment, the present invention is further detailed explanation:
Accompanying drawing is described asynchronous signal transfer circuit schematic diagram.
Embodiment
By reference to the accompanying drawings, described asynchronous signal transfer circuit comprises in the following embodiments: 3 d type flip flops, i.e. the first d type flip flop DCF1, the second d type flip flop DCF2 and 3d flip-flop DCF3; A reverser FM1, one and a door AND1.
Described the first d type flip flop DCF1, its data input pin D is input logic level"1" signal fixedly.
Described the second d type flip flop DCF2, its data input pin D is connected with the output Q of described the first d type flip flop DCF1.
Described 3d flip-flop DCF3, its data input pin D is with the output Q of described the second d type flip flop DCF2 and be connected with an input of door AND1.
Described reverser FM1, its input is connected with the output Q of described 3d flip-flop DCF2, and its output is connected with another input of door AND1 with described.
The input end of clock input of described the first d type flip flop DCF1, the second d type flip flop DCF2 and 3d flip-flop DCF3 connects the clock signal clk of target clock zone.The reset terminal R of described the first d type flip flop DCF1, the second d type flip flop DCF2 and 3d flip-flop DCF3 inputs the clock signal din of source clock zone to be passed.
Output described and door AND1 is exactly the output of described asynchronous signal transfer circuit, i.e. output is delivered to the wide signal dout of a target clock cycle of target clock zone.
The clock signal din of source clock zone to be passed is the high level signal of a source clock cycle of source clock zone.After the clock signal din of source clock zone to be passed uprises, described the first d type flip flop DCF1, the second d type flip flop DCF2 and 3d flip-flop DCF3 are reset to 0.After the clock signal din step-down of source clock zone to be passed, the reset of described the first d type flip flop DCF1, the second d type flip flop DCF2 and 3d flip-flop DCF3 is invalid, thereby these three d type flip flops according to target clock of clock zone trigger, and logical one is passed to the second d type flip flop DCF2 from the first d type flip flop DCF1 and pass to 3d flip-flop DCF3 again.
Easily there is metastable d type flip flop in the first d type flip flop DCF1, and because the probability of metastable state generation was decayed by exponential law according to the time.So passed through the first d type flip flop DCF1, while arriving the Q end of the second d type flip flop DCF2, owing to having passed through the time of 1 target clock cycle, so the probability occurring is very little.Finally, owing to being delivered to wide signal dout of target clock cycle of target clock zone only when the output Q of the second d type flip flop DCF2 is for high, and the output Q of 3d flip-flop DCF3 while being low just for high; This only has and from the first d type flip flop DCF1, has passed to the output Q of the second d type flip flop DCF2 when logical one level signal, and just can occur while also not passing to the output Q of 3d flip-flop DCF3, so be delivered to the high level that the wide signal dout of a target clock cycle of target clock zone only maintains a target clock width.Thereby realized asynchronous signal transmission, the clock signal wide source clock zone of one or more source clock cycle, has been delivered to target clock zone, and the signal of output only has a target clock cycle wide.
Below through the specific embodiment and the embodiment the present invention is had been described in detail, but these are not construed as limiting the invention.Without departing from the principles of the present invention, those skilled in the art also can make many distortion and improvement, and these also should be considered as protection scope of the present invention.
Claims (1)
1. an asynchronous signal transfer circuit, is characterized in that, comprising:
One first d type flip flop, its data input pin D is input logic level"1" signal fixedly;
One second d type flip flop, its data input pin D is connected with the output Q of described the first d type flip flop;
One 3d flip-flop, its data input pin D is connected with an input of door with the output Q and of described the second d type flip flop;
One reverser, its input is connected with the output Q of described 3d flip-flop, and its output is connected with another input of door with described;
The clock signal of the input end of clock input target clock zone of described the first d type flip flop, the second d type flip flop and 3d flip-flop; The reset terminal R of described the first d type flip flop, the second d type flip flop and 3d flip-flop inputs the clock signal of source clock zone to be passed;
Output described and door is exactly the output of described asynchronous signal transfer circuit, and output is delivered to a wide signal of target clock cycle of target clock zone.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210296880.2A CN103633969B (en) | 2012-08-20 | 2012-08-20 | asynchronous signal transfer circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210296880.2A CN103633969B (en) | 2012-08-20 | 2012-08-20 | asynchronous signal transfer circuit |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103633969A true CN103633969A (en) | 2014-03-12 |
CN103633969B CN103633969B (en) | 2017-10-31 |
Family
ID=50214667
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210296880.2A Active CN103633969B (en) | 2012-08-20 | 2012-08-20 | asynchronous signal transfer circuit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103633969B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110311659A (en) * | 2018-03-27 | 2019-10-08 | 华为技术有限公司 | A kind of trigger and integrated circuit |
CN113885654A (en) * | 2020-07-03 | 2022-01-04 | 富泰华工业(深圳)有限公司 | Cross-clock-domain signal transmission method, circuit and electronic device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5363416A (en) * | 1992-02-26 | 1994-11-08 | Samsung Electronics Co., Ltd. | Data interfacing method and its device |
JP2004072511A (en) * | 2002-08-07 | 2004-03-04 | Renesas Technology Corp | Data transfer device |
CN102361442A (en) * | 2011-10-21 | 2012-02-22 | 中国人民解放军国防科学技术大学 | Single-event-upset resistant resettable D trigger |
-
2012
- 2012-08-20 CN CN201210296880.2A patent/CN103633969B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5363416A (en) * | 1992-02-26 | 1994-11-08 | Samsung Electronics Co., Ltd. | Data interfacing method and its device |
JP2004072511A (en) * | 2002-08-07 | 2004-03-04 | Renesas Technology Corp | Data transfer device |
CN102361442A (en) * | 2011-10-21 | 2012-02-22 | 中国人民解放军国防科学技术大学 | Single-event-upset resistant resettable D trigger |
Non-Patent Citations (2)
Title |
---|
CLIFFORD E. CUMMINGS等: "Synchronous Resets? Asynchronous Resets? I am so confused! How will I ever know which to use?", 《HTTP://WWW.SUMBURST-DESIGN.COM》 * |
张顺等: "面向SOC的可配置AHB接口组件", 《电子与信息学报》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110311659A (en) * | 2018-03-27 | 2019-10-08 | 华为技术有限公司 | A kind of trigger and integrated circuit |
CN113885654A (en) * | 2020-07-03 | 2022-01-04 | 富泰华工业(深圳)有限公司 | Cross-clock-domain signal transmission method, circuit and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN103633969B (en) | 2017-10-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8860468B1 (en) | Clock multiplexer | |
US8977882B2 (en) | System for data transfer between asynchronous clock domains | |
CN104484011A (en) | Distributive control and double-clock asynchronous sending and receiving module and FIFO (First In First Out) device | |
CN102707766B (en) | signal synchronization device | |
CN104617926A (en) | Pulse swallowing type clock synchronization circuit | |
US8644439B2 (en) | Circuits and methods for signal transfer between different clock domains | |
CN103166605A (en) | Multiphase non-overlapping clock circuit | |
CN103633969A (en) | Asynchronous signal transmission circuit | |
CN103684423A (en) | Variable synchronous clock frequency division circuit | |
CN103208980A (en) | Window voltage comparison device | |
CN104571263A (en) | On-chip timer | |
CN102790605B (en) | asynchronous signal synchronizer | |
CN103605626B (en) | A kind of Single wire Serial Bus agreement and change-over circuit | |
CN107592099A (en) | D type flip flop | |
CN108170616B (en) | System for realizing clock domain crossing signal transmission by using latch | |
CN104617916A (en) | Master-slave flip-flop based on FinFET transistor | |
CN103684473A (en) | High-speed serial-parallel conversion circuit based on FPGA | |
CN207720115U (en) | A kind of FPGA counter units advantageously reducing system power dissipation | |
CN102611431B (en) | Register with combinational logic path | |
CN207766251U (en) | A kind of coincidence counter | |
CN107193529B (en) | DDR processing circuit based on FPGA and realization method | |
CN101521505A (en) | Device and method for digital circuit interface time sequence checking and adjustment | |
CN106201950B (en) | Method for SOC asynchronous clock domain signal interface | |
CN103594109B (en) | A kind of memory construction for substituting dual-port RAM | |
CN203135818U (en) | A multiphase non-overlapping clock circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |