Académique Documents
Professionnel Documents
Culture Documents
Ran Ginosar VLSI Systems Research Center TechnionIsrael Institute of Technology Haifa, Israel
ran@ee.technion.ac.il www.ee.technion.ac.il/~ran
2004 Ran Ginosar Synchronization in Multiple Clock Domain SoC Chapter 1: Introduction
50 MHz Memory
75 MHz DSP
20 MHz Flash Memory 54 Mbps 802.11 1 Mbps Bluetooth 100 Mbps Etherent
a.k.a. MCD: Multiple Clock Domains a.k.a. GALS: Globally Asynchronous, Locally Synchronous
2004 Ran Ginosar Synchronization in Multiple Clock Domain SoC Chapter 1: Introduction
01000111001110101
01000111001110101
100MHz 1.2V
50MHz 1.1V
2004 Ran Ginosar Synchronization in Multiple Clock Domain SoC Chapter 1: Introduction
1 0 1 0
Globally Synchronous
Single clock
MultiSynchronous
Each domain separate clock at same frequency
GALS
Async domains: Different frequency Different frequency per domain per domain
Centrally controlled
Autonomous
MCD
2004 Ran Ginosar Synchronization in Multiple Clock Domain SoC Chapter 1: Introduction
If the two clocks are not the same, sampling the data by FF B may fail
2004 Ran Ginosar
FF A
data
FF B
Clock A
Clock B
f
0 0 0 fd< fd>
0 c drifts Varies
Synchronizer
None Phase compensation Adaptive phase compensation Adaptive phase compensation Predictive Two-FF
8
Synchronous
Same clock Effort invested in limiting skew, jitter of clock net Main problem: min-delay
Clock
2004 Ran Ginosar Synchronization in Multiple Clock Domain SoC Chapter 1: Introduction
FF A
data
FF B
Synchronous Transfer
Example: Data change after clock rising edge Data sampled on (next) rising edge
FF A data FF B
Clock
data clock
2004 Ran Ginosar Synchronization in Multiple Clock Domain SoC Chapter 1: Introduction
10
Asynchronous Input
Data not related to clock, not arriving every cycle
data
FF B
Clock B
11
Course Outline
Clock Distribution Networks Async Basics Metastability and Synchronization Failures Syncing Async Domains Syncing Errors Verifying Synchronizers Syncing Multisync Domains Multisync Long Interconnect MCD / GALS Design
2004 Ran Ginosar Synchronization in Multiple Clock Domain SoC Chapter 1: Introduction
12
13
Async conversion
Synchronization in Multiple Clock Domain SoC Chapter 1: Introduction
14
Metastability
What really happens
Different types of problems
15
16
17
Verifying Synchronizers
Using tools for Formal Verification Using standard analysis tools
18
19
Long Interconnect
When is it long?
When time-of-flight > clock cycle When signal timing is lost When inter-wire skew & jitter are too high
20
21
What do we learn?
The problems The various solutions What to do Who should do it What not to do What will the future bring us
22