Jump to content

Andy Goodrich

Members
  • Content Count

    1
  • Joined

  • Last visited

About Andy Goodrich

  • Rank
    Member

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

505 profile views
  1. Andy Goodrich

    The problem of reading the custom structure is reasonable.

    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) {} };
×