Jump to content

Andy Goodrich

  • Content Count

  • Joined

  • Last visited

About Andy Goodrich

  • Rank

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

542 profile views
  1. I addition to the requirements mentioned by David, you need to define a constructor with 3 arguments for pixel, something like: struct pixel { sc_dt::sc_uint<8> r; sc_dt::sc_uint<8> g; sc_dt::sc_uint<8> b; pixel() :r(0), g(0), b(0) {} pixel( const sc_dt::sc_uint<8>& r_init, const sc_dt::sc_uint<8>& g_init, const sc_dt::sc_uint<8>& b_init ) : r(r_init), g(g_init), b(b_init) {} };
  • Create New...