Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by TRANG

  1. TRANG

    sc_spawn and anthoer process

    This is it means: sc_spawn can use for function have parameter and SC_* it not. Right or wrong?
  2. Hi @Philipp A Hartmann what is the purpose? Thanks.
  3. Hi , can you explain the diffrence between " eoc.initialize(false) and eoc .write ( false) "?
  4. I don't know what is "argc" and "argv []" , Can you explain about this?And when does it change ? #include "systemc.h" int sc_main (int argc, char* argv[]) { cout<<"Value of argc="<<argc<<endl; cout <<"Value of argc[]="<<hex<<argc<<endl; return 0; }
  5. Could you explain LT ( loosely-timed) and AT(approximately-timed ) thanks
  6. TRANG

    Timing Annotation

    Thanks @Eyck I want to understand clearly in figure 26 above, The initiator sends to target with timing annotation is 10ns, when targets received the request, it is delay 10ns (timing annotation) then the target begin handing request I understand is right or wrong????
  7. TRANG

    Timing Annotation

    @apfitch can you explain timing annotation ??
  8. TRANG

    define sc_main in VS 2017

    @Aaron0127 try this : Project->property->Linker->All Option->Subsystem : Console (/SUBSYSTEM:CONSOLE) Regards, Hook
  9. TRANG

    Changing the width in sc_bv<W>

    In many cases , I cant use "const" I often use : #define or enum{}; you can try : #define WDW_SIZE 2 or enum {WDW_SIZE=2}; Best regards
  10. #define STREAM_REPORT_INFO(MSGID,message_stream) \ do {\ std::ostringstream mout;\ mout << sc_core::sc_time_stamp() << ": " << message_stream;\ SC_REPORT_INFO(MSGID,mout.str().c_str());\ } while (0) Hi All, I dont understand symbol "\" in above code , when I erase symbol "\" then it not working . . why we need "\" in above code , thanks
  11. TRANG

    SystemC _ what is mean symbol "\" ??

    thank @AmeyaVS , sorry for my question , but can you explain clear when I erase "\" above code, it not working