Jump to content

Hook

Members
  • Content count

    12
  • Joined

  • Last visited

About Hook

  • Rank
    Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Can you explain the difference between sc_spawn and another process (SC_METHOD, SC_THREAD, SC_CTHREAD )? How to use sc_spawn? Thanks all
  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. 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. Could you explain LT ( loosely-timed) and AT(approximately-timed ) thanks
  7. Hook

    Timing Annotation

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

    define sc_main in VS 2017

    @Aaron0127 try this : Project->property->Linker->All Option->Subsystem : Console (/SUBSYSTEM:CONSOLE) Regards, Hook
  9. 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
  10. thank @AmeyaVS , sorry for my question , but can you explain clear when I erase "\" above code, it not working
  11. #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
×