Jump to content

Hook

Members
  • Content count

    11
  • Joined

  • Last visited

Everything posted by Hook

  1. Hi @Philipp A Hartmann what is the purpose? Thanks.
  2. Hi , can you explain the diffrence between " eoc.initialize(false) and eoc .write ( false) "?
  3. 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; }
  4. Could you explain LT ( loosely-timed) and AT(approximately-timed ) thanks
  5. Hook

    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????
  6. Hook

    Timing Annotation

    @apfitch can you explain timing annotation ??
  7. Hook

    define sc_main in VS 2017

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

    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
  9. #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
  10. thank @AmeyaVS , sorry for my question , but can you explain clear when I erase "\" above code, it not working
×