Jump to content

Access violation in sc_cor_pkg_fiber::yield

Recommended Posts

Hello everybody!

I am working on a SystemC code while I am quite an amatour.

When I increase size of my system under simulation beyond a specific size (like more than 100 elements) the microsoft visual studio encounters access violation run-time error in sc_cor_pkg_fiber::yield function at first cycles of simulation

I have absolutely no idea about the problem.

Billions of thanks in advance!

Share this post

Link to post
Share on other sites

You should be able to increase the Visual Studio stack with /Zm (from memory). You can increase the SC_THREAD stack size with the set_stack_size() method of SystemC - but if that works, I would still suspect you are declaring large stack allocated arrays in the SC_THREADs.


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now