Skip to content
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

snp #48

Open
hliu71 opened this issue Sep 22, 2023 · 0 comments
Open

snp #48

hliu71 opened this issue Sep 22, 2023 · 0 comments

Comments

@hliu71
Copy link
Contributor

hliu71 commented Sep 22, 2023

in process_snoop_resp of simple_initiator_b, the following check

if ( snp.trywait() <0 ) ...

blocks simualiton. Instead , snp semaphore should be checked with

if (snp.get_value ()== 0) ...

then use
snp.wait()
to take the semaphore. then simulation can continue

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

No branches or pull requests

1 participant