Minu Posted May 26, 2022 Report Share Posted May 26, 2022 I am beginner in SystemC. I have implemented add() function using SC_THREAD(while loop and wait()).I am printing output on log after 2ns.How can I achieve this using SC_METHOD and next_trigger? Code link using SC_THREAD:https://www.edaplayground.com/x/JSU8 Code link using SC_METHOD: https://www.edaplayground.com/x/wsBv Please help I am stuck over this. Quote Link to comment Share on other sites More sharing options...
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.