ETISS 0.8.0
Extendable Translating Instruction Set Simulator (version 0.8.0)
Classes | Namespaces | Functions
ETISS.h File Reference

Header file of the ETISS library. More...

#include "etiss/config.h"
#include <map>
#include <memory>
#include <mutex>
#include <string>
#include <type_traits>
#include "etiss/CPUCore.h"
#include "etiss/Misc.h"
#include "etiss/LibraryInterface.h"
Include dependency graph for ETISS.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  etiss::Initializer
 Wrapper for the initialize and shutdown of the ETISS environment. More...
 

Namespaces

 etiss
 Page Table Entry (PTE) defines the composition of Page Frame Number (PFN) and relavant flags.
 
 etiss::py
 

Functions

std::set< std::string > etiss::listCPUArchs ()
 Create a set with all identifier names of the known CPUArch plug-ins. More...
 
std::set< std::string > etiss::listJITs ()
 Create a set with all identifier names of the known JIT plug-ins. More...
 
std::set< std::string > etiss::listPlugins ()
 Create a set with all identifier names of the known plug-ins. More...
 
void etiss::preloadLibraries ()
 Search and try to load libraries. More...
 
std::shared_ptr< JITetiss::getJIT (std::string name, std::map< std::string, std::string > options=std::map< std::string, std::string >())
 Get a present JIT plug-in by name. More...
 
std::shared_ptr< CPUArchetiss::getCPUArch (std::string name, std::map< std::string, std::string > options=std::map< std::string, std::string >())
 Get a present CPUArch plug-in by name. More...
 
std::shared_ptr< Pluginetiss::getPlugin (std::string name, std::map< std::string, std::string > options=std::map< std::string, std::string >())
 Get a present Plugin plug-in by name. More...
 
bool etiss::loadLibrary (std::string path, std::string name)
 Load a library. More...
 
void etiss::addLibrary (std::shared_ptr< etiss::LibraryInterface > libInterface)
 Add a LibraryInterface to the ETISS environment. More...
 
std::set< std::string > etiss::listLibraries ()
 Create a set with strings of the library names and some information appended in square brackets. More...
 
std::set< std::string > etiss::listLibraryPrefixes ()
 Create a set with strings of the library names. More...
 
void etiss::initialize (std::vector< std::string > &args)
 Initialize and configure ETISS. More...
 
std::shared_ptr< etiss::JITetiss::getDefaultJIT ()
 Get the default JIT implementation. More...
 
void etiss::shutdown ()
 Shutdown ETISS. More...
 
std::string etiss::errorMessage (etiss::int32 code, CPUArch *arch=0)
 Get the error message for an error code for a specific CPUArch plug-in. More...
 
void etiss::forceInitialization ()
 Force the initialization of ETISS. More...
 
void etiss::py::init ()
 
void etiss::py::shutdown ()
 
void etiss::py::console ()
 
bool etiss::py::supported ()
 
void etiss::py::runString (std::string s)
 
void etiss::py::run (std::function< void(void)> func)
 
void etiss::py::runEXT (std::function< void(void)> func)
 

Detailed Description

Header file of the ETISS library.


Copyright 2018 Infineon Technologies AG

This file is part of ETISS tool, see https://github.com/tum-ei-eda/etiss.

The initial version of this software has been created with the funding support by the German Federal
Ministry of Education and Research (BMBF) in the project EffektiV under grant 01IS13022.

Redistribution and use in source and binary forms, with or without modification, are permitted
provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and
the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions
and the following disclaimer in the documentation and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse
or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

Author
Marc Greim marc..nosp@m.grei.nosp@m.m@myt.nosp@m.um.d.nosp@m.e, Chair of Electronic Design Automation, TUM
Date
July 28, 2014
Version
0.1

Definition in file ETISS.h.