The purpose of synchronizing signals is to protect downstream logic from the metastable state of the first flip-flop in a new clock domain.
A simple synchronizer comprises two flip-flops in series without any combinational circuitry between them. This design ensures that the first flip-flop exits its metastable state and its output settles before the second flip-flop samples it.You also need to place the flipflops close to each other to ensure the smallest possible clock skew between them.
Foundries help with signal synchronization by providing synchronizer cells. These cells usually comprise a flip-flop with a very high gain that uses more power and is larger than a standard flip-flop. Such a flip-flop has reduced setup-and hold- time requirements for the input signal and is resistant to oscillation when the input signal causes a metastable condition.
Another type of synchronizer cell contains two flip-flops, thus easing your job by placing the flip-flops close to each other and preventing you from placing any combinational logic between them. For synchronization to work properly, the signal crossing a clock domain should pass from flip-flop in the original clock domain to the first flip-flop of the synchronizer without passing through any combinational logic between the two (see Fig below).
This requirement is important because the first stage of a synchronizer is sensitive to glitches that combination logic produces. A long enough glitch that occurs at the correct time could meet the setup-and-hold requirements of the first flip-flop in the synchronizer, leading the synchronizer to pass a false-valid indication to the rest of the logic in the new clock domain.
A synchronized signal is valid in the new clock domain after two clock edges. The signal delay is between one and two clock periods in the new clock domain.A rule of thumb is that a synchronizer circuit causes two clock cycles of delay in the new clock domain, and a designer needs to consider how synchronization delay impacts timing of signals crossing clock domains.
Synchronizers fall into one of three basic categories:
level, edge-detecting, and pulse.
Level Synchronizer:
In a level synchronizer, the signal crossing a clock domain stays high and stays low for more than two clock cycles in the new clock domain. A requirement of this circuit is that the signal needs to change to its invalid state before it can become valid again. Each time the signal goes valid, the receiving logic considers it a single event, no matter how long the signal remains valid. This circuit is the heart of all other synchronizers.
Edge Synchronizer:
The edge-detecting synchronizer circuit adds a flip-flop to the output of the level synchronizer (see Fig below). The output of the additional flip-flop is inverted and ANDed with the output of the level synchronizer. This circuit detects the rising edge of the input to the synchronizer and
generates a clockwide, active-high pulse. Switching the inverter on the AND gate inputs creates a synchronizer that detects the falling edge of the input signal. Changing the AND gate to a NAND gate results in a circuit that generates an active- low pulse.
The edge-detecting synchronizer works well at synchronizing a pulse going to a faster clock domain. This circuit produces a pulse that indicates the rising or falling edge of the input signal. One restriction of this synchronizer is that the width of the input pulse must be greater than the period of the synchronizer clock plus the required hold time of the first synchronizer flip-flop. The safest pulse width is twice the synchronizer clock period. This synchronizer does not work if the input is a single clockwide pulse entering a slower clock domain; however, the pulse synchronizer solves this problem.
Pulse Synchronizer:
The input signal of a pulse synchronizer is a single clockwide pulse that triggers a toggle circuit in the originating clock domain (See Fig below). The output of the toggle circuit switches from high to low and vice versa each time it receives a pulse and passes through the level synchronizer
to arrive a
t one input of the XOR gate, while a one-clock-cycle-delayed version goes to the other input of the XOR. For one clock cycle, each time the toggle circuit changes state, the output
of this synchronizer generates a single clockwide pulse.
The basic function of a pulse synchronizer is to take a single clockwide pulse from one clock domain and create a single clockwide pulse in the new domain. One restriction of a pulse synchronizer is that input pulses must have a minimum spacing between pulses equal to two synchronizer clock periods. If the input pulses are closer, the output pulses in the new clock domain are adjacent to each other, resulting in an output pulse that is wider than one clock cycle. This problem is more severe when the clock period of input pulse is greater than twice the synchronizer clock period. In this case, if the input pulses are too close, the synchronizer does not detect every one.
Thursday, December 13, 2007
Asynchronous in a synchronous world - Part 1
Posted by information about electronics
Labels:
Synchronization.
Archives
-
▼
2007
(617)
-
▼
December
(483)
- Interview Question - Intel, Folsom
- Interview Question software programming
- Inverter madness - Interview Question
- VHDL Interview Question(s)
- Funny twist with compression and performance - Int...
- The Good, the Bad, and the Unsynthesizable - Inter...
- Texas Instruments, Bangalore - Interview Questions...
- Interview Question - Bangalore
- Qualcomm Interview Questions - Bangalore
- Broadcom Bangalore - Interview Questions
- Interview Questions - Computer Architecture
- Interview Questions - VLSI
- Interview Question - Scan Test
- Interview Question - Effects on power
- Interview Question - Timing Analysis
- Interview Question - Low power design
- Interview Question - Low power design
- Interview Question - Design Guidelines
- Interview Question - Design & Optimization
- Interview Question - Performance Analysis
- Puzzle #1
- Puzzle #1
- Puzzle #2
- Puzzle #3
- Puzzle #4 - The min-max question
- Puzzle #5 - Binary-Gray
- Puzzle #6 - The Spy - (A real tough one…)
- Puzzle #7 - Transitions
- Puzzle #8 - Clock Frequency Driver
- Puzzle #9 - The Snail
- Puzzle #10 - Mux Logic
- Mental Ability Question
- Interview Question - Gray Codes
- Interview Question - Testing
- Interview Question
- Interview Question
- Interview Question
- Interview Question microprocessor
- Interview Question
- Interview Question
- Interview Question
- Interview Question
- Interview Question
- Interview Question pseudocode in hardware
- Interview Question
- Solutions to Interview Questions
- Interview Question - Low power
- Interview question - Fabrication, Hypothesis, Powe...
- Interview question - Clock and Voltage
- Interview question - Power & Area
- 3G Handset And Network Design - Wiley & Sons.pdf
- Free E-Book - Embedded Systems Architecture: A Com...
- Free DOWNLOAD E-Book - Analog Integrated Circuit D...
- Free E-Book - Analog and Digital Circuits for Elec...
- Free E-Book - Analysis and Design of Analog Integr...
- Free E-Book - The Art of Analog Layout
- Free E-Book - Analog Circuit Design: Art, Science ...
- Free E-Book - Analog Circuits Cookbook
- Free E-Book: ASIC and FPGA Verification: A Guide t...
- More E-Books in Electronics, Electrical and Instru...
- 802.11 Security.pdf
- FREE 802.11.Wireless.LAN.Fundamentals.Cisco.Press....
- FREE DOWNLOAD A First Course in Corporate Finance....
- FREE DOWNLOAD A First Lab in Circuits and Electron...
- A Primer on Asynchronous Modem Communication.pdf
- A User's Guide to Aspect Ratio Conversion.pdf
- FREE DOWNLOAD A wavelet tour of signal processing ...
- “behavioural model” & “structural model”
- Verilog code to detect if a 64bit pattern can be e...
- Verilog Shift Register with Test Bench
- Verilog Awareness
- Verilog Awareness
- Verilog Blocking Vs Non Blocking, Myths and Facts
- Design Guidelines and Criteria for Digital Electro...
- Synthesizable Verilog from behavioral constructs -...
- Synthesizable Verilog from behavioral constructs -...
- synthesizable Verilog from behavioral constructs -...
- synthesizable Verilog from behavioral constructs -...
- synthesizable Verilog from behavioral constructs -...
- Verilog Awareness - Interview Questions
- Hierarchy and Power Gating
- Architecture and partitioning for low power
- Retention mechanisms in power gated designs
- Timing closure impacted by DVFS!!
- Voltage and Frequency scaling mechanisms
- Interview Question
- RTL considerations and Functional verification of ...
- Todays Low Power Techniques
- Design Elements of Low Power Design
- Infrastructure Needs for Multi-Voltage Designs
- Multi Voltage magic
- Vt Cells and Spacing Requirements
- Comprehensive Verilog Tutorials
- Comparison of VHDL to Other Hardware Description L...
- Verilog rules that can save your breath !
- Verilog Question
- Verilog Awareness
- Verilog Awareness
- Verilog Blocking Vs Non Blocking, Myths and Facts
- synthesizable Verilog from behavioral constructs -...
- Verilog Awareness - Interview Questions
- Timing closure impacted by DVFS!!
- Interview Question
- Basic Timing - Interview question
- Key points in Logic Design Timing
- Clock Latency & clock skew
- Max Frequency calculation
- Ways to increase frequency of operation
- sequential circuit
- sequential circuit
- sequential circuit
- sequential circuit 1
- sequential circuit 2
- sequential circuit 3
- Some Testing Glossary
- Interview Question - Testing
- Interview Question
- Testing
- Verification and Testing
- Load and stress testing.
- Mentor Graphics, TSMC release 65-nm RF design kit
- ST opens office in Vietnam, say reports
- Stocks crumble on recession fears
- Interview: Intel research trio discuss 45-nm high-...
- Nokia Q3 profit - 2.2$B
- Interview Question
- Interview Question
- Interview Question - Low power
- Interview question - Power & Area
- Power Analysis and Power-Aware Design - Part 1
- Interview Question - Bangalore
- Clock Latency & clock skew
- Adv and DisAdv of Gated Clocks
- Low power design
- Invitation to be a contributor on this blog!
- Added Features!
- Updates in digital electronics
- Matters in digital elctronics
- VHDL Interview Question(s)
- The Good, the Bad, and the Unsynthesizable - Inter...
- Comparison of VHDL to Other Hardware Description L...
- VHDL Online books
- Qualcomm Interview Questions - Bangalore
- Interview Question
- Interview Question
- negative setup and hold time
- Setup Time & Hold Time - By popular demand
- Setup and Hold times
- Asynchronous in a synchronous world - Part 2
- Asynchronous in a synchronous world - Part 1
- Asynchronous in a synchronous world - Introduction...
- Verilog rules that can save your breath !
- Synthesis
- Clock tree synthesis
- Comprehensive Verilog Tutorials
- Comprehensive Verilog Tutorials - Introduction
- Comprehensive Verilog Tutorials - Welcome
- RARP Q&A
- ARP Q&A
- Algorithms and High level models
- Algorithms and High-Level Models of digital electr...
- Architecture and partitioning for low power of dig...
- Coarse and Fine grained architectures
- 1's complement and 2's complement of digital elect...
- 1's complement and 2's complement of digital elect...
- free download Computer System Architecture ppt &pd...
- free download Introduction to Pin, pdf
- ffree downoad software on Instruction Sets: Up to ...
- free download Instruction Set Evolution in the Six...
- free download L-04: Hardwired, Non-pipelined ISA I...
- free download Instruction Pipelining and Hazards,...
- free download Microprogramming, pdf, ppt
- free download Cache Organization, pdf, ppt
- free download Memory Management: From Absolute Ad...
- free download Modern Virtual Memory Systems, pdf,...
- free download Complex Pipelining, pdf, ppt
- free download Complex Pipelining: Out of Order Ex...
- free download # L-12: Branch Prediction, pdf, ppt ...
- free download Advanced Memory, pdf, ppt
- free download Multithreading, pdf, ppt
- free download VLIW/EPIC: Statically Scheduling IL...
- free download Vector Computers, pdf, ppt
- free download Virtual Machines and Dynamic Transl...
- free download Reliable Architecture, pdf, ppt
- free download Symmetric Multiprocessors: Synchroni...
- free downloas MIT student projects - 6.884 Complex...
- free download Memory Access Scheduler
- free download Cache-Coherent Memory System Using a...
- free download High-Performance SMIPS Processor
- free download Hardware Implementation of an 802.11...
- free download The Pipe Dream: Out-of-Order SMIPS P...
- Timing closure impacted by DVFS!! of digital elect...
- Voltage and Frequency scaling mechanisms of digita...
- A nice site for basics on Digital Logic Design
- Digital Logic Metastability Definitions of digital...
- ASIC equivalent gates for Virtex
- FPGA & ASIC based design
- Fifo of digital electronics
- Fifo depth calculation of digital electronics
- Gate Level Simulation, Part - II
- Gate level simulation - Introduction
- Glitch in a combinational circuit and the way to a...
- Glitches, Hazards and Lizards
- Logic Hazards of digital elctronics
- Glitches, Hazards and Lizards
- Free download E-Books in Mathematics
- FerroElectric RAM of digital electronics
- Interview Question on digital electronics
- metastability of digital electronics
- Terms of Digital Logic Metastability Definition
- Metastability Window
- Input Waveforms of Metastability.,
- Output Waveforms of {Digital Logic Metastability ...
- Multi-Stage Synchronizer of Metastability.,
- Metastability Equations
- free downloads Metastability in Altera Devices *.p...
- free download Metastability and the ECLinPS Family...
- free download FPGA-FAQ 0017 Tell me about metastab...
- MTBF Examples of Metastability.,
- Free E-Book: ASIC and FPGA Verification: A Guide t...
- Algorithms and High level models
- negative setup and hold time
- Negative hold time
- Delay Locked Loop (DLL)
- Hierarchy and Power Gating
- Retention mechanisms in power gated designs
- more questions on digital electronics
- Interview Questions (Intel)
- Comparison of VHDL to Other Hardware Description L...
- behavioral & RTL
- Comprehensive Verilog Tutorials
- Test
- New Year's Wishes
- ASIC equivalent gates for Virtex
- gates from mux's
- Mux out of an XOR
- gates from mux's
- Advanced Microcontroller Bus Architecture (AMBA)
- Disclaimer & Agreement
- Interview question - Power & Area
- Slack
- behavioral & RTL
- Tip of the day - Board Design
- Intel's Power-Efficient Penryn Processors
- When are DFT and Formal verification used?
- Delay Locked Loop (DLL)
- Dataflow Diagrams
- Types of Delays
- Digital Abstraction - Interview Question
- Disclaimer & Agreement
- Ethernet Q&A
- Coarse and Fine grained architectures
- Wire load models
- Comp Arch - Pipelining
- RARP Q&A
- Verification books available on Google Books
- Definition of Amp
- Definition of Amplify
- Definition of Circuit
- Definition of Current
- Definition of Nand
- Definition of Ohm
- Definition of Phase
- Definition of Power
- Definition of Resistor
- Definition of Schematic
- Definition of Switch
- Definition of Volt
- Definition of Watt
- Audio Level Meter (vumeter) Circuit
- FM Transmitter Circuit
- Telephone In Use Indicator Circuit
- Telephone In Use Indicator Circuit
- Telephone Record Control Circuit
- Control Electrical Appliances Using PC Circuit
- 12 to 120 Volt Inverter Circuit
- Stun Gun Circuit
- 8 Random Flashing Leds Circuit
- Color Organ
- Stun Gun Circuit
- Sun-Up Alarm
- Strobe Light Circuit
- Radio Remote Control using DTMF Circuit
- Magnetic proximity sensors Circuit
- 5 Zone Alarm Circuit
- Electronic Combination Lock Circuit
- Wires and connections symbols
- Power Supplies
- Output Devices: Lamps, Heater, Motor, symbols
- Switches symbols
- Resistors symbols
- Capacitors symbols
- Diodes symbols
- Transistors symbols
- Audio and Radio Devices symbols
- Meters and Oscilloscope symbols
- Sensors (input devices) symbols
- Logic Gates symbols
- Ohms Law theory
- free Download Elsevier-Embedded Systems Architectu...
- free Download Analysis And Design Of Analog Integ...
- free Download Analog.and.Digital.Circuits.for.Elec...
- free Download Analog Integrated Circuit Design.pdf...
- free Download Analog Circuits Cookbook.pdf
- free Download Analog Circuit Design.pdf
- free Download Art of analog layout.pdf
- free Download ASIC.and.FPGA.Verification.A.Guide....
- FREE DOWNLOAD software collection
- free download software bank
- free download National Instruments software
- free download FPGA software
- FREE DOWNLOAD GAME software
- free download software books
- free download Proton V3 book
- free download Pic Basic pro 247 book
- free download PCWH 4.049 download link: book
- free download Synopsys primetime sp1 book
- free download AGILENT ADVANCED DESIGN SYSTEM 2006A...
- free download TS Controls Emulator 8051 1.01 book
- free download P-CAD 2006 (with Service Pack 2) boo...
- free download Xilinx Development Tools book
- free download Xilinx.PlanAhead.v9.1.5-Lz0 book
- free download Xilinx EDK v9.1 DVD ISO book
- free download Altium V6.7 + update (Protel 2007) b...
- free download proton (PicBasic) book
- free download More downloads: (8051 microcontrolle...
- free download TS Controls Emulator 8051 1.01 book
- free download MetaLink ASM51 v1.2k book
- free download MCS-51 Microcontroller Family Macro ...
- Register for rapidshare
- free download marshall book
- free download proquest book
- free download blackwel book
- free download Taylor & Francis book
- free download journals.cambridge book
- free download ScienceDirect book
- free download matc.edu book
- free download full ProQuest Direct book
- free download Howard bilimyurdu book
- free download New book
- book (2)
- free download Electronic Projects for Musicians bo...
- free download ARM Architecture Reference Manual (2...
- free download Microcontroladores PIC book
- free download The RF and Microwave Handbook by Mik...
- free download Switch-Mode Power Converters: Design...
- free download Device Modeling For Analog And RF CM...
- free download Engineering Electromagnetics, 6/e, w...
- free download Lab manual for basic digital electro...
- free download Some instrumentation and measurement...
- free download All 1979-2007 Vehicle Wiring Diagram...
- free download book
- free download Electronics Projects For Dummies boo...
- free download 123 PIC Microcontroller Experiments ...
- free download Elsevier - Practical Modern SCADA Pr...
- free download electric-electronic-control systems ...
- free download Mobile Robot Design and Applications...
- free download More free ebooks if you browse this
- free download Visual Basic for Electronics Enginee...
- free download magazine
- free download Animation Magazine
- free download Software Magazines-2007
- free download Scientific American -2006
- free download some important magazine
- free download EPE magazine
- free download MAKE MAGAZINE Vol 1-10
- free download NUTS & VOLT Magazine 04-07
- free download Servo Magazine
- free download Servo Magazine
- free download Elektor Electronics Magazines (1995-...
- free download Huge electronic library
- A good WEB Site
- some good sites
- free download 45 projects.
- free download AVR Project
- free download Full Projects
- sites about proteus VSM
- Proteus VSM model for LPT port
- New model for LM567
- Digital Design and Implementation with Field Progr...
- Reconfigurable Computing Accelerating Computation ...
- Advanced FPGA Design Architecture, Implementation,...
- The Design Warrior's Guide to FPGAs Edn Series for...
- FPGA Implementations of Neural Networks
- FPGA Implementations of Neural Networks
- Rapid Prototyping of Digital Systems Quartus II Ed...
- Digital Signal Processing with Field Programmable ...
- Digital Design with CPLD Applications and VHDL
- VHDL,FPGA,Verilog and ....
- ieee pass
- IEEE password
- free download Microwave Engineering books
- free download Microwave Engineering books
- SEE Electrical
- SEE Electrical
- Solution Manuals.
- Solution Manuals
- elektor delphi cd
- elektor delphi cd
- Reference Links
- free download Wiley Finance Collection (The Best e...
- Science - November 16, 2007 robots
- AWR Microwave Office 2006
- Alphanumeric editor for HD44780
- AudioTester
- free download Cadence OrCAD v16.0 books
- Cadsoft Eagle.
- free download Electromagnetics, Circuit Theory, Di...
- Circuit wizard Pro Control studio Pro
- free download Digital Design books
- DownStream Technologies BluePrint-PCB v1.8
- ECA VRT DISK 2006 and ECA CMOS-TTL 2000
- free download EPLAN Electric P8 1.7.12 Build: 1.7....
- Electrical Machines
- free download Electromagnetics, Circuit Theory, Di...
- free download Embedded Software books
- FED AVR C Compiler 10.06a Professional
- free download Filters books
- Flotherm 7.1-Simulation soft for electronic Coolin...
- free download Fourier Transforms bokks
- FuzzyTECH v5.54
- free download HI-TECH PICC18 v9.50PL3
- free download Hacking Roomba ExtremeTech. books
- free download High Speed Board Design book
- free download Hspice linux-2005-sp1.
- free download IEEE Security and Privacy book
- Klipper
- Labview IMAQ USB
- free download Labwindows/CVI 8.1 inc kegen
- free download Ladder Logic project
- free download Library and Models for Proteus
- Make 3D model for PROTEUS.
- free download Masters 2003 conference
- free download MicroWind 3.1
- free download Microchip Master's conference 2007 C...
- free download The.Microchip.PIC.2007.
- free download Microelectronics book
- free download Microprocessor and Microcontroller b...
- free download MotorCad
- Neural Networks books
- free download Op Amp and ADC books
- Oshon Software PIC Simulator IDE ver. 6.41.
- free dowload PIC Robotics A Beginners Guide to Rob...
- PICNPOKE
- PICS 3D
- free download PLL BOOK.
- free downloa Portable Graphpad Prism 5.0
- free download Portable MATLAB r2007b - USB edition...
- free download Power Plant books
- free download Power Supply Related books
- free download Service books
- free download RF IC book
- free download RSOFt book
- free download Robots books collectionDOWNLOAD :
- free download Sensors books
- free downloads Signals and Systems books
- free download Silvaco tcad 2007
- Solve Elec
- free download More Electronics books
- USBTrace
- free download VHDL,FPGA,Verilog and ....
- free download VHDL Simili Sonata Professional 3.1....
- VISSIM
- free download VLSI Design Ebooks
- free download VHDL,FPGA,Verilog and ....
- free download Visual DSP Analog DEVICE
- free download Vivid Workshop 2006 books
- free download Wavelets books
- free download cadence-spectre
- free download cmos analog book
- free download Many Ebook about electronic
- free download ncyclopedic handbook of integrated
- free download Good Electronics Ebooks
- jozveh.
- free download Memscap mem pro winxp
- Password (IEEE,Proquest,Springer,......
- free download Pic Micro Book collection
- free download proteus 7.2 sp2
- free download rapidshare folder which includes use...
- free download robot book collection
- list of soft link
- springer pass
- free download vrt tdv
-
▼
December
(483)
-
►
2008
(920)
-
►
December
(30)
- 3 Digit Counter Electronic Project Schematic
- Touch Switch And Delay Circuit Using 555 Timer IC
- Touch Switch/Contact Switch Free Electronic Circui...
- Construct 3 1/2 Digit LED Panel Meter Using Inters...
- Electronic Design Circuits Touch Switch
- Constructing TTL/CMOS Logic Probe
- Battery Tester Project
- Color Sensor
- Electronics Hobbies Projects Schematics and Parts ...
- RFID Application
- How to construct a Infra Red Wireless Door Monitor...
- Build A Program Remote Control IR Transmitter Usin...
- Decoding Of Infrared Remote Control Software
- Constructing FM transmitters (89MHz - 109MHz)
- Constructing your own 3V FM Transmitter
- Constructing an FM Phone Transmitter
- How to construct your own Ultrasonic Motion Detect...
- Infrared Motion Detectors
- Wireless Projects
-
►
December
(30)
-
►
2009
(23)
-
►
August
(19)
- COMSOL Multiphysics v3.5a Multilanguage
- OriginLab OriginPro 8.0 SR5 | 162 MB
- Maple R13, The Essential Tool for Mathematics Mode...
- WaveMetrics IGOR Pro 6.0.5 | 88.18 Mb
- download Synaptris IntelliVIEW Designer v4.1.0.24 ...
- download Microsoft Robotics Developer Studio 2008 ...
- CDR Sam Where Optical Storage Looks to the Future ...
- Electronics Project and Design Blog
- Engineering Free Magazine
- Electronics Hobbies Projects Schematics and Parts ...
- Constructing your own FM/Ultrasonic/Infra Red Wire...
- Constructing your own FM/Ultrasonic/Infra Red Wire...
- Security and Surveillance DIY Projects
- Constructional Amplifier Projects
- Anti-Pinch Window Lift Automotive Electronics Proj...
- Constructional Timer Projects
- Monostable Operation
- Constructional Motor Control Projects
- Constructional Phone Projects
-
►
August
(19)










