skolhe Posted August 5, 2021 Report Posted August 5, 2021 Hi, I get this error when an sc_in<bool> is driven low by the module it is connected to. In my model instead of going in the SC_METHOD that is sensitive to this input port, I get this error. error] @ 834400 us of sc_start called unexpectedly in sc_simcontext.cpp:1775 sc_in<bool> in_port; SC_METHOD(in_port_CB); sensitive << in_port; dont_initialize(); I am using systemc-2.3.3. Can you please help? Thanks Quote
David Black Posted August 5, 2021 Report Posted August 5, 2021 We need you to show more of your code to enable a coherent response. Perhaps even try coding on EDAplayground.com and share the link. Quote
Bas Arts Posted August 27, 2021 Report Posted August 27, 2021 You seem to incorrectly use the sc_start function. Please read up on sc_start (paragraph 4.3.4.2 of 1666-2011 (https://ieeexplore.ieee.org/document/6134619)) and post your code afterwards, if still necessary. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.