SlideShare a Scribd company logo
?
A semantic model for VHDL-AMS
Natividad MartıĢnez Madrid, Peter T. Breuer, Carlos Delgado Kloos
Universidad Carlos III de Madrid
<nmadrid,ptb,cdk>@it.uc3m.es
CHARME ā€™97, MontreĢal, Canada - October 1997 1
Objectives ?
ā€¢ explain behaviour of VHDL-AMS processes
ā€“ not a detailed syntactic mapping
ā€“ provide sufficient primitives
ā€¢ present an underlying model that . . .
ā€“ extends existing model for VHDL
CHARME ā€™97, MontreĢal, Canada - October 1997 2
Content of the talk ?
ā€¢ Introduction
ā€¢ A process algebraic analysis
ā€¢ Semantics
ā€¢ The analog solver with example
CHARME ā€™97, MontreĢal, Canada - October 1997 3
Main idea ?
VHDL semantics analog extension
imperative
discrete-event
diff. equations
real time domain
declarative
continuous-time
ց ւ
INTEGRATION
CHARME ā€™97, MontreĢal, Canada - October 1997 4
Name space division & Properties ?
VARIABLES assigned
instantaneously
not scheduled
SIGNALS at least Ī“-delayed preemptively
scheduled
QUANTITIES assigned
instantaneously
governed by diff. eqns.
PROCESSES invariant invariant
CHARME ā€™97, MontreĢal, Canada - October 1997 5
Semantics of assignment ?
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0000000000000000000000000
0000000000000000000000000
0000000000000000000000000
0000000000000000000000000
0000000000000000000000000
1111111111111111111111111
1111111111111111111111111
1111111111111111111111111
1111111111111111111111111
1111111111111111111111111
0000000000000000000000000
0000000000000000000000000
0000000000000000000000000
0000000000000000000000000
0000000000000000000000000
1111111111111111111111111
1111111111111111111111111
1111111111111111111111111
1111111111111111111111111
1111111111111111111111111
00000000000000000000000000
00000000000000000000000000
00000000000000000000000000
00000000000000000000000000
00000000000000000000000000
11111111111111111111111111
11111111111111111111111111
11111111111111111111111111
11111111111111111111111111
11111111111111111111111111
00000
11111
00
11 "Forced" signal assignment
a <= 1 after 4
00000000000000000000
00000000000000000000
00000000000000000000
11111111111111111111
11111111111111111111
11111111111111111111
a
00000000000000000000000000
00000000000000000000000000
00000000000000000000000000
11111111111111111111111111
11111111111111111111111111
11111111111111111111111111
.
v =
x
.
00000
11111
00
11 "Relaxed" quantity update
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
1
0
0
0
1
1
1
0
0
0
1
1
1
00000000000000000000000000
00000000000000000000000000
00000000000000000000000000
11111111111111111111111111
11111111111111111111111111
11111111111111111111111111
x
a
= v
CHARME ā€™97, MontreĢal, Canada - October 1997 6
Semantic Domains ?
WorldLine = Time ā†’ State
State = Id ā†’ V alue
VHDL Statements
Semantics = (WorldLine, Time) ā†” (WorldLine, Time)
Time = Int
VHDL-AMS Statements
Semantics = (EqnSet, WorldLine, Time) ā†” (EqnSet, WorldLine, Time)
Time = Real
CHARME ā€™97, MontreĢal, Canada - October 1997 7
Parallel decomposition ?
LRM view of basic VHDL compositionality:
ā€¢ processes in parallel (+ kernel)
ā€¢ process body loops continuously
ā€¢ imperative commands in process body run sequentially
Our view:
ā€¢ no kernel
CHARME ā€™97, MontreĢal, Canada - October 1997 8
VHDL-AMS: integer time ā†’ real time
Analog Solver
Process algebraic analysis ?
0000000000000000000000000000
0000000000000000000000000000
0000000000000000000000000000
0000000000000000000000000000
0000000000000000000000000000
0000000000000000000000000000
0000000000000000000000000000
0000000000000000000000000000
0000000000000000000000000000
0000000000000000000000000000
0000000000000000000000000000
0000000000000000000000000000
0000000000000000000000000000
1111111111111111111111111111
1111111111111111111111111111
1111111111111111111111111111
1111111111111111111111111111
1111111111111111111111111111
1111111111111111111111111111
1111111111111111111111111111
1111111111111111111111111111
1111111111111111111111111111
1111111111111111111111111111
1111111111111111111111111111
1111111111111111111111111111
1111111111111111111111111111
00000000000000000000000000000
00000000000000000000000000000
00000000000000000000000000000
00000000000000000000000000000
00000000000000000000000000000
00000000000000000000000000000
00000000000000000000000000000
00000000000000000000000000000
00000000000000000000000000000
00000000000000000000000000000
00000000000000000000000000000
00000000000000000000000000000
00000000000000000000000000000
11111111111111111111111111111
11111111111111111111111111111
11111111111111111111111111111
11111111111111111111111111111
11111111111111111111111111111
11111111111111111111111111111
11111111111111111111111111111
11111111111111111111111111111
11111111111111111111111111111
11111111111111111111111111111
11111111111111111111111111111
11111111111111111111111111111
11111111111111111111111111111
Ai
Aj
Ī£j
Ī£i
Ī£j
Pjā€™
Piā€™
Pi
Pj
Ki
Kj
Ī£i
00000000000000000000000000000
00000000000000000000000000000
00000000000000000000000000000
00000000000000000000000000000
00000000000000000000000000000
00000000000000000000000000000
00000000000000000000000000000
00000000000000000000000000000
00000000000000000000000000000
00000000000000000000000000000
00000000000000000000000000000
00000000000000000000000000000
00000000000000000000000000000
11111111111111111111111111111
11111111111111111111111111111
11111111111111111111111111111
11111111111111111111111111111
11111111111111111111111111111
11111111111111111111111111111
11111111111111111111111111111
11111111111111111111111111111
11111111111111111111111111111
11111111111111111111111111111
11111111111111111111111111111
11111111111111111111111111111
11111111111111111111111111111
000000000000000000000000000000
000000000000000000000000000000
000000000000000000000000000000
000000000000000000000000000000
000000000000000000000000000000
000000000000000000000000000000
000000000000000000000000000000
000000000000000000000000000000
000000000000000000000000000000
000000000000000000000000000000
000000000000000000000000000000
000000000000000000000000000000
111111111111111111111111111111
111111111111111111111111111111
111111111111111111111111111111
111111111111111111111111111111
111111111111111111111111111111
111111111111111111111111111111
111111111111111111111111111111
111111111111111111111111111111
111111111111111111111111111111
111111111111111111111111111111
111111111111111111111111111111
111111111111111111111111111111
AS
Ai
Aj
Ī£j
Ī£i
Ī£j
Pjā€™
Piā€™
Pj
Ki
Kj
Ī£i
Pi
CHARME ā€™97, MontreĢal, Canada - October 1997 9
Process algebraic analysis (II) ?
000000000000000000000000000000000000000
000000000000000000000000000000000000000
000000000000000000000000000000000000000
000000000000000000000000000000000000000
000000000000000000000000000000000000000
000000000000000000000000000000000000000
000000000000000000000000000000000000000
000000000000000000000000000000000000000
000000000000000000000000000000000000000
000000000000000000000000000000000000000
000000000000000000000000000000000000000
000000000000000000000000000000000000000
000000000000000000000000000000000000000
000000000000000000000000000000000000000
111111111111111111111111111111111111111
111111111111111111111111111111111111111
111111111111111111111111111111111111111
111111111111111111111111111111111111111
111111111111111111111111111111111111111
111111111111111111111111111111111111111
111111111111111111111111111111111111111
111111111111111111111111111111111111111
111111111111111111111111111111111111111
111111111111111111111111111111111111111
111111111111111111111111111111111111111
111111111111111111111111111111111111111
111111111111111111111111111111111111111
111111111111111111111111111111111111111
000000000000000000000000000000000000000
000000000000000000000000000000000000000
000000000000000000000000000000000000000
000000000000000000000000000000000000000
000000000000000000000000000000000000000
000000000000000000000000000000000000000
000000000000000000000000000000000000000
000000000000000000000000000000000000000
000000000000000000000000000000000000000
000000000000000000000000000000000000000
000000000000000000000000000000000000000
000000000000000000000000000000000000000
000000000000000000000000000000000000000
111111111111111111111111111111111111111
111111111111111111111111111111111111111
111111111111111111111111111111111111111
111111111111111111111111111111111111111
111111111111111111111111111111111111111
111111111111111111111111111111111111111
111111111111111111111111111111111111111
111111111111111111111111111111111111111
111111111111111111111111111111111111111
111111111111111111111111111111111111111
111111111111111111111111111111111111111
111111111111111111111111111111111111111
111111111111111111111111111111111111111
00000000000000000000
00000000000000000000
00000000000000000000
00000000000000000000
00000000000000000000
00000000000000000000
00000000000000000000
00000000000000000000
00000000000000000000
00000000000000000000
00000000000000000000
11111111111111111111
11111111111111111111
11111111111111111111
11111111111111111111
11111111111111111111
11111111111111111111
11111111111111111111
11111111111111111111
11111111111111111111
11111111111111111111
11111111111111111111
00000000000000000000
00000000000000000000
00000000000000000000
00000000000000000000
00000000000000000000
00000000000000000000
00000000000000000000
00000000000000000000
00000000000000000000
00000000000000000000
00000000000000000000
00000000000000000000
11111111111111111111
11111111111111111111
11111111111111111111
11111111111111111111
11111111111111111111
11111111111111111111
11111111111111111111
11111111111111111111
11111111111111111111
11111111111111111111
11111111111111111111
11111111111111111111
i
Ī£
Ī£j
ā€™i
Ī£
ā€™j
Ī£
Kā€™i
Ī£
Ī£
Q
AS
Q
AS
KAj
KAi
Pi
Pj
Ai
Aj Kā€™j
Pjā€™
Piā€™
CHARME ā€™97, MontreĢal, Canada - October 1997 10
Denotational semantics ?
S[a; b] = S[a]; S[b]
P[a; b] = P[a] āˆŖ S[a]; P[b]
S[while(true)do a end] = { }
P[while(true)do a end] = P[a] āˆŖ S[a]; P[while(true)do a end]
= ĀµR : Semantics . R = P[a] āˆŖ S[a]; R
S[a||b] = S[a] āˆ© S[b]
P[a||b] = P[a] āˆ© P[b]
CHARME ā€™97, MontreĢal, Canada - October 1997 11
Wait & Assignment semantics ?
Wait Semantics
(e, w0, t0)S[wait until p](e, w1, t1) = w0 = w1
āˆ§ wt1 |= p āˆ§ āˆ€t āˆˆ [t0, t1) . wt 6|= p
(e, w0, t0)P[wait until p](e, w1, t1) = w0 = w1
āˆ§ āˆ€t āˆˆ [t0, t1] . wt 6|= p
Assignment Semantics
(e, w0, t0)S[x ā‡ y after Ļ„](e, w1, t1) = t0 = t1
āˆ§ w1 = relax(e, t0)(force assign(w0))
P[x ā‡ y after Ļ„] = { }
CHARME ā€™97, MontreĢal, Canada - October 1997 12
Wait semantics ?
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
00000000000000000000
00000000000000000000
00000000000000000000
11111111111111111111
11111111111111111111
11111111111111111111
Generalized Wait
a
x
wait until a = 1
on signals -> discrete time
00000000000000000000
00000000000000000000
00000000000000000000
11111111111111111111
11111111111111111111
11111111111111111111
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
00000000000000000000
00000000000000000000
00000000000000000000
11111111111111111111
11111111111111111111
11111111111111111111
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
wait until x >= 2/3
on quantities -> continuous time
CHARME ā€™97, MontreĢal, Canada - October 1997 13
Sequential composition ?
;
000000000000
111111111111
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
a
x
000
000
000
000
000
000
000
000
000
000
000
000
000
000
000
000
000
000
000
000
000
000
111
111
111
111
111
111
111
111
111
111
111
111
111
111
111
111
111
111
111
111
111
111
0000000000000
1111111111111
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
000000000000
111111111111
000000000000
111111111111
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
a
x
000
000
000
000
000
000
000
000
000
000
000
000
000
000
000
000
000
000
000
000
000
000
111
111
111
111
111
111
111
111
111
111
111
111
111
111
111
111
111
111
111
111
111
111
0000000000000
1111111111111
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
000000000000
111111111111
000000000000
111111111111
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
1111
a
x
000
000
000
000
000
000
000
000
000
000
000
000
000
000
000
000
000
000
000
000
000
000
111
111
111
111
111
111
111
111
111
111
111
111
111
111
111
111
111
111
111
111
111
111
0000000000000
1111111111111
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
11
000000000000
111111111111
.
v =
x
. a
= v
wait until x >= 2/3
wait until x >= 2/3
wait until x >= 2/3
a <= 1 after 4
CHARME ā€™97, MontreĢal, Canada - October 1997 14
Analog solution ?
Bouncing ball example
ds
dt = v
dv
dt = āˆ’g Ā± av2
Local approximation s(t) = 1
v(t) = āˆ’gt
origin at
s = 1
v = 0
t = 0
Linear approximation (s, v) = (s0, v0) + (t āˆ’ t0)(v0, āˆ’g Ā± av2
0)
Recursion
(s, v)(t0,s0,v0)(t) āˆ¼
ļ£±
ļ£²
ļ£³
(s0, v0) + (t āˆ’ t0)(v0, āˆ’g Ā± av2
0) t āˆˆ [t0, t1)
(s, v)(t1,s1,v1)(t)
s1 = s0 + v0āˆ†t
v1 = v0 + (āˆ’g Ā± av2
0)āˆ†t
t1 = t0 + āˆ†t
CHARME ā€™97, MontreĢal, Canada - October 1997 15
Example ?
proc [qty s := 1.0, v := 0.0, g := 9.8, a := 0.1 ]
ds/dt == v;
dv/dt == -g + if v<0 then a else -a end * v * v;
begin
wait until s < 0;
v := -v;
s := 0 ;
end
āˆ†t = 0.02
CHARME ā€™97, MontreĢal, Canada - October 1997 16
Example Cont. ?
proc [qty s := 1.0, v := 0.0, g := 9.8, a := 0.1 ]
ds/dt == v;
dv/dt == -g + if v<0 then a else -a end * v * v;
begin
wait until s < 0;
v := 1.4142 * (g * s + 0.5 * v * v)**0.5 ;
s := 0 ;
end
g āˆ— 0 + vā€²2
2 =
g āˆ— s + v2
2
āˆ†t = 0.06
CHARME ā€™97, MontreĢal, Canada - October 1997 17
Example Cont. (II) ?
Height
Speed
āˆ†t = 0.06
CHARME ā€™97, MontreĢal, Canada - October 1997 18
Unresolved areas ?
ā€¢ Implementation of the parallel composition of pro-
cesses if quantities are shared between processes
ā€¢ Errors in the analog solver may require us to rewrite
our program
ā€¢ The proper execution of the analog solver in Ī“ time
when the processes are in parallel
CHARME ā€™97, MontreĢal, Canada - October 1997 19
Conclusion ?
ā€¢ What? Extension of our VHDL semantics to cover
VHDL-AMS
ā€¢ How? Embedding of the VHDL semantics in a bigger,
continuous time domain, which contains an oracular
analog solver
ā€¢ Why? Clarify the draft standard document
CHARME ā€™97, MontreĢal, Canada - October 1997 20

More Related Content

More from Lisa Riley

Writting Wallpapers - Wallpaper Cave. Online assignment writing service.
Writting Wallpapers - Wallpaper Cave. Online assignment writing service.Writting Wallpapers - Wallpaper Cave. Online assignment writing service.
Writting Wallpapers - Wallpaper Cave. Online assignment writing service.
Lisa Riley
Ā 
Japanese Writing Paper Printable. Online assignment writing service.
Japanese Writing Paper Printable. Online assignment writing service.Japanese Writing Paper Printable. Online assignment writing service.
Japanese Writing Paper Printable. Online assignment writing service.
Lisa Riley
Ā 
Write An Essay On My Mother Essay Writing English - YouTube
Write An Essay On My Mother Essay Writing English - YouTubeWrite An Essay On My Mother Essay Writing English - YouTube
Write An Essay On My Mother Essay Writing English - YouTube
Lisa Riley
Ā 
Heart Writing Paper Writing Paper, Heart Printable, Pap
Heart Writing Paper Writing Paper, Heart Printable, PapHeart Writing Paper Writing Paper, Heart Printable, Pap
Heart Writing Paper Writing Paper, Heart Printable, Pap
Lisa Riley
Ā 
Raised Line Writing Paper. A4 Raised Line Handwriting Paper
Raised Line Writing Paper. A4 Raised Line Handwriting PaperRaised Line Writing Paper. A4 Raised Line Handwriting Paper
Raised Line Writing Paper. A4 Raised Line Handwriting Paper
Lisa Riley
Ā 
The Federalist Papers Audiolibro Alexander
The Federalist Papers Audiolibro AlexanderThe Federalist Papers Audiolibro Alexander
The Federalist Papers Audiolibro Alexander
Lisa Riley
Ā 
Research Paper Introduction - College Homework Help And Online Tutoring.
Research Paper Introduction - College Homework Help And Online Tutoring.Research Paper Introduction - College Homework Help And Online Tutoring.
Research Paper Introduction - College Homework Help And Online Tutoring.
Lisa Riley
Ā 
English Essay Topics For Grad. Online assignment writing service.
English Essay Topics For Grad. Online assignment writing service.English Essay Topics For Grad. Online assignment writing service.
English Essay Topics For Grad. Online assignment writing service.
Lisa Riley
Ā 
Psychology Essay Writing Service - Qualified Writings
Psychology Essay Writing Service - Qualified WritingsPsychology Essay Writing Service - Qualified Writings
Psychology Essay Writing Service - Qualified Writings
Lisa Riley
Ā 
Handwriting Background Paper Vintage Images Le
Handwriting Background Paper Vintage Images LeHandwriting Background Paper Vintage Images Le
Handwriting Background Paper Vintage Images Le
Lisa Riley
Ā 
Examples Of Science Pape. Online assignment writing service.
Examples Of Science Pape. Online assignment writing service.Examples Of Science Pape. Online assignment writing service.
Examples Of Science Pape. Online assignment writing service.
Lisa Riley
Ā 
Cambridge 12 Academic Ielts Test 6 Writing Task 2 Sam
Cambridge 12 Academic Ielts Test 6 Writing Task 2 SamCambridge 12 Academic Ielts Test 6 Writing Task 2 Sam
Cambridge 12 Academic Ielts Test 6 Writing Task 2 Sam
Lisa Riley
Ā 
Easy Essay Structure. How To Create A Powerful Argu
Easy Essay Structure. How To Create A Powerful ArguEasy Essay Structure. How To Create A Powerful Argu
Easy Essay Structure. How To Create A Powerful Argu
Lisa Riley
Ā 
Help With Research Paper Writing - I Need Help To Wr
Help With Research Paper Writing - I Need Help To WrHelp With Research Paper Writing - I Need Help To Wr
Help With Research Paper Writing - I Need Help To Wr
Lisa Riley
Ā 
How To Write A Method In Science Report.pdfHow To Write A Method In Science R...
How To Write A Method In Science Report.pdfHow To Write A Method In Science R...How To Write A Method In Science Report.pdfHow To Write A Method In Science R...
How To Write A Method In Science Report.pdfHow To Write A Method In Science R...
Lisa Riley
Ā 
Grade 12 Narrative Essay Examples - Csusm.X.Fc2.Com
Grade 12 Narrative Essay Examples - Csusm.X.Fc2.ComGrade 12 Narrative Essay Examples - Csusm.X.Fc2.Com
Grade 12 Narrative Essay Examples - Csusm.X.Fc2.Com
Lisa Riley
Ā 
Audience Analysis Essay. Online assignment writing service.
Audience Analysis Essay. Online assignment writing service.Audience Analysis Essay. Online assignment writing service.
Audience Analysis Essay. Online assignment writing service.
Lisa Riley
Ā 
Contract Essay Term 1 PDF Offer And Acceptance L
Contract Essay Term 1  PDF  Offer And Acceptance  LContract Essay Term 1  PDF  Offer And Acceptance  L
Contract Essay Term 1 PDF Offer And Acceptance L
Lisa Riley
Ā 
Evaluation Essays Examples. How To Write A
Evaluation Essays Examples. How To Write AEvaluation Essays Examples. How To Write A
Evaluation Essays Examples. How To Write A
Lisa Riley
Ā 
Write My Research Paper For Me 6 Per Page
Write My Research Paper For Me  6 Per PageWrite My Research Paper For Me  6 Per Page
Write My Research Paper For Me 6 Per Page
Lisa Riley
Ā 

More from Lisa Riley (20)

Writting Wallpapers - Wallpaper Cave. Online assignment writing service.
Writting Wallpapers - Wallpaper Cave. Online assignment writing service.Writting Wallpapers - Wallpaper Cave. Online assignment writing service.
Writting Wallpapers - Wallpaper Cave. Online assignment writing service.
Ā 
Japanese Writing Paper Printable. Online assignment writing service.
Japanese Writing Paper Printable. Online assignment writing service.Japanese Writing Paper Printable. Online assignment writing service.
Japanese Writing Paper Printable. Online assignment writing service.
Ā 
Write An Essay On My Mother Essay Writing English - YouTube
Write An Essay On My Mother Essay Writing English - YouTubeWrite An Essay On My Mother Essay Writing English - YouTube
Write An Essay On My Mother Essay Writing English - YouTube
Ā 
Heart Writing Paper Writing Paper, Heart Printable, Pap
Heart Writing Paper Writing Paper, Heart Printable, PapHeart Writing Paper Writing Paper, Heart Printable, Pap
Heart Writing Paper Writing Paper, Heart Printable, Pap
Ā 
Raised Line Writing Paper. A4 Raised Line Handwriting Paper
Raised Line Writing Paper. A4 Raised Line Handwriting PaperRaised Line Writing Paper. A4 Raised Line Handwriting Paper
Raised Line Writing Paper. A4 Raised Line Handwriting Paper
Ā 
The Federalist Papers Audiolibro Alexander
The Federalist Papers Audiolibro AlexanderThe Federalist Papers Audiolibro Alexander
The Federalist Papers Audiolibro Alexander
Ā 
Research Paper Introduction - College Homework Help And Online Tutoring.
Research Paper Introduction - College Homework Help And Online Tutoring.Research Paper Introduction - College Homework Help And Online Tutoring.
Research Paper Introduction - College Homework Help And Online Tutoring.
Ā 
English Essay Topics For Grad. Online assignment writing service.
English Essay Topics For Grad. Online assignment writing service.English Essay Topics For Grad. Online assignment writing service.
English Essay Topics For Grad. Online assignment writing service.
Ā 
Psychology Essay Writing Service - Qualified Writings
Psychology Essay Writing Service - Qualified WritingsPsychology Essay Writing Service - Qualified Writings
Psychology Essay Writing Service - Qualified Writings
Ā 
Handwriting Background Paper Vintage Images Le
Handwriting Background Paper Vintage Images LeHandwriting Background Paper Vintage Images Le
Handwriting Background Paper Vintage Images Le
Ā 
Examples Of Science Pape. Online assignment writing service.
Examples Of Science Pape. Online assignment writing service.Examples Of Science Pape. Online assignment writing service.
Examples Of Science Pape. Online assignment writing service.
Ā 
Cambridge 12 Academic Ielts Test 6 Writing Task 2 Sam
Cambridge 12 Academic Ielts Test 6 Writing Task 2 SamCambridge 12 Academic Ielts Test 6 Writing Task 2 Sam
Cambridge 12 Academic Ielts Test 6 Writing Task 2 Sam
Ā 
Easy Essay Structure. How To Create A Powerful Argu
Easy Essay Structure. How To Create A Powerful ArguEasy Essay Structure. How To Create A Powerful Argu
Easy Essay Structure. How To Create A Powerful Argu
Ā 
Help With Research Paper Writing - I Need Help To Wr
Help With Research Paper Writing - I Need Help To WrHelp With Research Paper Writing - I Need Help To Wr
Help With Research Paper Writing - I Need Help To Wr
Ā 
How To Write A Method In Science Report.pdfHow To Write A Method In Science R...
How To Write A Method In Science Report.pdfHow To Write A Method In Science R...How To Write A Method In Science Report.pdfHow To Write A Method In Science R...
How To Write A Method In Science Report.pdfHow To Write A Method In Science R...
Ā 
Grade 12 Narrative Essay Examples - Csusm.X.Fc2.Com
Grade 12 Narrative Essay Examples - Csusm.X.Fc2.ComGrade 12 Narrative Essay Examples - Csusm.X.Fc2.Com
Grade 12 Narrative Essay Examples - Csusm.X.Fc2.Com
Ā 
Audience Analysis Essay. Online assignment writing service.
Audience Analysis Essay. Online assignment writing service.Audience Analysis Essay. Online assignment writing service.
Audience Analysis Essay. Online assignment writing service.
Ā 
Contract Essay Term 1 PDF Offer And Acceptance L
Contract Essay Term 1  PDF  Offer And Acceptance  LContract Essay Term 1  PDF  Offer And Acceptance  L
Contract Essay Term 1 PDF Offer And Acceptance L
Ā 
Evaluation Essays Examples. How To Write A
Evaluation Essays Examples. How To Write AEvaluation Essays Examples. How To Write A
Evaluation Essays Examples. How To Write A
Ā 
Write My Research Paper For Me 6 Per Page
Write My Research Paper For Me  6 Per PageWrite My Research Paper For Me  6 Per Page
Write My Research Paper For Me 6 Per Page
Ā 

Recently uploaded

2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
Ā 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
Ā 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
Ā 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
Ā 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
Ā 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
Ā 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
Ā 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
Ā 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
Ā 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
timhan337
Ā 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
Ā 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
Ā 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
Ā 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
Ā 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
Ā 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
Ā 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
Ā 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
Ā 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
Ā 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
Ā 

Recently uploaded (20)

2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Ā 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
Ā 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Ā 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Ā 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Ā 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ā 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Ā 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
Ā 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
Ā 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
Ā 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
Ā 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Ā 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
Ā 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
Ā 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Ā 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
Ā 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
Ā 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Ā 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Ā 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Ā 

A Semantic Model For VHDL-AMS

  • 1. ? A semantic model for VHDL-AMS Natividad MartıĢnez Madrid, Peter T. Breuer, Carlos Delgado Kloos Universidad Carlos III de Madrid <nmadrid,ptb,cdk>@it.uc3m.es CHARME ā€™97, MontreĢal, Canada - October 1997 1
  • 2. Objectives ? ā€¢ explain behaviour of VHDL-AMS processes ā€“ not a detailed syntactic mapping ā€“ provide sufficient primitives ā€¢ present an underlying model that . . . ā€“ extends existing model for VHDL CHARME ā€™97, MontreĢal, Canada - October 1997 2
  • 3. Content of the talk ? ā€¢ Introduction ā€¢ A process algebraic analysis ā€¢ Semantics ā€¢ The analog solver with example CHARME ā€™97, MontreĢal, Canada - October 1997 3
  • 4. Main idea ? VHDL semantics analog extension imperative discrete-event diff. equations real time domain declarative continuous-time ց ւ INTEGRATION CHARME ā€™97, MontreĢal, Canada - October 1997 4
  • 5. Name space division & Properties ? VARIABLES assigned instantaneously not scheduled SIGNALS at least Ī“-delayed preemptively scheduled QUANTITIES assigned instantaneously governed by diff. eqns. PROCESSES invariant invariant CHARME ā€™97, MontreĢal, Canada - October 1997 5
  • 6. Semantics of assignment ? 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0000000000000000000000000 0000000000000000000000000 0000000000000000000000000 0000000000000000000000000 0000000000000000000000000 1111111111111111111111111 1111111111111111111111111 1111111111111111111111111 1111111111111111111111111 1111111111111111111111111 0000000000000000000000000 0000000000000000000000000 0000000000000000000000000 0000000000000000000000000 0000000000000000000000000 1111111111111111111111111 1111111111111111111111111 1111111111111111111111111 1111111111111111111111111 1111111111111111111111111 00000000000000000000000000 00000000000000000000000000 00000000000000000000000000 00000000000000000000000000 00000000000000000000000000 11111111111111111111111111 11111111111111111111111111 11111111111111111111111111 11111111111111111111111111 11111111111111111111111111 00000 11111 00 11 "Forced" signal assignment a <= 1 after 4 00000000000000000000 00000000000000000000 00000000000000000000 11111111111111111111 11111111111111111111 11111111111111111111 a 00000000000000000000000000 00000000000000000000000000 00000000000000000000000000 11111111111111111111111111 11111111111111111111111111 11111111111111111111111111 . v = x . 00000 11111 00 11 "Relaxed" quantity update 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 0 0 0 1 1 1 0 0 0 1 1 1 00000000000000000000000000 00000000000000000000000000 00000000000000000000000000 11111111111111111111111111 11111111111111111111111111 11111111111111111111111111 x a = v CHARME ā€™97, MontreĢal, Canada - October 1997 6
  • 7. Semantic Domains ? WorldLine = Time ā†’ State State = Id ā†’ V alue VHDL Statements Semantics = (WorldLine, Time) ā†” (WorldLine, Time) Time = Int VHDL-AMS Statements Semantics = (EqnSet, WorldLine, Time) ā†” (EqnSet, WorldLine, Time) Time = Real CHARME ā€™97, MontreĢal, Canada - October 1997 7
  • 8. Parallel decomposition ? LRM view of basic VHDL compositionality: ā€¢ processes in parallel (+ kernel) ā€¢ process body loops continuously ā€¢ imperative commands in process body run sequentially Our view: ā€¢ no kernel CHARME ā€™97, MontreĢal, Canada - October 1997 8
  • 9. VHDL-AMS: integer time ā†’ real time Analog Solver
  • 10. Process algebraic analysis ? 0000000000000000000000000000 0000000000000000000000000000 0000000000000000000000000000 0000000000000000000000000000 0000000000000000000000000000 0000000000000000000000000000 0000000000000000000000000000 0000000000000000000000000000 0000000000000000000000000000 0000000000000000000000000000 0000000000000000000000000000 0000000000000000000000000000 0000000000000000000000000000 1111111111111111111111111111 1111111111111111111111111111 1111111111111111111111111111 1111111111111111111111111111 1111111111111111111111111111 1111111111111111111111111111 1111111111111111111111111111 1111111111111111111111111111 1111111111111111111111111111 1111111111111111111111111111 1111111111111111111111111111 1111111111111111111111111111 1111111111111111111111111111 00000000000000000000000000000 00000000000000000000000000000 00000000000000000000000000000 00000000000000000000000000000 00000000000000000000000000000 00000000000000000000000000000 00000000000000000000000000000 00000000000000000000000000000 00000000000000000000000000000 00000000000000000000000000000 00000000000000000000000000000 00000000000000000000000000000 00000000000000000000000000000 11111111111111111111111111111 11111111111111111111111111111 11111111111111111111111111111 11111111111111111111111111111 11111111111111111111111111111 11111111111111111111111111111 11111111111111111111111111111 11111111111111111111111111111 11111111111111111111111111111 11111111111111111111111111111 11111111111111111111111111111 11111111111111111111111111111 11111111111111111111111111111 Ai Aj Ī£j Ī£i Ī£j Pjā€™ Piā€™ Pi Pj Ki Kj Ī£i 00000000000000000000000000000 00000000000000000000000000000 00000000000000000000000000000 00000000000000000000000000000 00000000000000000000000000000 00000000000000000000000000000 00000000000000000000000000000 00000000000000000000000000000 00000000000000000000000000000 00000000000000000000000000000 00000000000000000000000000000 00000000000000000000000000000 00000000000000000000000000000 11111111111111111111111111111 11111111111111111111111111111 11111111111111111111111111111 11111111111111111111111111111 11111111111111111111111111111 11111111111111111111111111111 11111111111111111111111111111 11111111111111111111111111111 11111111111111111111111111111 11111111111111111111111111111 11111111111111111111111111111 11111111111111111111111111111 11111111111111111111111111111 000000000000000000000000000000 000000000000000000000000000000 000000000000000000000000000000 000000000000000000000000000000 000000000000000000000000000000 000000000000000000000000000000 000000000000000000000000000000 000000000000000000000000000000 000000000000000000000000000000 000000000000000000000000000000 000000000000000000000000000000 000000000000000000000000000000 111111111111111111111111111111 111111111111111111111111111111 111111111111111111111111111111 111111111111111111111111111111 111111111111111111111111111111 111111111111111111111111111111 111111111111111111111111111111 111111111111111111111111111111 111111111111111111111111111111 111111111111111111111111111111 111111111111111111111111111111 111111111111111111111111111111 AS Ai Aj Ī£j Ī£i Ī£j Pjā€™ Piā€™ Pj Ki Kj Ī£i Pi CHARME ā€™97, MontreĢal, Canada - October 1997 9
  • 11. Process algebraic analysis (II) ? 000000000000000000000000000000000000000 000000000000000000000000000000000000000 000000000000000000000000000000000000000 000000000000000000000000000000000000000 000000000000000000000000000000000000000 000000000000000000000000000000000000000 000000000000000000000000000000000000000 000000000000000000000000000000000000000 000000000000000000000000000000000000000 000000000000000000000000000000000000000 000000000000000000000000000000000000000 000000000000000000000000000000000000000 000000000000000000000000000000000000000 000000000000000000000000000000000000000 111111111111111111111111111111111111111 111111111111111111111111111111111111111 111111111111111111111111111111111111111 111111111111111111111111111111111111111 111111111111111111111111111111111111111 111111111111111111111111111111111111111 111111111111111111111111111111111111111 111111111111111111111111111111111111111 111111111111111111111111111111111111111 111111111111111111111111111111111111111 111111111111111111111111111111111111111 111111111111111111111111111111111111111 111111111111111111111111111111111111111 111111111111111111111111111111111111111 000000000000000000000000000000000000000 000000000000000000000000000000000000000 000000000000000000000000000000000000000 000000000000000000000000000000000000000 000000000000000000000000000000000000000 000000000000000000000000000000000000000 000000000000000000000000000000000000000 000000000000000000000000000000000000000 000000000000000000000000000000000000000 000000000000000000000000000000000000000 000000000000000000000000000000000000000 000000000000000000000000000000000000000 000000000000000000000000000000000000000 111111111111111111111111111111111111111 111111111111111111111111111111111111111 111111111111111111111111111111111111111 111111111111111111111111111111111111111 111111111111111111111111111111111111111 111111111111111111111111111111111111111 111111111111111111111111111111111111111 111111111111111111111111111111111111111 111111111111111111111111111111111111111 111111111111111111111111111111111111111 111111111111111111111111111111111111111 111111111111111111111111111111111111111 111111111111111111111111111111111111111 00000000000000000000 00000000000000000000 00000000000000000000 00000000000000000000 00000000000000000000 00000000000000000000 00000000000000000000 00000000000000000000 00000000000000000000 00000000000000000000 00000000000000000000 11111111111111111111 11111111111111111111 11111111111111111111 11111111111111111111 11111111111111111111 11111111111111111111 11111111111111111111 11111111111111111111 11111111111111111111 11111111111111111111 11111111111111111111 00000000000000000000 00000000000000000000 00000000000000000000 00000000000000000000 00000000000000000000 00000000000000000000 00000000000000000000 00000000000000000000 00000000000000000000 00000000000000000000 00000000000000000000 00000000000000000000 11111111111111111111 11111111111111111111 11111111111111111111 11111111111111111111 11111111111111111111 11111111111111111111 11111111111111111111 11111111111111111111 11111111111111111111 11111111111111111111 11111111111111111111 11111111111111111111 i Ī£ Ī£j ā€™i Ī£ ā€™j Ī£ Kā€™i Ī£ Ī£ Q AS Q AS KAj KAi Pi Pj Ai Aj Kā€™j Pjā€™ Piā€™ CHARME ā€™97, MontreĢal, Canada - October 1997 10
  • 12. Denotational semantics ? S[a; b] = S[a]; S[b] P[a; b] = P[a] āˆŖ S[a]; P[b] S[while(true)do a end] = { } P[while(true)do a end] = P[a] āˆŖ S[a]; P[while(true)do a end] = ĀµR : Semantics . R = P[a] āˆŖ S[a]; R S[a||b] = S[a] āˆ© S[b] P[a||b] = P[a] āˆ© P[b] CHARME ā€™97, MontreĢal, Canada - October 1997 11
  • 13. Wait & Assignment semantics ? Wait Semantics (e, w0, t0)S[wait until p](e, w1, t1) = w0 = w1 āˆ§ wt1 |= p āˆ§ āˆ€t āˆˆ [t0, t1) . wt 6|= p (e, w0, t0)P[wait until p](e, w1, t1) = w0 = w1 āˆ§ āˆ€t āˆˆ [t0, t1] . wt 6|= p Assignment Semantics (e, w0, t0)S[x ā‡ y after Ļ„](e, w1, t1) = t0 = t1 āˆ§ w1 = relax(e, t0)(force assign(w0)) P[x ā‡ y after Ļ„] = { } CHARME ā€™97, MontreĢal, Canada - October 1997 12
  • 14. Wait semantics ? 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 00000000000000000000 00000000000000000000 00000000000000000000 11111111111111111111 11111111111111111111 11111111111111111111 Generalized Wait a x wait until a = 1 on signals -> discrete time 00000000000000000000 00000000000000000000 00000000000000000000 11111111111111111111 11111111111111111111 11111111111111111111 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 00000000000000000000 00000000000000000000 00000000000000000000 11111111111111111111 11111111111111111111 11111111111111111111 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 wait until x >= 2/3 on quantities -> continuous time CHARME ā€™97, MontreĢal, Canada - October 1997 13
  • 15. Sequential composition ? ; 000000000000 111111111111 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 a x 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 0000000000000 1111111111111 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 000000000000 111111111111 000000000000 111111111111 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 a x 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 0000000000000 1111111111111 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 000000000000 111111111111 000000000000 111111111111 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 a x 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 0000000000000 1111111111111 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 000000000000 111111111111 . v = x . a = v wait until x >= 2/3 wait until x >= 2/3 wait until x >= 2/3 a <= 1 after 4 CHARME ā€™97, MontreĢal, Canada - October 1997 14
  • 16. Analog solution ? Bouncing ball example ds dt = v dv dt = āˆ’g Ā± av2 Local approximation s(t) = 1 v(t) = āˆ’gt origin at s = 1 v = 0 t = 0 Linear approximation (s, v) = (s0, v0) + (t āˆ’ t0)(v0, āˆ’g Ā± av2 0) Recursion (s, v)(t0,s0,v0)(t) āˆ¼ ļ£± ļ£² ļ£³ (s0, v0) + (t āˆ’ t0)(v0, āˆ’g Ā± av2 0) t āˆˆ [t0, t1) (s, v)(t1,s1,v1)(t) s1 = s0 + v0āˆ†t v1 = v0 + (āˆ’g Ā± av2 0)āˆ†t t1 = t0 + āˆ†t CHARME ā€™97, MontreĢal, Canada - October 1997 15
  • 17. Example ? proc [qty s := 1.0, v := 0.0, g := 9.8, a := 0.1 ] ds/dt == v; dv/dt == -g + if v<0 then a else -a end * v * v; begin wait until s < 0; v := -v; s := 0 ; end āˆ†t = 0.02 CHARME ā€™97, MontreĢal, Canada - October 1997 16
  • 18. Example Cont. ? proc [qty s := 1.0, v := 0.0, g := 9.8, a := 0.1 ] ds/dt == v; dv/dt == -g + if v<0 then a else -a end * v * v; begin wait until s < 0; v := 1.4142 * (g * s + 0.5 * v * v)**0.5 ; s := 0 ; end g āˆ— 0 + vā€²2 2 = g āˆ— s + v2 2 āˆ†t = 0.06 CHARME ā€™97, MontreĢal, Canada - October 1997 17
  • 19. Example Cont. (II) ? Height Speed āˆ†t = 0.06 CHARME ā€™97, MontreĢal, Canada - October 1997 18
  • 20. Unresolved areas ? ā€¢ Implementation of the parallel composition of pro- cesses if quantities are shared between processes ā€¢ Errors in the analog solver may require us to rewrite our program ā€¢ The proper execution of the analog solver in Ī“ time when the processes are in parallel CHARME ā€™97, MontreĢal, Canada - October 1997 19
  • 21. Conclusion ? ā€¢ What? Extension of our VHDL semantics to cover VHDL-AMS ā€¢ How? Embedding of the VHDL semantics in a bigger, continuous time domain, which contains an oracular analog solver ā€¢ Why? Clarify the draft standard document CHARME ā€™97, MontreĢal, Canada - October 1997 20