Zdenek Prikryl Posted March 24, 2023 Report Share Posted March 24, 2023 Hello, I'm creating a complex module where I have several delta cycles to finalize the values. I want to then print some of them, but only after the last delta cycle. I haven't found any public method that can be called, so I can check that the buffer of pending events is empty. How I can do it? Is there any legal way? I was searching in this forum, but I didn't manage to find the ultimate answer on this :-(... Note that the design uses SC_METHOD() with sensitive lists. Thanks and best regards. Quote Link to comment Share on other sites More sharing options...
David Black Posted March 24, 2023 Report Share Posted March 24, 2023 If you try the 2.3.4 version of SystemC, you can turn on an experimental feature. See the RELEASE_NOTES section 7 for some new states with callbacks: SC_END_OF_UPDATE, and SC_BEFORE_TIMESTEP. You can obtain this version via the Accellera public GitHub. Use cmake to build. Quote Link to comment Share on other sites More sharing options...
Zdenek Prikryl Posted March 24, 2023 Author Report Share Posted March 24, 2023 Thanks! this sounds like what I need :-)... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.