In a customer driven environment, systems pose a great challenge to designers in terms of complexity and time-to-market. Thus, designers have to look at Commercial-Off-The-Shelf (COTS) based development techniques tha...
详细信息
In a customer driven environment, systems pose a great challenge to designers in terms of complexity and time-to-market. Thus, designers have to look at Commercial-Off-The-Shelf (COTS) based development techniques that rely on integrating components produced by various manufacturers. However, the vast range of components from various manufacturers leads to obscurity of interfaces between them, making system integration a dreadful task. Hence, large warehouses of IP modules comprising of various software simulation models of system components at different levels of abstraction that can be readily integrated to form a Virtual Prototype are highly beneficial towards the exploration of various architectures. In order to design and implement IP modules efficiently, we identify the design patterns that they follow. We propose a design pattern based methodology for modeling and implementing multiplexed Master-Slave devices. As an effort to showcase the methodology, we choose to model a Level-2 Cache (L2Cache) using SystemC. A technical specification document of the Motorola MPC2605 L2Cache is procured and modeled using hierarchical state machines that we implement using SystemC. The developed model is an integrated lookaside L2Cache supporting 4-way set-associative cache mapping and LRU replacement algorithm, compatible with the Simple Bus. The L2Cache module is then further parameterized to accommodate changes in L2Cache size, cache mapping strategies and replacement algorithms. In this paper, we present the proposed methodology through a description of the process of modeling and verifying an L2Cache IP module at system-level, using the “Master-Bus-Slave/Master-Bus-Slave” design pattern. The test-bench involves a master (to generate transactions), a Simple Bus, the L2Cache Module and Slave Module (Simple memory). Various relevant test cases were generated to test the functionality of the developed module. The test-case outputs were routed to a debug file which is inspect
Interfaces are fundamental in object-orientedsystems. One of the principles of reusable object-orienteddesign, according to Gamma et al., is program to an interface, not an implementation. Interface-based systems di...
详细信息
ISBN:
(纸本)9781424437702
Interfaces are fundamental in object-orientedsystems. One of the principles of reusable object-orienteddesign, according to Gamma et al., is program to an interface, not an implementation. Interface-based systems display three key characteristics - flexibility, extensibility, and pluggability. designing with interfaces is therefore a better way of building object-orientedsystems. Getting students in introductory software engineering and design courses to program to interfaces and develop interface-based systems is a challenge. This paper presents our experiences with the use of mock objects to promote interface-based design - and effective unit testing in software engineering and design courses.
The paper presents the implementation of object-oriented (OO) integrated approaches to the design of scalable Electro-Cardio-Graph (ECG) systems. The purpose of this methodology is to preserve real-world structure and...
详细信息
ISBN:
(纸本)9781607504566
The paper presents the implementation of object-oriented (OO) integrated approaches to the design of scalable Electro-Cardio-Graph (ECG) systems. The purpose of this methodology is to preserve real-world structure and relations with the aim to minimize the information loss during the process of modeling, especially for Real-Time (RT) systems. We report on a case study of the design that uses the integration of OO and RT methods and the Unified Modeling Language (UML) standard notation. OO methods identify objects in the real-world domain and use them as fundamental building blocks for the software system. The gained experience based on the strongly defined semantics of the object model is discussed and related problems are analyzed.
Algorithms for discrete optimization of proteins play a central role in recent advances in protein structure prediction and design. We wish to improve the resources available for computational biologists to rapidly pr...
详细信息
Algorithms for discrete optimization of proteins play a central role in recent advances in protein structure prediction and design. We wish to improve the resources available for computational biologists to rapidly prototype such algorithms and to easily scale these algorithms to many processors. To that end. we describe the implementation and use of two new open source resources. citing potential benefits over existing software. We discuss CHOMP. a new object-oriented library for macromolecular optimization, and SHARPEN, a framework for scaling CHOMP scripts to many computers. These tools allow users to develop new algorithms for a variety of applications including protein repacking, protein-protein docking, loop rebuilding, or homology model remediation. Particular care was taken to allow modular energy function design;. protein conformations may Currently be scored using either the OPLSaa molecular mechanical energy function or an all-atom semiempirical energy function employed by Rosetta. (C) 2009 Wiley Periodicals, Inc. J Comput Chem 30: 999-1005, 2009
In China, there is now a growing desire to use the IEC60870-5 Standards to communicate between telecontrol stations via Internet services in power telecontrol systems. A companion standard called IEC 60870-5-104 has b...
详细信息
ISBN:
(纸本)9781424449347
In China, there is now a growing desire to use the IEC60870-5 Standards to communicate between telecontrol stations via Internet services in power telecontrol systems. A companion standard called IEC 60870-5-104 has been published by the IEC for this purpose. At present, people make a deep study of the application of the 104 protocol and have obtained a certain success. But on the software design, there is not a relatively universal design pattern. This paper puts forward a kind of design method used for the realization of the IEC 60870-5-104 protocol based on Finite State Machines (FSM). In this method, the IEC 60870-5-104 protocol is modeled via the FSM theory. In addition to that an object-oriented FSM implementation framework is produced. And a tool is presented that automates the configuration of the framework. The tool effectively enables developers to create FSMs from a specification.
An object-oriented framework is proposed for constructing a virtual machine (VM) to be used in the context of incrementally and iteratively developing a domain-specific language (DSL). The framework is written in C#. ...
详细信息
An object-oriented framework is proposed for constructing a virtual machine (VM) to be used in the context of incrementally and iteratively developing a domain-specific language (DSL). The framework is written in C#. It includes abstract instruction and environment classes. By extending these, a concrete layer of classes is obtained whose instances define the semantics of a set of instructions, as well as one or more execution environment instances that can be manipulated by the instructions. The framework provides a generic mechanism for reading a set of instructions, executing them sequentially by default but branching if necessary, storing or retrieving internal variables, and accessing and manipulating the environment as per the instructions. In general, each instruction can execute an arbitrary C# method as specified by the developer. The syntactic form of instructions is limited to five possibilities. Using the framework, a range of VMs can be generated, each tailored to support a developer-designed target-level DSL. Since each such language is built in terms of these five instruction formats, these target-level languages share a common syntactic structure. The result is a platform to support an incremental iterative language design and implementation approach that involves the following three phases: determine a set of target-level instructions with semantics appropriate to the specific domain;determine source-level language instructions whose syntax appeals to the domain specialist and provide a simple compiler to map the source to target instructions. The first two phases are relatively disjoint and importantly separate syntax concerns from semantics concerns. The final phase is quite straightforward. Comparative performance results support the use of the framework as an alternative to using an interpreter or hardcoded VM for DSL development.
SCOOP is a minimal extension to the sequential object-oriented programming model for concurrency. The extension consists of one keyword (separate) that avoids explicit thread declarations, synchronized blocks, explici...
详细信息
For many object-orientedsystems, it is often useful to have a runtime that shows networks of communicating objects. it is hard to statically extract runtime object graphs that provide abstraction from existing progra...
详细信息
暂无评论