Skip to content

temporal assertions #78

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

Closed
FSAz opened this issue Jan 11, 2025 · 9 comments
Closed

temporal assertions #78

FSAz opened this issue Jan 11, 2025 · 9 comments

Comments

@FSAz
Copy link

FSAz commented Jan 11, 2025

What libraries do I need to add to be able to use temporal assertions?

@mikhailmoiseev
Copy link
Contributor

You need to include sct_common.h (https://github.com/intel/systemc-compiler/blob/main/components/common/sctcommon/sct_common.h) -- that is headers only library.

@mikhailmoiseev
Copy link
Contributor

@FSAz
Copy link
Author

FSAz commented Jan 13, 2025

I used this example, but I encountered a series of errors.

@FSAz
Copy link
Author

FSAz commented Jan 13, 2025

in this example I just included sct_assert.h

@FSAz
Copy link
Author

FSAz commented Jan 13, 2025

Could the issue be caused by my SystemC version?

@mikhailmoiseev
Copy link
Contributor

Yes, if you use any other version of SystemC that could lead to errors. The simplest way to get SystemC 3.0.0 is to install ICSC as it described at https://github.com/intel/systemc-compiler/wiki/Getting-started

@mikhailmoiseev
Copy link
Contributor

What is your SystemC version?

@FSAz
Copy link
Author

FSAz commented Jan 13, 2025

my systemC version is 2.3.1

@mikhailmoiseev
Copy link
Contributor

mikhailmoiseev commented Jan 14, 2025

The current verion is 3.0.0. The assertion likely works with 2.3.3 and 2.3.4. You need to update SystemC,

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

2 participants