Jump to content

otl0rz

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by otl0rz

  1. I am trying to initialize a sc_vector of sc_uint<8>, but I always get this error message: Error: (E403) conversion failed: character string 'test_0' is not valid In file: ../../../src/sysc/datatypes/int/sc_uint_base.cpp:530 I don't get an error with the same approach but using sc_lv instead. Here's a minimal code example to reproduce my issue: #include <systemc.h> int sc_main (int argc, char* argv[]) { sc_vector<sc_lv<8>> test2 {"test2", 1000}; sc_vector<sc_uint<8>> test {"test", 1000}; exit(0); } Can anyone explain to me what I'm doing wrong?
×
×
  • Create New...