Tero Säntti a Co-Processor Approach for Efficient Java

Total Page:16

File Type:pdf, Size:1020Kb

Tero Säntti a Co-Processor Approach for Efficient Java Tero S¨antti A Co-Processor Approach for Efficient Java Execution in Embedded Systems TUCS Dissertations No 108, September 2008 A Co-Processor Approach for Efficient Java Execution in Embedded Systems Tero S¨antti To be presented, with the permission of the Faculty of Mathematics and Natural Sciences of the University of Turku, for public criticism in Auditorium Alpha on November 10, 2008, at 12 noon. University of Turku Department of Information Technology University of Turku, FI-20014 Turku, Finland 2008 Supervisors Adjunct professor, Ph.D. Juha Plosila Department of Information Technology University of Turku FI-20014 Turku Finland D.Sc. (Tech) Seppo Virtanen Department of Information Technology University of Turku FI-20014 Turku Finland Reviewers Professor Dake Liu Department of Electrical Engineering University of Link¨oping S-58183 Link¨oping Sweden Professor Timo D. H¨am¨al¨ainen Department of Computer Systems Tampere University of Technology FI-33101 Tampere Finland Opponent Professor Jan Madsen Department of Informatics and Mathematical Modeling Technical University of Denmark DK-2800 Lyngby Denmark ISBN 978-952-12-2155-2 ISSN 1239-1883 Abstract This thesis deals with a hardware accelerated Java virtual machine, named REALJava. The REALJava virtual machine is targeted for resource con- strained embedded systems. The goal is to attain increased computational performance with reduced power consumption. While these objectives are often seen as trade-offs, in this context both of them can be attained simulta- neously by using dedicated hardware. The target level of the computational performance of the REALJava virtual machine is initially set to be as fast as the currently available full custom ASIC Java processors. As a secondary goal all of the components of the virtual machine are designed so that the resulting system can be scaled to support multiple co-processor cores. The virtual machine is designed using the hardware/software co-design paradigm. The partitioning between the two domains is flexible, allowing customizations to the resulting system, for instance the floating point sup- port can be omitted from the hardware in order to decrease the size of the co-processor core. The communication between the hardware and the software domains is encapsulated into modules. This allows the REALJava virtual machine to be easily integrated into any system, simply by redesign- ing the communication modules. Besides the virtual machine and the re- lated co-processor architecture, several performance enhancing techniques are presented. These include techniques related to instruction folding, stack handling, method invocation, constant loading and control in time domain. The REALJava virtual machine is prototyped using three different FPGA platforms. The original pipeline structure is modified to suit the FPGA envi- ronment. The performance of the resulting Java virtual machine is evaluated against existing Java solutions in the embedded systems field. The results show that the goals are attained, both in terms of computational perfor- mance and power consumption. Especially the computational performance is evaluated thoroughly, and the results show that the REALJava is more than twice as fast as the fastest full custom ASIC Java processor. In addition to standard Java virtual machine benchmarks, several new Java applications are designed to both verify the results and broaden the spectrum of the tests. i ii Acknowledgements It gives me great pleasure to be able to express my gratitude to the individ- uals and institutions that have influenced and enabled the research in this thesis. First and foremost, I would like to thank my supervisor Ph.D. Juha Plosila for his continuous support, guidance and inspiration during the work leading up to this thesis. I am also very grateful to D.Sc. (Tech) Seppo Virta- nen, who examined this thesis thoroughly and provided excellent comments. I also wish to thank professors Dake Liu from University of Link¨oping and Timo D. H¨am¨al¨ainen from Tampere University of Technology for their detailed reviews of this thesis and for providing insightful comments and sug- gestions for improvement. Their recommendations and suggestions raised the quality and the clarity of the final manuscript. I gratefully acknowledge the funding from the late Department of Ap- plied Physics and the Department of Information Technology during the first part of my postgraduate studies. The second part was funded by the “Teknologiateollisuuden 100-vuotiss¨a¨ati¨o” -foundation of the Federation of Finnish Technology Industries, for which I am very grateful. The funding from the foundation allowed me to concentrate on the research and bring the work to a conclusion. I would also like to thank the Turku Centre for Computer Science (TUCS) for their financial support. I wish to thank all the colleagues and co-workers in the Department. Especially Joonas Tyystj¨arvi is thanked for participating in the research and co-authoring several publications. I also wish to thank professors Jouni Isoaho, Ari Paasio and Johan Lilius (from Abo˚ Akademi) for all the dis- cussions related to the research in this thesis and other topics as well. The legendary group of people from the room 013 should also be mentioned. It has been a pleasure and a privilege to share the journey from a bunch of wannabe scientists to something more substantial with each of you. The office staff and the technical personnel deserve a special acknowledgement for all the help and support in their respective fields throughout the years. iii My friends have also been supporting and understanding during my doc- toral studies. Especially all the wonderful people from Hayashi and Three Beers are thanked for listening to my ramblings about the research, and for providing occasional breaks from the work. The multidisciplinary discus- sions on all topics gave me much needed perspective at times. I am grateful to my mother Merja S¨antti and my brother Kari S¨antti for their support and encouragement over the years. I also wish I could have shared these moments with my late father Jari S¨antti, who always encour- aged me to do my best at whatever I choose to start. Remembering his advice helped me in the darkest times during this work. My final, most personal and sincerest thanks go to Johanna Tuominen. You have always kept the faith in me and my research. Your love and sup- port in all areas of life have been the cornerstones of my life. Turku, September 2008 Tero S¨antti iv Contents 1 Introduction 1 1.1 Objectives............................. 3 1.2 List of Publications and Research Contributions . 5 1.3 OverviewoftheThesis. .. .. .. .. .. .. 9 1.4 RelatedWork........................... 9 1.4.1 Software Solutions . 10 1.4.2 Hardware Solutions . 10 1.4.3 Co-Designed Java Virtual Machine . 12 1.4.4 History and Current Trends . 13 2 Java Virtual Machine Technology 15 2.1 Advantages of Virtual Machines . 15 2.2 Motivation for Choosing Java . 16 2.3 JavaLanguage .......................... 17 2.4 JavaVariants ........................... 18 2.4.1 Configurations and Profiles in J2ME . 19 2.4.2 History .......................... 21 2.5 Generic Java Virtual Machine Architecture . 22 2.5.1 Lifespan of the Java Virtual Machine . 22 2.5.2 Data Placement Inside a JVM . 23 2.5.3 Bytecode Instruction Set . 25 2.5.4 JavaMethods....................... 27 2.5.5 Classes, Class Files and Class Loading . 28 2.5.6 Exception Handling . 31 2.6 Java Virtual Machine Implementations . 32 2.6.1 Using Hardware Systems in Virtual Machine Imple- mentations ........................ 36 2.7 ChapterSummary ........................ 38 3 Conceptual Model of the REALJava Virtual Machine 39 3.1 ExecutionModel ......................... 39 3.1.1 Other Execution Models for Co-Processors . 40 v 3.2 Partitioning............................ 41 3.3 StructureoftheCo-Processor . 42 3.3.1 General Purpose Processor Pipeline Architecture . 42 3.3.2 The Modified Architecture for the Java Co-Processor . 43 3.3.3 SharedResources. 45 3.3.4 InstructionPreprocessing . 46 3.3.5 Operand Access, ALU and Result Storing . 47 3.3.6 Caches, Stack and Registers . 48 3.3.7 Details of Instruction Folding . 49 3.4 SoftwarePartition .. .. .. .. .. .. .. 53 3.4.1 Virtual Machine Software . 54 3.4.2 Bytecode Execution and Method Invocation and Return 56 3.4.3 Co-Processor Allocation with Multithreading . 58 3.4.4 Co-Processor Memory Management . 60 3.4.5 Garbage Collection . 61 3.4.6 Porting the Software . 62 3.5 DataStructures.......................... 63 3.5.1 Bytecode Storage Model . 63 3.5.2 StackLayout ....................... 64 3.5.3 Heap Management . 65 3.5.4 Other Data Structures . 66 3.6 ChapterSummary ........................ 67 4 Prototyping the REALJava Virtual Machine 69 4.1 Major Changes from the Conceptual Model to the FPGA Implementation.......................... 69 4.1.1 Changes in the SW Partition . 70 4.2 Description of the FPGA Platforms . 71 4.2.1 XESS XSA-3S1000 . 71 4.2.2 Xilinx ML310 and ML410 . 73 4.3 FPGA Techniques and Tools Used . 78 4.3.1 Size of the Co-Processor Core . 79 4.4 Communication.......................... 82 4.4.1 XESS Board with Parallel Port Communication . 83 4.4.2 ML310 and ML410 with PLB Communication . 84 4.4.3 Internal Interface . 85 4.5 Memory Areas of the Prototypes . 86 4.6 ChapterSummary ........................ 88 5 Performance Increasing Techniques 89 5.1 Identifying the Performance Hindrances . 90 5.2 StackHandling .......................... 92 5.3 PipelineStructure .. .. .. .. .. .. .. 96 vi 5.4 Partial Instruction Folding . 98 5.5 MethodInvocation .. .. .. .. .. .. .. 99 5.5.1 Results ..........................104 5.5.2 Additional Benefits . 107 5.6 ConstantCaches . .. .. .. .. .. .. .. 109 5.7 TimeControl ...........................110 5.8 Additional Registers and Helper Addresses . 111 5.9 ImpactoftheTechniques . 118 5.10 Multicore Approach . 121 5.11 ChapterSummary . 122 6 Performance Evaluation 123 6.1 Overview of the Reference Systems . 123 6.2 Descriptions of the Benchmarks . 125 6.3 Results...............................128 6.4 MemoryAccesses.
Recommended publications
  • WCET Analysis of Java Bytecode Featuring Common Execution Environments
    WCET Analysis of Java Bytecode Featuring Common Execution Environments Christian Frost, Casper Svenning Jensen, Kasper Søe Luckow, Bent Thomsen Department of Computer Science, Aalborg University Selma Lagerlöfs Vej 300 DK-9220, Aalborg East, Denmark {chrfrost,semadk,luckow,bt}@cs.aau.dk ABSTRACT 1. INTRODUCTION We present a novel tool for statically determining the Worst Java in its traditional form, has inherent issues that makes Case Execution Time (WCET) of Java Bytecode-based pro- it less suitable for development of hard real-time embedded grams called Tool for Execution Time Analysis of Java byte- systems such as the lack of the notion of a deadline and code (TetaJ). This tool differentiates itself from existing high-resolution real-time clocks. To accommodate these, a tools by separating the individual constituents of the execu- variety of initiatives such as the Real-Time Specification tion environment into independent components. The prime for Java (RTSJ) [23] and related profiles: Safety Critical benefit is that it can be used for execution environments Java (SCJ) [16] and Predictable Java (PJ) [9] have been featuring common embedded processors and software im- initiated. These specify certain alterations to the under- plementations of the JVM. TetaJ employs a model checking lying Java Virtual Machine (JVM) and various extensions approach for statically determining WCET where the Java through libraries that, when adhered to, creates a program- program, the JVM, and the hardware are modelled as Net- ming model that can be used for real-time systems devel- works of Timed Automata (NTA) and given as input to the opment in Java.
    [Show full text]
  • Design Decisions for a Java Processor
    Design Decisions for a Java Processor Martin Schoeberl JOP.design Strausseng. 2-10/2/55, A-1050 Vienna, AUSTRIA [email protected] Abstract The paper is organized as follows: Section 2 gives an overview of the architecture of JOP. In section 3 some This paper describes design decisions for JOP, a Java design decisions for the implementation in an FPGA are Optimized Processor, implemented in an FPGA. FPGA described. One example of the flexibility of an FPGA density-price relationship makes it now possible to con- based architecture is given in section 4. sider them not only for prototyping of processor designs but also as final implementation technology. However, using an FPGA as target platform for a processor dif- 2 Overview of JOP ferent constraints influence the CPU architecture. Digi- tal building blocks that map well in an ASIC can result Figure 1 shows the datapath of JOP. In the first pipe- in poor resource usage in an FPGA. Considering these line stage Java bytecodes, the instructions of the JVM, constraints in the architecture can result in a tiny soft- are fetched. These bytecodes are translated to addresses core processor. in the micro code. Bytecode branches are also decoded and executed in this stage. A fetched bytecode results in an absolute jump in the micro code (the second stage). If 1 Introduction the bytecode has a 1 to 1 mapping with a JOP instruc- tion, a new bytecode is fetched, resulting in a jump in Common design praxis for embedded systems is us- the micro code in the next cycle.
    [Show full text]
  • JOP: a Java Optimized Processor
    JOP: A Java Optimized Processor Martin Schoeberl JOP.design, Strausseng. 2-10/2/55, A-1050 Vienna, AUSTRIA [email protected] Abstract. Java is still not a common language for embedded systems. It posses language features, like thread support, that can improve embedded system de- velopment, but common implementations as interpreter or just-in-time compiler are not practical. JOP is a hardware implementation of the Java Virtual Ma- chine with focus on real-time applications. This paper describes the architecture of JOP and proposes a simple real-time extension of Java for JOP. First applica- tion in an industrial system showed that JOP is one way to use Java in the em- bedded world. 1 Introduction Current software design practice for embedded systems is still archaic compared to software development for desktop systems. C and even Assembler is used on top of a small RTOS. The variety of embedded operating systems is large and this fragmenta- tion of the market leads to high cost. Java [1] can be a way out of this dilemma and possess language features not found in C: - Object-oriented - Memory management with a garbage collector - Implicit memory protection - Threads Memory management and threads are (besides device drivers) the main compo- nents of embedded operating systems. Finding these features in the language embed- ded systems can be programmed in Java without the need of an operating system. Java on desktop systems comes with a large library. However, if Java is stripped down to the core components it has a very small memory footprint. With careful pro- gramming (like using only immortal memory as in [2]) the garbage collector can be avoided.
    [Show full text]
  • A Hardware Abstraction Layer in Java
    A Hardware Abstraction Layer in Java MARTIN SCHOEBERL Vienna University of Technology, Austria STEPHAN KORSHOLM Aalborg University, Denmark TOMAS KALIBERA Purdue University, USA and ANDERS P. RAVN Aalborg University, Denmark Embedded systems use specialized I/O devices to interact with their environment, and since they have to be de- pendable, it is attractive to use a modern, type-safe programming language like Java to develop programs for them. However, standard Java, as a platform independent language, delegates access to I/O devices, direct mem- ory access and interrupt handling to some underlying operating system or kernel, but in the embedded systems domain resources are scarce and a Java virtual machine (JVM) without an underlying middleware is an attractive architecture. The contribution of this paper is a proposal for Java packages with hardware objects and interrupt handlers that interfaces to such a JVM. We provide implementations of the proposal directly in hardware, directly as extensions of standard interpreters, and finally with an operating system middleware. The latter solution is mainly seen as a migration path allowing Java programs to coexist with legacy system components. An important aspect of the proposal is that it is compatible with the Real-Time Specification for Java (RTSJ). Categories and Subject Descriptors: D.4.7 [Operating Systems]: Organization and Design—Real-time sys- tems and embedded systems; D.3.3 [Programming Languages]: Language Classifications—Object-oriented languages; D.3.3 [Programming Languages]: Language Constructs and Features—Input/output General Terms: Languages, Design, Implementation Additional Key Words and Phrases: Device driver, embedded system, Java, Java virtual machine 1.
    [Show full text]
  • Application Experiences with a Real-Time Java Processor
    Proceedings of the 17th World Congress The International Federation of Automatic Control Seoul, Korea, July 6-11, 2008 Application Experiences with a Real-Time Java Processor Martin Schoeberl ∗ ∗ Institute of Computer Engineering, Vienna University of Technology, Austria (e-mail: [email protected]). Abstract: In this paper we present three different industrial real-time applications that are based on an embedded Java processor. Although from different application domains all three projects have one topic in common: communication. Today’s embedded systems are networked systems. Either a proprietary protocol is used due to legacy applications or for real-time aspects or standard Internet protocols are used. We present the challenges and solutions for this variety of protocols in small, memory constraint embedded devices. 1. INTRODUCTION JOP is implemented in a field-programmable gate array (FPGA). The logic resource consumption is configurable Embedded systems in the control and automation domain in the range of 2000–3000 logic cells (LC). That size is 1/3 become more and more complex. In the desktop and of the soft-core RISC processor LEON, see Gaisler (2002), server domain the increasing complexity of systems can that is used by ESA for space missions. be handled by advanced programming languages. Java has Implementation of a processor in an FPGA is a little bit been seen as a very productive object-oriented language. more expensive than using an ASIC processor. However, In this paper we show that Java can also be used in the additional application logic, such as a communication embedded domain. We present three real-world embedded controller or an AD converter, can also be integrated applications written entirely in Java.
    [Show full text]
  • Extending Java for Heterogeneous Embedded System Description
    Extending Java for Heterogeneous Embedded System Description Gary Plumbridge Neil Audsley Department of Computer Science Department of Computer Science University of York, York, UK, YO10 5GH University of York, York, UK, YO10 5GH [email protected] [email protected] Abstract—This paper introduces Machine Java, a framework • Mapping of required functionality onto available hard- of classes for the Java programming language that enable the ware components must be done by hand. description of software for systems with heterogeneous processing elements (such as CPUs, microcontrollers and function acceler- In this paper we present a small set of class library exten- ators). Intended for the behavioural description of embedded sions to the Java[12] programming language to facilitate the systems, Machine Java encapsulates both the data and control description and implementation of heterogeneous embedded aspects of computation into ‘machine’ objects that are appropri- systems in event driven style. Our primary addition to Java is ate for mapping onto architecturally diverse multiprocessors. a class to represent independent execution and storage, referred System descriptions in Machine Java avoid the need for a separate programming language for each processing element, and to as a Machine. Each machine embodies a computationally makes explicit description of communications between processors discrete element that can operate concurrently with every other unnecessary. Suitability for a wide variety of hardware platforms machine in a system. A major distinction between machines is enhanced by avoiding dependence on notions of shared memory and ordinary threads in Java is that machines may not share or shared timing resources. any memory with one another and interaction is restricted to well defined channels.
    [Show full text]
  • JOP: a Java Optimized Processor for Embedded Real-Time Systems
    Downloaded from orbit.dtu.dk on: Oct 04, 2021 JOP: A Java Optimized Processor for Embedded Real-Time Systems Schoeberl, Martin Publication date: 2005 Document Version Publisher's PDF, also known as Version of record Link back to DTU Orbit Citation (APA): Schoeberl, M. (2005). JOP: A Java Optimized Processor for Embedded Real-Time Systems. Vienna University of Technology. http://www.jopdesign.com/ General rights Copyright and moral rights for the publications made accessible in the public portal are retained by the authors and/or other copyright owners and it is a condition of accessing publications that users recognise and abide by the legal requirements associated with these rights. Users may download and print one copy of any publication from the public portal for the purpose of private study or research. You may not further distribute the material or use it for any profit-making activity or commercial gain You may freely distribute the URL identifying the publication in the public portal If you believe that this document breaches copyright please contact us providing details, and we will remove access to the work immediately and investigate your claim. DISSERTATION JOP: A Java Optimized Processor for Embedded Real-Time Systems ausgef¨uhrt zum Zwecke der Erlangung des akademischen Grades eines Doktors der technischen Wissenschaften unter der Leitung von AO.UNIV.PROF. DIPL.-ING. DR.TECHN. ANDREAS STEININGER und AO.UNIV.PROF. DIPL.-ING. DR.TECHN. PETER PUSCHNER Inst.-Nr. E182 Institut f¨ur Technische Informatik eingereicht an der Technischen Universit¨at Wien Fakult¨at f¨ur Informatik von DIPL.-ING. MARTIN SCHOBERL¨ Matr.-Nr.
    [Show full text]
  • Evaluation of a Java Processor
    Downloaded from orbit.dtu.dk on: Sep 27, 2021 Evaluation of a Java Processor Schoeberl, Martin Published in: Tagungsband Austrochip 2005 Publication date: 2005 Document Version Early version, also known as pre-print Link back to DTU Orbit Citation (APA): Schoeberl, M. (2005). Evaluation of a Java Processor. In Tagungsband Austrochip 2005 (pp. 127-134) General rights Copyright and moral rights for the publications made accessible in the public portal are retained by the authors and/or other copyright owners and it is a condition of accessing publications that users recognise and abide by the legal requirements associated with these rights. Users may download and print one copy of any publication from the public portal for the purpose of private study or research. You may not further distribute the material or use it for any profit-making activity or commercial gain You may freely distribute the URL identifying the publication in the public portal If you believe that this document breaches copyright please contact us providing details, and we will remove access to the work immediately and investigate your claim. Evaluation of a Java Processor Martin Schoeberl Institute of Computer Engineering Vienna University of Technology, Austria [email protected] TABLE I Abstract— In this paper, we will present the evaluation results for a Java processor, with respect to size and performance. The JOP AND VARIOUS JAVA PROCESSORS Java Optimized Processor (JOP) is an implementation of the Java virtual machine (JVM) in a low-cost FPGA. JOP is the smallest Target Size Speed hardware realization of the JVM available to date.
    [Show full text]
  • A Java Processor Architecture for Embedded Real-Time Systems
    Downloaded from orbit.dtu.dk on: Oct 01, 2021 A Java Processor Architecture for Embedded Real-Time Systems Schoeberl, Martin Published in: Journal of Systems Architecture Link to article, DOI: 10.1016/j.sysarc.2007.06.001 Publication date: 2008 Document Version Early version, also known as pre-print Link back to DTU Orbit Citation (APA): Schoeberl, M. (2008). A Java Processor Architecture for Embedded Real-Time Systems. Journal of Systems Architecture, 54(1-2), 265-286. https://doi.org/10.1016/j.sysarc.2007.06.001 General rights Copyright and moral rights for the publications made accessible in the public portal are retained by the authors and/or other copyright owners and it is a condition of accessing publications that users recognise and abide by the legal requirements associated with these rights. Users may download and print one copy of any publication from the public portal for the purpose of private study or research. You may not further distribute the material or use it for any profit-making activity or commercial gain You may freely distribute the URL identifying the publication in the public portal If you believe that this document breaches copyright please contact us providing details, and we will remove access to the work immediately and investigate your claim. A Java Processor Architecture for Embedded Real-Time Systems Martin Schoeberl Institute of Computer Engineering, Vienna University of Technology, Austria Abstract Architectural advancements in modern processor designs increase average performance with features such as pipelines, caches, branch prediction, and out-of-order execution. However, these features complicate worst-case execution time analysis and lead to very conservative estimates.
    [Show full text]
  • JOP Reference Handbook: Building Embedded Systems with a Java Processor
    Downloaded from orbit.dtu.dk on: Sep 30, 2021 JOP Reference Handbook: Building Embedded Systems with a Java Processor Schoeberl, Martin Publication date: 2009 Document Version Publisher's PDF, also known as Version of record Link back to DTU Orbit Citation (APA): Schoeberl, M. (2009). JOP Reference Handbook: Building Embedded Systems with a Java Processor. http://www.jopdesign.com/ General rights Copyright and moral rights for the publications made accessible in the public portal are retained by the authors and/or other copyright owners and it is a condition of accessing publications that users recognise and abide by the legal requirements associated with these rights. Users may download and print one copy of any publication from the public portal for the purpose of private study or research. You may not further distribute the material or use it for any profit-making activity or commercial gain You may freely distribute the URL identifying the publication in the public portal If you believe that this document breaches copyright please contact us providing details, and we will remove access to the work immediately and investigate your claim. JOP Reference Handbook JOP Reference Handbook Building Embedded Systems with a Java Processor Martin Schoeberl Copyright c 2009 Martin Schoeberl Martin Schoeberl Strausseng. 2-10/2/55 A-1050 Vienna, Austria Email: [email protected] Visit the accompanying web site on http://www.jopdesign.com/ and the JOP Wiki at http://www.jopwiki.com/ Published 2009 by CreateSpace, http://www.createspace.com/ All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, electronic, mechanical, recording or otherwise, without the prior written permission of Martin Schoeberl.
    [Show full text]
  • Design Decisions for a Java Processor
    Design Decisions for a Java Processor Martin Schoeberl JOP.design Strausseng. 2-10/2/55, A-1050 Vienna, AUSTRIA [email protected] Abstract The paper is organized as follows: Section 2 gives an overview of the architecture of JOP. In section 3 some This paper describes design decisions for JOP, a Java design decisions for the implementation in an FPGA are Optimized Processor, implemented in an FPGA. FPGA described. One example of the flexibility of an FPGA density-price relationship makes it now possible to con- based architecture is given in section 4. sider them not only for prototyping of processor designs but also as final implementation technology. However, using an FPGA as target platform for a processor dif- 2 Overview of JOP ferent constraints influence the CPU architecture. Digi- tal building blocks that map well in an ASIC can result Figure 1 shows the datapath of JOP. In the first pipe- in poor resource usage in an FPGA. Considering these line stage Java bytecodes, the instructions of the JVM, constraints in the architecture can result in a tiny soft- are fetched. These bytecodes are translated to addresses core processor. in the micro code. Bytecode branches are also decoded and executed in this stage. A fetched bytecode results in an absolute jump in the micro code (the second stage). If 1 Introduction the bytecode has a 1 to 1 mapping with a JOP instruc- tion, a new bytecode is fetched, resulting in a jump in Common design praxis for embedded systems is us- the micro code in the next cycle.
    [Show full text]
  • Time-Predictable Stack Caching
    Downloaded from orbit.dtu.dk on: Dec 21, 2017 Time-predictable Stack Caching Abbaspourseyedi, Sahar; Schoeberl, Martin; Sparsø, Jens Publication date: 2016 Document Version Publisher's PDF, also known as Version of record Link back to DTU Orbit Citation (APA): Abbaspourseyedi, S., Schoeberl, M., & Sparsø, J. (2016). Time-predictable Stack Caching. Kgs. Lyngby: Technical University of Denmark (DTU). (DTU Compute PHD-2015; No. 385). General rights Copyright and moral rights for the publications made accessible in the public portal are retained by the authors and/or other copyright owners and it is a condition of accessing publications that users recognise and abide by the legal requirements associated with these rights. • Users may download and print one copy of any publication from the public portal for the purpose of private study or research. • You may not further distribute the material or use it for any profit-making activity or commercial gain • You may freely distribute the URL identifying the publication in the public portal If you believe that this document breaches copyright please contact us providing details, and we will remove access to the work immediately and investigate your claim. Time-predictable Stack Caching Sahar Abbaspourseyedi Kongens Lyngby 2015 IMM-PhD-2015-385 Technical University of Denmark Department of Applied Mathematics and Computer Science Matematiktorvet, building 303B, 2800 Kongens Lyngby, Denmark Phone +45 4525 3351 [email protected] www.compute.dtu.dk IMM-PhD-2015-385 Summary (English) Embedded systems are computing systems for controlling and interacting with physical environments. Embedded systems with special timing constraints where the system needs to meet deadlines are referred to as real-time systems.
    [Show full text]