9#ifndef TRGSignalBundle_FLAG_
10#define TRGSignalBundle_FLAG_
13#include "trg/trg/Clock.h"
22 class TRGSignalVector;
43 const unsigned outputBitSize,
50 const unsigned outputBitSize,
51 const unsigned registerBitSize,
54 bool& logicStillActive));
62 const std::string&
name(
void)
const;
65 const std::string&
name(
const std::string& newName);
84 void dump(
const std::string& message =
"",
85 const std::string& pre =
"")
const;
88 void dumpCOE(
const std::string& fileName =
"",
98 void readCOE(
const std::string& fileName =
"");
122 return _name = newName;
A class to represent a digitized signal. Unit is nano second.
A class to represent a bundle of SignalVectors.
void readCOE(const std::string &fileName="")
reads data from a file.
const TRGClock * _clock
Clock.
A class to represent a digitized signal. Unit is nano second.
A class to represent a state of multi bits.
virtual ~TRGSignalBundle()
Destructor.
TRGState state(int clockPosition) const
returns state at given clock position.
const TRGClock & clock(void) const
returns clock.
const std::string & name(void) const
returns name.
std::vector< int > stateChanges(void) const
returns a list of clock position of state change.
TRGSignal ored(void) const
returns signal of all ORed.
bool active(void) const
returns true if there is a signal.
void dumpCOE(const std::string &fileName="", int start=0, int stop=0) const
makes coe output.
void dump(const std::string &message="", const std::string &pre="") const
dumps contents.
Abstract base class for different kinds of events.