Commit 7d32d968 by Marcus Winter

Merge branch 'embb597_dataflow_value_copy' into development

parents 0fb4c99e 3bbd50f0
......@@ -37,7 +37,8 @@ template <typename Type>
class Signal {
public:
Signal() : blank_(true), value_(), clock_(-1) {}
Signal(int clock, Type value) : blank_(false), value_(value), clock_(clock) {}
Signal(int clock, Type const & value)
: blank_(false), value_(value), clock_(clock) {}
explicit Signal(int clock) : blank_(true), value_(), clock_(clock) {}
Signal(Signal const & other)
: blank_(other.blank_), value_(other.value_), clock_(other.clock_) {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment