47 return (red == rhs.
red && green == rhs.
green && blue == rhs.
blue);
59 sc_fifo<rgb_t>& color_in;
60 sc_fifo<rgb_t>& color_out;
64 some_process( sc_module_name NAME,
66 sc_fifo<rgb_t>& COLOR_IN,
67 sc_fifo<rgb_t>& COLOR_OUT )
68 : color_in(COLOR_IN),color_out(COLOR_OUT)
72 sensitive << clk.pos();
friend ostream & operator<<(ostream &os, struct rgb_t &r)
bool operator==(const rgb_t &rhs) const
#define SC_HAS_PROCESS(name)