180 likes | 493 Views
CDC. Clock Domain Crossing. Outline. Introduction Basic terminology Types of synchronizers CDC protocols CDC verification Summary. Basic Terminology. Clock Domain. - Single clock domain. - Multiple clocks domain. Basic Terminology. Clock Domain. divCLK. CLK. CLK.
E N D
CDC Clock Domain Crossing
Outline • Introduction • Basic terminology • Types of synchronizers • CDC protocols • CDC verification • Summary
Basic Terminology • Clock Domain - Single clock domain - Multiple clocks domain
Basic Terminology • Clock Domain divCLK CLK CLK divCLK Single clock domain
Basic Terminology • Clock Domain CLK A CLK B CLK A CLK B Multiple clocks domain
Basic Terminology • Clock Domain Crossing Paths D DA DB CLK A CLK B
CLK A DA CLK B DB Basic Terminology • Metastability D DA DB CLK A CLK B
D CLK A CLK B Basic Terminology • Synchronizers Circuits that conditions CDC signals in order to reduce the probability of metastability DA
Types Of Synchronizers • Basic Synchronizer (Level Signal) • Edge-detecting Synchronizer CLK B XOR • Pulse Synchronizer CLK B
CDC Protocols • Why do we need protocols ? In may applications, simple signals aren’t the only information crossing clock domains. Data, address and control buses also travel together across domains.
CDC Protocols • Handshake TX RX Sync tx_v rx_v tx_d Sync rx_d tx_datat rx_datat
CDC Protocols • FIFO TX RX FIFO r_datat w_datat wr rd
CDC Verification • Do i have synchronizers on all • CDC signals? • Do my CDC protocol prevent corruption • of data across clock domains?
CDC Verification • Assertion Based Verification. • Netlist Analysis. • User Specification of Design Intent. • Verifying CDC Monitors Using Simulation. • Verifying CDC Assertion Using Formal Verification.
Summary • Traditional verification techniques for CDC’s • fail to address the critical issue of the correctness • of the CDC protocols within the design. • If these protocols go unchecked, there is a • significant risk that designs will contain errors • that can only be detected in post-silicon • testing….
THANK YOU FOR LISTENING