Jump to content

Search the Community

Showing results for tags 'enable disable'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Accellera Systems Initiative
    • Information
    • Announcements
    • In the News
  • SystemC
    • SystemC Language
    • SystemC AMS (Analog/Mixed-Signal)
    • SystemC TLM (Transaction-level Modeling)
    • SystemC Verification (UVM-SystemC, SCV)
    • SystemC CCI (Configuration, Control & Inspection)
    • SystemC Datatypes
  • UVM (Universal Verification Methodology)
    • UVM (IEEE 1800.2) - Methodology and BCL Forum
    • UVM SystemVerilog Discussions
    • UVM Simulator Specific Issues
    • UVM Commercial Announcements
    • UVM (Pre-IEEE) Methodology and BCL Forum
  • Portable Stimulus
    • Portable Stimulus Discussion
    • Portable Stimulus 2.0 Public Review Feedback
  • IP Security
    • SA-EDI Standard Discussion
    • IP Security Assurance Whitepaper Discussion
  • IP-XACT
    • IP-XACT Discussion
  • IEEE 1735/IP Encryption
    • IEEE 1735/IP Encryption Discussion
  • Commercial Announcements
    • Announcements

Categories

  • SystemC
  • UVM
  • UCIS
  • IEEE 1735/IP Encryption

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Biography


Location


Interests


Occupation


Company

Found 1 result

  1. Hi Experts With the below programe, I have following error Error: (E559) Undefined process control interaction: attempt to disable a thread with timeout wait: t.func2 In file: ../../../../systemc-2.3.0/src/sysc/kernel/sc_process.cpp:345 In process: t.func1 @ 5 ns I am not able to figure out why ? Can you please help #include "systemc.h" class test : public sc_module { public : SC_HAS_PROCESS(test); test(sc_module_name name){ SC_THREAD(func1); func1_p = sc_get_current_process_handle(); SC_THREAD(func2); func2_p = sc_get_current_process_handle(); } sc_process_handle func1_p,func2_p; void func1(){ for(;{ wait(5,SC_NS); func2_p.disable(); wait(5,SC_NS); func2_p.enable(); } } void func2(){ for(;{ wait(10,SC_NS); cout<<sc_time_stamp().value()<<endl; } } }; int sc_main(int, char*[]){ test t("t"); sc_start(SC_ZERO_TIME); sc_start(); /*cout<<sc_time_stamp().value()<<endl; if(sc_get_status() == SC_PAUSED){sc_start(10,SC_NS);} cout<<sc_time_stamp().value()<<endl;*/ return 0; }
×
×
  • Create New...