Skip to content

WIP: Parallel SystemC Module #118

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

markfoodyburton
Copy link
Contributor

No description provided.

@markfoodyburton
Copy link
Contributor Author

Todo:

wrap calls to b_transport/nb_transport etc such that they are called on the right simcontext.

Copy link
Contributor

@maehne maehne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So far, PR looks good. As you you mention WIP in title, I would suggest that you mark it explicitly as draft in the PR's properties.

sc_time time;

void stage_callback(const sc_core::sc_stage& stage) {
mutex.lock();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix indentation

…imcontext::init

Signed-off-by: Mark Burton <mburton@quicinc.com>
Signed-off-by: Mark Burton <mburton@quicinc.com>
…d nb_transport thread safe, other tlm APIs are NOT handled

Signed-off-by: Mark Burton <mburton@quicinc.com>
Signed-off-by: Mark Burton <mburton@quicinc.com>
@markfoodyburton markfoodyburton marked this pull request as draft May 15, 2025 16:05
@markfoodyburton
Copy link
Contributor Author

Still an issue to do with prim_channels - created due to dynamic event creation after start of simulation, which generates a new 'name' - putting that into the name hierarchy is not thread safe, and causes things to go wrong if you run for long enough.....

@markfoodyburton
Copy link
Contributor Author

So far, PR looks good. As you you mention WIP in title, I would suggest that you mark it explicitly as draft in the PR's properties.

THANKS @maehne !

Signed-off-by: Mark Burton <mburton@quicinc.com>
@markfoodyburton markfoodyburton force-pushed the mburton/psystemc branch 2 times, most recently from 5feda24 to 69f610b Compare May 26, 2025 13:57
Signed-off-by: Mark Burton <mburton@quicinc.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants