Public Member Functions | |
MultiValArrayPulseGenerator (unsigned short num_val=2, const std::vector< unsigned short > &array=vector< unsigned short >(), bool isActive=true) | |
const std::vector< unsigned short > & | getMultiValArray () |
virtual unsigned | numOutputPorts () const |
virtual EvSimObject::PortType | outputPortType (port_id_t p) const |
void | setMultiValArray (const std::vector< unsigned short > &array) |
virtual void | reset (SimContext &sim_ctxt) |
virtual void | eventHit (SimContext &sim_ctxt, Time time, port_id_t port) |
Public Attributes | |
bool | isActive |
Protected Attributes | |
vector< unsigned short > | array |
unsigned short | num_val |
unsigned | curr_idx |