26 #ifndef ORCASIM_MODELING_INCLUDE_SIGNALSET_HPP_ 27 #define ORCASIM_MODELING_INCLUDE_SIGNALSET_HPP_ 70 SignalSet(std::string name, uint32_t nsig);
109 #endif // ORCASIM_MODELING_INCLUDE_SIGNALSET_HPP_ The Signal class models a generic bus of width equals to the sizeof(T)
SignalSet(std::string name, uint32_t nsig)
Constructor.
std::string _t_name
an optional name to identify this model during runtime
MemoryAddr _mem_addr
memory position of the first signal.
uint32_t _num_signals
number of signals in the set.
Untimed models represent hardware models whose clock period is irrelevant for the simulation...
void MapTo(MemoryType *mptr, MemoryAddr addr)
Maps the signal set to a given memory address.
Signal< T > ** _signals
a pointer to the first signal.
Signal< T > * GetSignal(uint32_t index)
Get the a signal from the set.
The SignalSet class models a generic set of busses of type T.