anna Posted November 24, 2020 Report Share Posted November 24, 2020 hello everyone, In my module code, when I detect the simulation is complete, I call > sc_stop(). Is there a better way to stop simulation witout getting the > following error:>> SystemC: simulation stopped by user.>> Error: (E546) sc_start called after sc_stop has been called> In file: ../../../../src/sysc/kernel/sc_simcontext.cpp:1315>> Thank you, Quote Link to comment Share on other sites More sharing options...
David Black Posted November 24, 2020 Report Share Posted November 24, 2020 You should call sc_stop exactly once. Then you won’t get any errors. Quote Link to comment Share on other sites More sharing options...
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.