Jump to content

SystemC access violation in "sc_process.h" : m_semantics_host_p


rezgar

Recommended Posts

Dear all, 

I have an architecture developed in the open source SystemC 2.34 available in https://forums.accellera.org/ using visual studio.

I have written the test bench for the architecture. when I enlarge the test data without cahnging  code including processes, threads and dimensions of architecture, I reach access violation error in "sc_process.h" in below line"

 (m_semantics_host_p->*m_semantics_method_p)();
 

image.png.07ccdf65a0a45cebaa936a8de60afb01.png

 

Please let me know if you have any idea for this problem.

Thanks.

Link to comment
Share on other sites

2 hours ago, rezgar said:

Thanks @Eyck.

I don't think so. The code is the same as I work with smaller test data in the testbench. If it is the problem, why it works for smaller data.

🙂 No one can answer that. It may work for multitude of reasons. A successful execution doesn't mean absence of bugs - however a failure does imply presence of a bug.

You have specified the line in SystemC header that is crashing - but not given more details on your own code. Perhaps you feel the bug is in that place. This is possible, but very improbable. Most likely, as Ecyk said, the issue is with your code.

Unless you can share that, it is not possible to anyone to help.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...