ETISS 0.8.0
Extendable Translating Instruction Set Simulator (version 0.8.0)
|
Namespaces | |
dot | |
Classes | |
class | Delegate |
class | SimpleInstructionInjector |
class | Dot |
class | VCD |
struct | dependent_false |
simple helper struct to trigger static_assert only if the template is instantiated More... | |
class | WishboneSignalMap |
class | WishboneBus |
connects a wishbone bus interface implemented with the variables of WishboneSignalMap to a ETISS_System structure. More... | |
Functions | |
template<typename T , unsigned align> | |
CONSTEXPR T | swapBitOrder (T t) |
template<> | |
CONSTEXPR uint32_t | swapBitOrder< uint32_t, 4 > (uint32_t t) |
template<typename T , bool(Delegate::*)(bool ibus, uint64_t &time_ps, uint64_t addr, uint8_t *buf, unsigned len) rwop, unsigned bytewidth, bool swapBitOrder_ = false> | |
bool | sel_rwop (Delegate &delg, bool ibus, uint64_t &time_ps, uint64_t addr, uint8_t *buf, T sel_i) |
this function handles read writes in case of busses that have a fixed output with and a select signal like e.g. More... | |
template<typename BOOLSIG > | |
bool | getBool (etiss::CPUCore &core, BOOLSIG &sig) |
general helper function to read a signal; needs to be implemented as needed More... | |
template<typename BOOLSIG > | |
void | setBool (etiss::CPUCore &core, BOOLSIG &sig, bool val) |
general helper function to set a signal; needs to be implemented as needed More... | |
template<typename VECTORSIG > | |
uint64_t | getAddr (etiss::CPUCore &core, VECTORSIG &sig, bool instrBus) |
general helper function to read an address; needs to be implemented as needed More... | |
template<typename VECTORSIGSTORAGETYPE , typename VECTORSIG > | |
VECTORSIGSTORAGETYPE | getData (etiss::CPUCore &core, VECTORSIG &sig) |
general helper function to read a signal; needs to be implemented as needed More... | |
template<typename VECTORSIGSTORAGETYPE , typename VECTORSIG > | |
void | setData (etiss::CPUCore &core, VECTORSIG &sig, VECTORSIGSTORAGETYPE val) |
general helper function to set a signal; needs to be implemented as needed More... | |
template<typename SELSIG > | |
uint32_t | getSel (etiss::CPUCore &core, SELSIG &sel_i) |
general helper function to read a vector signal; needs to be implemented as needed More... | |
static std::string | depth (Dot::Node *node) |
static std::string | graph_getCluster (Dot::Graph *g) |
static std::string | node_getCluster (Dot::Node *n) |
static bool | graph_contains (Dot::Graph *g, Dot::Node *n) |
static std::string | val2str (uint64_t val, unsigned width, uint64_t udef) |
TODO efficient implementation. More... | |
static std::string | index2str (int index) |
generated an identifier for the given index More... | |
|
static |
Definition at line 848 of file Dot.cpp.
References etiss::interfaces::Dot::Node::parent_.
Referenced by node_output(), etiss::interfaces::Dot::Link::print(), etiss::interfaces::Dot::Node::print(), etiss::interfaces::Dot::Graph::print(), and pugi::xml_node::print().
uint64_t etiss::interfaces::getAddr | ( | etiss::CPUCore & | core, |
VECTORSIG & | sig, | ||
bool | instrBus | ||
) |
general helper function to read an address; needs to be implemented as needed
Definition at line 95 of file Wishbone.h.
References static_assert.
Referenced by etiss::interfaces::WishboneBus< BOOLSIG, VECTORSIG, instrBus, flipEndianess, bytewidth, VECTORSIGSTORAGETYPE >::update().
bool etiss::interfaces::getBool | ( | etiss::CPUCore & | core, |
BOOLSIG & | sig | ||
) |
general helper function to read a signal; needs to be implemented as needed
Definition at line 76 of file Wishbone.h.
References static_assert.
Referenced by etiss::interfaces::WishboneBus< BOOLSIG, VECTORSIG, instrBus, flipEndianess, bytewidth, VECTORSIGSTORAGETYPE >::update().
VECTORSIGSTORAGETYPE etiss::interfaces::getData | ( | etiss::CPUCore & | core, |
VECTORSIG & | sig | ||
) |
general helper function to read a signal; needs to be implemented as needed
Definition at line 105 of file Wishbone.h.
References static_assert.
uint32_t etiss::interfaces::getSel | ( | etiss::CPUCore & | core, |
SELSIG & | sel_i | ||
) |
general helper function to read a vector signal; needs to be implemented as needed
Definition at line 124 of file Wishbone.h.
References static_assert.
Referenced by etiss::interfaces::WishboneBus< BOOLSIG, VECTORSIG, instrBus, flipEndianess, bytewidth, VECTORSIGSTORAGETYPE >::update().
|
static |
Definition at line 923 of file Dot.cpp.
References etiss::interfaces::Dot::Node::parent_.
Referenced by etiss::interfaces::Dot::Graph::print().
|
static |
Definition at line 883 of file Dot.cpp.
References etiss::interfaces::Dot::AttrList::label_, and etiss::interfaces::Dot::Node::parent_.
Referenced by node_getCluster().
|
static |
generated an identifier for the given index
Definition at line 78 of file VCD.cpp.
Referenced by etiss::interfaces::VCD::declare().
|
static |
Definition at line 893 of file Dot.cpp.
References graph_getCluster(), and etiss::interfaces::Dot::Node::parent_.
Referenced by etiss::interfaces::Dot::Node::print().
bool etiss::interfaces::sel_rwop | ( | Delegate & | delg, |
bool | ibus, | ||
uint64_t & | time_ps, | ||
uint64_t | addr, | ||
uint8_t * | buf, | ||
T | sel_i | ||
) |
this function handles read writes in case of busses that have a fixed output with and a select signal like e.g.
a wishbone bus
Definition at line 117 of file Delegate.h.
References ETISS_SRCLOC, etiss::FATALERROR, likely, etiss::log(), static_assert, and unlikely.
void etiss::interfaces::setBool | ( | etiss::CPUCore & | core, |
BOOLSIG & | sig, | ||
bool | val | ||
) |
general helper function to set a signal; needs to be implemented as needed
Definition at line 86 of file Wishbone.h.
References static_assert.
Referenced by etiss::interfaces::WishboneBus< BOOLSIG, VECTORSIG, instrBus, flipEndianess, bytewidth, VECTORSIGSTORAGETYPE >::update().
void etiss::interfaces::setData | ( | etiss::CPUCore & | core, |
VECTORSIG & | sig, | ||
VECTORSIGSTORAGETYPE | val | ||
) |
general helper function to set a signal; needs to be implemented as needed
Definition at line 115 of file Wishbone.h.
References static_assert.
CONSTEXPR T etiss::interfaces::swapBitOrder | ( | T | t | ) |
CONSTEXPR uint32_t etiss::interfaces::swapBitOrder< uint32_t, 4 > | ( | uint32_t | t | ) |
Definition at line 68 of file Delegate.h.
|
static |
TODO efficient implementation.
Definition at line 51 of file VCD.cpp.
Referenced by etiss::interfaces::VCD::declare(), and etiss::interfaces::VCD::flush().