A Functional Approach for Formalizing Regular. Universitat Karlsruhe, Institut fur Rechnerentwurf und Fehlertoleranz,

Size: px
Start display at page:

Download "A Functional Approach for Formalizing Regular. Universitat Karlsruhe, Institut fur Rechnerentwurf und Fehlertoleranz,"

Transcription

1 A Functional Appoach fo Fomalizing Regula Hadwae Stuctues? Dik Eisenbiegle 1, Klaus Schneide 1 and Ramayya Kuma 2 1 Univesitat Kalsuhe, Institut fu Rechneentwuf und Fehletoleanz, (Pof. D. Schmid), P.O. Box 6980, Kalsuhe, Gemany, e{mail:schneide@ia.uka.de 2 Foschungszentum Infomatik, Haid{und{Neustae 10{14, Kalsuhe, Gemany, e{mail:kuma@fzi.de Abstact. An appoach fo fomalizing hadwae behaviou is pesented which is based on a small functional pogamming language called pimitive ML (PML). Since the basic constucts of PML ae simply typed {tems, PML lends itself both to simulation and veication. The semantics of PML is fomally embedded in highe{ode logic. The fomalization scheme is based on PML{functions that allow hadwae desciptions fom the logical level up to the algoithmic level. Besides desciptions of eal cicuits, abstact foms of hadwae desciptions can also be dealt with in PML. The main emphasis is theeby put on egula hadwae stuctues which ae descibed by means of pimitive ecusion. PML{ desciptions can easily be conveted to syntactic stuctues, called hadwae fomulae, which can then be veied by the MEPHISTO system. 1 Intoduction Embedding hadwae desciption languages (HDLs) in a logic o some calculi is essential fo veication. The semantics of such embedded HDLs, which coespond to cetain fomulae in the undelying fomal famewok, can then be used to { veify cetain popeties of an implementation, { pove equivalences of two o moe implementations and { pefom coect HDL{to{HDL tanslations. Existing HDLs such as VHDL and ELLA ae vey poweful and complex. The expessive powe is an advantage fo cicuit design, but thei semantics ae not fomally dened due to thei complexity. Fomalizing the semantics of a HDL means bidging the gap between a high level design language and the simple elements of the logic o a paticula calculus. Functional HDLs such as ELLA ae athe close to logic. Those elements which consist exclusively of {tems can be conveted to highe{ode logic almost unchanged. In contast to functional languages, pocedual languages ae moe dicult to be fomalized due to thei opeational semantics. Fo evey basic instuction, it? This wok has been patly nanced by a geman national gant, poject Automated System Design, SFB No.358.

2 must be descibed, how the execution of the instuction changes the global state. The eect of compound instuctions must be deived fom the eect of the basic instuctions and the contol stuctues. Thee ae seveal eseach pojects about fomalizing existing HDLs in highe{ ode logic [BGGH92, BGHT91, CaGM86] o othe calculi [Hunt86, BoPS92]. In contast to these pojects, the stating{point of the appoach pesented in this pape is not a given HDL. Instead, a simple functional language called pimitive ML (PML) is built on top of the logic such that its semantics is given ight away. PML will be the basis fo hadwae desciptions. It can be egaded as a common sublanguage of HOL and ML (gue 1) its syntax is simila to ML and evey constuct has a HOL Fig. 1. Relation between HOL, ML and PML. PML coesponding epesentation in HOL. The embedding of PML has been done in a shallow manne [BGGH92]. Howeve, both PML{tems and the coesponding HOL{ tems ae simply typed {tems and thee ae only vey small syntactical dieences which could simply be ovecome by petty{pinting. Relational desciptions ae fequently used fo fomalizing cicuits, i.e. input and output signals need not be distinguished and signals can aect each othe in an abitay manne. Howeve, elational cicuit desciptions can be ambiguous o even contadictoy. In contast, cicuits ae descibed in PML in a functional manne, i.e. cicuits ae epesented by functions mapping input signals onto output signals. PML cannot be viewed as a hadwae desciption language such as VHDL, but as a geneal pupose pogamming language we use fo descibing hadwae. In contast to VHDL, PML has no hadwae specic syntactic elements such as signals, intefaces and timing declaations. PML pogammes can meely descibe pimitive ecusive and {ecusive functions and these functions can be egaded as a epesentation of the coesponding hadwae. In ou hadwae fomalization scheme, we will descibe two kinds of PML{functions: ones that epesent single eal cicuits and othes that descibe sets of eal cicuits. Functions epesenting exactly one eal cicuit ae called concete cicuits and functions descibing a set of eal cicuits ae called abstact cicuits. Abstact cicuits do not epesent eal cicuits, but coespond to a scheme fo descibing egula hadwae stuctues. Concete cicuits can be deived fom abstact cicuits by type instantiation and vaiable substitution. In this pape, only the fomalization of cicuits is descibed. PML can be viewed as a moe abstact laye fo MEPHISTO [KuSK93, ScKK93c]. The veication of desciptions using PML is achieved by conveting them into fomulae which can be handled by MEPHISTO. Afte having given a desciption of PML in section 2, concete and abstact cicuits ae fomalized in section 3 and 4, espectively. Finally, we biey discuss the use of PML in simulation and veication in section 5. ML

3 2 Syntax and Semantics of PML PML is a sublanguage of ML (gue 1). The syntax is simila, but thee ae less syntactical constucts fo example thee ae no exceptions and no side eects. Futhemoe, data types in PML coespond to HOL{style data types and theefoe they ae weake than ML data types [Gunt92]. Although PML has only a small numbe of basic elements, abitay {ecusive functions can be expessed by PML functions, i.e. PML is Tuing{complete. 2.1 Data Types and Pimitive Recusion In PML only HOL{style data types ae allowed. Fo a detailed explanation of data types in HOL and the mechanism fo dening them see [Melh88]. The syntax of a PML data type declaation is as follows: pimitive_datatype sting ; The paamete sting denes the data type by giving the name of the type, the names of the constuctos and the types of thei aguments. The syntax is the same as in the HOL function dene type, e.g. pimitive_datatype " bool = T F " ; pimitive_datatype " num = Zeo Suc of num " ; The semantics of HOL{style data types is descibed by a theoem which states that the pimitive ecusion ove this type is unambiguous. In HOL, this theoem is deived wheneve a new data type is intoduced by dene type. A data type declaation in PML also intoduces a basic function named PRIMREC type, which is geneated automatically. PRIMREC type is deived fom the semantics of the data type and it can be used fo expessing pimitive ecusion ove that data type. Fo example, the data types num and bool lead to the functions PRIMREC bool and PRIMREC num, espectively. They have the following semantics: PRIMREC bool T a b = a PRIMREC bool F a b = b PRIMREC num Zeo a f = a PRIMREC num (Suc n) a f = f n (PRIMREC num n a f) Abitay pimitive ecusive functions can be expessed by constant denitions based on PRIMREC{functions. 2.2 Deived Functions As in ML, functions and constants can be added by the language constucts fun and val, espectively. Howeve, function and constant denitions in PML both coespond to constant denitions in HOL. Theefoe, function and constant denitions of PML ae less poweful than those in ML. The estictions ae: { Thee must be only one equation within a fun o val denition, e.g. fun is zeo 0 = T j is zeo(suc n) = F; is not a valid PML denition.

4 { The paametes on the left hand side of the equation may only be vaiables and paied vaiables, e.g. val (Suc n) = y; is not allowed. { The expessions on the ight hand side ae built up by function applications (f a) and {abstactions (fn x => a). The only basic functions ae PRIMREC{ functions and WHILE (WHILE will be intoduced late in section 2.5). { The function being dened must not appea on the ight hand side of the equation, e.g. fun odd n = PRIMREC num n F (fn a => fn b => not(odd a)); is not a valid PML denition. Recusion can always be expessed by equivalent denitions which use PRIMREC{functions and WHILE. { Thee is no exception handling. { (case : : : of : : :) has not yet been implemented. 2.3 Pedened Data Types Some data types ae aleady dened in ode to suppot petty{pinting fo them. Fo example, it is possible to wite 2 instead of Suc(Suc Zeo). Howeve, thee is no petty{pinting fo use dened types. The pedened data types ae: 3 pimitive_datatype " bool = T F " ; pimitive_datatype " pod = Comma of 'a # 'b " ; pimitive_datatype " list = Nil Cons of 'a # list " ; pimitive_datatype " num = Zeo Suc of num " ; The following syntactic suga efes to the pedened types. They can all be put down to expessions based on data type constuctos and PRIMREC{functions. { (a; b) may be used instead of (Comma a b) { (fn (x; y) => p[x; y]) may be used instead of (fn z => PRIMREC pod z (fn x => fn y => p[x; y])) { (let val x = p in q[x] end) may be used instead of ((fn x => q[x]) p). { numeals 0, 1, 2,: : : may be used instead of Zeo; (Suc Zeo); (Suc(Suc Zeo)); : : : { [ ], [a], [a; b],: : : may be used instead of Nil, (Cons a Nil), (Cons a (Cons b Nil)),: : : 2.4 Example We illustate the use of the language constucts by a tac light contolle. Fist, a new data type named state is dened, which epesents the states of the tac light. pimitive_datatype " state = Geen Yellow Red " ; This type declaation automatically intoduces the function PRIMREC state with the following semantics: PRIMREC state Geen a b c = a PRIMREC state Yellow a b c = b PRIMREC state Red a b c = c 3 In PML, type vaiables ae expessed by 'a, 'b, 'c, etc. wheeas the coesponding type vaiables in HOL ae expessed by,,, etc. It should be noted that the polymophism in PML coesponds to that of HOL only.

5 A constant named init containing the initial state Red can be dened as: val init = Red; The function next takes a state as paamete and calculates the successo state. In this simple tac light contolle, the state changes fom ed diectly to geen, but changes fom geen to ed via yellow. fun next x = PRIMREC_state x Yellow Red Geen; Figue 2 shows the entie pogamme and the coesponding HOL{fomula descibing its semantics. PML{Pogam Semantics pimitive datatype "state = Geen Yellow Red"; val init = Red; fun next x = PRIMREC state x Yellow Red Geen; (8a b c: 9 1g: (g Geen = a) ^ (g Yellow = b) ^ (g Red = c) ) ^ (8a b c: (PRIMREC state Geen a b c = a) ^ (PRIMREC state Yellow a b c = b) ^ (PRIMREC state Red a b c = c) ) ^ (init = Red) ^ (8x: next x = PRIMREC state x Yellow Red Geen ) Fig. 2. Tac light pogamme. 2.5 {Recusion Accoding to Chuch's Thesis, thee ae seveal equivalent schemes fo descibing computable functions. {ecusive functions ae one means fo descibing computable functions. With the elements descibed until now, only pimitive ecusive functions can be descibed, while {ecusive functions cannot. Pimitive ecusive functions ae sucient fo descibing hadwae implementations, but they ae too weak fo fomalizing algoithmic specications. Pevious wok such as the appoaches followed by the Boye{Mooe community, ae limited to pimitive ecusive specications that cannot expess all kinds of algoithms. Unlike pimitive ecusive functions, {ecusive functions need not be total. In ML it is possible that the evaluation of a function application does not teminate. The equations of an ML function denition can be consideed as a constant specication in HOL whee the specied function need not be descibed unambiguously, i.e. nothing can be said about the value of a function application whee the evaluation does not teminate. In contast to ML, the esult of a PML function always has an explicitly dened value, even if the function application does not teminate. In this case, the value of the function is explicitly dened to be the constant Undened, othewise the esult is (Dened y) fo a cetain y. The data type patial is used fo descibing values of {ecusive functions:

6 pimitive_datatype " patial = Defined of 'a Undefined " ; The coesponding function PRIMREC patial has the following semantics: PRIMREC patial (Dened x) f a = f x PRIMREC patial Undened f a = a The function WHILE is the basis fo {ecusion in PML and can be used to ceate loops. Given functions f and g and a paamete x, it iteates f until a value x is eached with g x = F. ` iota f = PRIMREC bool (9 1 f) (Dened(" f)) Undened ` teminates(f; n) = (f n) ^ (8m: m < n ) :(f m)) ` mu f = iota(m: teminates(f; m)) ` powe f n x = PRIMREC num n (Dened x) (a b: PRIMREC patial b f Undened) ` WHILE g f x = PRIMREC patial (mu(n: PRIMREC patial (powe f n x) (y: PRIMREC bool (g y) F T) F)) (n: powe f n x) Undened The semantics of WHILE is descibed using fou auxiliay constants: iota, teminates, mu and powe. The function iota esembles the Hilbet opeato. But in contast to the Hilbet opeato its value is (Dened y) in case the pedicate species a unique value and Undened if it does not. The pedicate teminates(f; n) states that n is the smallest numbe such that (f n) becomes tue. mu is a fomalization of the {opeato whee mu f = Undened coesponds to (f)" 4 and mu f = Dened k coesponds to (f) = k. The function powe computes the multiple application of a function, i.e. (powe f n x) computes f n (x). The expession (WHILE g f x) calculates f (n:g(fn (x))=f) (x) Example The tac light example of section 2.4 is extended by a {ecusive function ed time. ed time is calculating the next time when the tac light becomes ed. The tac light is descibed by a function f num!state, that is assigning a state to evey time. Fo a given function f num!state and a time t num, the function ed time calculates the smallest n t with f n = Red. Figue 3 shows an implementation in PML in compaison with an implementation in ML. The implementations in PML and ML ae not eally equivalent, since thei types die. In PML the esult of ed time has the type (num patial) wheeas in ML it is num. 4 (f) is the smallest element of ff(x) = Tjx2Ng and (f)" denotes that ff(x) = Tjx2Ng is empty. 5 Extending pimitive ecusive functions by WHILE is equivalent to the extension by the {opeato, i.e. both extensions lead to computable functions. Howeve, WHILE{ expessions can be evaluated moe eciently by an intepete than expessions using the {opeato.

7 PML{Implementation fun is not ed x = PRIMREC state x T T F; fun ed time f t = WHILE (fn n => is not ed(f n)) (fn n => Defined(Suc n)) t; ML{Implementation fun ed time f t = if ((f t) = Red) then t else (ed time f (Suc t)); Fig. 3. Implementations of ed time. 3 Concete Cicuits The functions descibed in this section ae called concete cicuits since each of them coesponds to exactly one eal cicuit. A concete cicuit is epesented by a function that assigns an input signal onto an output signal. Hadwae stuctues ae build up by function denitions. Expessing a stuctue by a function denition is possible, if and only if the stuctue does not have cycles. Since stuctues of sequential cicuits essentially have cycles, sequential cicuits ae epesented by a tiple consisting of a combinational tansient cicuit, a combinational output cicuit and an initial state. Instead of combining sequential cicuits diectly, thei tansient cicuits, output cicuits and initial states ae combined. 3.1 Combinational Cicuits Individual signals of combinational cicuits have type bool. Othe than individual signals can be obtained by paiing individual signals. Combinational cicuits ae epesented by functions assigning an input signal to an output signal. Figue 4 shows a 1{bit fulladde implemented by the cicuits and, o and xo. cin a b xo and w1 w2 xo and w3 o sum cout Fig. 4. Stuctue of a 1{bit fulladde and the PML epesentation. fun fulladde (cin,(a,b)) = let val w1 = xo(a,b) in let val w2 = and(b,a) in let val sum = xo(cin,w1) in let val w3 = and(cin,w1) in let val cout = o(w3,w2) in (sum,cout) end end end end end; 3.2 Sequential Cicuits The signals of sequential cicuits ae time dependent. Thei type is num! whee the type num epesents the discete time and is the type of a time independent

8 signal. Sequential cicuits map time dependent input signals onto time dependent output signals, thus they have the following type: (num! )! (num! ). The desciption style used fo combinational cicuits does not allow cycles which ae necessay fo sequential cicuits. In ode to use this scheme also fo sequential cicuits, we dene a sequential cicuit by a tiple (f; g; q) consisting of a combinational tansient cicuit f, a combinational output cicuit g and an initial state q. Thus, sequential stuctues can be expessed by inteconnecting combinational cicuits. Since stuctues of Mealy machines might lead to zeo{delay{cycles, in this pape only Mooe cicuits will be consideed (see gue 5). f memoy g Fig. 5. Scheme of a Mooe cicuit. A function named makeseq is intoduced, which computes a sequential cicuit fo a given tiple (f; g; q). makeseq can be dened by the equations below. The function denition given by these equations does not have the fom of a PML function denition. It can athe be egaded as a ML{style function denition o a constant specication in HOL. These equations descibe the desied popeties of the intended PML function in a cleae manne. makeseq (f; g; q) a 0 = f q makeseq (f; g; q) a (Suc t) = makeseq (f; g; g(a t; q)) (t: a(suc t)) t The coesponding implementation in PML: fun makeseq (f,g,q) a t = f (PRIMREC_num t q (fn n => fn => g(a n,))); It shall be demonstated, how stuctues of sequential cicuits can be descibed in PML by function denitions. Figue 6 shows an example fo a stuctue consisting x y A C w1 B w3 w4 w2 z fun fd (qa,qb,qc) = let val (z,w2) = (fb qb) in z end; fun gd ((x,y),(qa,qb,qc)) = let val (w1,(z,w2),(w3,w4)) = (fa qa,fb qb,fc qc) in (ga(x,w4),gb(w1,w3),gc(w2,y)) end; val qd = (qa,qb,qc); Fig. 6. Stuctue of a sequential cicuit and the PML epesentation. of thee sequential cicuits A, B and C. The cicuits A, B and C ae epesented by (fa; ga; qa), (fb; gb; qb) and (fc; gc; qc). The entie cicuit is called D and its tiple (fd; gd; qd) can diectly be extacted fom the stuctue.

9 4 Abstact Cicuits In the pevious section, functions wee used fo descibing single eal cicuits. In contast to concete cicuits, abstact cicuits epesent sets of (concete) cicuits and ae theefoe moe poweful than concete cicuits. Simila to concete cicuits, abstact cicuits can also be epesented by PML{functions. Abstact cicuits can be polymophic and allow paametes which have types that ae not esticted to pais (e.g. lists and tees may be used fo instance). Concete cicuits can be obtained fom abstact cicuits by type instantiation and vaiable substitution. The function is an example fo an abstact cicuit: fun ((s:bool),(a:'a),(b:'a)) = PRIMREC_bool s b a; Concete cicuits can be deived fom by instantiating the type vaiable ( is expessed by 'a within the PML syntax). Figue 7 shows two instances of. bool = bool 1 P PPPq = bool*bool bool bool bool bool*bool bool*bool bool bool*bool Fig. 7. Instances of a polymophic 2:1{multiplexe. Abstact cicuits ae used fo fomalizing egula hadwae stuctues which can be expessed by means of pimitive ecusion. In geneal, f egula cicuit stuctues lead to egula signal stuctues. If fo example, a stuctue is descibed, that consists of n combinational cicuits connected in paallel, f then it would be appopiate to use the type list fo. gouping togethe the input and the output signals. The stuctue of the input signal detemines the stuctue of the cicuit and the stuctue of the output signal. f Gouping signals togethe by ecusive types such as list Fig. 8.: Regula cicuit. is exible, since the stuctue of the signals and especially the numbe of the individual signals depends on the value. Othe types than list can be used fo gouping signals. In the next example, signals ae gouped togethe by a list and a binay tee. pimitive_datatype "list = Nil Cons of 'a # list"; pimitive_datatype "btee = Bleaf of 'a Bnode of btee # btee"; The semantics of the coesponding PRIMREC{functions is: PRIMREC list Nil a f = a PRIMREC list (Cons x y) a f = f x y (PRIMREC list y a f) PRIMREC btee (Bleaf x) f g = f x PRIMREC btee (Bnode x y) f g = g x y (PRIMREC btee x f g) (PRIMREC btee y f g)

10 The input of the 2 n :1{multiplexe consists of a goup of data inputs and an addess signal fo selecting one of the data inputs. The data input signals have an abitay type and they ae gouped togethe as ( btee). The addess signals ae epesented by a list of booleans (see gue 8). 8 >< btee >: bool list z } {.... Fig n :1{multiplexe. The stuctue of the 2 n :1{multiplexe depends on the stuctue of the input signals (i.e. it depends on the length of the boolean list) and it also depends on the shape of the binay tee. The PML function epesenting the 2 n :1{multiplexe function is total and so the 2 n :1{multiplexe has to be designed fo abitay lists and abitay binay tees, even though afte instantiation the binay tee has a constant depth which is equal to the length of the list. Figue 10 illustates, how the the stuctue of the 2 n :1{multiplexe b is de- ned. Fo a given stuctue of the input signals, a cicuit stuctue descibes how the 2 n :1{multiplexe can ecusively be put down to othe 2 n :1{multiplexes having `smalle' input stuctues in the sense of a canonical tem{odeing. The following equations give a fomal denition of the desciption in gue 10. The equations coespond to the cicuit stuctues of the gue in a one{to{one manne. b(x; Bleaf a) = a b(nil; Bnode b c) = b(nil; b) b(cons h t; Bnode b c) = (h; b(t; b); b(t; c)) Obviously b is a pimitive ecusive function, but these equations cannot diectly be used fo the PML implementation. To implement b in PML, the denition has to be tansfomed: the intelocking pimitive ecusions ove list and btee have to be boken up: b(x; Bleaf a) = a b(nil; Bnode b c) = b(nil; b) b(cons h t; Bnode b c) = (h; b(t; b); b(t; c)) +

11 x y b z x a Q y = Bleaf QQ a y = Bnode b c Q QQs + z Q x = Nil QQ x = Cons h t Q + Qs Nil h t b c b z b c b b z Fig. 10. Recusive desciption of the stuctue of the 2 n :1{multiplexe. b(nil; Bleaf a) = a b(nil; Bnode b c) = b(nil; b) b(cons h t; Bleaf a) = a b(cons h t; Bnode b c) = (h; b(t; b); b(t; c)) + b(nil; y) = PRIMREC btee y ( a: a) ( a b v w: v) b(cons h t; y) = PRIMREC btee y ( a: a) ( a b v w: (h; b(t; v); b(t; w)) + b(x; y) = PRIMREC list x ( s: PRIMREC btee s ( a: a) ( a b v w: v)) ( h t s: PRIMREC btee s ( a: a) ( b c v w: (h; b; c)) ) y The coesponding implementation in PML is: fun b (x,(y:'a btee)) = PRIMREC_list x (fn s => PRIMREC_btee s (fn a => a) (fn a => fn b => fn v => fn w => v) ) (fn h => fn t => fn => fn s => PRIMREC_btee s (fn a => a)

12 y; (fn b => fn c => fn v => fn w => (h, b, c)) ) Up to now, meely egula stuctues of combinational cicuits wee consideed. Regula stuctues of sequential cicuits can also be descibed since sequential cicuits can be put down to combinational cicuits. Figue 11 shows a egula stuctue Fig. 11. A seies of Mooe cicuits. A A A {z } n+1 based on a Mooe cicuit called A. The function seies has been implemented in PML. It takes A and n as paametes and calculates the entie cicuit as shown in gue 11. Both the paamete A and the esult of the function application ae Mooe cicuits that ae epesented by the tiple as descibed in the pevious section. 5 Simulation and Veication 5.1 An Intepete fo PML PML pogammes can simply be executed by a ML intepete, howeve, the ML envionment has to be extended by some functions and data types. The type declaation constuct pimitive datatype has to be implemented as a ML{function, the pedened data types of PML have to be declaed and the function WHILE has to be implemented. As all PML pogammes ae also ML pogammes and the extended ML intepete still accepts ML pogammes, it is not tested whethe the input is a PML pogamme o moe geneal, a ML pogamme. 5.2 Simulation Tools Some geneal tools fo simulating cicuits have been implemented in the extended ML intepete. These tools ae not PML functions, but they take PML functions which descibe cicuits as aguments. Moeove, they display values of output signals duing the simulation of combinational and sequential cicuits. Fo this eason, output functions called type to sting have been implemented fo all pedened data types. These output functions convet a value of a cetain PML type to a sting. When a new data type is added, a coesponding output function should also be implemented. Output functions ae used as paametes of the following simulation tools. A function called function table has been implemented fo combinational cicuits fo pefoming the simulation and displaying the esults as a table. Sequential cicuits that ae epesented by tiples (f; g; q) could be simulated using the function makeseq. Howeve, if the output is consideed ove a peiod, the use of make seq would be vey inecient because fo evey single output, the

13 calculation would stat fom the beginning. The simulation function fo sequential cicuits that has been implemented does not have this disadvantage. The cicuit is simulated only once until the last point of time of the consideed peiod is eached. The paametes fo a sequential simulation ae: the cicuit epesented by (f; g; q), a time dependent input signal, a condition fo teminating the simulation and an output function fo conveting the cicuits output to a sting. 5.3 Veication A function called extend theoy by pml is implemented fo conveting a PML pogamme to HOL. Some tools ae povided fo easoning about PML functions. They ae concened with: extending constant abbeviations, evaluation and induction. Fo concete cicuits and some classes of abstact cicuits, a moe diect appoach fo veication is used. The PML{tems can be conveted into cetain fomulae, called hadwae{fomulae [ScKK93c], which can be automatically veied within the MEPHISTO system [KuSK93] (see gue 12). Thus PML desciptions can also be used as a font{end specication language within this veication famewok. fun fulladde (cin,(a,b)) = let val w1 = xo(a,b) in let val w2 = and(b,a) in let val sum = xo(cin,w1) in let val w3 = and(cin,w1) in let val cout = o(w3,w2) in (sum,cout) end end end end end;! 8cin a b sum cout: fulladde(cin; a; b; sum; cout), 9w1 w2 w3: xo(a; b; w1) ^ and(b; a; w2) ^ xo(cin; w1; sum) ^ and(cin; w1; w3) ^ o(w3; w2; cout) Fig. 12. Conveting PML cicuit desciptions to hadwae{fomulae. 6 Conclusion and Futue Wok We have pesented a geneal pupose pogamming language that is fomally embedded in highe{ode logic and we have also demonstated, how this language can be used fo fomalizing both combinational and sequential cicuits. The main emphasis has been put on demonstating how egulaity can be expessed by means of pimitive ecusion. PML is a vey simple language and witing PML pogammes can be athe tough since all function denitions have to be boken up to the pimitive ecusion and {ecusion constucts. It is intended to impove the applicability of PML by adding a moe comfotable ML{style mechanism fo expessing ecusive functions. In futue eseach it shall be analyzed, how PML desciptions of cicuits can be used fo hadwae design. PML desciptions shall be used in seveal elds: veication, simulation, symbolic simulation, synthesis and optimization (HDL{to{HDL tansfomations).

14 Refeences [BGGH92] R. Boulton, A. Godon, M. Godon, J. Hebet, and J. van Tassel. Expeiences with Embedding hadwae desciption languages in HOL. In V. Stavidou, T.F. Melham, and R. Boute, editos, Confeence on Theoem Poves in Cicuit Design, IFIP Tansactions A-10, pages 129{156. Noth-Holland, [BGHT91] R. Boulton, M. Godon, J. Hebet, and J. van Tassel. The HOL veication of ELLA designs. In Intenational Wokshop on Fomal Methods in VLSI Design, Januay [BoPS92] D. Boione, L. Piee, and A. Salem. Fomal veication of VHDL desciptions in Boye-Mooe: Fist esults. In J. Memet, edito, VDHL fo Simulation, Synthesis and Fomal Poofs of Hadwae, pages 227{243. Kluwe Academic Pess, [CaGM86] A. Camillei, M.J.C. Godon, and Th. Melham. Hadwae veication using highe ode logic. In D. Boione, edito, Fom HDL Desciptions to Guaanteed Coect Cicuit Designs, pages 41{66. Noth-Holland, [Cami88] J. Camillei. Executing behavioual denitions in highe ode logic. Technical Repot 140, Univesity of Cambidge Compute Laboatoy, [Cami91] J. Camillei. Symbolic compilation and execution of pogams by poof: a case study in HOL. Technical Repot 240, Univesity of Cambidge Compute Laboatoy, [Gunt92] E. Gunte. Why we can't have SML-style datatype declaations in HOL. In L.J.M. Claesen and M.J.C. Godon, editos, Highe Ode Logic Theoem Poving and its Applications, volume A-20 of IFIP Tansactions, pages 561{568, Leuven, Belgium, Noth-Holland. [Hunt86] W.A. Hunt. The mechanical veication of a micopocesso design. In D. Boione, edito, Fom HDL Desciptions to Guaanteed Coect Cicuit Designs, pages 89{132. Noth-Holland, [Jone87] S.L.P. Jones. The Implementation of Functional Pogamming Languages. Pentice Hall, [KuSK93] R. Kuma, K. Schneide, and Th. Kopf. Stuctuing and automating hadwae poofs in a highe-ode theoem-poving envionment. Jounal of Fomal Methods in System Design, 2(2):165{223, [Melh88] T. F. Melham. Automating ecusive type denitions in highe ode logic. Technical Repot 146, Univesity of Cambidge Compute Laboatoy, Septembe [ScKK93c] K. Schneide, R. Kuma, and Th. Kopf. Eliminating highe-ode quanitifes to obtain decision pocedues fo hadwae veication. In Intenational Wokshop on Highe-Ode Logic Theoem Poving and its Applications, Vancouve, Canada, August [Shee88] M. Sheean. Retiming and slowdown in Ruby. In G.J. Milne, edito, The fusion of Hadwae Design and Veication, pages 289{308, Glasgow, Noth Holland. This aticle was pocessed using the LaT E X maco package with LLNCS style

Compiler-based Implementation of. Katia Gladitz. Lehrstuhl fur Informatik II, RWTH Aachen. Ahornstrae 55, W{5100 Aachen, Germany

Compiler-based Implementation of. Katia Gladitz. Lehrstuhl fur Informatik II, RWTH Aachen. Ahornstrae 55, W{5100 Aachen, Germany Compile-based Implementation of Syntax-Diected Functional Pogamming Katia Gladitz ehstuhl fu Infomatik II, RWTH Aachen Ahonstae 55, W{5100 Aachen, Gemany Heinz Fabende and Heiko Vogle Abt. Theoetische

More information

Also available at ISSN (printed edn.), ISSN (electronic edn.) ARS MATHEMATICA CONTEMPORANEA 3 (2010)

Also available at  ISSN (printed edn.), ISSN (electronic edn.) ARS MATHEMATICA CONTEMPORANEA 3 (2010) Also available at http://amc.imfm.si ISSN 1855-3966 (pinted edn.), ISSN 1855-3974 (electonic edn.) ARS MATHEMATICA CONTEMPORANEA 3 (2010) 109 120 Fulleene patches I Jack E. Gave Syacuse Univesity, Depatment

More information

Reader & ReaderT Monad (11A) Young Won Lim 8/20/18

Reader & ReaderT Monad (11A) Young Won Lim 8/20/18 Copyight (c) 2016-2018 Young W. Lim. Pemission is ganted to copy, distibute and/o modify this document unde the tems of the GNU Fee Documentation License, Vesion 1.2 o any late vesion published by the

More information

FACE VECTORS OF FLAG COMPLEXES

FACE VECTORS OF FLAG COMPLEXES FACE VECTORS OF FLAG COMPLEXES ANDY FROHMADER Abstact. A conjectue of Kalai and Eckhoff that the face vecto of an abitay flag complex is also the face vecto of some paticula balanced complex is veified.

More information

On the Conversion between Binary Code and Binary-Reflected Gray Code on Boolean Cubes

On the Conversion between Binary Code and Binary-Reflected Gray Code on Boolean Cubes On the Convesion between Binay Code and BinayReflected Gay Code on Boolean Cubes The Havad community has made this aticle openly available. Please shae how this access benefits you. You stoy mattes Citation

More information

RANDOM IRREGULAR BLOCK-HIERARCHICAL NETWORKS: ALGORITHMS FOR COMPUTATION OF MAIN PROPERTIES

RANDOM IRREGULAR BLOCK-HIERARCHICAL NETWORKS: ALGORITHMS FOR COMPUTATION OF MAIN PROPERTIES RANDOM IRREGULAR BLOCK-HIERARCHICAL NETWORKS: ALGORITHMS FOR COMPUTATION OF MAIN PROPERTIES Svetlana Avetisyan Mikayel Samvelyan* Matun Kaapetyan Yeevan State Univesity Abstact In this pape, the class

More information

Journal of World s Electrical Engineering and Technology J. World. Elect. Eng. Tech. 1(1): 12-16, 2012

Journal of World s Electrical Engineering and Technology J. World. Elect. Eng. Tech. 1(1): 12-16, 2012 2011, Scienceline Publication www.science-line.com Jounal of Wold s Electical Engineeing and Technology J. Wold. Elect. Eng. Tech. 1(1): 12-16, 2012 JWEET An Efficient Algoithm fo Lip Segmentation in Colo

More information

XFVHDL: A Tool for the Synthesis of Fuzzy Logic Controllers

XFVHDL: A Tool for the Synthesis of Fuzzy Logic Controllers XFVHDL: A Tool fo the Synthesis of Fuzzy Logic Contolles E. Lago, C. J. Jiménez, D. R. López, S. Sánchez-Solano and A. Baiga Instituto de Micoelectónica de Sevilla. Cento Nacional de Micoelectónica, Edificio

More information

POMDP: Introduction to Partially Observable Markov Decision Processes Hossein Kamalzadeh, Michael Hahsler

POMDP: Introduction to Partially Observable Markov Decision Processes Hossein Kamalzadeh, Michael Hahsler POMDP: Intoduction to Patially Obsevable Makov Decision Pocesses Hossein Kamalzadeh, Michael Hahsle 2019-01-02 The R package pomdp povides an inteface to pomdp-solve, a solve (witten in C) fo Patially

More information

A Shape-preserving Affine Takagi-Sugeno Model Based on a Piecewise Constant Nonuniform Fuzzification Transform

A Shape-preserving Affine Takagi-Sugeno Model Based on a Piecewise Constant Nonuniform Fuzzification Transform A Shape-peseving Affine Takagi-Sugeno Model Based on a Piecewise Constant Nonunifom Fuzzification Tansfom Felipe Fenández, Julio Gutiéez, Juan Calos Cespo and Gacián Tiviño Dep. Tecnología Fotónica, Facultad

More information

Embeddings into Crossed Cubes

Embeddings into Crossed Cubes Embeddings into Cossed Cubes Emad Abuelub *, Membe, IAENG Abstact- The hypecube paallel achitectue is one of the most popula inteconnection netwoks due to many of its attactive popeties and its suitability

More information

Improvement of First-order Takagi-Sugeno Models Using Local Uniform B-splines 1

Improvement of First-order Takagi-Sugeno Models Using Local Uniform B-splines 1 Impovement of Fist-ode Takagi-Sugeno Models Using Local Unifom B-splines Felipe Fenández, Julio Gutiéez, Gacián Tiviño and Juan Calos Cespo Dep. Tecnología Fotónica, Facultad de Infomática Univesidad Politécnica

More information

Reachable State Spaces of Distributed Deadlock Avoidance Protocols

Reachable State Spaces of Distributed Deadlock Avoidance Protocols Reachable State Spaces of Distibuted Deadlock Avoidance Potocols CÉSAR SÁNCHEZ and HENNY B. SIPMA Stanfod Univesity We pesent a family of efficient distibuted deadlock avoidance algoithms with applications

More information

Point-Biserial Correlation Analysis of Fuzzy Attributes

Point-Biserial Correlation Analysis of Fuzzy Attributes Appl Math Inf Sci 6 No S pp 439S-444S (0 Applied Mathematics & Infomation Sciences An Intenational Jounal @ 0 NSP Natual Sciences Publishing o Point-iseial oelation Analysis of Fuzzy Attibutes Hao-En hueh

More information

Shortest Paths for a Two-Robot Rendez-Vous

Shortest Paths for a Two-Robot Rendez-Vous Shotest Paths fo a Two-Robot Rendez-Vous Eik L Wyntes Joseph S B Mitchell y Abstact In this pape, we conside an optimal motion planning poblem fo a pai of point obots in a plana envionment with polygonal

More information

Transmission Lines Modeling Based on Vector Fitting Algorithm and RLC Active/Passive Filter Design

Transmission Lines Modeling Based on Vector Fitting Algorithm and RLC Active/Passive Filter Design Tansmission Lines Modeling Based on Vecto Fitting Algoithm and RLC Active/Passive Filte Design Ahmed Qasim Tuki a,*, Nashien Fazilah Mailah b, Mohammad Lutfi Othman c, Ahmad H. Saby d Cente fo Advanced

More information

DEADLOCK AVOIDANCE IN BATCH PROCESSES. M. Tittus K. Åkesson

DEADLOCK AVOIDANCE IN BATCH PROCESSES. M. Tittus K. Åkesson DEADLOCK AVOIDANCE IN BATCH PROCESSES M. Tittus K. Åkesson Univesity College Boås, Sweden, e-mail: Michael.Tittus@hb.se Chalmes Univesity of Technology, Gothenbug, Sweden, e-mail: ka@s2.chalmes.se Abstact:

More information

(a, b) x y r. For this problem, is a point in the - coordinate plane and is a positive number.

(a, b) x y r. For this problem, is a point in the - coordinate plane and is a positive number. Illustative G-C Simila cicles Alignments to Content Standads: G-C.A. Task (a, b) x y Fo this poblem, is a point in the - coodinate plane and is a positive numbe. a. Using a tanslation and a dilation, show

More information

Assessment of Track Sequence Optimization based on Recorded Field Operations

Assessment of Track Sequence Optimization based on Recorded Field Operations Assessment of Tack Sequence Optimization based on Recoded Field Opeations Matin A. F. Jensen 1,2,*, Claus G. Søensen 1, Dionysis Bochtis 1 1 Aahus Univesity, Faculty of Science and Technology, Depatment

More information

Approaches to Automatic Programming

Approaches to Automatic Programming MITSUBISHI ELECTRIC RESEARCH LABORATORIES http://www.mel.com Appoaches to Automatic Pogamming Chales Rich, Richad C. Wates TR92-04 July 1992 Abstact This pape is an oveview of cuent appoaches to automatic

More information

Desired Attitude Angles Design Based on Optimization for Side Window Detection of Kinetic Interceptor *

Desired Attitude Angles Design Based on Optimization for Side Window Detection of Kinetic Interceptor * Poceedings of the 7 th Chinese Contol Confeence July 6-8, 008, Kunming,Yunnan, China Desied Attitude Angles Design Based on Optimization fo Side Window Detection of Kinetic Intecepto * Zhu Bo, Quan Quan,

More information

A Family of Distributed Deadlock Avoidance Protocols and their Reachable State Spaces

A Family of Distributed Deadlock Avoidance Protocols and their Reachable State Spaces A Family of Distibuted Deadlock Avoidance Potocols and thei Reachable State Spaces Césa Sánchez, Henny B. Sipma, and Zoha Manna Compute Science Depatment Stanfod Univesity, Stanfod, CA 94305-9025 {cesa,sipma,manna}@cs.stanfod.edu

More information

IP Network Design by Modified Branch Exchange Method

IP Network Design by Modified Branch Exchange Method Received: June 7, 207 98 IP Netwok Design by Modified Banch Method Kaiat Jaoenat Natchamol Sichumoenattana 2* Faculty of Engineeing at Kamphaeng Saen, Kasetsat Univesity, Thailand 2 Faculty of Management

More information

A Memory Efficient Array Architecture for Real-Time Motion Estimation

A Memory Efficient Array Architecture for Real-Time Motion Estimation A Memoy Efficient Aay Achitectue fo Real-Time Motion Estimation Vasily G. Moshnyaga and Keikichi Tamau Depatment of Electonics & Communication, Kyoto Univesity Sakyo-ku, Yoshida-Honmachi, Kyoto 66-1, JAPAN

More information

Functional Dependencies in OWL ABoxes

Functional Dependencies in OWL ABoxes Functional Dependencies in OWL ABoxes Jean-Paul Calbimonte, Fabio Poto, C. Maia Keet 3 École Polytechnique Fédéale de Lausanne (EPFL) Database Laboatoy - Switzeland jean-paul.calbimonte@epfl.ch National

More information

Gravitational Shift for Beginners

Gravitational Shift for Beginners Gavitational Shift fo Beginnes This pape, which I wote in 26, fomulates the equations fo gavitational shifts fom the elativistic famewok of special elativity. Fist I deive the fomulas fo the gavitational

More information

Cardiac C-Arm CT. SNR Enhancement by Combining Multiple Retrospectively Motion Corrected FDK-Like Reconstructions

Cardiac C-Arm CT. SNR Enhancement by Combining Multiple Retrospectively Motion Corrected FDK-Like Reconstructions Cadiac C-Am CT SNR Enhancement by Combining Multiple Retospectively Motion Coected FDK-Like Reconstuctions M. Pümme 1, L. Wigstöm 2,3, R. Fahig 2, G. Lauitsch 4, J. Honegge 1 1 Institute of Patten Recognition,

More information

Segmentation of Casting Defects in X-Ray Images Based on Fractal Dimension

Segmentation of Casting Defects in X-Ray Images Based on Fractal Dimension 17th Wold Confeence on Nondestuctive Testing, 25-28 Oct 2008, Shanghai, China Segmentation of Casting Defects in X-Ray Images Based on Factal Dimension Jue WANG 1, Xiaoqin HOU 2, Yufang CAI 3 ICT Reseach

More information

Detection and Recognition of Alert Traffic Signs

Detection and Recognition of Alert Traffic Signs Detection and Recognition of Alet Taffic Signs Chia-Hsiung Chen, Macus Chen, and Tianshi Gao 1 Stanfod Univesity Stanfod, CA 9305 {echchen, macuscc, tianshig}@stanfod.edu Abstact Taffic signs povide dives

More information

Lecture 8 Introduction to Pipelines Adapated from slides by David Patterson

Lecture 8 Introduction to Pipelines Adapated from slides by David Patterson Lectue 8 Intoduction to Pipelines Adapated fom slides by David Patteson http://www-inst.eecs.bekeley.edu/~cs61c/ * 1 Review (1/3) Datapath is the hadwae that pefoms opeations necessay to execute pogams.

More information

Lecture 27: Voronoi Diagrams

Lecture 27: Voronoi Diagrams We say that two points u, v Y ae in the same connected component of Y if thee is a path in R N fom u to v such that all the points along the path ae in the set Y. (Thee ae two connected components in the

More information

Query Language #1/3: Relational Algebra Pure, Procedural, and Set-oriented

Query Language #1/3: Relational Algebra Pure, Procedural, and Set-oriented Quey Language #1/3: Relational Algeba Pue, Pocedual, and Set-oiented To expess a quey, we use a set of opeations. Each opeation takes one o moe elations as input paamete (set-oiented). Since each opeation

More information

Positioning of a robot based on binocular vision for hand / foot fusion Long Han

Positioning of a robot based on binocular vision for hand / foot fusion Long Han 2nd Intenational Confeence on Advances in Mechanical Engineeing and Industial Infomatics (AMEII 26) Positioning of a obot based on binocula vision fo hand / foot fusion Long Han Compute Science and Technology,

More information

An Unsupervised Segmentation Framework For Texture Image Queries

An Unsupervised Segmentation Framework For Texture Image Queries An Unsupevised Segmentation Famewok Fo Textue Image Queies Shu-Ching Chen Distibuted Multimedia Infomation System Laboatoy School of Compute Science Floida Intenational Univesity Miami, FL 33199, USA chens@cs.fiu.edu

More information

The Java Virtual Machine. Compiler construction The structure of a frame. JVM stacks. Lecture 2

The Java Virtual Machine. Compiler construction The structure of a frame. JVM stacks. Lecture 2 Compile constuction 2009 Lectue 2 Code geneation 1: Geneating code The Java Vitual Machine Data types Pimitive types, including intege and floating-point types of vaious sizes and the boolean type. The

More information

a Not yet implemented in current version SPARK: Research Kit Pointer Analysis Parameters Soot Pointer analysis. Objectives

a Not yet implemented in current version SPARK: Research Kit Pointer Analysis Parameters Soot Pointer analysis. Objectives SPARK: Soot Reseach Kit Ondřej Lhoták Objectives Spak is a modula toolkit fo flow-insensitive may points-to analyses fo Java, which enables expeimentation with: vaious paametes of pointe analyses which

More information

Optical Flow for Large Motion Using Gradient Technique

Optical Flow for Large Motion Using Gradient Technique SERBIAN JOURNAL OF ELECTRICAL ENGINEERING Vol. 3, No. 1, June 2006, 103-113 Optical Flow fo Lage Motion Using Gadient Technique Md. Moshaof Hossain Sake 1, Kamal Bechkoum 2, K.K. Islam 1 Abstact: In this

More information

A New and Efficient 2D Collision Detection Method Based on Contact Theory Xiaolong CHENG, Jun XIAO a, Ying WANG, Qinghai MIAO, Jian XUE

A New and Efficient 2D Collision Detection Method Based on Contact Theory Xiaolong CHENG, Jun XIAO a, Ying WANG, Qinghai MIAO, Jian XUE 5th Intenational Confeence on Advanced Mateials and Compute Science (ICAMCS 2016) A New and Efficient 2D Collision Detection Method Based on Contact Theoy Xiaolong CHENG, Jun XIAO a, Ying WANG, Qinghai

More information

Multi-azimuth Prestack Time Migration for General Anisotropic, Weakly Heterogeneous Media - Field Data Examples

Multi-azimuth Prestack Time Migration for General Anisotropic, Weakly Heterogeneous Media - Field Data Examples Multi-azimuth Pestack Time Migation fo Geneal Anisotopic, Weakly Heteogeneous Media - Field Data Examples S. Beaumont* (EOST/PGS) & W. Söllne (PGS) SUMMARY Multi-azimuth data acquisition has shown benefits

More information

Input Layer f = 2 f = 0 f = f = 3 1,16 1,1 1,2 1,3 2, ,2 3,3 3,16. f = 1. f = Output Layer

Input Layer f = 2 f = 0 f = f = 3 1,16 1,1 1,2 1,3 2, ,2 3,3 3,16. f = 1. f = Output Layer Using the Gow-And-Pune Netwok to Solve Poblems of Lage Dimensionality B.J. Biedis and T.D. Gedeon School of Compute Science & Engineeing The Univesity of New South Wales Sydney NSW 2052 AUSTRALIA bbiedis@cse.unsw.edu.au

More information

Configuring RSVP-ATM QoS Interworking

Configuring RSVP-ATM QoS Interworking Configuing RSVP-ATM QoS Intewoking Last Updated: Januay 15, 2013 This chapte descibes the tasks fo configuing the RSVP-ATM QoS Intewoking featue, which povides suppot fo Contolled Load Sevice using RSVP

More information

Frequency Domain Approach for Face Recognition Using Optical Vanderlugt Filters

Frequency Domain Approach for Face Recognition Using Optical Vanderlugt Filters Optics and Photonics Jounal, 016, 6, 94-100 Published Online August 016 in SciRes. http://www.scip.og/jounal/opj http://dx.doi.og/10.436/opj.016.68b016 Fequency Domain Appoach fo Face Recognition Using

More information

Obstacle Avoidance of Autonomous Mobile Robot using Stereo Vision Sensor

Obstacle Avoidance of Autonomous Mobile Robot using Stereo Vision Sensor Obstacle Avoidance of Autonomous Mobile Robot using Steeo Vision Senso Masako Kumano Akihisa Ohya Shin ichi Yuta Intelligent Robot Laboatoy Univesity of Tsukuba, Ibaaki, 35-8573 Japan E-mail: {masako,

More information

And Ph.D. Candidate of Computer Science, University of Putra Malaysia 2 Faculty of Computer Science and Information Technology,

And Ph.D. Candidate of Computer Science, University of Putra Malaysia 2 Faculty of Computer Science and Information Technology, (IJCSIS) Intenational Jounal of Compute Science and Infomation Secuity, Efficient Candidacy Reduction Fo Fequent Patten Mining M.H Nadimi-Shahaki 1, Nowati Mustapha 2, Md Nasi B Sulaiman 2, Ali B Mamat

More information

Generalized Grey Target Decision Method Based on Decision Makers Indifference Attribute Value Preferences

Generalized Grey Target Decision Method Based on Decision Makers Indifference Attribute Value Preferences Ameican Jounal of ata ining and Knowledge iscovey 27; 2(4): 2-8 http://www.sciencepublishinggoup.com//admkd doi:.648/.admkd.2724.2 Genealized Gey Taget ecision ethod Based on ecision akes Indiffeence Attibute

More information

Towards Adaptive Information Merging Using Selected XML Fragments

Towards Adaptive Information Merging Using Selected XML Fragments Towads Adaptive Infomation Meging Using Selected XML Fagments Ho-Lam Lau and Wilfed Ng Depatment of Compute Science and Engineeing, The Hong Kong Univesity of Science and Technology, Hong Kong {lauhl,

More information

The International Conference in Knowledge Management (CIKM'94), Gaithersburg, MD, November 1994.

The International Conference in Knowledge Management (CIKM'94), Gaithersburg, MD, November 1994. The Intenational Confeence in Knowledge Management (CIKM'94), Gaithesbug, MD, Novembe 994. Hashing by Poximity to Pocess Duplicates in Spatial Databases Walid G. Aef Matsushita Infomation Technology Laboatoy

More information

On Error Estimation in Runge-Kutta Methods

On Error Estimation in Runge-Kutta Methods Leonado Jounal of Sciences ISSN 1583-0233 Issue 18, Januay-June 2011 p. 1-10 On Eo Estimation in Runge-Kutta Methods Ochoche ABRAHAM 1,*, Gbolahan BOLARIN 2 1 Depatment of Infomation Technology, 2 Depatment

More information

ART GALLERIES WITH INTERIOR WALLS. March 1998

ART GALLERIES WITH INTERIOR WALLS. March 1998 ART GALLERIES WITH INTERIOR WALLS Andé Kündgen Mach 1998 Abstact. Conside an at galley fomed by a polygon on n vetices with m pais of vetices joined by inteio diagonals, the inteio walls. Each inteio wall

More information

Automatically Testing Interacting Software Components

Automatically Testing Interacting Software Components Automatically Testing Inteacting Softwae Components Leonad Gallaghe Infomation Technology Laboatoy National Institute of Standads and Technology Gaithesbug, MD 20899, USA lgallaghe@nist.gov Jeff Offutt

More information

Conversion Functions for Symmetric Key Ciphers

Conversion Functions for Symmetric Key Ciphers Jounal of Infomation Assuance and Secuity 2 (2006) 41 50 Convesion Functions fo Symmetic Key Ciphes Deba L. Cook and Angelos D. Keomytis Depatment of Compute Science Columbia Univesity, mail code 0401

More information

Controlled Information Maximization for SOM Knowledge Induced Learning

Controlled Information Maximization for SOM Knowledge Induced Learning 3 Int'l Conf. Atificial Intelligence ICAI'5 Contolled Infomation Maximization fo SOM Knowledge Induced Leaning Ryotao Kamimua IT Education Cente and Gaduate School of Science and Technology, Tokai Univeisity

More information

Data mining based automated reverse engineering and defect discovery

Data mining based automated reverse engineering and defect discovery Data mining based automated evese engineeing and defect discovey James F. Smith III, ThanhVu H. Nguyen Naval Reseach Laboatoy, Code 5741, Washington, D.C., 20375-5000 ABSTRACT A data mining based pocedue

More information

IP Multicast Simulation in OPNET

IP Multicast Simulation in OPNET IP Multicast Simulation in OPNET Xin Wang, Chien-Ming Yu, Henning Schulzinne Paul A. Stipe Columbia Univesity Reutes Depatment of Compute Science 88 Pakway Dive South New Yok, New Yok Hauppuage, New Yok

More information

Annales UMCS Informatica AI 2 (2004) UMCS

Annales UMCS Informatica AI 2 (2004) UMCS Pobane z czasopisma Annales AI- Infomatica http://ai.annales.umcs.pl Annales Infomatica AI 2 (2004) 33-340 Annales Infomatica Lublin-Polonia Sectio AI http://www.annales.umcs.lublin.pl/ Embedding as a

More information

User Specified non-bonded potentials in gromacs

User Specified non-bonded potentials in gromacs Use Specified non-bonded potentials in gomacs Apil 8, 2010 1 Intoduction On fist appeaances gomacs, unlike MD codes like LAMMPS o DL POLY, appeas to have vey little flexibility with egads to the fom of

More information

Undecidability of Static Analysis. William Landi. Siemens Corporate Research Inc. 755 College Rd East.

Undecidability of Static Analysis. William Landi. Siemens Corporate Research Inc. 755 College Rd East. Undecidability of Static Analysis William Landi Siemens Copoate Reseach Inc 755 College Rd East Pinceton, NJ 08540 wlandi@sc.siemens.com Abstact Static Analysis of pogams is indispensable to any softwae

More information

Communication vs Distributed Computation: an alternative trade-off curve

Communication vs Distributed Computation: an alternative trade-off curve Communication vs Distibuted Computation: an altenative tade-off cuve Yahya H. Ezzeldin, Mohammed amoose, Chistina Fagouli Univesity of Califonia, Los Angeles, CA 90095, USA, Email: {yahya.ezzeldin, mkamoose,

More information

Simulation and Performance Evaluation of Network on Chip Architectures and Algorithms using CINSIM

Simulation and Performance Evaluation of Network on Chip Architectures and Algorithms using CINSIM J. Basic. Appl. Sci. Res., 1(10)1594-1602, 2011 2011, TextRoad Publication ISSN 2090-424X Jounal of Basic and Applied Scientific Reseach www.textoad.com Simulation and Pefomance Evaluation of Netwok on

More information

Slotted Random Access Protocol with Dynamic Transmission Probability Control in CDMA System

Slotted Random Access Protocol with Dynamic Transmission Probability Control in CDMA System Slotted Random Access Potocol with Dynamic Tansmission Pobability Contol in CDMA System Intaek Lim 1 1 Depatment of Embedded Softwae, Busan Univesity of Foeign Studies, itlim@bufs.ac.k Abstact In packet

More information

Image Enhancement in the Spatial Domain. Spatial Domain

Image Enhancement in the Spatial Domain. Spatial Domain 8-- Spatial Domain Image Enhancement in the Spatial Domain What is spatial domain The space whee all pixels fom an image In spatial domain we can epesent an image by f( whee x and y ae coodinates along

More information

A ROI Focusing Mechanism for Digital Cameras

A ROI Focusing Mechanism for Digital Cameras A ROI Focusing Mechanism fo Digital Cameas Chu-Hui Lee, Meng-Feng Lin, Chun-Ming Huang, and Chun-Wei Hsu Abstact With the development and application of digital technologies, the digital camea is moe popula

More information

ADDING REALISM TO SOURCE CHARACTERIZATION USING A GENETIC ALGORITHM

ADDING REALISM TO SOURCE CHARACTERIZATION USING A GENETIC ALGORITHM ADDING REALISM TO SOURCE CHARACTERIZATION USING A GENETIC ALGORITHM Luna M. Rodiguez*, Sue Ellen Haupt, and Geoge S. Young Depatment of Meteoology and Applied Reseach Laboatoy The Pennsylvania State Univesity,

More information

Module 6 STILL IMAGE COMPRESSION STANDARDS

Module 6 STILL IMAGE COMPRESSION STANDARDS Module 6 STILL IMAE COMPRESSION STANDARDS Lesson 17 JPE-2000 Achitectue and Featues Instuctional Objectives At the end of this lesson, the students should be able to: 1. State the shotcomings of JPE standad.

More information

= dv 3V (r + a 1) 3 r 3 f(r) = 1. = ( (r + r 2

= dv 3V (r + a 1) 3 r 3 f(r) = 1. = ( (r + r 2 Random Waypoint Model in n-dimensional Space Esa Hyytiä and Joma Vitamo Netwoking Laboatoy, Helsinki Univesity of Technology, Finland Abstact The andom waypoint model (RWP) is one of the most widely used

More information

A Mathematical Implementation of a Global Human Walking Model with Real-Time Kinematic Personification by Boulic, Thalmann and Thalmann.

A Mathematical Implementation of a Global Human Walking Model with Real-Time Kinematic Personification by Boulic, Thalmann and Thalmann. A Mathematical Implementation of a Global Human Walking Model with Real-Time Kinematic Pesonification by Boulic, Thalmann and Thalmann. Mashall Badley National Cente fo Physical Acoustics Univesity of

More information

Haptic Glove. Chan-Su Lee. Abstract. This is a final report for the DIMACS grant of student-initiated project. I implemented Boundary

Haptic Glove. Chan-Su Lee. Abstract. This is a final report for the DIMACS grant of student-initiated project. I implemented Boundary Physically Accuate Haptic Rendeing of Elastic Object fo a Haptic Glove Chan-Su Lee Abstact This is a final epot fo the DIMACS gant of student-initiated poject. I implemented Bounday Element Method(BEM)

More information

The Screen Control Language (SCl) in Version 6 SAS/Ar: and SAS/FSp Software Chris Bailey, Yao Chen SAS Institute Inc., Cary, NC

The Screen Control Language (SCl) in Version 6 SAS/Ar: and SAS/FSp Software Chris Bailey, Yao Chen SAS Institute Inc., Cary, NC The Sceen Contol Language (SCl) in Vesion 6 SAS/A: and SAS/FSp Softwae Chis Bailey, Yao Chen SAS Institute Inc., Cay, NC Abstact Explanations and examples povide the basis of this tutoial that explains

More information

ANALYTIC PERFORMANCE MODELS FOR SINGLE CLASS AND MULTIPLE CLASS MULTITHREADED SOFTWARE SERVERS

ANALYTIC PERFORMANCE MODELS FOR SINGLE CLASS AND MULTIPLE CLASS MULTITHREADED SOFTWARE SERVERS ANALYTIC PERFORMANCE MODELS FOR SINGLE CLASS AND MULTIPLE CLASS MULTITHREADED SOFTWARE SERVERS Daniel A Menascé Mohamed N Bennani Dept of Compute Science Oacle, Inc Geoge Mason Univesity 1211 SW Fifth

More information

Any modern computer system will incorporate (at least) two levels of storage:

Any modern computer system will incorporate (at least) two levels of storage: 1 Any moden compute system will incopoate (at least) two levels of stoage: pimay stoage: andom access memoy (RAM) typical capacity 32MB to 1GB cost pe MB $3. typical access time 5ns to 6ns bust tansfe

More information

Using Data Flow Diagrams for Supporting Task Models

Using Data Flow Diagrams for Supporting Task Models in Companion Poc. of 5 th Euogaphics Wokshop on Design, Specification, Veification of Inteactive Systems DSV-IS 98 (Abingdon, 3-5 June 1998), P. Makopoulos & P. Johnson (Eds.), Spinge-Velag, Belin, 1998.

More information

A VECTOR PERTURBATION APPROACH TO THE GENERALIZED AIRCRAFT SPARE PARTS GROUPING PROBLEM

A VECTOR PERTURBATION APPROACH TO THE GENERALIZED AIRCRAFT SPARE PARTS GROUPING PROBLEM Accepted fo publication Intenational Jounal of Flexible Automation and Integated Manufactuing. A VECTOR PERTURBATION APPROACH TO THE GENERALIZED AIRCRAFT SPARE PARTS GROUPING PROBLEM Nagiza F. Samatova,

More information

Color Correction Using 3D Multiview Geometry

Color Correction Using 3D Multiview Geometry Colo Coection Using 3D Multiview Geomety Dong-Won Shin and Yo-Sung Ho Gwangju Institute of Science and Technology (GIST) 13 Cheomdan-gwagio, Buk-ku, Gwangju 500-71, Republic of Koea ABSTRACT Recently,

More information

Efficient Execution Path Exploration for Detecting Races in Concurrent Programs

Efficient Execution Path Exploration for Detecting Races in Concurrent Programs IAENG Intenational Jounal of Compute Science, 403, IJCS_40_3_02 Efficient Execution Path Exploation fo Detecting Races in Concuent Pogams Theodous E. Setiadi, Akihiko Ohsuga, and Mamou Maekaa Abstact Concuent

More information

A Minutiae-based Fingerprint Matching Algorithm Using Phase Correlation

A Minutiae-based Fingerprint Matching Algorithm Using Phase Correlation A Minutiae-based Fingepint Matching Algoithm Using Phase Coelation Autho Chen, Weiping, Gao, Yongsheng Published 2007 Confeence Title Digital Image Computing: Techniques and Applications DOI https://doi.og/10.1109/dicta.2007.4426801

More information

A modal estimation based multitype sensor placement method

A modal estimation based multitype sensor placement method A modal estimation based multitype senso placement method *Xue-Yang Pei 1), Ting-Hua Yi 2) and Hong-Nan Li 3) 1),)2),3) School of Civil Engineeing, Dalian Univesity of Technology, Dalian 116023, China;

More information

A Recommender System for Online Personalization in the WUM Applications

A Recommender System for Online Personalization in the WUM Applications A Recommende System fo Online Pesonalization in the WUM Applications Mehdad Jalali 1, Nowati Mustapha 2, Ali Mamat 2, Md. Nasi B Sulaiman 2 Abstact foeseeing of use futue movements and intentions based

More information

Prof. Feng Liu. Fall /17/2016

Prof. Feng Liu. Fall /17/2016 Pof. Feng Liu Fall 26 http://www.cs.pdx.edu/~fliu/couses/cs447/ /7/26 Last time Compositing NPR 3D Gaphics Toolkits Tansfomations 2 Today 3D Tansfomations The Viewing Pipeline Mid-tem: in class, Nov. 2

More information

Pipes, connections, channels and multiplexors

Pipes, connections, channels and multiplexors Pipes, connections, channels and multiplexos Fancisco J. Ballesteos ABSTRACT Channels in the style of CSP ae a poeful abstaction. The ae close to pipes and connections used to inteconnect system and netok

More information

A Two-stage and Parameter-free Binarization Method for Degraded Document Images

A Two-stage and Parameter-free Binarization Method for Degraded Document Images A Two-stage and Paamete-fee Binaization Method fo Degaded Document Images Yung-Hsiang Chiu 1, Kuo-Liang Chung 1, Yong-Huai Huang 2, Wei-Ning Yang 3, Chi-Huang Liao 4 1 Depatment of Compute Science and

More information

zeo, i.e., each watchman emains stationay, and we have the at galley poblem. At the othe limit, if m = 1, we have the watchman oute poblem. Anothe con

zeo, i.e., each watchman emains stationay, and we have the at galley poblem. At the othe limit, if m = 1, we have the watchman oute poblem. Anothe con Optimum Guad Coves and m-watchmen Routes fo Resticted Polygons Svante Calsson y Bengt J. Nilsson yz Simeon Ntafos x Abstact A watchman, in the teminology of at galleies, is a mobile guad. We conside seveal

More information

Evaluation of Partial Path Queries on XML Data

Evaluation of Partial Path Queries on XML Data Evaluation of Patial Path Queies on XML Data Stefanos Souldatos Dept of EE & CE NTUA, Geece stef@dblab.ntua.g Theodoe Dalamagas Dept of EE & CE NTUA, Geece dalamag@dblab.ntua.g Xiaoying Wu Dept. of CS

More information

Extract Object Boundaries in Noisy Images using Level Set. Final Report

Extract Object Boundaries in Noisy Images using Level Set. Final Report Extact Object Boundaies in Noisy Images using Level Set by: Quming Zhou Final Repot Submitted to Pofesso Bian Evans EE381K Multidimensional Digital Signal Pocessing May 10, 003 Abstact Finding object contous

More information

The EigenRumor Algorithm for Ranking Blogs

The EigenRumor Algorithm for Ranking Blogs he EigenRumo Algoithm fo Ranking Blogs Ko Fujimua N Cybe Solutions Laboatoies N Copoation akafumi Inoue N Cybe Solutions Laboatoies N Copoation Masayuki Sugisaki N Resonant Inc. ABSRAC he advent of easy

More information

Adaptation of Motion Capture Data of Human Arms to a Humanoid Robot Using Optimization

Adaptation of Motion Capture Data of Human Arms to a Humanoid Robot Using Optimization ICCAS25 June 2-5, KINTEX, Gyeonggi-Do, Koea Adaptation of Motion Captue Data of Human Ams to a Humanoid Robot Using Optimization ChangHwan Kim and Doik Kim Intelligent Robotics Reseach Cente, Koea Institute

More information

UCB CS61C : Machine Structures

UCB CS61C : Machine Structures inst.eecs.bekeley.edu/~cs61c UCB CS61C : Machine Stuctues Lectue SOE Dan Gacia Lectue 28 CPU Design : Pipelining to Impove Pefomance 2010-04-05 Stanfod Reseaches have invented a monitoing technique called

More information

The Internet Ecosystem and Evolution

The Internet Ecosystem and Evolution The Intenet Ecosystem and Evolution Contents Netwok outing: basics distibuted/centalized, static/dynamic, linkstate/path-vecto inta-domain/inte-domain outing Mapping the sevice model to AS-AS paths valley-fee

More information

arxiv: v4 [cs.ds] 7 Feb 2018

arxiv: v4 [cs.ds] 7 Feb 2018 Dynamic DFS in Undiected Gaphs: beaking the O(m) baie Suende Baswana Sheejit Ray Chaudhuy Keeti Choudhay Shahbaz Khan axiv:1502.02481v4 [cs.ds] 7 Feb 2018 Depth fist seach (DFS) tee is a fundamental data

More information

Spiral Recognition Methodology and Its Application for Recognition of Chinese Bank Checks

Spiral Recognition Methodology and Its Application for Recognition of Chinese Bank Checks Spial Recognition Methodology and Its Application fo Recognition of Chinese Bank Checks Hanshen Tang 1, Emmanuel Augustin 2, Ching Y. Suen 1, Olivie Baet 2, Mohamed Cheiet 3 1 Cente fo Patten Recognition

More information

Lecture Topics ECE 341. Lecture # 12. Control Signals. Control Signals for Datapath. Basic Processing Unit. Pipelining

Lecture Topics ECE 341. Lecture # 12. Control Signals. Control Signals for Datapath. Basic Processing Unit. Pipelining EE 341 Lectue # 12 Instucto: Zeshan hishti zeshan@ece.pdx.edu Novembe 10, 2014 Potland State Univesity asic Pocessing Unit ontol Signals Hadwied ontol Datapath contol signals Dealing with memoy delay Pipelining

More information

Decision Support for Rule and Technique Discovery in an Uncertain Environment

Decision Support for Rule and Technique Discovery in an Uncertain Environment Decision Suppot fo Rule and Technique Discovey in an Uncetain Envionment D. James F. Smith III Naval Reseach Laboatoy, Code 5741 Washington, D.C., 0375-5000 Telephone: 0.767.5358 Fax: 0.404.7690 jfsmith@dsews.nl.navy.mil

More information

Improved Fourier-transform profilometry

Improved Fourier-transform profilometry Impoved Fouie-tansfom pofilomety Xianfu Mao, Wenjing Chen, and Xianyu Su An impoved optical geomety of the pojected-finge pofilomety technique, in which the exit pupil of the pojecting lens and the entance

More information

HISTOGRAMS are an important statistic reflecting the

HISTOGRAMS are an important statistic reflecting the JOURNAL OF L A T E X CLASS FILES, VOL. 14, NO. 8, AUGUST 2015 1 D 2 HistoSketch: Disciminative and Dynamic Similaity-Peseving Sketching of Steaming Histogams Dingqi Yang, Bin Li, Laua Rettig, and Philippe

More information

n If S is in convex position, then thee ae exactly k convex k-gons detemined by subsets of S. In geneal, howeve, S may detemine fa fewe convex k-gons.

n If S is in convex position, then thee ae exactly k convex k-gons detemined by subsets of S. In geneal, howeve, S may detemine fa fewe convex k-gons. Counting Convex Polygons in Plana Point Sets Joseph S. B. Mitchell a;1, Günte Rote b, Gopalakishnan Sundaam c, and Gehad Woeginge b a Applied Mathematics and Statistics, SUNY Stony Book, NY 11794-3600.

More information

An Extension to the Local Binary Patterns for Image Retrieval

An Extension to the Local Binary Patterns for Image Retrieval , pp.81-85 http://x.oi.og/10.14257/astl.2014.45.16 An Extension to the Local Binay Pattens fo Image Retieval Zhize Wu, Yu Xia, Shouhong Wan School of Compute Science an Technology, Univesity of Science

More information

Scaling Location-based Services with Dynamically Composed Location Index

Scaling Location-based Services with Dynamically Composed Location Index Scaling Location-based Sevices with Dynamically Composed Location Index Bhuvan Bamba, Sangeetha Seshadi and Ling Liu Distibuted Data Intensive Systems Laboatoy (DiSL) College of Computing, Geogia Institute

More information

INDEXATION OF WEB PAGES BASED ON THEIR VISUAL RENDERING

INDEXATION OF WEB PAGES BASED ON THEIR VISUAL RENDERING INDEXATION OF WEB PAGES BASED ON THEIR VISUAL RENDERING Emmanuel Buno Univesité du Sud Toulon-Va / LSIS CNRS BP 20132, F-83957 La Gade buno@univ-tln.f Nicolas Faessel LSIS CNRS Domaine Univesitaie de Saint-Jéôme

More information

GARBAGE COLLECTION METHODS. Hanan Samet

GARBAGE COLLECTION METHODS. Hanan Samet gc0 GARBAGE COLLECTION METHODS Hanan Samet Compute Science Depatment and Cente fo Automation Reseach and Institute fo Advanced Compute Studies Univesity of Mayland College Pak, Mayland 07 e-mail: hjs@umiacs.umd.edu

More information

Evaluation of Partial Path Queries on XML data

Evaluation of Partial Path Queries on XML data Evaluation of Patial Path Queies on XML data Stefanos Souldatos Dept of EE & CE, NTUA stef@dblab.ntua.g Theodoe Dalamagas Dept of EE & CE, NTUA dalamag@dblab.ntua.g Xiaoying Wu Dept. of CS, NJIT xw43@njit.edu

More information

Parallel processing model for XML parsing

Parallel processing model for XML parsing Recent Reseaches in Communications, Signals and nfomation Technology Paallel pocessing model fo XML pasing ADRANA GEORGEVA Fac. Applied Mathematics and nfomatics Technical Univesity of Sofia, TU-Sofia

More information