Asynchronous Communication Mechanisms Using Self-timed Circuits - PowerPoint PPT Presentation

About This Presentation
Title:

Asynchronous Communication Mechanisms Using Self-timed Circuits

Description:

Async2000-Eilat,Israel. 7. Asynchronous Communication. Rita (Reader) Wendy (Writer) News ... News. April 2000. Async2000-Eilat,Israel. 11. Asynchronous ... – PowerPoint PPT presentation

Number of Views:24
Avg rating:3.0/5.0
Slides: 118
Provided by: computin7
Category:

less

Transcript and Presenter's Notes

Title: Asynchronous Communication Mechanisms Using Self-timed Circuits


1
Asynchronous Communication Mechanisms Using
Self-timed Circuits
  • Fei Xia, Alex Yakovlev, Delong Shang,
  • Alex Bystrov, Albert Koelmans,
  • David Kinniment
  • Asynchronous Systems Laboratory
  • University of Newcastle upon Tyne
  • Async2000,Eilat-Israel, C

2
Objectives
  • To study a class of async comms previously used
    in (software) systems for embedded applications
    for potential use in SOCs

3
Objectives
  • To study a class of async comms previously used
    in (software) systems for embedded applications
    for potential use in SOCs
  • Salient features of this class
  • Bulk data transfer (medium,possibly varying, size
    frames)
  • Between independent motive powers (clock
    domains), hence need to eliminate mutual blocking
  • Issues of coherence and freshness of data

4
Outline
  • Asynchronous Communication
  • Mechanisms for Async Communication
  • Three and Four Slot ACMs
  • Speed-independent implementation
  • Comparison with FM solutions
  • Conclusions

5
Outline
  • Asynchronous Communication
  • Mechanisms for Async Communication
  • Three and Four Slot ACMs
  • Speed-independent implementation
  • Comparison with FM solutions
  • Conclusions

6
Asynchronous Communication
7
Asynchronous Communication
Rita (Reader)
8
Asynchronous Communication
9
Asynchronous Communication
10
Asynchronous Communication
11
Asynchronous Communication
Is it really Asynchronous Communication?
12
Asynchronous Communication
13
Asynchronous Communication
14
Asynchronous Communication
15
Asynchronous Communication
16
Asynchronous Communication
17
Asynchronous Communication
18
Asynchronous Communication
19
Asynchronous Communication
20
Asynchronous Communication
21
Asynchronous Communication
22
Asynchronous Communication
23
Asynchronous Communication
24
Asynchronous Communication
25
Asynchronous Communication
26
Asynchronous Communication
27
Asynchronous Communication
28
Asynchronous Communication
29
Asynchronous Communication
30
Asynchronous Communication
31
Asynchronous Communication
32
Asynchronous Communication
33
Asynchronous Communication
34
Asynchronous Communication
Is it really Asynchronous Communication?
35
Asynchronous Communication
Bounded buffer is still Synchronous Communication!
36
Asynchronous Communication
Solution ?
37
Outline
  • Asynchronous Communication
  • Mechanisms for Async Communication
  • Three and Four Slot ACMs
  • Speed-independent implementation
  • Comparison with FM solutions
  • Conclusions

38
Mechanisms for Async Comm
Solution1 Writer bins the new item when buffer
is full
39
Mechanisms for Async Comm
Solution1 Writer bins the new item when buffer
is full
40
Mechanisms for Async Comm
Solution1 Reader re-reads the old item when
buffer is empty
41
Mechanisms for Async Comm
Solution1 Reader re-reads the old item when
buffer is empty
42
Mechs for Async Comm
Solution1 implemented as a non-blocking FIFO
(IEEE TC VLSI Newsletter Fall 1998)
43
Mechs for Async Comm
Solution2 Writer overwrites the item when buffer
is full
44
Mechs for Async Comm
Solution2 Writer overwrites the item when buffer
is full
But this involves locking the whole buffer!
45
Mechs for Async Comm
Is a (non-blocking) FIFO buffer a proper solution
for the News type of data?
46
Mechs for Async Comm
No! News maybe out of date when it reaches Reader
47
Mechs for Async Comm
  • Required Properties
  • Total Asynchrony Reader and Writer, independent
    motive powers cannot wait
  • Coherence no data corruption, thus items cannot
    be written/read in part
  • Freshness Reader must read the item written
    most recently by Writer

48
Data Coherence
49
Data Coherence
50
Data Coherence
51
Data Coherence
52
Data Coherence
53
Data Coherence
54
Data Coherence
55
Data Coherence
56
Data Coherence Violation
57
Data Freshness
58
Data Freshness
59
Data Freshness
60
Data Freshness
61
Data Freshness
62
Data Freshness
63
Data Freshness Violation
64
Async Comm Mechanisms
How to maintain Asynchrony, Coherence and
Freshness?
65
Async Comm Mechanisms
How to maintain Asynchrony, Coherence and
Freshness?
Control variables
ACM
66
Outline
  • Asynchronous Communication
  • Mechanisms for Async Communication
  • Three and Four Slot ACMs
  • Speed-independent implementation
  • Comparison with FM solutions
  • Conclusions

67
Slot Mechanisms
  • How many slots is enough?

68
Slot Mechanisms
  • How many slots is enough?
  • One cannot be both async and coherent

69
Slot Mechanisms
  • How many slots is enough?
  • One cannot be both async and coherent
  • Two can be made async and coherent
  • but no freshness

70
Slot Mechanisms
  • Three or Four Slots are sufficient to achieve
    freshness
  • We used algorithms due to Hugo Simpson (BAe)

71
Three-slot ACM
Writer
Reader
s1
23.12
s2
27.12
s3
30.12
72
Three-slot ACM
Writer
Reader
s1
02.01
s2
27.12
s3
30.12
73
Three-slot ACM
Writer
Reader
s1
02.01
s2
27.12
s3
30.12
74
Three-slot ACM
Writer
Reader
s1
02.01
s2
02.01
27.12
s3
30.12
75
Three-slot ACM
Writer
Reader
s1
02.01
s2
02.01
27.12
s3
30.12
76
Three-slot ACM
Writer
Reader
s1
02.01
s2
02.01
03.01
s3
30.12
77
Three-slot ACM
Writer
Reader
s1
02.01
s2
02.01
03.01
s3
30.12
78
Three-slot ACM
Writer
Reader
s1
02.01
s2
02.01
03.01
s3
30.12
79
Three-slot ACM
Writer
Reader
s1
02.01
s2
02.01
03.01
s3
05.01
80
Three-slot ACM
Writer
Reader
s1
02.01
s2
03.01
s3
05.01
81
Three-slot ACM
Writer
Reader
s1
02.01
s2
03.01
s3
05.01
82
Three-slot algorithm
Reader
Writer
wr dninput w0 ln w1 ndiffer(l,r)
r0 rl rd outputdr
n (new), l(last), r(read) 3-valued vars
83
Three-slot algorithm
84
Four-slot ACM
Writer
Reader
s0
s1
v0
v1


85
Four-slot algorithm
Reader
Writer
wr dn,sninput w0 sn sn w1 ln
nr
r0 rl r1 vs rd outputdr,vr
n (new), l(last), r(read) binary vars
86
Outline
  • Asynchronous Communication
  • Mechanisms for Async Communication
  • Three and Four Slot ACMs
  • Speed-independent implementation
  • Comparison with FM solutions
  • Conclusions

87
Implementation of ACM
Data In
Data Out
writer
reader
start
done
start
done
steering
ACM control part
wr-req
Write control
Statement logic (mutex, latches, selectors)
Read control
r0-req
wr-ack
r0-ack
w0-req
rd-req
w0-ack
rd-ack
w1-req
w1-ack
88
Implementation of ACM
Data In
Data Out
writer
reader
start
done
start
done
n,r,l
steering
wr-req
Write control
Read control
Statement logic (mutexes, latches, selectors)
r0-req
wr-ack
r0-ack
w0-req
rd-req
w0-ack
rd-ack
w1-req
w1-ack
89
Write Control STG
start
done-
start-
done
90
Write Control logic direct translation from STG
91
3-slot ACM design
Rw0
Rr0
write control
mutex
read control
Gw0
Gr0
w0-req/ack
w1-req/ack
r0-req/ack
l
differ reg n
reg l
reg r
r
n
l
r
92
3-slot ACM design
Rw0
Rr0
write control
mutex
read control
Gw0
Gr0
w0-req/ack
w1-req/ack
r0-req/ack
l
differ reg n
reg l
reg r
r
n
l
r
93
Differ and register logic
differ
register
l1
l2
n1
l3
w1-ack
n2
r1
r2
n3
r3
w1-req
94
3-slot ACM design
Rw0
Rr0
write control
mutex
read control
Gw0
Gr0
w0-req/ack
w1-req/ack
r0-req/ack
l
differ reg n
reg l
reg r
r
n
l
r
95
Write control circuit STG
96
Write control ckt from Petrify
97
Analogue simulation
98
3-slot vs 4-slot performance
Time for control statements
statements 3-slot min time ns 4-slot min time ns
w0w1 4.19 9.39
r0(r1) 1.38 3.47
99
Other analyses of ACM designs
  • Response time analysis for Write and Read using
    stochastic Petri nets (tool PET by Xie and
    Beerel)
  • The circuit response varies with the relative
    frequency of Write/Read, e.g. higher Write
    frequency increases the chance for Read to hit
    arbitration and hence be delayed.

100
Response time analysis
101
Other analyses of ACM designs
  • Digital simulation using Verilog models for
    Writer, Reader and ACM
  • The circuit is a coherent, fresh and
    non-blocking mechanism. Clear indication of data
    over-writing (skipping) and re-reading (olding)

102
Digital simulation
103
Digital simulation
104
Digital simulation
105
Digital simulation
106
Digital simulation
107
Digital simulation
108
Other analyses of ACM designs
  • Stochastic analysis of skipping and olding using
    Generlised SPN (GSPN) tool

109
Outline
  • Asynchronous Communication
  • Mechanisms for Async Communication
  • Three and Four Slot ACMs
  • Speed-independent implementation
  • Comparison with FM solutions
  • Conclusions

110
Comparison with FM solutions
  • Fundamental Mode designs for 4-slot were proposed
    by H. Simpson and E. Campbell
  • Writer and Reader time (with individual motive
    powers) their wr, w0, w1 and r0, r1, rd
    operations, allowing enough time for potential
    m/stability to settle on control variables n, r, l

111
Comparison with FM solutions
  • Self-timed (I/O mode) design
  • can potentially run faster than the FM design
  • makes it possible to operate in FM with
    practically bounded Read and Write control
    actions
  • Theoretical possibility of unbounded
    metastability gt trade-off between temporal
    independence and data coherence

112
Outline
  • Asynchronous Communication
  • Mechanisms for Async Communication
  • Three and Four Slot ACMs
  • Speed-independent implementation
  • Comparison with FM solutions
  • Conclusions

113
Conclusions
  • Speed-independent VLSI (AMS 0.6mm CMOS)
    implementation of 3- and 4-slot ACMs for News
    (reference) data transfers
  • Minimum granularity of blocking a binary
    variable
  • Practical boundedness of Slot Acquisition Time
  • For non-handshake interfaces dones can be
    dropped
  • What is the right size of data blocks for such
    ACMs?

114
VLSI design layout
115
VLSI Design layout
116
And now
117
Hag Sameah!
Everybody to the
C
Write a Comment
User Comments (0)
About PowerShow.com