71 _signals[i]->MapTo(memtype, address,
false);
76 for (uint32_t j = 0; j <
sizeof(T) /
sizeof(
MemoryType); j++)
85 std::cout <<
"warn: requested signals is out of the bounds of the set" The Signal class models a generic bus of width equals to the sizeof(T)
uint32_t _num_signals
number of signals in the set.
std::string GetName()
Getter method for the <_name> field.
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.