PROCEDURE FOR WORST-CASE ANALYSIS OF DISCRETE SYSTEMS

Abstract: A general methodology for worst-case analysis of systems with discrete observable signals is disclosed. According to one embodiment, a signature (50) is chosen and a sigma -abstraction F (52) is created, based on the system and the particular property to be analyzed. This procedure requires a user to facilitate the creation of an appropriate signature and sigma -abstraction (53, 54). Next, for a given length of time T (58), a signature s is determined (58). From the signature s the worst-case boundary conditions are determined (60). The methodology may also be applied to timing analysis of embedded systems implemented on a single processor. The procedure calculates a time T which is an upper bound (60) on the time a processor can be busy (i.e. busy period). Thus, for the busy-period analysis, the time T is no longer fixed. As in the first embodiment, a signature sigma is selected and a sigma -abstraction F is created. A workload function R is chosen, and a signature s and time T are calculated. The calculated time T is an upper bound on the length of a busy period for the given system.

Description: PROCEDURE FOR WORST-CASE ANALYSIS OF DISCRETE SYSTEMS BACKGROUND OF THE INVENTION 1 . Field of the Invention The present invention relates generally to the field of embedded system verification, and more particularly, to a general methodology for worst-case and busy period analysis of systems having discrete observable signals. 2. Description of the Related Art Embedded systems are becoming more complex, and controlling ever more critical processes It is thus not surprising that significant research efforts have emerged for developing methodologies to efficiently design such systems. Because the various embedded environments often impose strict limitations, verification of embedded systems must not be limited to their functionality, but must also include constraints such as timing performance, and power consumption. Embedded system verification is difficult, especially for software code, because system responses need to be checked for all legal behaviors of the environment Typically, there are infinitely many such behaviors. Even when the problem is reduced by formal reasoning to enumerating finitely many internal system states, the number of such states is usually still computationally prohibitive. Using abstractions and implicit state enumeration can simplify the problem, but complete formal verification is at best at the performance limit of existing computers (and often far beyond). Presently, the most widely used approach to verification of embedded systems is simulation. This approach has an obvious weakness in that only a few of the infinitely many input patterns can be tried, and thus complete verification can never be guaranteed. An alternative approach is the worst-case analysis methodology, where the system response is analyzed only for those behaviors of the environment that are the hardest for the system to execute. Worst-case analysis is a well known engineering method, but so far it has been used ad-hoc, with separate techniques for specific system properties. Furthermore, there is currently no systematic methodology for performing worst-case analysis of software. Another technique that is used is prototyping. In prototyping, a physical model of a system is built consisting typically of a chosen microprocessor (or micro-controller), memory and some interface circuitry. The prototype is then exercised with some set of input sequences, and the outputs of the system are monitored for correctness. Both simulation and prototyping have the common problem that there are infinitely many possible input sequences, so even if a system behaves correctly for all sequences in the test set, there still is no guarantee that the system will behave correctly for a different input sequence. In other words, using these prior methods, it can be shown that a system does not meet a given constraint, but it can never be proven that the system does in fact meet the constraint. Busy-period analysis can be expressed as a standard verification problem in a formalism that combines timing information with finite-state systems. For example, Balarin et.al., Formal Verification of the PATHO real-time operating system, Proceedings of the 33rd Conference on Decision and Control, CDC '94, December 1 994, herein incorporated by reference, formulated this problem as a reachability problem for timed automata. Choi et.al., The Specification and Schedulability Analysis of Real-Time Systems Using ACSR, Proceedings of IEEE Real-Time Systems Symposium, pages 266 - 275, IEEE Computer Society Press, December 1 995, herein incorporated by reference, formulated the problem as an equivalence checking problem in a process algebra ACSR-VP. Both of these approaches have the advantage of being exact, but they both suffer from severe limitations due to the computational complexity involved. Thus, it is highly unlikely that these approaches could ever be applied to practical systems of realistic size. There are also well established algorithms for timing analysis of combinational logic circuits, as disclosed in for example McGeer et al., Delay Models and Exact Timing Analysis, Logic Synthesis and Optimization, T. Sasao, editor, Kluwar Academic Publishers, 1 993, herein incorporated by reference. Like reactive real-time systems, combinational logic circuits also consist of interacting components (gates), but unlike gates which can propagate the signals concurrently, only one software task can execute at a time on a given processor. This significant difference makes combinational logic circuits an unsuitable model for reactive real-time systems. In a data-flow graph model, a system consists of actors, which take items of data from their inputs and produce items of data on their output. The actors can act only if data items are present on all of their inputs. This feature enables very predictable scheduling of actors (and thus simple timing analysis). It is now widely accepted that because of this feature, data-flow graphs are well suited to model data-intensive systems (e.g. those appearing in signal processing), but not well suited for reactive control-dominated systems where a reaction is required for many different conditions in the environment. A variety of verification models have been considered over the past several decades by researchers in the real-time systems community. Most of the models are extensions or modifications of the one introduced by Liu and Layland, Scheduling Algorithms for Multiprogramming in a Hard-Realtime Environment, Journal of the Association for Computing Machinery, 20( 1 ):46 - 61 , January 1 973, herein incorporated by reference. These models have considered systems in which all the tasks are independent (i.e. no precedence or exclusion constraints), periodic, and occurring for the first time at time zero. The restrictions on this model have been somewhat relaxed by later researchers, although several significant limitations are still present in all the previous approaches: • The processing time requirements of a component is assumed to be constant. • An execution of a component is assumed to cause executions of all of its successors, while in reality a component may be enabling only some successors, depending on the inputs and internal states. • Previous approaches are restricted to acyclic system graphs, i.e. to systems for which there exists a well defined unidirectional information flow. • Previous approaches are applicable only to systems with static priority scheduling. Therefore, there is a need for an improved procedure for verification of embedded systems. SUMMARY OF THE INVENTION The present invention is a general methodology for worst-case and busy period analysis of systems with discrete observable signals. Most embedded systems, as well as many others, fit into this category. The methodology can be used to verify different properties of systems such as power consumption, timing performance, or resource utilization. The busy period analysis determines the maximum length of time a processor can be busy. The present methods are conservative, i.e. the system is guaranteed to perform within the bounds computed by the methodology, but these bounds are not necessarily the best possible. According to this first embodiment of the present method, a signature σ is chosen and a σ-abstraction F is created, based on the system and the particular property to be analyzed. This procedure requires a user to facilitate the creation of an appropriate signature and σ-abstraction. Next, for a given length of time T, a worst-case signature s is determined. From the signature s the worst-case boundary conditions are determined. The present invention may also be applied to timing analysis of embedded systems implemented on a single processor. Timing analysis of embedded software system can be divided into two sub-problems: local and global. The local sub-problem is to determine processing time requirements for a piece of code implementing a single component of the system The global sub-problem is to determine response time of the system given processing time requirements of system components and taking into account that response to some requests may be delayed by responses to other requests. The present invention addresses only the global sub-problem and assumes that a solution to the local sub-problem is available. The procedure calculates a time T which is an upper bound on the time a processor can be busy (i.e. busy period). Thus, for the busy-period analysis, the time T is no longer fixed. As in the first embodiment, a signature σ is selected and a σ-abstraction F is created. A workload function R is chosen, and a signature s and time T are calculated. The calculated time T is an upper bound on the length of a busy period for the given system. These and other aspects of the invention, as well as further details of specific embodiments, may be more fully understood from the following specification and drawings. BRIEF DESCRIPTION OF THE DRAWINGS The present invention will be readily understood by the following detailed description in conjunction with the accompanying drawings, wherein like reference numerals designate like structural elements, and in which: Figure 1 is an example of a voice-mail pager system, with a description of the behaviors of the components; Figure 2 illustrates a component of an execution and its signature; Figure 3 is a table showing the σ-abstraction of the pager of Figure 1 ; Figure 4 is a flowchart of the procedure of the present invention for worst- case analysis; and Figure 5 is a flowchart of the procedure of the present invention for busy period analysis. DETAILED DESCRIPTION OF THE INVENTION The following description is provided to enable any person skilled in the art to make and use the invention and sets forth the best modes contemplated by the inventor for carrying out the invention. Various modifications, however, will remain readily apparent to those skilled in the art, since the basic principles of the present invention have been defined herein specifically to provide a procedure for worst-case and busy period analysis of discrete systems. Any and all such modifications, equivalents and alternatives are intended to fall within the spirit and scope of the present invention, as defined by the appended claims. The present invention is a general methodology for worst-case analysis of systems with discrete observable signals. Most embedded systems, as well as many others, fit into this category. The methodology can be used to verify different properties of systems such as power consumption, timing performance, or resource utilization. It is also conservative - the system is guaranteed to perform within the bounds computed by the methodology, but these bounds are not necessarily the best possible. The present invention may also be applied to timing analysis of embedded systems implemented on a single processor. Timing analysis of embedded software system can be divided into two sub-problems: local and global. The local sub-problem is to determine processing time requirements for a piece of code implementing a single component of the system. The global sub-problem is to determine response time of the system given processing time requirements of system components and taking into account that response to some requests may be delayed by responses to other requests. The present invention addresses only the global sub-problem and assumes that a solution to the local sub-problem is available. In order to describe the present invention, a simple voice mail pager system will be used as an example. The operation of the voice mail pager 1 0 will now be described with reference to Figure 1 . The pager 1 0 receives external messages 1 2 from the environment. Each message consists of up to five frames, and each frame contains fifty samples. The CONTROL module 1 2 stores messages internally (in variable frames) and initiates playing of the most recent message (by generating the frame event), upon a user's request (by generating the play event). The CONTROL module 1 2 may also generate a frame if any are available and the BUFFER module 1 4 makes a request. The BUFFER module 14 starts playing the message after it receives the initial frame from the CONTROL module 1 2. A message is played by sending one sample per every tick of the real-time clock to the speaker. When there are fewer than 20 samples left to play, the BUFFER module 1 4 sends a request for the next frame to the CONTROL module 1 2. Systems A simple and general formal notion of systems will now be introduced. A system is a set of executions. An execution x of length len(x) is a mapping from the interval of real numbers [0, len(x)] to some set of signal values such that: x is piecewise-constant with only finitely many discontinuities, i.e. the value of x may change only finitely many times in [0, len(x)] . It is required that all executions in a system range over the same set of signal values. In fact, it is assumed that all executions described herein range over the same set, so that it does not need to be specifically specified. For example, for the pager of Figure 1 , signal values may be state variables and communication events. According to the present approach, instead of manipulating executions directly, abstractions called signatures are used. Given an execution x and real numbers u, t such that 0 <^ u ≤ t ≤ len(x), x[u, t] is used to denote an execution of length t - u defined by: xlu, t](v) = x(u + v) . If, in addition, u > 0, x[u, t] is used to denote xlu - e, t - e] , where e > 0 is small enough that x is constant in [u - e, u) and ft - e, t). Since x has only finitely many discontinuities, such a choice of e is always possible. Signatures Formally, signature σ \s a mapping from the set of executions to some set of signature values D σ ior which some partial order < is defined, such that for all u, t satisfying 0 < u _< t < len(x): 1 . σfxfu, t]) <_ σ (x) 2. σfxfu, t]) = σ (x) if the value of x does not change in [O, u] and ft, len(x)]. Intuitively, a signature represents a summary of activities in an execution. This intuition is consistent with the constraints placed on σ: a full execution should contain more activities than its portion (condition 1 ), and the activity summary should not change if an execution is extended with passive (i.e. constant) segments (condition 2). For the pager 1 0 in Figure 1 , consider the signature represented by the following vector of variables: (pi, ms, tk, fr, fi, . . . , fs, rq, sp) . For a given execution, a variable pi is chosen to hold the number of occurrences of the play event in that execution. Variables ms, tk, fr, rq, and sp correspond similarly to events message, tick, frame, request, and speaKer respectively. The rest of the variables abstract the state of the CONTROL module 1 2. For some / between 1 and 5, variable f, holds the number of times line 4 in Figure 1 is executed with variable last having value /. Figure 2 shows a component of an execution corresponding to the CONTROL module 1 2 and its corresponding signature. By definition, signature values must be partially ordered. In this case, the present invention uses a natural extension of the relation < (on reals) to vectors: two vector are related by if and only if all their components are related. The presently defined choice of a signature is a compromise between two conflicting requirements. On one hand, for efficiency reasons, a signature should be as simple as possible, i.e. containing as little information as possible. On the other hand, a signature should contain information about the inputs and the states of a module that is sufficient to compute (or at least reasonable bound) the signature of module outputs. This is discussed in further detail below with regards to signature-based abstractions of systems to bound the worst-case behavior. Signature based abstractions Signatures provide abstract representation of signals in the system. Next, an abstract representation of the system transition function is defined. Given some system S, signature σ and some 20 function then F D σ x IR + r→ D σ F is a cr-abstraction of S, if F is: • monotone: if Ti < 7-? and si <^ s∑ then F(sι, Tι) <^ F(s2, T2), and • future-bounding: for every execution x e S and every u, t: σ (xlu, t]) <^ F(σ(x[u, t] ~ ), t - u). Consider, for example, the pager 10 in Figure 1 and the signature σ discussed in the previous section. A σ-abstraction of the pager is shown in Figure 3. The σ-abstraction consists of a separate function for each variable in the signature. The variables can be divided into three groups: those generated by the environment, those generated by the CONTROL module 1 2, and those generated by the BUFFER module 1 4. The σ-abstraction of the environmental variables depends only on time and not on other signature variables. The present invention uses a very simple model, where the only constraint is a minimum time between two occurrences of the event. These times are 100, 200, and 500 time units for tick, message and play events, respectively. Therefore, the maximum number of 7 ~ tick (message, play) events in an execution segment of length T is L TOO \ + 1 T τ ( I- 200 -J + 1 Λ 500 J + 1 ), respectively. In contrast to variables generated by the environment, σ-abstractions of other variables depend only on signatures, and not on time. This is often the case for parts of signatures modeling software modules. Since it is hard to predict their timing, software modules are usually programmed in a way that has no direct notion of time. Instead, information about time comes indirectly, e.g. through events generated by the timer module implemented in hardware. Expressions in Figure 3 for the σ-abstractions of the CONTROL module 1 2 and the BUFFER module 1 4 variables are derived from the code in Figure 1 . For example, the BUFFER module 1 4 generates a request event 30 tick events after it receives a frame. Thus, in the interval containing fr frame events and tk tick tk_ events, the BUFFER module 14 can generate at most min( r, L 3 J ) request events, except possibly an extra one at the beginning of the interval. Similarly, the CONTROL module 1 2 can generate a frame event only if line 5 in Figure 1 is executed with a value of last between 1 and 5. Therefore, fr is bounded by f,. On the other hand, except at the beginning, the CONTROL module 1 2 can gπfrerate a frame event only if it receives a play or a request event. Therefore, fr is also bounded by pi + req + 1 . Other bounds in Figure 3 are derived by similar reasoning. Two applications of the present invention will now be described. The first one is for general worst-case analysis of discrete systems, and the second application (called busy-period analysis) is for timing analysis of single-processor systems. Worst-case analysis The problem of the worst-case analysis of a system 5 with a signature σ and σ-abstraction F is the following: For a given interval length T, find a signature value s such as s > σ (x[t, t + TJ) for every execution x e S, and every t e [0,len(x) - TJ. In other words, s must be worse than the signature of any execution segment of length T. Such information can help answer many important questions in the design process. For example, if the signature contains information about bus requests, then the worst-case analysis indicates required average bus bandwidth for a period of time of length 7 " . Similarly, if the signature contains information about energy required for an execution, then the worst-case analysis gives a bound of the average power for any interval of time of length T. The worst-case analysis can also be used to analyze timing performance of the system, as discussed below. There are two cornerstones of the worst-case analysis: partial ordering of signatures, and the future-bounding property of the σ-abstraction. Partial ordering of signatures enables the ranking of executions, allowing the consideration of only "bad" ones. Intuitively, larger signatures correspond to executions with more activities, which usually represent more demanding cases for the system. The future-bounding property of σ-abstractions is used to compute such a worst-case signature. First, it is established that the worst-case signature is a bound on an initial segment of an execution, and then the future-bounding property is used to show that it remains the bound for any execution segment. This argument applies if the worst-case signature is also a fix-point of the σ-abstraction. If the signature of some execution segment is less than a fix-point of the σ-abstraction, then the future-bounding property assures that the signature of the segment in the immediate future is also less than the fix-point. This reasoning is formalized by the following result: Proposition 1 Let σand F be a signature and a σ-abstraction of some system S. If x G S, s e D σ , and T >_ 0 are such that s = F(s, T) and σix [0,0]) <_ s, then: σfxft, t + TJ) <_ s Vt e [0,/enM - TJ . Based on Proposition 1 , the following is the procedure for the worst-case analysis of discrete systems, as illustrated in Figure 4: 1 . choose a signature σ, (step 40) 2. choose a σ-abstraction F and verify that it is monotone and future- bounding, (step 42, 44) 3. for a given length of time T, find a signature s such that s = F(s, T) and σfxfO, OJ) <_ s for all executions x e S, (step 46) 4. derive from s bounds on interesting quality measures of the system, (step 48) Choosing appropriate signatures and σ-abstractions is an art that requires understanding both the system and the property to be analyzed. The selection of a signature σ and a σ-abstraction F requires user input 43, 44, based upon the system and property under evaluation. Checking the future-bounding property is a typical verification problem: i.e. it amounts to checking whether a detailed "implementation" (in this case the system) satisfies a more abstract "specification" (σ-abstraction). Usual formal and informal verification approaches can thus be used. For example, one may devise a monitor which computes signatures during system simulations and warns a user if a future-bounding property has been violated. Solving the fix-point equation in step 3 is typically quite simple, and may be solved using an iterative solution method described below. The final step of the worst-case analysis is interpreting the computed worst-case signatures. If the signature abstraction is chosen carefully, then the worst-case signatures will contain enough information for the designer to determine bounds on many important quality measures of the design. Three have been specifically mentioned: bus utilization (i.e. I/O bandwidth), power consumption, and timing performance, but other interesting properties may be analyzed as well. Busy-period analysis The worst-case analysis procedure may be applied to bound the response time of a software system implemented on a single processor. More precisely, the busy period is bounded, i.e. longest period of time a processor can be busy. A bound on a busy period is also a bound on the response time, under a reasonable assumption that the processor cannot be idle if there are pending requests. Given some execution x and some u, t such that 0 _< u < t _< ^ len(x), [u, t] is a busy period of x if the processor is busy at each time v e [u, tj. The busy period [u, t] of x is initialized if there does not exist any v < u such that [v, t] is a busy period of x. To compute a bound on busy periods, information about the processing time requirements is needed. This information is provided by a workload function. The processing time requirements depend on events in the environment. Therefore, the workload function should depend on an execution. However, to enable worst-case analysis, the present invention only considers an abstraction which depends on a signature. Formally, for a given system S and signature σ, we is a workload function: if it is: • monotone: if si < ^ S2 then R(sι) < Rfs∑), and • workload-bounding for every execution x, and every initialized busy period [u, t] in x: Rfσfxfu, t])) > t - u . The workload-bounding property ensures that approximate processing time requirements given by a workload function is a strict upper bound on the actual processing time requirements which determines the length of a busy period. For example, assume that the execution time of each executable line in Figure 1 is 1 0 time units. Also, assume the signature described above . Then, a workload function for the pager 10 might be: R = 20 * (pi + rq + ms) + 20 * ms + 10 * fr + 20 * (fr + tk) + 20 * fr + 20 * sp + 10 * rq . The first line in the equation corresponds to the CONTROL module 1 2, while the second line corresponds to the BUFFER module 14. The workload function is valid under the following conditions: • At the beginning of an initialized busy period, modules start executing from the entry point. For example, the first time the CONTROL module 1 2 gets the processor in any initialized busy period, it should be executing line 1 of Figure 1 . • A module is not executed unless there are some fresh events at its inputs. For example, the condition implies that the CONTROL module 1 2 is executed at most pi + rq + ms times. Each execution will require at least 20 time units for two if statements, hence the term 20 * (pi + rq + ms) in the workload function. The term 20 * ms in the workload function is due to lines 2 and 3 of Figure 1 , which will be executed only if a new message is received. Similarly, the number of executions of line 5 is the same the number of generated frame events (hence the term 10 * fr). The terms in the equation corresponding to the BUFFER module 14 were obtained by a similar analysis. The workload functions and σ-abstractions can be combined to bound the length of busy periods. Let 7 " be the length of some initialized busy period. According to Proposition 1 , its signature is bounded by s such that s = F(s, T). It follows that the required processing in that busy period, and therefore also 7, is bounded by R(s). More formally: Proposition 2 Let σ, F, and R be a signature, an σ -abstraction, and a workload function of some system S. If s e D σ , and T >_ 0 are such that: • s = F(s, T), • T = R(s) • σ (x[0, 0J) <_ s for all executions x e S, then T is an upper bound on the length of busy periods of all executions x e S. Based on Proposition 2, the following procedure for busy-period analysis of discrete systems may be applied, as illustrated in Figure 5: 1 . Choose a signature σ (step 50) 2. choose a σ-abstraction F and verify that it is monotone and future- bounding, (step 52, 54) 3. choose a workload function R and show that it is monotone and workload-bounding, (step 56); the workload function R is a signature which specifies how much processor time is needed to process input s; 4. find a signature s and time T such that s = F (s, T), T = R(s), and σ(x[0,0J) ≤s for all executions x e S, (step 58) 5. conclude that 7 " is an upper bound on the length of a busy period. (step 60) To solve fix-point equations in step 4, s = F(s, T), T = R(s), the following simple iterative algorithm may be used: 1 . let T : = 0, let s be such that s > x [0,0] for all executions x, 2. let s : = F(s, T), let T : = R(s), 3. repeat step 2 until convergence or until T > TMAX, where TMAX is a user-given bound. It is reasonable to ask for such a bound, because most systems usually have some minimal performance requirements. If the bound is known to be higher than this minimal requirement, there is little point in wasting resources in determining exactly how unacceptable the performance actually is. (A similar procedure may be used for solving for s in the worst-case analysis). Since F and R are monotone, s and T can only increase from iteration to iteration. However, the algorithm may not terminate if T converges to some value less than TMAX , and s keeps increasing beyond any bounds. This situation may be eliminated by requiring that R be strictly monotone (i.e., if si < S2, then R(sι) < Rfs∑)). This is a natural requirement, since "more" inputs typically require more processing time. It may appear that step 1 requires a search over a potentially infinite space of executions. In fact, in most cases it is quite simple to determine an initial s. For example, for the pager 1 0 in Figure 1 it suffices to let s = F(0, 0). The pager is representative of a large class of systems where: • system components cannot react in zero time and thus in x[0, 0] all components are in some of the known initial states, and • the environment may produce some initial events in x[0, 0], but they can be easily bounded by evaluating the σ-abstraction for a time interval of length 0. The present method requires almost no assumption about the scheduling algorithm used to control the processor access for system components. However, if some information about the scheduling is known it can be used to improve accuracy of the analysis. For example, if a preemptive static priority scheduling scheme is used, the analysis can be extended to -busy-period analysis: to bound the interval of time a processor is continuously busy executing at priority level p or higher. Essentially, p-busy-period analysis is just a regular busy-period analysis that ignores all components with priority less than p. A bound on a p-busy period is a better bound on response time for requests at priority p. Another way to use scheduling information is to improve σ-abstractions and workload functions. For example, if the BUFFER module 14 in Figure 1 is scheduled once per every tick event, the workload function can be improved by replacing the terms 20 * (fr + tk) and 20 * fr with 20 * tk and 20 * max( fr, tk) respectively. In contrast to some of the prior art solutions, if a constraint is shown to be valid by the present method, then the constraint is met for any input sequence. Because the present method is conservative, no conclusions can be made if a proven bound does not meet the target. In this way, simulation and prototyping and the proposed method are complementary verification methods: the former can be used to prove the violation of a constraint, while the latter can be used to prove satisfaction. Furthermore, the present invention allows processing time requirements and enabled successors to be a function of the inputs and internal states, and is applicable to systems with cyclic system graphs and various scheduling schemas. In other words, unlike prior art systems, the present approach allows the execution time to depend on the system inputs, providing a more realistic analysis model. Those skilled in the art will appreciate that various adaptations and modifications of the just-described preferred embodiments can be configured without departing from the scope and spirit of the invention. Therefore, it is to be understood that, within the scope of the appended claims, the invention may be practiced other than as specifically described herein.

Claims: WHAT IS CLAIMED IS 1 . A method for worst-case analysis of a system having discrete observable signals, the method comprising: choosing a signature σ for a desired system parameter; choosing a σ-abstraction F, and verifying that F is monotone and future- bounding; determining, for a given length of time 7 " , a signature s; and deriving from the signature s bounds on the desired system parameter of the system. 2. The method of Claim 1 , wherein for a system S, If x e S, s e D σ , and T >_ 0 are such that s = F(s, T) and of x [0,0]) < s, then: oix[t, t + TJ) < ^ s Vt e [0,len(x) - TJ . 3. The method of Claim 2, wherein s is determined by solving: s = F(s, T) and σfxfO, OJ) < s for all executions x e S. 4. The method of Claim 3, wherein the σ-abstraction F is selected by a user based upon desired the system S and the desired system parameter. 5. The method of Claim 4, wherein s is determined by an iterative procedure. 6. The method of Claim 5 wherein the desired system parameter is one of bus utilization and power consumption. 7. The method of Claim 1 , wherein the execution time of the system depends on the system inputs. 8. A method for determining a bound on a processor busy period, wherein the execution time may depend on inputs, the method comprising: choosing a signature σ, choosing a σ-abstraction F, and verifying that F is monotone and future- bounding, choosing a workload function R and verifying that R is monotone and workload-bounding, determining a signature s and a time 7 " , wherein 7 " is an upper bound on the length of a busy period. 9. The method of Claim 8, wherein for a system S, If s € D σ , and T J> 0 are such that: • s = F(s, T), • T =R(s) • σ MO, OJ) <_ s for all executions x e S, then T is an upper bound on the length of busy periods of all executions x e S. 10. The method of Claim 9, wherein s and T are determined by solving: s = F (s, T), T = R(s), and σix[0,0J) ≤s for all executions x e S. 1 1 . The method of Claim 10, wherein the σ-abstraction F is selected by a user based upon desired the system S. 12. The method of Claim 1 1 , wherein s is determined by an iterative procedure. 13. The method of Claim 1 2, wherein the iterative procedure comprises: a. let T : = 0, let s be such that s > x [0,0] for all executions x, b. let s : = F(s, T), let T : = R(s), c. repeat step b until convergence or until T ≥ TMAX, where TMAX is a user-given bound. 14. The method of Claim 8, wherein the execution time of the system depends on the system inputs. 1 5. The method of Claim 8, wherein the processor is not idle if there are pending requests. 1 6. A method for worst-case analysis of a system having discrete observable signals, wherein the execution time of the system may depend on the system inputs, the method comprising: choosing a signature σ for a desired system parameter; choosing a σ-abstraction F, and verifying that F is monotone and future- bounding; determining, for a given length of time T, a signature s, wherein s is determined by solving: s = F(s, T) and σix[0, OJ) _< s for all executions x e S; deriving from the signature s bounds on the desired system parameter of the system. 1 7. A method for determining a bound on a processor busy period, wherein the processor is not idle if there are pending requests and the execution time may depend on inputs, the method comprising: choosing a signature σ, choosing a σ-abstraction F, and verifying that F is monotone and future- bounding, choosing a workload function R and verifying that R is monotone and workload-bounding, determining a signature s and a time T, T being an upper bound on the length of a busy period, wherein s and T are determined by solving: s = F (s, T), T = R(s), and σ(x[0,0]) < s for all executions x e S.

Inventors: BALARIN FELICE, BALARIN, FELICE
Applicants: CADENCE DESIGN SYSTEMS INC, CADENCE DESIGN SYSTEMS, INC.
Application year: 2001
Main classification: G06F17
IPC codes: G06F11, G06F17