mohitnegi Posted July 9, 2014 Report Share Posted July 9, 2014 hello , i wish to store sc_time_stamp() value in some local variable , i am trying to store it in uint32_t ...but it is giving the following error .. error: cannot convert ‘const sc_core::sc_time’ to ‘uint32_t’ in initialization how to store this value ?/? Quote Link to comment Share on other sites More sharing options...
Philipp A Hartmann Posted July 9, 2014 Report Share Posted July 9, 2014 Why not store it in an sc_time variable? sc_core::sc_time now = sc_core::sc_time_stamp(); /Philipp David Black 1 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.